UNPKG

rapiq

Version:

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

19 lines 734 B
import type { ObjectLiteral } from '../../types'; import type { FieldsParseOptions } from './type'; export declare class FieldsOptionsContainer<T extends ObjectLiteral = ObjectLiteral> { options: FieldsParseOptions<T>; default: Record<string, string[]>; defaultIsUndefined: boolean; allowed: Record<string, string[]>; allowedIsUndefined: boolean; items: Record<string, string[]>; keys: string[]; reverseMapping: Record<string, string>; constructor(input?: FieldsParseOptions<T>); protected initDefault(): void; protected initAllowed(): void; protected initItems(): void; protected initReverseMapping(): void; private buildReverseRecord; } //# sourceMappingURL=container.d.ts.map