@gooddata/js-utils
Advanced tools
Comparing version 3.10.9-alpha-khanh-le-kl-sd-980-2020-07-16T09-01-17-571Z to 3.10.9-alpha-khanh-le-kl-sd-980-2020-07-20T03-08-58-683Z
@@ -27,2 +27,6 @@ import { EmbeddedGdc } from '@gooddata/typings'; | ||
export declare function isValidRemoveFiltersFormat(filters: any[]): boolean; | ||
export declare function getObjectUriIdentifier(obj: EmbeddedGdc.ObjQualifier): { | ||
uri?: string; | ||
identifier?: string; | ||
}; | ||
export declare function transformFilterContext(filters: EmbeddedGdc.FilterItem[]): IExternalFiltersObject; | ||
@@ -33,3 +37,3 @@ export declare function isTransformedDateFilterItem(filterItem: ITransformedFilterItem): filterItem is ITransformedDateFilterItem; | ||
export declare function isAllValueAttributeFilterItem(filterItem: ITransformedFilterItem): boolean; | ||
export declare function isRemoveDateFilter(filter: any): filter is any; | ||
export declare function isRemoveAttributeFilter(filter: any): filter is any; | ||
export declare function isRemoveDateFilter(filter: any): filter is EmbeddedGdc.IRemoveDateFilterItem; | ||
export declare function isRemoveAttributeFilter(filter: any): filter is EmbeddedGdc.IRemoveAttributeFilterItem; |
@@ -78,2 +78,3 @@ "use strict"; | ||
} | ||
exports.getObjectUriIdentifier = getObjectUriIdentifier; | ||
function transformDateFilterItem(dateFilterItem) { | ||
@@ -80,0 +81,0 @@ if (typings_1.EmbeddedGdc.isAbsoluteDateFilter(dateFilterItem)) { |
{ | ||
"name": "@gooddata/js-utils", | ||
"version": "3.10.9-alpha-khanh-le-kl-sd-980-2020-07-16T09-01-17-571Z", | ||
"version": "3.10.9-alpha-khanh-le-kl-sd-980-2020-07-20T03-08-58-683Z", | ||
"description": "Various utils shared on GoodData frontend", | ||
@@ -49,3 +49,3 @@ "repository": { | ||
"dependencies": { | ||
"@gooddata/typings": "2.25.0-alpha-khanh-le-kl-sd-980-2020-07-16T08-58-49-507Z", | ||
"@gooddata/typings": "2.26.0-alpha-khanh-le-kl-sd-980-2020-07-20T03-01-05-764Z", | ||
"js-cookie": "^2.1.4", | ||
@@ -52,0 +52,0 @@ "lodash": "^4.17.15" |
@@ -101,3 +101,3 @@ // (C) 2020 GoodData Corporation | ||
function getObjectUriIdentifier(obj: EmbeddedGdc.ObjQualifier): { uri?: string; identifier?: string } { | ||
export function getObjectUriIdentifier(obj: EmbeddedGdc.ObjQualifier): { uri?: string; identifier?: string } { | ||
return { | ||
@@ -219,8 +219,8 @@ uri: EmbeddedGdc.isObjectUriQualifier(obj) ? obj.uri : undefined, | ||
export function isRemoveDateFilter(filter: any): filter is any { | ||
return !isEmpty(filter) && (filter as any).dataSet !== undefined; | ||
export function isRemoveDateFilter(filter: any): filter is EmbeddedGdc.IRemoveDateFilterItem { | ||
return !isEmpty(filter) && (filter as EmbeddedGdc.IRemoveDateFilterItem).dataSet !== undefined; | ||
} | ||
export function isRemoveAttributeFilter(filter: any): filter is any { | ||
return !isEmpty(filter) && (filter as any).displayForm !== undefined; | ||
export function isRemoveAttributeFilter(filter: any): filter is EmbeddedGdc.IRemoveAttributeFilterItem { | ||
return !isEmpty(filter) && (filter as EmbeddedGdc.IRemoveAttributeFilterItem).displayForm !== undefined; | ||
} |
Sorry, the diff of this file is not supported yet
101812
2043