feat: add DEVICE_SPACE_COMMUNITY route and controller for device retrieval by space or community

This commit is contained in:
faris Aljohari
2025-05-13 03:06:43 +03:00
parent 921770ea79
commit 799fcb6fb9
10 changed files with 244 additions and 2 deletions

View File

@ -624,6 +624,15 @@ export class ControllerRoute {
'This endpoint retrieves all devices in the system.';
};
};
static DEVICE_SPACE_COMMUNITY = class {
public static readonly ROUTE = 'devices/recursive-child';
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.';
};
};
static DEVICE_PERMISSION = class {
public static readonly ROUTE = 'device-permission';