UNPKG

cosmos-db-repositories

Version:
22 lines (21 loc) 758 B
/// <reference types="node" /> import { URLSearchParams } from "url"; /** * Infers the type of a single query parameter value. * Supports JSON object, number, boolean, date, and string. */ export declare function inferQueryValue(value: string | null | undefined): string | number | boolean | Date | object | undefined; declare const _default: { parseProperties: (properties: string[] | null | undefined) => Record<string, any>; parse: (query: URLSearchParams, headers: any) => { pageable: { rowsPerPage: number; pageIndex: number; continuationToken: any; }; properties: Record<string, any>; orderBy: string | null; searchValue: string; }; }; export default _default;