feat: update DEVICE_SPACE_COMMUNITY route and add validation for spaceUuid and communityUuid in DTO

This commit is contained in:
faris Aljohari
2025-05-14 13:00:09 +03:00
parent 7ec41f8311
commit 67331aa92a
3 changed files with 9 additions and 2 deletions

View File

@ -625,10 +625,12 @@ export class ControllerRoute {
};
};
static DEVICE_SPACE_COMMUNITY = class {
public static readonly ROUTE = 'devices/recursive-child';
public static readonly ROUTE = 'devices-space-community';
static ACTIONS = class {
public static readonly GET_ALL_DEVICES_BY_SPACE_OR_COMMUNITY_WITH_RECURSIVE_CHILD_SUMMARY =
'Get all devices by space or community with recursive child';
public static readonly GET_ALL_DEVICES_BY_SPACE_OR_COMMUNITY_WITH_RECURSIVE_CHILD_DESCRIPTION =
'This endpoint retrieves all devices in the system by space or community with recursive child.';
};