@gooddata/typings
Advanced tools
Comparing version 2.24.2-alpha-khanh.le-kl-SD-937-2020-05-07T08-24-23-306Z to 2.24.2-alpha-khanh.le-kl-SD-937-2020-05-08T03-13-56-070Z
@@ -1,2 +0,2 @@ | ||
import { CommandFailed, IObjectMeta, IGdcMessageEvent, IGdcMessageEnvelope, CommandFailedData, GdcProductName, ISimpleDrillableItemsCommandBody } from './common'; | ||
import { CommandFailed, IObjectMeta, IGdcMessageEvent, IGdcMessageEnvelope, CommandFailedData, GdcProductName, IDrillableItemsCommandBody } from './common'; | ||
import { IBaseExportConfig } from '../Export'; | ||
@@ -122,11 +122,2 @@ import { VisualizationObject } from '../VisualizationObject'; | ||
/** | ||
* The main data type for furture processing of drillable items command | ||
*/ | ||
interface IDrillableItemsCommandBody extends ISimpleDrillableItemsCommandBody { | ||
/** | ||
* Master measures items - In-case, a derived measure is composed from a master measure. | ||
*/ | ||
composedFrom?: ISimpleDrillableItemsCommandBody; | ||
} | ||
/** | ||
* Set drillable items. | ||
@@ -133,0 +124,0 @@ * |
@@ -166,1 +166,10 @@ /** | ||
} | ||
/** | ||
* The main data type of drillable items command | ||
*/ | ||
export interface IDrillableItemsCommandBody extends ISimpleDrillableItemsCommandBody { | ||
/** | ||
* Master measures items - In-case, a derived measure is composed from a master measure. | ||
*/ | ||
composedFrom?: ISimpleDrillableItemsCommandBody; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { IGdcMessageEvent, GdcProductName, IGdcMessageEnvelope, ISimpleDrillableItemsCommandBody } from './common'; | ||
import { IGdcMessageEvent, GdcProductName, IGdcMessageEnvelope, IDrillableItemsCommandBody } from './common'; | ||
export declare namespace EmbeddedKpiDashboard { | ||
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
type IKdMessageEvent<T, TBody> = IGdcMessageEvent<GdcProductName.KPI_DASHBOARD, T, TBody>; | ||
type IKdGdcMessageEvent<T, TBody> = IGdcMessageEvent<GdcProductName.KPI_DASHBOARD, T, TBody>; | ||
/** | ||
@@ -39,3 +39,7 @@ * Base type for KD event data. | ||
*/ | ||
SetSize = "setSize" | ||
SetSize = "setSize", | ||
/** | ||
* The command drill performed | ||
*/ | ||
Drill = "drill" | ||
} | ||
@@ -63,3 +67,3 @@ /** | ||
/** | ||
* Type represent that A dashboard has been created and saved. | ||
* Type represent that the dashboard has been created and saved. | ||
*/ | ||
@@ -73,7 +77,7 @@ DashboardCreated = "dashboardCreated", | ||
/** | ||
* The existing dashboard has been updated. | ||
* Type represent that the existing dashboard has been updated. | ||
*/ | ||
DashboardUpdated = "dashboardUpdated", | ||
/** | ||
* Type represent that dashboard is saved. | ||
* Type represent that the dashboard is saved. | ||
* | ||
@@ -83,3 +87,3 @@ */ | ||
/** | ||
* Type represent that dashboard is deleted. | ||
* Type represent that the dashboard is deleted. | ||
* | ||
@@ -89,3 +93,3 @@ */ | ||
/** | ||
* The user cancels the creation of the dashboard. | ||
* Type represent that the user cancels the creation of the dashboard. | ||
*/ | ||
@@ -111,3 +115,3 @@ DashboardCreationCanceled = "dashboardCreationCanceled", | ||
/** | ||
* Array of avaiable commands types. | ||
* Array of available commands types. | ||
*/ | ||
@@ -143,3 +147,3 @@ availableCommands: GdcKdCommandType[]; | ||
*/ | ||
type SaveDashboardCommand = IKdMessageEvent<GdcKdCommandType.Save, IKdSaveCommandBody>; | ||
type SaveDashboardCommand = IKdGdcMessageEvent<GdcKdCommandType.Save, IKdSaveCommandBody>; | ||
type SaveDashboardCommandData = IKdGdcMessageEnvelope<GdcKdCommandType.Save, IKdSaveCommandBody>; | ||
@@ -164,3 +168,3 @@ /** | ||
*/ | ||
type CancelEditCommand = IKdMessageEvent<GdcKdCommandType.CancelEdit, null>; | ||
type CancelEditCommand = IKdGdcMessageEvent<GdcKdCommandType.CancelEdit, null>; | ||
type CancelEditData = IKdGdcMessageEnvelope<GdcKdCommandType.CancelEdit, null>; | ||
@@ -186,3 +190,3 @@ /** | ||
*/ | ||
type DeleteDashboardCommand = IKdMessageEvent<GdcKdCommandType.Delete, null>; | ||
type DeleteDashboardCommand = IKdGdcMessageEvent<GdcKdCommandType.Delete, null>; | ||
type DeleteDashboardCommandData = IKdGdcMessageEnvelope<GdcKdCommandType.Delete, null>; | ||
@@ -202,3 +206,3 @@ /** | ||
*/ | ||
type SwitchToEditCommand = IKdMessageEvent<GdcKdCommandType.SwitchToEdit, null>; | ||
type SwitchToEditCommand = IKdGdcMessageEvent<GdcKdCommandType.SwitchToEdit, null>; | ||
type SwitchToEditCommandData = IKdGdcMessageEnvelope<GdcKdCommandType.SwitchToEdit, null>; | ||
@@ -212,11 +216,2 @@ /** | ||
/** | ||
* The main data type for furture processing of drillable items command | ||
*/ | ||
interface IKdDrillableItemsCommandBody extends ISimpleDrillableItemsCommandBody { | ||
/** | ||
* Master measures items - In-case, a derived measure is composed from a master measure. | ||
*/ | ||
composedFrom?: ISimpleDrillableItemsCommandBody; | ||
} | ||
/** | ||
* Set drillable items. | ||
@@ -228,3 +223,3 @@ * | ||
*/ | ||
type DrillableItemsCommand = IKdMessageEvent<GdcKdCommandType.DrillableItems, IKdDrillableItemsCommandBody>; | ||
type DrillableItemsCommand = IKdGdcMessageEvent<GdcKdCommandType.DrillableItems, IDrillableItemsCommandBody>; | ||
/** | ||
@@ -234,5 +229,5 @@ * Data type of drillable items command | ||
* Note: The main event data was wrapped to application and product data structure | ||
* @see IKdDrillableItemsCommandBody | ||
* @see IDrillableItemsCommandBody | ||
*/ | ||
type DrillableItemsCommandData = IKdGdcMessageEnvelope<GdcKdCommandType.DrillableItems, IKdDrillableItemsCommandBody>; | ||
type DrillableItemsCommandData = IKdGdcMessageEnvelope<GdcKdCommandType.DrillableItems, IDrillableItemsCommandBody>; | ||
/** | ||
@@ -250,3 +245,3 @@ * Type-guard checking whether object is an instance of {@link DrillableItemsCommandData}. | ||
} | ||
type SetSizeCommand = IKdMessageEvent<GdcKdCommandType.SetSize, ISetSizeCommandBody>; | ||
type SetSizeCommand = IKdGdcMessageEvent<GdcKdCommandType.SetSize, ISetSizeCommandBody>; | ||
type SetSizeCommandData = IKdGdcMessageEnvelope<GdcKdCommandType.SetSize, ISetSizeCommandBody>; | ||
@@ -253,0 +248,0 @@ /** |
@@ -36,2 +36,6 @@ "use strict"; | ||
GdcKdCommandType["SetSize"] = "setSize"; | ||
/** | ||
* The command drill performed | ||
*/ | ||
GdcKdCommandType["Drill"] = "drill"; | ||
})(GdcKdCommandType = EmbeddedKpiDashboard.GdcKdCommandType || (EmbeddedKpiDashboard.GdcKdCommandType = {})); | ||
@@ -60,3 +64,3 @@ /** | ||
/** | ||
* Type represent that A dashboard has been created and saved. | ||
* Type represent that the dashboard has been created and saved. | ||
*/ | ||
@@ -70,7 +74,7 @@ GdcKdEventType["DashboardCreated"] = "dashboardCreated"; | ||
/** | ||
* The existing dashboard has been updated. | ||
* Type represent that the existing dashboard has been updated. | ||
*/ | ||
GdcKdEventType["DashboardUpdated"] = "dashboardUpdated"; | ||
/** | ||
* Type represent that dashboard is saved. | ||
* Type represent that the dashboard is saved. | ||
* | ||
@@ -80,3 +84,3 @@ */ | ||
/** | ||
* Type represent that dashboard is deleted. | ||
* Type represent that the dashboard is deleted. | ||
* | ||
@@ -86,3 +90,3 @@ */ | ||
/** | ||
* The user cancels the creation of the dashboard. | ||
* Type represent that the user cancels the creation of the dashboard. | ||
*/ | ||
@@ -89,0 +93,0 @@ GdcKdEventType["DashboardCreationCanceled"] = "dashboardCreationCanceled"; |
{ | ||
"name": "@gooddata/typings", | ||
"version": "2.24.2-alpha-khanh.le-kl-SD-937-2020-05-07T08-24-23-306Z", | ||
"version": "2.24.2-alpha-khanh.le-kl-SD-937-2020-05-08T03-13-56-070Z", | ||
"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
326136
5500