fix: missing input field

This commit is contained in:
Methapon2001 2024-06-20 13:31:07 +07:00
parent 0edc4e4e96
commit efc37ad80f

View file

@ -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;