mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 23:27:31 +00:00
add subspace controller
This commit is contained in:
@ -129,4 +129,30 @@ export class ControllerRoute {
|
||||
'Disassociates a user from a space by removing the existing association.';
|
||||
};
|
||||
};
|
||||
|
||||
static SUBSPACE = class {
|
||||
public static readonly ROUTE =
|
||||
'/communities/:communityUuid/spaces/:spaceUuid/subspaces';
|
||||
static ACTIONS = class {
|
||||
public static readonly CREATE_SUBSPACE_SUMMARY = 'Create Subspace';
|
||||
public static readonly CREATE_SUBSPACE_DESCRIPTION =
|
||||
'Creates a new subspace within a specific space and community.';
|
||||
|
||||
public static readonly LIST_SUBSPACES_SUMMARY = 'List Subspaces';
|
||||
public static readonly LIST_SUBSPACES_DESCRIPTION =
|
||||
'Retrieves a list of subspaces within a specified space and community.';
|
||||
|
||||
public static readonly GET_SUBSPACE_SUMMARY = 'Get Subspace';
|
||||
public static readonly GET_SUBSPACE_DESCRIPTION =
|
||||
'Fetches a specific subspace by UUID within a given space and community';
|
||||
|
||||
public static readonly UPDATE_SUBSPACE_SUMMARY = 'Update Subspace';
|
||||
public static readonly UPDATE_SUBSPACE_DESCRIPTION =
|
||||
'Updates a specific subspace within a given space and community.';
|
||||
|
||||
public static readonly DELETE_SUBSPACE_SUMMARY = 'Delete Subspace';
|
||||
public static readonly DELETE_SUBSPACE_DESCRIPTION =
|
||||
'Deletes a specific subspace within a given space and community.';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user