New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gooddata/typings

Package Overview
Dependencies
Maintainers
52
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gooddata/typings - npm Package Compare versions

Comparing version 2.24.6 to 2.24.7-alpha-yanlipnican-master-2020-06-18T13-33-29-468Z

51

dist/src/embedding/kd.d.ts

@@ -50,3 +50,3 @@ import { IGdcMessageEvent, GdcProductName, IGdcMessageEnvelope, IDrillableItemsCommandBody } from './common';

*/
ExportToPDF = "exportToPDF"
ExportToPdf = "exportToPdf"
}

@@ -125,7 +125,11 @@ /**

*/
ExportedToPDF = "exportedToPDF",
ExportedToPdf = "exportedToPdf",
/**
* Type represent that the drill performed
*/
Drill = "drill"
Drill = "drill",
/**
* Type that represents the drill to url was performed
*/
DrillToUrl = "drillToUrl"
}

@@ -262,10 +266,11 @@ /**

}
type InsightRef = {
interface IIdentifierInsightRef {
identifier: string;
} | {
}
interface IUriInsightRef {
uri: string;
};
}
interface IInsightWidget {
type: 'insight';
ref: InsightRef;
ref: IIdentifierInsightRef | IUriInsightRef;
}

@@ -276,2 +281,14 @@ interface IAddWidgetBody {

/**
* Type-guard checking whether object is an instance of {@link IdentifierInsightRef}.
*
* @param obj - object to test
*/
function isIdentifierInsight(obj: any): obj is IIdentifierInsightRef;
/**
* Type-guard checking whether object is an instance of {@link UriInsightRef}.
*
* @param obj - object to test
*/
function isUriInsight(obj: any): obj is IUriInsightRef;
/**
* Adds new widget onto dashboard. New row will be created on top of the dashboard, the widget

@@ -333,10 +350,10 @@ * will be placed into its first column.

*/
type ExportToPDFCommand = IGdcKdMessageEvent<GdcKdCommandType.ExportToPDF, null>;
type ExportToPDFCommandData = IGdcKdMessageEnvelope<GdcKdCommandType.ExportToPDF, null>;
type ExportToPdfCommand = IGdcKdMessageEvent<GdcKdCommandType.ExportToPdf, null>;
type ExportToPdfCommandData = IGdcKdMessageEnvelope<GdcKdCommandType.ExportToPdf, null>;
/**
* Type-guard checking whether object is an instance of {@link ExportToPDFCommandData}.
* Type-guard checking whether object is an instance of {@link ExportToPdfCommandData}.
*
* @param obj - object to test
*/
function isExportToPDFCommandData(obj: any): obj is ExportToPDFCommandData;
function isExportToPdfCommandData(obj: any): obj is ExportToPdfCommandData;
interface INoPermissionsBody {

@@ -425,3 +442,3 @@ /**

}
interface IWidgetAddedBody {
interface IAddedWidgetBody {
insight?: IInsightWidgetBody;

@@ -437,3 +454,3 @@ }

*/
type WidgetAddedData = IGdcKdMessageEnvelope<GdcKdEventType.WidgetAdded, IWidgetAddedBody>;
type WidgetAddedData = IGdcKdMessageEnvelope<GdcKdEventType.WidgetAdded, IAddedWidgetBody>;
type FilterAddedBody = IKdAvailableCommands;

@@ -448,3 +465,3 @@ /**

type FilterAddedData = IGdcKdMessageEnvelope<GdcKdEventType.FilterAdded, FilterAddedBody>;
type ExportToPDFFinishedBody = IKdAvailableCommands & {
type ExportToPdfFinishedBody = IKdAvailableCommands & {
/**

@@ -458,3 +475,7 @@ * Link to the file containing exported data.

*/
type ExportToPDFFinishedData = IGdcKdMessageEnvelope<GdcKdEventType.ExportedToPDF, ExportToPDFFinishedBody>;
type ExportToPdfFinishedData = IGdcKdMessageEnvelope<GdcKdEventType.ExportedToPdf, ExportToPdfFinishedBody>;
interface IDrillToUrlDataBody {
url: string;
}
type DrillToUrlData = IGdcKdMessageEnvelope<GdcKdEventType.DrillToUrl, IDrillToUrlDataBody>;
}

@@ -47,3 +47,3 @@ "use strict";

*/
GdcKdCommandType["ExportToPDF"] = "exportToPDF";
GdcKdCommandType["ExportToPdf"] = "exportToPdf";
})(GdcKdCommandType = EmbeddedKpiDashboard.GdcKdCommandType || (EmbeddedKpiDashboard.GdcKdCommandType = {}));

@@ -123,3 +123,3 @@ /**

*/
GdcKdEventType["ExportedToPDF"] = "exportedToPDF";
GdcKdEventType["ExportedToPdf"] = "exportedToPdf";
/**

@@ -129,2 +129,6 @@ * Type represent that the drill performed

GdcKdEventType["Drill"] = "drill";
/**
* Type that represents the drill to url was performed
*/
GdcKdEventType["DrillToUrl"] = "drillToUrl";
})(GdcKdEventType = EmbeddedKpiDashboard.GdcKdEventType || (EmbeddedKpiDashboard.GdcKdEventType = {}));

@@ -177,2 +181,20 @@ /**

/**
* Type-guard checking whether object is an instance of {@link IdentifierInsightRef}.
*
* @param obj - object to test
*/
function isIdentifierInsight(obj) {
return obj.identifier;
}
EmbeddedKpiDashboard.isIdentifierInsight = isIdentifierInsight;
/**
* Type-guard checking whether object is an instance of {@link UriInsightRef}.
*
* @param obj - object to test
*/
function isUriInsight(obj) {
return obj.uri;
}
EmbeddedKpiDashboard.isUriInsight = isUriInsight;
/**
* Type-guard checking whether object is an instance of {@link AddWidgetCommandData}.

@@ -196,11 +218,11 @@ *

/**
* Type-guard checking whether object is an instance of {@link ExportToPDFCommandData}.
* Type-guard checking whether object is an instance of {@link ExportToPdfCommandData}.
*
* @param obj - object to test
*/
function isExportToPDFCommandData(obj) {
return common_1.getEventType(obj) === GdcKdCommandType.ExportToPDF;
function isExportToPdfCommandData(obj) {
return common_1.getEventType(obj) === GdcKdCommandType.ExportToPdf;
}
EmbeddedKpiDashboard.isExportToPDFCommandData = isExportToPDFCommandData;
EmbeddedKpiDashboard.isExportToPdfCommandData = isExportToPdfCommandData;
})(EmbeddedKpiDashboard = exports.EmbeddedKpiDashboard || (exports.EmbeddedKpiDashboard = {}));
//# sourceMappingURL=kd.js.map
{
"name": "@gooddata/typings",
"version": "2.24.6",
"version": "2.24.7-alpha-yanlipnican-master-2020-06-18T13-33-29-468Z",
"description": "TypeScript definition files for GoodData platform",

@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts",

Sorry, the diff of this file is not supported yet

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