67 lines
1.1 KiB
TypeScript
67 lines
1.1 KiB
TypeScript
import type { zipCodeOption } from "../../components/exams_other/profileType";
|
|
interface DataOption {
|
|
id: number | string;
|
|
name: string;
|
|
disable?: boolean;
|
|
}
|
|
|
|
interface DataOptionInsignia {
|
|
id: string;
|
|
name: string;
|
|
typeName: string;
|
|
}
|
|
|
|
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[];
|
|
}
|
|
|
|
interface InsigniaOps {
|
|
insigniaOptions: DataOptionInsignia[];
|
|
}
|
|
|
|
interface Pagination {
|
|
rowsPerPage: number;
|
|
}
|
|
|
|
interface treeTab {
|
|
id: string;
|
|
label: string;
|
|
children: treeTab[];
|
|
}
|
|
|
|
interface CheckboxItem {
|
|
id: number;
|
|
label: string;
|
|
}
|
|
|
|
export type {
|
|
DataOption,
|
|
DataOptionInsignia,
|
|
treeTab,
|
|
InformationOps,
|
|
AddressOps,
|
|
Pagination,
|
|
EduOps,
|
|
InsigniaOps,
|
|
CheckboxItem
|
|
};
|