ทะเบียนประวัติ: ประกาศเกียรติคุณ (refactor)

This commit is contained in:
puriphatt 2024-03-22 19:26:32 +07:00
parent 79f08f7569
commit 0d7f6cdbde
2 changed files with 68 additions and 121 deletions

View file

@ -1,37 +1,11 @@
interface RequestItemsObject {
profileId?: string;
isActive: boolean;
detail: string;
issueDate: Date | null;
issuer: string;
refCommandDate: Date | null;
refCommandNo: string;
isDate: boolean;
isDate: boolean | string;
}
interface FormData {
id: string;
isActive: boolean;
isDate: string | null;
issuer: string;
detail: string;
issueDate: Date | null;
issueDateYear: number;
refCommandNo: string;
refCommandDate: Date | null;
}
//columns
interface Columns {
[index: number]: {
name: String;
align: String;
label: String;
sortable: Boolean;
field: String;
headerStyle: String;
style: String;
};
}
export type { RequestItemsObject, FormData, Columns };
export type { RequestItemsObject };