UNPKG

flexmonster-mongo-connector

Version:

Custom data source API implementation for MongoDB

15 lines (14 loc) 550 B
import { SchemaValueObject } from "./SchemaValueObject"; declare type FieldUniqueName = string; export declare class APISchema { private _mapOfSchemaValueObjects; private _sorted; private _filters; constructor(mapOfSchemaValueObjects?: Map<string, SchemaValueObject>, sorted?: boolean); get fields(): Map<FieldUniqueName, SchemaValueObject>; set fields(mapOfSchemaValueObjects: Map<FieldUniqueName, SchemaValueObject>); get sorted(): boolean; set sorted(sorted: boolean); toJSON(): any; } export {};