@gooddata/typings
Advanced tools
Comparing version 2.25.0-alpha-ivan-mjartan-ine-one-4414-2020-07-15T11-06-09-306Z to 2.25.0-alpha-khanh-le-kl-sd-980-2020-07-16T08-58-49-507Z
@@ -430,3 +430,3 @@ import { CommandFailed, IObjectMeta, IGdcMessageEvent, IGdcMessageEnvelope, CommandFailedData, GdcProductName, IDrillableItemsCommandBody, EmbeddedGdc } from './common'; | ||
*/ | ||
type RemoveFilterContextCommandData = IGdcAdMessageEnvelope<GdcAdCommandType.RemoveFilterContext, EmbeddedGdc.IFilterContextContent>; | ||
type RemoveFilterContextCommandData = IGdcAdMessageEnvelope<GdcAdCommandType.RemoveFilterContext, EmbeddedGdc.IRemoveFilterContextContent>; | ||
/** | ||
@@ -438,3 +438,3 @@ * Remove the filter context | ||
*/ | ||
type RemoveFilterContextCommand = IGdcAdMessageEvent<GdcAdCommandType.RemoveFilterContext, EmbeddedGdc.IFilterContextContent>; | ||
type RemoveFilterContextCommand = IGdcAdMessageEvent<GdcAdCommandType.RemoveFilterContext, EmbeddedGdc.IRemoveFilterContextContent>; | ||
/** | ||
@@ -441,0 +441,0 @@ * Type-guard checking whether an object is an instance of {@link RemoveFilterContextCommand} |
@@ -185,2 +185,9 @@ import { AFM } from '../AFM'; | ||
type ObjQualifier = AFM.ObjQualifier; | ||
type RemoveDateFilterItem = { | ||
dataSet: ObjQualifier; | ||
}; | ||
type RemoveAttributeFilterItem = { | ||
displayForm: ObjQualifier; | ||
}; | ||
type RemoveFilterItem = RemoveDateFilterItem | RemoveAttributeFilterItem; | ||
const isDateFilter: typeof AFM.isDateFilter; | ||
@@ -201,2 +208,9 @@ const isRelativeDateFilter: typeof AFM.isRelativeDateFilter; | ||
} | ||
/** | ||
* The remove filter context content that is used to exchange the filter context | ||
* between AD, KD embedded page and parent application | ||
*/ | ||
interface IRemoveFilterContextContent { | ||
filters: RemoveFilterItem[]; | ||
} | ||
} |
@@ -317,3 +317,3 @@ import { IGdcMessageEvent, GdcProductName, IGdcMessageEnvelope, IDrillableItemsCommandBody, EmbeddedGdc } from './common'; | ||
*/ | ||
type RemoveFilterContextCommandData = IGdcKdMessageEnvelope<GdcKdCommandType.RemoveFilterContext, EmbeddedGdc.IFilterContextContent>; | ||
type RemoveFilterContextCommandData = IGdcKdMessageEnvelope<GdcKdCommandType.RemoveFilterContext, EmbeddedGdc.IRemoveFilterContextContent>; | ||
/** | ||
@@ -325,3 +325,3 @@ * Remove the filter context | ||
*/ | ||
type RemoveFilterContextCommand = IGdcKdMessageEvent<GdcKdCommandType.RemoveFilterContext, EmbeddedGdc.IFilterContextContent>; | ||
type RemoveFilterContextCommand = IGdcKdMessageEvent<GdcKdCommandType.RemoveFilterContext, EmbeddedGdc.IRemoveFilterContextContent>; | ||
/** | ||
@@ -328,0 +328,0 @@ * Type-guard checking whether an object is an instance of {@link RemoveFilterContextCommand} |
@@ -143,9 +143,3 @@ import { IObjectMeta } from './Meta'; | ||
} | ||
interface IObjectWithProperties { | ||
content: { | ||
properties?: string; | ||
references?: VisualizationObject.IReferenceItems; | ||
}; | ||
} | ||
interface IVisualizationObject extends IObjectWithProperties { | ||
interface IVisualizationObject { | ||
meta: IObjectMeta; | ||
@@ -152,0 +146,0 @@ content: IVisualizationObjectContent; |
import { IObjectMeta } from './Meta'; | ||
import { ExtendedDateFilters } from './ExtendedDateFilters'; | ||
import { VisualizationObject } from './VisualizationObject'; | ||
export interface IVisualizationWidget extends VisualizationObject.IObjectWithProperties { | ||
export interface IVisualizationWidget { | ||
meta: IObjectMeta; | ||
@@ -11,4 +11,2 @@ content: { | ||
drills?: IDrillDefinition; | ||
properties?: string; | ||
references?: VisualizationObject.IReferenceItems; | ||
}; | ||
@@ -15,0 +13,0 @@ } |
{ | ||
"name": "@gooddata/typings", | ||
"version": "2.25.0-alpha-ivan-mjartan-ine-one-4414-2020-07-15T11-06-09-306Z", | ||
"version": "2.25.0-alpha-khanh-le-kl-sd-980-2020-07-16T08-58-49-507Z", | ||
"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
353614
6081