UNPKG

reveal-sdk-node

Version:

RevealBI Node.js SDK

19 lines (18 loc) 806 B
/** * A helper object that can be used to create a configuration for a JSON data source item. */ export declare class RVJsonSchemaConfigBuilder { _columnsConfig: Array<any>; _iterationDepth: number; constructor(); setIterationDepth(v: number): RVJsonSchemaConfigBuilder; addStringField(key: string): RVJsonSchemaConfigBuilder; addNumericField(key: string): RVJsonSchemaConfigBuilder; addDateField(key: string, dateFormat: string): RVJsonSchemaConfigBuilder; addDateTimeField(key: string, dateFormat: string): RVJsonSchemaConfigBuilder; build(): string; /** @hidden */ static _createColumnConfig(type: number, key: string): any; /** @hidden */ static _createDateBasedColumnConfig(type: number, key: string, dateFormat: string): any; }