Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reveal-sdk-node

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reveal-sdk-node - npm Package Compare versions

Comparing version 1.5.1-rc14 to 1.6.0-rc.1

lib/sdk-model/sdk.code-workspace

6

lib/dts/sdk-model/OData/RVODataDataSourceItem.d.ts

@@ -15,2 +15,8 @@ import { RVDataSourceItem } from "../AbstractClasses/RVDataSourceItem";

set url(value: nullableString);
private _entityType;
get entityType(): nullableString;
set entityType(value: nullableString);
private _functionQName;
get functionQName(): nullableString;
set functionQName(value: nullableString);
/** @hidden */

@@ -17,0 +23,0 @@ getType(): string;

import { RVSqlBasedDataSourceItem } from "../AbstractClasses/RVSqlBasedDataSourceItem";
import { RVOracleDataSource } from "./RVOracleDataSource";
import { nullableString } from "../types";
/** Oracle data source item */

@@ -8,4 +9,18 @@ export declare class RVOracleDataSourceItem extends RVSqlBasedDataSourceItem {

constructor(json: any);
private _procedure;
/**
* (Optional) name of the stored procedure or function to get data from. The function must return a ref cursor. Procedures must have at least one OUT argument of type ref cursor.
*/
get procedure(): nullableString;
set procedure(value: nullableString);
private _procedureParameters;
/**Parameters to be passed to the stored procedure, if there is such specified in {@link RVOracleDataSourceItem.procedure}. */
get procedureParameters(): any;
set procedureParameters(value: any);
/** @hidden */
toJson(): any;
/** @hidden */
getType(): string;
/** @hidden */
_getWrapper(): any;
}

4

lib/sdk-model/AbstractClasses/RVDataSourceItem.js

@@ -100,5 +100,5 @@ "use strict";

if (isResourceBased) {
return eval(`new $.ig.${this.getType()}Internal(this.resourceItem._getWrapper());`);
return eval(`new $.ig.${this.getType()}Internal(0, this.resourceItem._getWrapper());`);
}
return eval(`new $.ig.${this.getType()}Internal(this.dataSource._getWrapper());`);
return eval(`new $.ig.${this.getType()}Internal(0, this.dataSource._getWrapper());`);
}

@@ -105,0 +105,0 @@ /** @hidden */

@@ -12,2 +12,4 @@ "use strict";

this._url = null;
this._entityType = null;
this._functionQName = null;
if (arg instanceof RVODataDataSource_1.RVODataDataSource) {

@@ -19,2 +21,4 @@ this.url = arg.url;

this._url = props["Url"];
this._entityType = props["EntityType"];
this._functionQName = props["FunctionQName"];
}

@@ -27,2 +31,4 @@ }

props['Url'] = this._url;
props['EntityType'] = this._entityType;
props['FunctionQName'] = this._functionQName;
return json;

@@ -37,2 +43,14 @@ }

}
get entityType() {
return this._entityType;
}
set entityType(value) {
this._entityType = value;
}
get functionQName() {
return this._functionQName;
}
set functionQName(value) {
this._functionQName = value;
}
/** @hidden */

@@ -46,2 +64,4 @@ getType() {

wrapper.url(this.url);
wrapper.entityType(this.entityType);
wrapper.functionQName(this.functionQName);
return wrapper;

@@ -48,0 +68,0 @@ }

@@ -5,2 +5,3 @@ "use strict";

const RVSqlBasedDataSourceItem_1 = require("../AbstractClasses/RVSqlBasedDataSourceItem");
const RVOracleDataSource_1 = require("./RVOracleDataSource");
/** Oracle data source item */

@@ -11,8 +12,46 @@ class RVOracleDataSourceItem extends RVSqlBasedDataSourceItem_1.RVSqlBasedDataSourceItem {

super(arg);
this._procedure = null;
this._procedureParameters = null;
if (!(arg instanceof RVOracleDataSource_1.RVOracleDataSource)) {
var props = arg.Properties;
this._procedure = props["Procedure"];
this._procedureParameters = arg["Parameters"];
}
}
/**
* (Optional) name of the stored procedure or function to get data from. The function must return a ref cursor. Procedures must have at least one OUT argument of type ref cursor.
*/
get procedure() {
return this._procedure;
}
set procedure(value) {
this._procedure = value;
}
/**Parameters to be passed to the stored procedure, if there is such specified in {@link RVOracleDataSourceItem.procedure}. */
get procedureParameters() {
return this._procedureParameters;
}
set procedureParameters(value) {
this._procedureParameters = value;
}
/** @hidden */
toJson() {
var json = super.toJson();
var props = json['Properties'];
props['Procedure'] = this._procedure;
Object.assign(json['Parameters'], this._procedureParameters);
return json;
}
/** @hidden */
getType() {
return "RVOracleDataSourceItem";
}
/** @hidden */
_getWrapper() {
let wrapper = super._getWrapper();
wrapper.procedure(this.procedure);
wrapper.procedureParameters(this.procedureParameters);
return wrapper;
}
}
exports.RVOracleDataSourceItem = RVOracleDataSourceItem;
{
"name": "reveal-sdk-node",
"description": "RevealBI Node.js SDK",
"version": "1.5.1-rc14",
"version": "1.6.0-rc.1",
"private": false,

@@ -16,7 +16,5 @@ "scripts": {

"automated-tests-server": "node dev-samples/automated-tests-server.js",
"prepack": "npm run transpile && npm run prepareNative && node scripts/publish.js",
"prepack-local": "npm run transpile && npm run prepareNative && node scripts/publish.js packOnly",
"install": "node install.js"
"prepack": "npm run transpile && npm run prepareNative && node scripts/publish.js"
},
"engines": {
"engines": {
"node": ">=16.13"

@@ -23,0 +21,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc