import { Data } from './dataTable.type'; import { MultiSelectOption } from './options.type'; export type FetchListResponse = { status: number; message: string; data: { data: T[]; totalRecords: number; }; }; export type FetchDetailResponse = { status: number; message: string; data: T; }; export type FilterOptions> = Record; export type FetchOptionResponse> = { message: string; data: FilterOptions; }; export type QueryParams = { [key: string]: string | number | boolean | string[] | number[] | boolean[] | Date | undefined | null; };