/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// import { FilterQuery, PopulateOptions } from 'mongoose'; export type ApiSortQuery = Record; export type ApiSelectQuery = Record; export interface IApiQuery { deleted?: string | boolean; filter?: string | null; limit?: string | number; offset?: string | number; populate?: PopulateOptions[] | [] | null; q?: string | null; select?: string | null; sort?: string | null; } export interface IApiParsedQuery { limit: number; offset: number; q: FilterQuery; select: ApiSelectQuery; sort: ApiSortQuery | null; total: FilterQuery; filter?: Record; populate?: PopulateOptions[]; deleted?: boolean; } export type ParseQueryFunction = (query: IApiParsedQuery) => IApiParsedQuery; //# sourceMappingURL=IApiQuery.d.ts.map