2024-02-15 11:46:25 +07:00
|
|
|
interface DataOption {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-01 13:42:24 +07:00
|
|
|
interface DataOptionCheckBox {
|
|
|
|
|
label: string;
|
2024-04-04 11:18:30 +07:00
|
|
|
value: boolean;
|
2024-04-01 13:42:24 +07:00
|
|
|
}
|
|
|
|
|
|
2024-04-03 17:12:04 +07:00
|
|
|
interface FormFilter {
|
|
|
|
|
page: number;
|
|
|
|
|
pageSize: number;
|
|
|
|
|
keyword: string;
|
|
|
|
|
type: string;
|
2024-04-04 11:18:30 +07:00
|
|
|
year: number;
|
2024-04-03 17:12:04 +07:00
|
|
|
posType: string;
|
|
|
|
|
posLevel: string;
|
|
|
|
|
retireYear: string | null;
|
|
|
|
|
rangeYear: { min: number; max: number };
|
|
|
|
|
isShowRetire: boolean | null;
|
|
|
|
|
isProbation: boolean | null;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-03 11:14:26 +07:00
|
|
|
interface ItemsMenu {
|
|
|
|
|
label: string;
|
|
|
|
|
value: string;
|
|
|
|
|
icon: string;
|
|
|
|
|
color: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface NewPagination {
|
|
|
|
|
descending: boolean;
|
|
|
|
|
page: number;
|
|
|
|
|
rowsPerPage: number;
|
|
|
|
|
sortBy: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-04 11:18:30 +07:00
|
|
|
export type {
|
|
|
|
|
DataOption,
|
|
|
|
|
DataOptionCheckBox,
|
|
|
|
|
ItemsMenu,
|
|
|
|
|
NewPagination,
|
|
|
|
|
FormFilter,
|
|
|
|
|
};
|