fix fetch

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-24 11:39:09 +07:00
parent 1888ce2f8b
commit 6824988322
9 changed files with 111 additions and 61 deletions

View file

@ -10,7 +10,7 @@ interface ProfileData {
posNo: string;
profileId: string;
citizenId?: string;
salary?: number|null;
salary?: number | null;
birthDate?: string;
keycloakId?: string;
org?: string;
@ -35,4 +35,36 @@ interface InformationData {
email: string;
}
export type { ProfileData, InformationData };
interface DataProfile {
profileId: string | null;
prefix: string;
rank: string;
firstName: string;
lastName: string;
citizenId: string;
position: string;
posMaster: string | null;
posLevelName: string | null;
posLevelRank: string | null;
posLevelId: string | null;
posTypeName: string | null;
posTypeRank: string | null;
posTypeId: string | null;
posExecutiveName: string;
posExecutivePriority: string | null;
posExecutiveId: string | null;
rootId: string | null;
root: string;
child1Id: string | null;
child1: string | null;
child2Id: string | null;
child2: string | null;
child3Id: string | null;
child3: string | null;
child4Id: string | null;
child4: string | null;
node: string | null;
nodeId: string | null;
}
export type { ProfileData, InformationData, DataProfile };