fix: missing input field
This commit is contained in:
parent
0edc4e4e96
commit
efc37ad80f
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ if (!process.env.MINIO_BUCKET) {
|
|||
const MINIO_BUCKET = process.env.MINIO_BUCKET;
|
||||
|
||||
type ProductCreate = {
|
||||
status?: Status;
|
||||
code: "AC" | "DO" | "ac" | "do";
|
||||
name: string;
|
||||
detail: string;
|
||||
|
|
@ -39,6 +40,7 @@ type ProductCreate = {
|
|||
};
|
||||
|
||||
type ProductUpdate = {
|
||||
status?: "ACTIVE" | "INACTIVE";
|
||||
name?: string;
|
||||
detail?: string;
|
||||
process?: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue