@gooddata/sdk-backend-spi 11.56.0-alpha.6 → 11.56.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
|
@@ -2580,8 +2580,9 @@ export declare interface ICommentExpressionToken {
|
|
|
2580
2580
|
* {@link IWorkspaceComputedAttributesService.getComputedAttributeReferencingObjects}.
|
|
2581
2581
|
*
|
|
2582
2582
|
* @remarks
|
|
2583
|
-
* Insights that group by the computed attribute, metrics that reference it,
|
|
2584
|
-
* filter by it or embed those insights
|
|
2583
|
+
* Insights that group by the computed attribute, metrics that reference it, dashboards that
|
|
2584
|
+
* filter by it or embed those insights, and other computed attributes whose MAQL references it
|
|
2585
|
+
* are reported when the backend can resolve them.
|
|
2585
2586
|
*
|
|
2586
2587
|
* @public
|
|
2587
2588
|
*/
|
|
@@ -2590,6 +2591,10 @@ export declare interface IComputedAttributeReferencing {
|
|
|
2590
2591
|
* Dashboards that filter by the computed attribute or embed a visualization that uses it.
|
|
2591
2592
|
*/
|
|
2592
2593
|
analyticalDashboards?: IMetadataObject[];
|
|
2594
|
+
/**
|
|
2595
|
+
* Other computed attributes whose MAQL definition references the computed attribute.
|
|
2596
|
+
*/
|
|
2597
|
+
computedAttributes?: IMetadataObject[];
|
|
2593
2598
|
/**
|
|
2594
2599
|
* Visualizations that group by the computed attribute.
|
|
2595
2600
|
*/
|
|
@@ -8725,6 +8730,13 @@ export declare interface IWorkspaceComputedAttributesService {
|
|
|
8725
8730
|
* @returns promise of undefined
|
|
8726
8731
|
*/
|
|
8727
8732
|
deleteComputedAttribute(ref: ObjRef): Promise<void>;
|
|
8733
|
+
/**
|
|
8734
|
+
* Sets computed attribute certification metadata.
|
|
8735
|
+
*
|
|
8736
|
+
* @param ref - computed attribute reference
|
|
8737
|
+
* @param certification - certification state; undefined clears certification
|
|
8738
|
+
*/
|
|
8739
|
+
setCertification(ref: ObjRef, certification?: IObjectCertificationWrite): Promise<void>;
|
|
8728
8740
|
/**
|
|
8729
8741
|
* Get computed attribute by reference.
|
|
8730
8742
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IComputedAttributeMetadataObject, IComputedAttributeMetadataObjectDefinition, IInsight, IMetadataObject, IMetadataObjectBase, IMetadataObjectIdentity, ObjRef, ObjectOrigin } from "@gooddata/sdk-model";
|
|
1
|
+
import type { IComputedAttributeMetadataObject, IComputedAttributeMetadataObjectDefinition, IInsight, IMetadataObject, IMetadataObjectBase, IMetadataObjectIdentity, IObjectCertificationWrite, ObjRef, ObjectOrigin } from "@gooddata/sdk-model";
|
|
2
2
|
import type { IFilterBaseOptions } from "../../common/filtering.js";
|
|
3
3
|
import type { IPagedResource } from "../../common/paging.js";
|
|
4
4
|
import type { QueryMethod } from "../../common/query.js";
|
|
@@ -8,8 +8,9 @@ import type { IMeasureExpressionToken } from "../measures/measure.js";
|
|
|
8
8
|
* {@link IWorkspaceComputedAttributesService.getComputedAttributeReferencingObjects}.
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
|
-
* Insights that group by the computed attribute, metrics that reference it,
|
|
12
|
-
* filter by it or embed those insights
|
|
11
|
+
* Insights that group by the computed attribute, metrics that reference it, dashboards that
|
|
12
|
+
* filter by it or embed those insights, and other computed attributes whose MAQL references it
|
|
13
|
+
* are reported when the backend can resolve them.
|
|
13
14
|
*
|
|
14
15
|
* @public
|
|
15
16
|
*/
|
|
@@ -18,6 +19,10 @@ export interface IComputedAttributeReferencing {
|
|
|
18
19
|
* Dashboards that filter by the computed attribute or embed a visualization that uses it.
|
|
19
20
|
*/
|
|
20
21
|
analyticalDashboards?: IMetadataObject[];
|
|
22
|
+
/**
|
|
23
|
+
* Other computed attributes whose MAQL definition references the computed attribute.
|
|
24
|
+
*/
|
|
25
|
+
computedAttributes?: IMetadataObject[];
|
|
21
26
|
/**
|
|
22
27
|
* Visualizations that group by the computed attribute.
|
|
23
28
|
*/
|
|
@@ -76,6 +81,13 @@ export interface IWorkspaceComputedAttributesService {
|
|
|
76
81
|
* @returns promise of undefined
|
|
77
82
|
*/
|
|
78
83
|
deleteComputedAttribute(ref: ObjRef): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Sets computed attribute certification metadata.
|
|
86
|
+
*
|
|
87
|
+
* @param ref - computed attribute reference
|
|
88
|
+
* @param certification - certification state; undefined clears certification
|
|
89
|
+
*/
|
|
90
|
+
setCertification(ref: ObjRef, certification?: IObjectCertificationWrite): Promise<void>;
|
|
79
91
|
/**
|
|
80
92
|
* Get computed attribute by reference.
|
|
81
93
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workspace/computedAttributes/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACR,gCAAgC,EAChC,0CAA0C,EAC1C,QAAQ,EACR,eAAe,EACf,mBAAmB,EACnB,uBAAuB,EACvB,MAAM,EACN,YAAY,EACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEtE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workspace/computedAttributes/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACR,gCAAgC,EAChC,0CAA0C,EAC1C,QAAQ,EACR,eAAe,EACf,mBAAmB,EACnB,uBAAuB,EACvB,yBAAyB,EACzB,MAAM,EACN,YAAY,EACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAA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;;;;;OAMG;IACH,oCAAoC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAAC;IAEtF;;;;;OAKG;IACH,sCAAsC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAE5F;;;;OAIG;IACH,0BAA0B,IAAI,wBAAwB,CAAC;CAC1D;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,wBAAwB,CAAC;IAEjD;;;;;;;OAOG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,wBAAwB,CAAC;IAEjD;;;;;OAKG;IACH,UAAU,CAAC,MAAM,EAAE,kBAAkB,GAAG,wBAAwB,CAAC;IAEjE;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,wBAAwB,CAAC;IAEtD;;;;;OAKG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,wBAAwB,CAAC;IAEzD;;;;;OAKG;IACH,UAAU,CAAC,MAAM,EAAE,YAAY,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,wBAAwB,CAAC;IAE3E;;;;;;;OAOG;IACH,UAAU,CAAC,MAAM,EAAE,WAAW,GAAG,wBAAwB,CAAC;IAE1D;;;;OAIG;IACH,KAAK,IAAI,OAAO,CAAC,8BAA8B,CAAC,CAAC;CACpD;AAED;;;;GAIG;AACH,MAAM,MAAM,8BAA8B,GAAG,cAAc,CAAC,gCAAgC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-spi",
|
|
3
|
-
"version": "11.56.0-alpha.
|
|
3
|
+
"version": "11.56.0-alpha.7",
|
|
4
4
|
"description": "GoodData Backend SPI abstraction interfaces",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"lodash-es": "^4.17.23",
|
|
25
25
|
"ts-invariant": "0.10.3",
|
|
26
26
|
"tslib": "2.8.1",
|
|
27
|
-
"@gooddata/sdk-model": "11.56.0-alpha.
|
|
27
|
+
"@gooddata/sdk-model": "11.56.0-alpha.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@microsoft/api-documenter": "7.30.10",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"oxlint-tsgolint": "0.15.0",
|
|
46
46
|
"typescript": "7.0.2",
|
|
47
47
|
"vitest": "4.1.8",
|
|
48
|
-
"@gooddata/
|
|
49
|
-
"@gooddata/
|
|
48
|
+
"@gooddata/oxlint-config": "11.56.0-alpha.7",
|
|
49
|
+
"@gooddata/eslint-config": "11.56.0-alpha.7"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"_phase:build": "npm run build",
|