ข้อมูลตำแหน่ง:UI+API

This commit is contained in:
oat 2024-02-06 11:23:13 +07:00
parent 9f30a71efe
commit 765a4c94c8
9 changed files with 1069 additions and 16 deletions

View file

@ -0,0 +1,30 @@
interface DataResponse {
createdAt: Date;
id: string;
lastUpdateFullName: String;
lastUpdatedAt: Date;
posTypes?: {
id: string;
posTypeName: string;
posTypeRank: number;
};
posTypeName?: string;
posLevelName?: string;
posLevelRank?: number;
posLevelAuthority?: string;
}
interface DataRow {
createdAt: string | null;
id: string;
lastUpdateFullName: String;
lastUpdatedAt: string | null;
posTypeName?: string;
posTypeRank?: number;
posTypeId?: string;
posLevelName?: string;
posLevelRank?: number;
posLevelAuthority?: string;
}
export type { DataResponse, DataRow };