38 lines
743 B
TypeScript
38 lines
743 B
TypeScript
//ข้อมูลประวัติแก้ไข
|
|
interface RequestItemsPublishHistoryObject {
|
|
id: string;
|
|
items: RequestItemsHistoryObject[];
|
|
publishedDate: string;
|
|
}
|
|
|
|
//ข้อมูล
|
|
interface RequestItemsHistoryObject {
|
|
createdAt?: Date;
|
|
createdFullName: String;
|
|
createdUserId: String;
|
|
id: String;
|
|
isActive: Boolean;
|
|
lastUpdateFullName: String;
|
|
lastUpdateUserId: String;
|
|
lastUpdatedAt?: Date;
|
|
name: string;
|
|
}
|
|
|
|
//columns
|
|
interface Columns {
|
|
[index: number]: {
|
|
name: String;
|
|
align: String;
|
|
label: String;
|
|
sortable: Boolean;
|
|
field: String;
|
|
headerStyle: String;
|
|
style: String;
|
|
};
|
|
}
|
|
|
|
export type {
|
|
RequestItemsHistoryObject,
|
|
RequestItemsPublishHistoryObject,
|
|
Columns,
|
|
};
|