Implement product creation functionality with DTO and permissions

This commit is contained in:
faris Aljohari
2025-04-15 13:26:56 +03:00
parent 30dd8318e3
commit 32112930c8
6 changed files with 88 additions and 3 deletions

View File

@ -340,6 +340,9 @@ export class ControllerRoute {
static PRODUCT = class {
public static readonly ROUTE = 'products';
static ACTIONS = class {
public static readonly CREATE_PRODUCT_SUMMARY = 'Create a new product';
public static readonly CREATE_PRODUCT_DESCRIPTION =
'This endpoint allows you to create a new product in the system.';
public static readonly LIST_PRODUCT_SUMMARY = 'Retrieve all products';
public static readonly LIST_PRODUCT_DESCRIPTION =
'Fetches a list of all products along with their associated device details';