validate เพิ่มรายการสืบสวนข้อเท็จจริง

This commit is contained in:
setthawutttty 2023-10-24 13:47:12 +07:00
parent 41cdbc7992
commit 8a61666c0b
2 changed files with 186 additions and 48 deletions

View file

@ -0,0 +1,34 @@
interface FormData {
complaint: string
complaintdetail: string
detail: string
fault: string
results: string
other: string
evidenceFiles: File | null
fileComplaint: File | null
clickTime: boolean
date: Date | null
dateEnd: Date | null
daysExtend: string
investigation: string
}
interface MyObjectInvestigateRef {
complaint: object | null;
complaintdetail: object | null;
detail: object | null;
fault: object | null;
results: object | null;
evidenceFiles: object | null;
fileComplaint: object | null;
date: object | null;
dateEnd: object | null;
investigation: object | null;
daysExtend: object | null;
[key: string]: any;
}
export type {
FormData,
MyObjectInvestigateRef
}