mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-26 03:17:54 +00:00
feat: update device and space services to use productType instead of deviceType and add query support for device retrieval by product type
This commit is contained in:
@@ -58,7 +58,7 @@ export class GetDevicesBySpaceOrCommunityDto {
|
||||
})
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
public deviceType: string;
|
||||
public productType: string;
|
||||
@IsUUID('4', { message: 'Invalid space UUID format' })
|
||||
@IsOptional()
|
||||
spaceUuid?: string;
|
||||
|
||||
Reference in New Issue
Block a user