mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 02:36:19 +00:00
finished spaces validation endpoint
This commit is contained in:
@ -197,7 +197,16 @@ export class ControllerRoute {
|
||||
'retrieves all the spaces associated with a given community, organized into a hierarchical structure.';
|
||||
};
|
||||
};
|
||||
static SPACE_VALIDATION = class {
|
||||
public static readonly ROUTE = '/projects/:projectUuid/spaces';
|
||||
static ACTIONS = class {
|
||||
public static readonly VALIDATE_SPACE_WITH_DEVICES_OR_SUBSPACES_SUMMARY =
|
||||
'Check if a space has devices or sub-spaces';
|
||||
|
||||
public static readonly VALIDATE_SPACE_WITH_DEVICES_OR_SUBSPACES_DESCRIPTION =
|
||||
'Checks if a space has any devices or sub-spaces associated with it.';
|
||||
};
|
||||
};
|
||||
static SPACE_SCENE = class {
|
||||
public static readonly ROUTE =
|
||||
'/projects/:projectUuid/communities/:communityUuid/spaces/:spaceUuid/scenes';
|
||||
|
Reference in New Issue
Block a user