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
56
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.25.0-alpha-ptquang86-qp-sd-976-cfc-events-2020-07-16T09-55-27-820Z to 2.25.0-alpha-van-nguyen-sd-1001-2020-07-17T06-19-42-355Z

17

dist/src/embedding/common.d.ts

@@ -179,17 +179,4 @@ import { AFM } from '../AFM';

type INegativeAttributeFilter = AFM.INegativeAttributeFilter;
interface IAbsoluteDateFilter {
absoluteDateFilter: {
dataSet?: ObjQualifier;
from: string;
to: string;
};
}
interface IRelativeDateFilter {
relativeDateFilter: {
dataSet?: ObjQualifier;
granularity: string;
from: number;
to: number;
};
}
type IAbsoluteDateFilter = AFM.IAbsoluteDateFilter;
type IRelativeDateFilter = AFM.IRelativeDateFilter;
type AttributeFilterItem = IPositiveAttributeFilter | INegativeAttributeFilter;

@@ -196,0 +183,0 @@ type DateFilterItem = IAbsoluteDateFilter | IRelativeDateFilter;

22

dist/src/embedding/kd.d.ts

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

*/
RemoveFilterContext = "removeFilterContext"
RemoveFilterContext = "removeFilterContext",
/**
* The command to duplicate a KPI Dashboard
*/
SaveAsDashboard = "saveAsDashboard"
}

@@ -207,2 +211,18 @@ /**

/**
* Creates a new dashboard from an existing dashboard
*
* Contract:
*
* - if KD saves as new an existing dashboard, the DashboardSaved event will be posted
* - if KD doesn't have an existing dashboard, CommandFailed is posted
*/
type SaveAsDashboardCommand = IGdcKdMessageEvent<GdcKdCommandType.SaveAsDashboard, IKdSaveCommandBody>;
type SaveAsDashboardCommandData = IGdcKdMessageEnvelope<GdcKdCommandType.SaveAsDashboard, IKdSaveCommandBody>;
/**
* Type-guard checking whether object is an instance of {@link SaveAsDashboardCommandData}.
*
* @param obj - object to test
*/
function isSaveAsDashboardCommandData(obj: any): obj is SaveAsDashboardCommandData;
/**
* Cancels editing and switches dashboard to view mode.

@@ -209,0 +229,0 @@ *

@@ -56,2 +56,6 @@ "use strict";

GdcKdCommandType["RemoveFilterContext"] = "removeFilterContext";
/**
* The command to duplicate a KPI Dashboard
*/
GdcKdCommandType["SaveAsDashboard"] = "saveAsDashboard";
})(GdcKdCommandType = EmbeddedKpiDashboard.GdcKdCommandType || (EmbeddedKpiDashboard.GdcKdCommandType = {}));

@@ -172,2 +176,11 @@ /**

/**
* Type-guard checking whether object is an instance of {@link SaveAsDashboardCommandData}.
*
* @param obj - object to test
*/
function isSaveAsDashboardCommandData(obj) {
return common_1.getEventType(obj) === GdcKdCommandType.SaveAsDashboard;
}
EmbeddedKpiDashboard.isSaveAsDashboardCommandData = isSaveAsDashboardCommandData;
/**
* Type-guard checking whether object is an instance of {@link CancelEditData}.

@@ -174,0 +187,0 @@ *

{
"name": "@gooddata/typings",
"version": "2.25.0-alpha-ptquang86-qp-sd-976-cfc-events-2020-07-16T09-55-27-820Z",
"version": "2.25.0-alpha-van-nguyen-sd-1001-2020-07-17T06-19-42-355Z",
"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

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