mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 15:17:41 +00:00
Add Tag Module with CRUD operations
This commit is contained in:
@ -318,6 +318,19 @@ export class ControllerRoute {
|
||||
'Fetches a list of all products along with their associated device details';
|
||||
};
|
||||
};
|
||||
|
||||
static TAG = class {
|
||||
public static readonly ROUTE = 'tags';
|
||||
static ACTIONS = class {
|
||||
public static readonly CREATE_TAG_SUMMARY = 'Create a new tag';
|
||||
public static readonly CREATE_TAG_DESCRIPTION =
|
||||
'Creates a new tag and assigns it to a specific project and product.';
|
||||
public static readonly GET_TAGS_BY_PROJECT_SUMMARY =
|
||||
'Get tags by project';
|
||||
public static readonly GET_TAGS_BY_PROJECT_DESCRIPTION =
|
||||
'Retrieves a list of tags associated with a specific project.';
|
||||
};
|
||||
};
|
||||
static USER = class {
|
||||
public static readonly ROUTE = '/user';
|
||||
|
||||
|
Reference in New Issue
Block a user