@gooddata/typings
Advanced tools
Comparing version 2.21.0 to 2.22.0
@@ -11,1 +11,4 @@ export * from './src/AFM'; | ||
export * from './src/DashboardExport'; | ||
export * from './src/KPI'; | ||
export * from './src/visualizationWidget'; | ||
export * from './src/AnalyticalDashboard'; |
"use strict"; | ||
// (C) 2007-2019 GoodData Corporation | ||
// (C) 2007-2020 GoodData Corporation | ||
function __export(m) { | ||
@@ -4,0 +4,0 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; |
import { ExtendedDateFilters } from './ExtendedDateFilters'; | ||
import { IObjectMeta } from './Meta'; | ||
export declare namespace DashboardExport { | ||
@@ -6,2 +7,8 @@ type RelativeType = 'relative'; | ||
type DateFilterType = RelativeType | AbsoluteType; | ||
interface IFilterContext { | ||
meta: IObjectMeta; | ||
content: { | ||
filters: FilterContextItem; | ||
}; | ||
} | ||
interface IAttributeFilter { | ||
@@ -8,0 +15,0 @@ attributeFilter: { |
@@ -128,2 +128,12 @@ import { IObjectMeta } from './Meta'; | ||
} | ||
interface IDateFilterReference { | ||
dateFilterReference: { | ||
dataSet: string; | ||
}; | ||
} | ||
interface IAttributeFilterReference { | ||
attributeFilterReference: { | ||
displayForm: string; | ||
}; | ||
} | ||
} |
@@ -6,15 +6,9 @@ "use strict"; | ||
ExtendedDateFilters.isAllTimeDateFilter = function (option) { | ||
return option | ||
? option.type === 'allTime' | ||
: false; | ||
return option ? option.type === 'allTime' : false; | ||
}; | ||
ExtendedDateFilters.isAbsoluteDateFilterForm = function (option) { | ||
return option | ||
? option.type === 'absoluteForm' | ||
: false; | ||
return option ? option.type === 'absoluteForm' : false; | ||
}; | ||
ExtendedDateFilters.isAbsoluteDateFilterPreset = function (option) { | ||
return option | ||
? option.type === 'absolutePreset' | ||
: false; | ||
return option ? option.type === 'absolutePreset' : false; | ||
}; | ||
@@ -25,10 +19,6 @@ ExtendedDateFilters.isAbsoluteDateFilterOption = function (option) { | ||
ExtendedDateFilters.isRelativeDateFilterForm = function (option) { | ||
return option | ||
? option.type === 'relativeForm' | ||
: false; | ||
return option ? option.type === 'relativeForm' : false; | ||
}; | ||
ExtendedDateFilters.isRelativeDateFilterPreset = function (option) { | ||
return option | ||
? option.type === 'relativePreset' | ||
: false; | ||
return option ? option.type === 'relativePreset' : false; | ||
}; | ||
@@ -35,0 +25,0 @@ ExtendedDateFilters.isRelativeDateFilterOption = function (option) { |
@@ -1,2 +0,2 @@ | ||
// (C) 2007-2019 GoodData Corporation | ||
// (C) 2007-2020 GoodData Corporation | ||
@@ -13,1 +13,4 @@ export * from './src/AFM'; | ||
export * from './src/DashboardExport'; | ||
export * from './src/KPI'; | ||
export * from './src/visualizationWidget'; | ||
export * from './src/AnalyticalDashboard'; |
{ | ||
"name": "@gooddata/typings", | ||
"version": "2.21.0", | ||
"version": "2.22.0", | ||
"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
265989
67
3993