UNPKG

rapiq

Version:

A tiny library which provides utility types/functions for request and response query handling.

10 lines 463 B
import type { ObjectLiteral } from '../../types'; import { SortOptionsContainer } from './container'; import type { SortParseOptions, SortParseOutput } from './type'; /** * Transform sort data to appreciate data format. * @param data * @param options */ export declare function parseQuerySort<T extends ObjectLiteral = ObjectLiteral>(data: unknown, options?: SortParseOptions<T> | SortOptionsContainer<T>): SortParseOutput; //# sourceMappingURL=parse.d.ts.map