reveal-sdk-node
Version:
RevealBI Node.js SDK
26 lines (25 loc) • 754 B
TypeScript
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;