แก้ UI เครื่องราช
This commit is contained in:
parent
dabc016e39
commit
42e7fd6b1d
5 changed files with 557 additions and 145 deletions
|
|
@ -1,18 +1,33 @@
|
|||
//ข้อมูล
|
||||
interface ResponseHistoryObject {
|
||||
createdAt?: Date;
|
||||
createdFullName: String;
|
||||
createdUserId: String;
|
||||
id: String;
|
||||
isActive: Boolean;
|
||||
interface DataResponse {
|
||||
createdAt: Date;
|
||||
id: string;
|
||||
isActive: boolean;
|
||||
lastUpdateFullName: String;
|
||||
lastUpdateUserId: String;
|
||||
lastUpdatedAt?: Date;
|
||||
level: number;
|
||||
name: String;
|
||||
shortName: String;
|
||||
insigniaType?: any;
|
||||
note: string;
|
||||
lastUpdatedAt: Date;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export type { ResponseHistoryObject };
|
||||
interface DataRow {
|
||||
createdAt: string | null;
|
||||
id: string;
|
||||
isActive: boolean;
|
||||
lastUpdateFullName: String;
|
||||
lastUpdatedAt: string | null;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface DetailResponse extends DataResponse {
|
||||
note: string;
|
||||
shortName: string;
|
||||
insigniaType: string;
|
||||
insigniaTypeId: string;
|
||||
level: number;
|
||||
}
|
||||
|
||||
interface DetailRow
|
||||
extends Omit<DetailResponse, "createdAt" | "lastUpdatedAt"> {
|
||||
createdAt: string | null;
|
||||
lastUpdatedAt: string | null;
|
||||
}
|
||||
|
||||
export type { DataResponse, DataRow, DetailResponse, DetailRow };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue