@gooddata/typings
Advanced tools
Comparing version 2.24.9 to 2.25.0-alpha-bertold8-ine-one-4414-2020-07-09T06-54-04-330Z
@@ -148,3 +148,16 @@ import { IGdcMessageEvent, GdcProductName, IGdcMessageEnvelope, IDrillableItemsCommandBody, EmbeddedGdc } from './common'; | ||
*/ | ||
RemoveFilterContextFinished = "removeFilterContextFinished" | ||
RemoveFilterContextFinished = "removeFilterContextFinished", | ||
/** | ||
* Type that represents started drill to URL. The event does not contain an URL. The event can be used as | ||
* notification to display a loading indicator as the URL resolving takes some time. The URL is sent in | ||
* DrillToUrlResolved event which is posted after the URL is resolved. The event also contains an ID that can | ||
* be matched with ID in subsequently posted DrillToUrlResolved event. | ||
*/ | ||
DrillToUrlStarted = "drillToUrlStarted", | ||
/** | ||
* Type that represents resolved drill to URL. The event is sent after DrillToUrlStarted event was posted and | ||
* it contains the resolved URL. The event also contains an ID which can be matched with ID from | ||
* DrillToUrlStarted event. | ||
*/ | ||
DrillToUrlResolved = "drillToUrlResolved" | ||
} | ||
@@ -548,2 +561,11 @@ /** | ||
type FilterContextChangedData = IGdcKdMessageEnvelope<GdcKdEventType.FilterContextChanged, FilterContextChangedBody>; | ||
interface IDrillToUrlStartedDataBody { | ||
id: string; | ||
} | ||
interface IDrillToUrlResolvedDataBody { | ||
id: string; | ||
url: string; | ||
} | ||
type DrillToUrlStartedData = IGdcKdMessageEnvelope<GdcKdEventType.DrillToUrlStarted, IDrillToUrlStartedDataBody>; | ||
type DrillToUrlResolvedData = IGdcKdMessageEnvelope<GdcKdEventType.DrillToUrlResolved, IDrillToUrlResolvedDataBody>; | ||
} |
@@ -147,2 +147,15 @@ "use strict"; | ||
GdcKdEventType["RemoveFilterContextFinished"] = "removeFilterContextFinished"; | ||
/** | ||
* Type that represents started drill to URL. The event does not contain an URL. The event can be used as | ||
* notification to display a loading indicator as the URL resolving takes some time. The URL is sent in | ||
* DrillToUrlResolved event which is posted after the URL is resolved. The event also contains an ID that can | ||
* be matched with ID in subsequently posted DrillToUrlResolved event. | ||
*/ | ||
GdcKdEventType["DrillToUrlStarted"] = "drillToUrlStarted"; | ||
/** | ||
* Type that represents resolved drill to URL. The event is sent after DrillToUrlStarted event was posted and | ||
* it contains the resolved URL. The event also contains an ID which can be matched with ID from | ||
* DrillToUrlStarted event. | ||
*/ | ||
GdcKdEventType["DrillToUrlResolved"] = "drillToUrlResolved"; | ||
})(GdcKdEventType = EmbeddedKpiDashboard.GdcKdEventType || (EmbeddedKpiDashboard.GdcKdEventType = {})); | ||
@@ -149,0 +162,0 @@ /** |
@@ -143,3 +143,10 @@ import { IObjectMeta } from './Meta'; | ||
} | ||
interface IVisualizationObject { | ||
interface IObjectWithProperties { | ||
content: { | ||
properties?: string; | ||
references?: VisualizationObject.IReferenceItems; | ||
[keys: string]: any; | ||
}; | ||
} | ||
interface IVisualizationObject extends IObjectWithProperties { | ||
meta: IObjectMeta; | ||
@@ -146,0 +153,0 @@ content: IVisualizationObjectContent; |
import { IObjectMeta } from './Meta'; | ||
import { ExtendedDateFilters } from './ExtendedDateFilters'; | ||
import { VisualizationObject } from './VisualizationObject'; | ||
export interface IVisualizationWidget { | ||
export interface IVisualizationWidget extends VisualizationObject.IObjectWithProperties { | ||
meta: IObjectMeta; | ||
@@ -11,2 +11,4 @@ content: { | ||
drills?: IDrillDefinition; | ||
properties?: string; | ||
references?: VisualizationObject.IReferenceItems; | ||
}; | ||
@@ -13,0 +15,0 @@ } |
{ | ||
"name": "@gooddata/typings", | ||
"version": "2.24.9", | ||
"version": "2.25.0-alpha-bertold8-ine-one-4414-2020-07-09T06-54-04-330Z", | ||
"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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
353482
6076
1