hrms-mgt/src/modules/15_development/interface/index/Main.ts

40 lines
695 B
TypeScript
Raw Normal View History

interface DataOption {
id: string;
name: string;
}
interface DataOptionCheckBox {
label: string;
value: string;
}
interface FormFilter {
page: number;
pageSize: number;
keyword: string;
type: string;
year:number
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean | null;
isProbation: boolean | null;
}
interface ItemsMenu {
label: string;
value: string;
icon: string;
color: string;
}
interface NewPagination {
descending: boolean;
page: number;
rowsPerPage: number;
sortBy: string;
}
export type { DataOption, DataOptionCheckBox, ItemsMenu, NewPagination ,FormFilter};