add data to interfac main
This commit is contained in:
parent
1e37a3a848
commit
153ab369a6
1 changed files with 32 additions and 3 deletions
|
|
@ -1,7 +1,36 @@
|
||||||
|
import type { zipCodeOption } from "../../components/exams_other/profileType";
|
||||||
interface DataOption {
|
interface DataOption {
|
||||||
id: number;
|
id: number | string;
|
||||||
name: string;
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Pagination {
|
||||||
|
rowsPerPage: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface EduOps {
|
||||||
|
levelOptions: DataOption[];
|
||||||
|
positionPathOptions: DataOption[];
|
||||||
|
}
|
||||||
|
|
||||||
|
interface InformationOps {
|
||||||
|
prefixOps: DataOption[];
|
||||||
|
genderOps: DataOption[];
|
||||||
|
bloodOps: DataOption[];
|
||||||
|
statusOps: DataOption[];
|
||||||
|
religionOps: DataOption[];
|
||||||
|
employeeClassOps: DataOption[];
|
||||||
|
employeeTypeOps: DataOption[];
|
||||||
|
}
|
||||||
|
|
||||||
|
interface AddressOps {
|
||||||
|
provinceOps: DataOption[];
|
||||||
|
districtOps: DataOption[];
|
||||||
|
districtCOps: DataOption[];
|
||||||
|
subdistrictOps: zipCodeOption[];
|
||||||
|
subdistrictCOps: zipCodeOption[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export type { DataOption };
|
|
||||||
|
export type { DataOption, InformationOps , AddressOps, Pagination ,EduOps };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue