fix interface

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-08 10:24:40 +07:00
parent ea173b3809
commit 4b74271f0e
2 changed files with 82 additions and 89 deletions

View file

@ -14,4 +14,46 @@ interface ResponseObject {
government: String;
}
export type { ResponseObject };
interface ResponesePosType {
createdAt: string;
id: string;
lastUpdateFullName: string;
lastUpdatedAt: string;
posTypeName: string;
posTypeRank: number;
posLevels: DataPosLevel[];
}
interface DataPosLevel {
createdAt: string;
id: string;
lastUpdateFullName: string;
lastUpdatedAt: string;
posLevelAuthority: string;
posLevelName: string;
posLevelRank: number;
}
interface ResponesePosition {
createdAt: string;
id: string;
isSpecial: boolean;
lastUpdateFullName: string;
lastUpdatedAt: string;
posLevelId: string;
posLevelName: string;
posTypeId: string;
posTypeName: string;
positionArea: string;
positionExecutiveField: null;
positionField: string;
positionIsSelected: boolean;
positionName: string;
}
export type {
ResponseObject,
ResponesePosType,
DataPosLevel,
ResponesePosition,
};