This commit is contained in:
Warunee Tamkoo 2024-07-31 09:48:33 +07:00
parent 73d45a3d24
commit 0e87c63641
123 changed files with 310 additions and 10280 deletions

View file

@ -0,0 +1,34 @@
interface DataResponse {
createdAt: Date;
id: string;
isActive: boolean;
lastUpdateFullName: String;
lastUpdatedAt: Date;
name: string;
level: Number;
}
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 };

View file

@ -0,0 +1,14 @@
//ข้อมูล
interface ResponseHistoryObject {
createdAt?: Date;
createdFullName: String;
createdUserId: String;
id: String;
isActive: Boolean;
lastUpdateFullName: String;
lastUpdateUserId: String;
lastUpdatedAt?: Date;
name: String;
}
export type { ResponseHistoryObject };