clone code
This commit is contained in:
parent
c9597d1e38
commit
d57bcd1719
362 changed files with 104804 additions and 0 deletions
46
src/interface/request/manage/prefix.ts
Normal file
46
src/interface/request/manage/prefix.ts
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
//response api เกี่ยวกับ status code กับ error
|
||||
interface RequestHistoryObject {
|
||||
message: String;
|
||||
result: ResultHistoryObject;
|
||||
status: number;
|
||||
}
|
||||
|
||||
//rusult แนบ id version mongo
|
||||
interface ResultHistoryObject {
|
||||
id: String;
|
||||
items: RequestPrefixHistoryObject;
|
||||
version: String;
|
||||
}
|
||||
|
||||
//ข้อมูล คำนำหน้า
|
||||
interface RequestPrefixHistoryObject {
|
||||
createdAt?: Date;
|
||||
createdFullName: String;
|
||||
createdUserId: String;
|
||||
id: String;
|
||||
isActive: Boolean;
|
||||
lastUpdateFullName: String;
|
||||
lastUpdateUserId: String;
|
||||
lastUpdatedAt?: Date;
|
||||
name: String;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface PrefixColumns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type {
|
||||
RequestHistoryObject,
|
||||
ResultHistoryObject,
|
||||
RequestPrefixHistoryObject,
|
||||
PrefixColumns,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue