fix: wrong understanding of system
This commit is contained in:
parent
ea10a5c3d9
commit
96618c6e06
5 changed files with 36 additions and 60 deletions
|
|
@ -22,11 +22,17 @@ import HttpStatus from "../../interfaces/http-status";
|
|||
type WorkCreate = {
|
||||
name: string;
|
||||
productId: string[];
|
||||
attributes?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
};
|
||||
|
||||
type WorkUpdate = {
|
||||
name?: string;
|
||||
productId?: string[];
|
||||
attributes?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
};
|
||||
|
||||
@Route("api/v1/work")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue