UNPKG

reveal-sdk-node

Version:

RevealBI Node.js SDK

29 lines (28 loc) 894 B
/** * This source is also referenced by the Node sdk. This means that we need to be careful about the dependencies introduced here. */ export declare function toSdkDS(dsJson: any): any; /** * * @param dsiJson The result of the model data source item 'toJson()' method, plus the 'DataSource' properties, as follows: * { * ... * DataSource: { * ... * }, * ResourceItem: { * ... * DataSource: { * ... * } * } * } * * As an alternative, we can pass just the data source item toJson() dictionary, plus both data source toJson() dictionaries, without any * modification. * * Please note that the dictionaries may be mutated. * @returns */ export declare function toSdkDSI(dsiJson: any, dsJsonP?: any, resourceDataSourceP?: any): any; export declare function registerDataSource(name: string, ds: any, dsi: any): void;