@gooddata/sdk-backend-spi 10.13.0-alpha.5 → 10.13.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/sdk-backend-spi.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ import { IWidgetAlert } from '@gooddata/sdk-model';
|
|
|
110
110
|
import { IWidgetAlertDefinition } from '@gooddata/sdk-model';
|
|
111
111
|
import { IWidgetDefinition } from '@gooddata/sdk-model';
|
|
112
112
|
import { IWorkspaceDataFilter } from '@gooddata/sdk-model';
|
|
113
|
+
import { IWorkspaceDataFilterDefinition } from '@gooddata/sdk-model';
|
|
113
114
|
import { IWorkspacePermissionAssignment } from '@gooddata/sdk-model';
|
|
114
115
|
import { IWorkspacePermissions } from '@gooddata/sdk-model';
|
|
115
116
|
import { IWorkspaceUser } from '@gooddata/sdk-model';
|
|
@@ -1240,7 +1241,35 @@ export declare interface IDashboardWithReferences {
|
|
|
1240
1241
|
* @alpha
|
|
1241
1242
|
*/
|
|
1242
1243
|
export declare interface IDataFiltersService {
|
|
1244
|
+
/**
|
|
1245
|
+
* Get data filters for the current workspace with their settings.
|
|
1246
|
+
*
|
|
1247
|
+
* @deprecated - the function has been renamed, use {@link IDataFiltersService#getDataFilters} instead
|
|
1248
|
+
* @alpha
|
|
1249
|
+
*/
|
|
1243
1250
|
getWorkspaceDataFilters(): Promise<IWorkspaceDataFilter[]>;
|
|
1251
|
+
/**
|
|
1252
|
+
* Get data filters for the current workspace with their settings.
|
|
1253
|
+
*/
|
|
1254
|
+
getDataFilters(): Promise<IWorkspaceDataFilter[]>;
|
|
1255
|
+
/**
|
|
1256
|
+
* Create a new data filter (without setting).
|
|
1257
|
+
*/
|
|
1258
|
+
createDataFilter(newDataFilter: IWorkspaceDataFilterDefinition): Promise<IWorkspaceDataFilter>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Update an existing data filter.
|
|
1261
|
+
* The setting is not updated, only the data filter.
|
|
1262
|
+
*/
|
|
1263
|
+
updateDataFilter(updatedDataFilter: IWorkspaceDataFilter): Promise<IWorkspaceDataFilter>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Update value of existing data filter.
|
|
1266
|
+
* TODO support for multiple values in milestone 1?
|
|
1267
|
+
*/
|
|
1268
|
+
updateDataFilterValue(dataFilter: ObjRef, value: string): Promise<void>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Delete an existing data filter.
|
|
1271
|
+
*/
|
|
1272
|
+
deleteDataFilter(ref: ObjRef): Promise<void>;
|
|
1244
1273
|
}
|
|
1245
1274
|
|
|
1246
1275
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IWorkspaceDataFilter } from "@gooddata/sdk-model";
|
|
1
|
+
import { IWorkspaceDataFilter, ObjRef, IWorkspaceDataFilterDefinition } from "@gooddata/sdk-model";
|
|
2
2
|
/**
|
|
3
3
|
* The service that returns information about data filters.
|
|
4
4
|
*
|
|
@@ -8,6 +8,34 @@ import { IWorkspaceDataFilter } from "@gooddata/sdk-model";
|
|
|
8
8
|
* @alpha
|
|
9
9
|
*/
|
|
10
10
|
export interface IDataFiltersService {
|
|
11
|
+
/**
|
|
12
|
+
* Get data filters for the current workspace with their settings.
|
|
13
|
+
*
|
|
14
|
+
* @deprecated - the function has been renamed, use {@link IDataFiltersService#getDataFilters} instead
|
|
15
|
+
* @alpha
|
|
16
|
+
*/
|
|
11
17
|
getWorkspaceDataFilters(): Promise<IWorkspaceDataFilter[]>;
|
|
18
|
+
/**
|
|
19
|
+
* Get data filters for the current workspace with their settings.
|
|
20
|
+
*/
|
|
21
|
+
getDataFilters(): Promise<IWorkspaceDataFilter[]>;
|
|
22
|
+
/**
|
|
23
|
+
* Create a new data filter (without setting).
|
|
24
|
+
*/
|
|
25
|
+
createDataFilter(newDataFilter: IWorkspaceDataFilterDefinition): Promise<IWorkspaceDataFilter>;
|
|
26
|
+
/**
|
|
27
|
+
* Update an existing data filter.
|
|
28
|
+
* The setting is not updated, only the data filter.
|
|
29
|
+
*/
|
|
30
|
+
updateDataFilter(updatedDataFilter: IWorkspaceDataFilter): Promise<IWorkspaceDataFilter>;
|
|
31
|
+
/**
|
|
32
|
+
* Update value of existing data filter.
|
|
33
|
+
* TODO support for multiple values in milestone 1?
|
|
34
|
+
*/
|
|
35
|
+
updateDataFilterValue(dataFilter: ObjRef, value: string): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Delete an existing data filter.
|
|
38
|
+
*/
|
|
39
|
+
deleteDataFilter(ref: ObjRef): Promise<void>;
|
|
12
40
|
}
|
|
13
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workspace/dataFilter/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workspace/dataFilter/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AAEnG;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;OAKG;IACH,uBAAuB,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IAE3D;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IAElD;;OAEG;IACH,gBAAgB,CAAC,aAAa,EAAE,8BAA8B,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAE/F;;;OAGG;IACH,gBAAgB,CAAC,iBAAiB,EAAE,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAEzF;;;OAGG;IACH,qBAAqB,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAExE;;OAEG;IACH,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAChD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-spi",
|
|
3
|
-
"version": "10.13.0-alpha.
|
|
3
|
+
"version": "10.13.0-alpha.7",
|
|
4
4
|
"author": "GoodData",
|
|
5
5
|
"description": "GoodData Backend SPI abstraction interfaces",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
25
|
"ts-invariant": "^0.7.5",
|
|
26
26
|
"tslib": "^2.5.0",
|
|
27
|
-
"@gooddata/sdk-model": "10.13.0-alpha.
|
|
27
|
+
"@gooddata/sdk-model": "10.13.0-alpha.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gooddata/eslint-config": "^4.1.0",
|