@gooddata/typings
Advanced tools
Comparing version 2.24.2 to 2.24.3
@@ -81,2 +81,6 @@ import { CommandFailed, IObjectMeta, IGdcMessageEvent, IGdcMessageEnvelope, CommandFailedData, GdcProductName } from './common'; | ||
/** | ||
* Type represent that the insight editor is cleared | ||
*/ | ||
ClearFinished = "clearFinished", | ||
/** | ||
* Type represent that the insight is saved | ||
@@ -421,3 +425,3 @@ * | ||
/** | ||
* Data type of event that was emit when the new insight initialized | ||
* Data type of event that was emitted when the new insight initialized | ||
* | ||
@@ -448,3 +452,3 @@ * Note: it has empty content and just wrapped to application and product data structure | ||
/** | ||
* Data type of event that was emit when an insight is opened | ||
* Data type of event that was emitted when an insight is opened | ||
* | ||
@@ -462,2 +466,19 @@ * Note: The main event data was wrapped to application and product data structure | ||
/** | ||
* This event is emitted when AD successfully performs clear operation. | ||
*/ | ||
type ClearFinished = IADMessageEvent<GdcAdEventType.ClearFinished, IAvailableCommands>; | ||
/** | ||
* Data type of event that was emitted after finish clear action | ||
* | ||
* Note: The main event data was wrapped to application and product data structure | ||
* @see UndoFinishedBody | ||
*/ | ||
type ClearFinishedData = IAdGdcMessageEnvelope<GdcAdEventType.ClearFinished, IAvailableCommands>; | ||
/** | ||
* Type-guard checking whether an object is an instance of {@link ClearFinishedData} | ||
* | ||
* @param obj - object to test | ||
*/ | ||
function isClearFinishedData(obj: any): obj is ClearFinishedData; | ||
/** | ||
* Main data of InsightSaved event | ||
@@ -478,3 +499,3 @@ * | ||
/** | ||
* Data type of event that was emit when an insight is saved | ||
* Data type of event that was emitted when an insight is saved | ||
* | ||
@@ -505,3 +526,3 @@ * Note: The main event data was wrapped to application and product data structure | ||
/** | ||
* Data type of event that was emit after an insight was exported | ||
* Data type of event that was emitted after an insight was exported | ||
* | ||
@@ -527,3 +548,3 @@ * Note: The main event data was wrapped to application and product data structure | ||
/** | ||
* Data type of event that was emit after finish undo action | ||
* Data type of event that was emitted after finish undo action | ||
* | ||
@@ -549,3 +570,3 @@ * Note: The main event data was wrapped to application and product data structure | ||
/** | ||
* Data type of event that was emit after finish redo action | ||
* Data type of event that was emitted after finish redo action | ||
* | ||
@@ -552,0 +573,0 @@ * Note: The main event data was wrapped to application and product data structure |
@@ -66,2 +66,6 @@ "use strict"; | ||
/** | ||
* Type represent that the insight editor is cleared | ||
*/ | ||
GdcAdEventType["ClearFinished"] = "clearFinished"; | ||
/** | ||
* Type represent that the insight is saved | ||
@@ -190,2 +194,11 @@ * | ||
/** | ||
* Type-guard checking whether an object is an instance of {@link ClearFinishedData} | ||
* | ||
* @param obj - object to test | ||
*/ | ||
function isClearFinishedData(obj) { | ||
return common_1.getEventType(obj) === GdcAdEventType.ClearFinished; | ||
} | ||
EmbeddedAnalyticalDesigner.isClearFinishedData = isClearFinishedData; | ||
/** | ||
* Type-guard checking whether an object is an instance of {@link InsightSavedData} | ||
@@ -192,0 +205,0 @@ * |
{ | ||
"name": "@gooddata/typings", | ||
"version": "2.24.2", | ||
"version": "2.24.3", | ||
"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
308381
5068