mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 01:44:55 +00:00
Fixed scene
This commit is contained in:
@ -80,6 +80,36 @@ export class ControllerRoute {
|
||||
};
|
||||
};
|
||||
|
||||
static SCENE = class {
|
||||
public static readonly ROUTE = 'scene';
|
||||
static ACTIONS = class {
|
||||
public static readonly CREATE_TAP_TO_RUN_SCENE_SUMMARY =
|
||||
'Create a Tap-to-Run Scene';
|
||||
public static readonly CREATE_TAP_TO_RUN_SCENE_DESCRIPTION =
|
||||
'Creates a new Tap-to-Run scene in Tuya and stores the scene in the local database.';
|
||||
|
||||
public static readonly DELETE_TAP_TO_RUN_SCENE_SUMMARY =
|
||||
'Delete a Tap-to-Run Scene';
|
||||
public static readonly DELETE_TAP_TO_RUN_SCENE_DESCRIPTION =
|
||||
'Deletes a Tap-to-Run scene from Tuya and removes it from the local database.';
|
||||
|
||||
public static readonly TRIGGER_TAP_TO_RUN_SCENE_SUMMARY =
|
||||
'Trigger a Tap-to-Run Scene';
|
||||
public static readonly TRIGGER_TAP_TO_RUN_SCENE_DESCRIPTION =
|
||||
'Triggers an existing Tap-to-Run scene in Tuya by scene UUID, executing its actions immediately.';
|
||||
|
||||
public static readonly GET_TAP_TO_RUN_SCENE_SUMMARY =
|
||||
'Get Tap-to-Run Scene Details';
|
||||
public static readonly GET_TAP_TO_RUN_SCENE_DESCRIPTION =
|
||||
'Retrieves detailed information of a specific Tap-to-Run scene identified by the scene UUID.';
|
||||
|
||||
public static readonly UPDATE_TAP_TO_RUN_SCENE_SUMMARY =
|
||||
'Update a Tap-to-Run Scene';
|
||||
public static readonly UPDATE_TAP_TO_RUN_SCENE_DESCRIPTION =
|
||||
'Updates an existing Tap-to-Run scene in Tuya and updates the scene in the local database, reflecting any new configurations or actions.';
|
||||
};
|
||||
};
|
||||
|
||||
static SPACE = class {
|
||||
public static readonly ROUTE = '/communities/:communityUuid/spaces';
|
||||
static ACTIONS = class {
|
||||
@ -120,6 +150,17 @@ export class ControllerRoute {
|
||||
};
|
||||
};
|
||||
|
||||
static SPACE_SCENE = class {
|
||||
public static readonly ROUTE =
|
||||
'/communities/:communityUuid/spaces/:spaceUuid/scenes';
|
||||
static ACTIONS = class {
|
||||
public static readonly GET_TAP_TO_RUN_SCENE_BY_SPACE_SUMMARY =
|
||||
'Retrieve Tap-to-Run Scenes by Space';
|
||||
public static readonly GET_TAP_TO_RUN_SCENE_BY_SPACE_DESCRIPTION =
|
||||
'Fetches all Tap-to-Run scenes associated with a specified space UUID. An optional query parameter can filter the results to show only scenes marked for the homepage display.';
|
||||
};
|
||||
};
|
||||
|
||||
static SPACE_USER = class {
|
||||
public static readonly ROUTE =
|
||||
'/communities/:communityUuid/spaces/:spaceUuid/user';
|
||||
|
||||
Reference in New Issue
Block a user