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