เพิ่ม interface ให้ any
This commit is contained in:
parent
7d3c48142c
commit
77ccaec4e3
18 changed files with 259 additions and 73 deletions
|
|
@ -30,9 +30,55 @@ interface orgFilter{
|
|||
orgName:string
|
||||
status:string
|
||||
}
|
||||
interface appointmentData{
|
||||
citizenId:string
|
||||
prefixId?:string
|
||||
firstname?:string
|
||||
lastname?:string
|
||||
}
|
||||
|
||||
interface UserData {
|
||||
personalId: string;
|
||||
citizenId: string;
|
||||
fullname: string;
|
||||
organizationName: string ;
|
||||
orgName: string ;
|
||||
organizationShortName: string ;
|
||||
positionNumber: string ;
|
||||
positionPath: string;
|
||||
status: string;
|
||||
createdAt: string;
|
||||
birthday: string;
|
||||
}
|
||||
|
||||
interface ResponseData {
|
||||
data: {
|
||||
result: {
|
||||
citizenId:string
|
||||
profileId: string;
|
||||
prefix: string;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
organizationPositionOld: string;
|
||||
positionLevelOld: string;
|
||||
positionTypeOld: string;
|
||||
status: string;
|
||||
educationOld: string;
|
||||
positionNumberOld: string;
|
||||
salary: number;
|
||||
reason: string;
|
||||
positionDate: Date;
|
||||
avatar: string;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
export type {
|
||||
listAppointType,
|
||||
resData,
|
||||
orgFilter
|
||||
orgFilter,
|
||||
appointmentData,
|
||||
UserData,
|
||||
ResponseData
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue