@gooddata/sdk-backend-mockingbird 11.61.0-alpha.3 → 11.61.0-alpha.5

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.
@@ -432,6 +432,9 @@ function recordedWorkspace(workspace, recordings = {}, implConfig) {
432
432
  summarizeDashboard() {
433
433
  throw new NotSupported("not supported");
434
434
  },
435
+ summarizeVisualizations() {
436
+ throw new NotSupported("not supported");
437
+ },
435
438
  };
436
439
  },
437
440
  references() {
@@ -852,6 +855,10 @@ function recordedUserService(implConfig) {
852
855
  setMetadataLocale: () => Promise.resolve(),
853
856
  setFormatLocale: () => Promise.resolve(),
854
857
  setSeparators: () => Promise.resolve(),
858
+ setTheme: () => Promise.resolve(),
859
+ deleteTheme: () => Promise.resolve(),
860
+ setColorPalette: () => Promise.resolve(),
861
+ deleteColorPalette: () => Promise.resolve(),
855
862
  };
856
863
  },
857
864
  };
@@ -866,6 +873,7 @@ function recordedPermissionsFactory() {
866
873
  canAnalyzeWorkspace: true,
867
874
  canCreateVisualization: true,
868
875
  canCreateComputedAttribute: true,
876
+ canManageVisualizations: true,
869
877
  canExecuteRaw: true,
870
878
  canExportReport: true,
871
879
  canExportTabular: true,
@@ -1,4 +1,4 @@
1
- import { type IMeasureExpressionToken, type IMeasureKeyDrivers, type IMeasureReferencing, type IMeasuresQuery, type IWorkspaceMeasuresService } from "@gooddata/sdk-backend-spi";
1
+ import { type IMeasureExpressionToken, type IMeasureKeyDrivers, type IMeasureOverride, type IMeasureReferencing, type IMeasuresQuery, type IWorkspaceMeasuresService } from "@gooddata/sdk-backend-spi";
2
2
  import { type IMeasure, type IMeasureMetadataObject, type IMeasureMetadataObjectDefinition, type IObjectCertificationWrite, type ObjRef } from "@gooddata/sdk-model";
3
3
  /**
4
4
  * @internal
@@ -6,6 +6,7 @@ import { type IMeasure, type IMeasureMetadataObject, type IMeasureMetadataObject
6
6
  export declare class RecordedMeasures implements IWorkspaceMeasuresService {
7
7
  getMeasureExpressionTokens(_: ObjRef): Promise<IMeasureExpressionToken[]>;
8
8
  computeKeyDrivers(): Promise<IMeasureKeyDrivers>;
9
+ checkEntityOverrides(_identifiers: string[]): Promise<IMeasureOverride[]>;
9
10
  createMeasure(_: IMeasureMetadataObjectDefinition): Promise<IMeasureMetadataObject>;
10
11
  deleteMeasure(_: ObjRef): Promise<void>;
11
12
  updateMeasure(_: IMeasureMetadataObject): Promise<IMeasureMetadataObject>;
@@ -1 +1 @@
1
- {"version":3,"file":"measures.d.ts","sourceRoot":"","sources":["../../src/recordedBackend/measures.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAEjC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,KAAK,MAAM,EACd,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,qBAAa,gBAAiB,YAAW,yBAAyB;IACvD,0BAA0B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAE/E;IAED,iBAAiB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAE/C;IAED,aAAa,CAAC,CAAC,EAAE,gCAAgC,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAElF;IAED,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAEtC;IAED,aAAa,CAAC,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAExE;IAED,iBAAiB,CAAC,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAE5E;IAED,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAA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AE5E;IAED,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAExF;IAED,4BAA4B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAEpE;IAED,gBAAgB,IAAI,cAAc,CAEjC;IAED,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAErD;IAED,sBAAsB,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAE/D;CACJ"}
@@ -10,6 +10,9 @@ export class RecordedMeasures {
10
10
  computeKeyDrivers() {
11
11
  throw new NotSupported("not supported");
12
12
  }
13
+ checkEntityOverrides(_identifiers) {
14
+ throw new NotSupported("not supported");
15
+ }
13
16
  createMeasure(_) {
14
17
  throw new NotSupported("not supported");
15
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-mockingbird",
3
- "version": "11.61.0-alpha.3",
3
+ "version": "11.61.0-alpha.5",
4
4
  "description": "Mock GoodData Backend SPI implementation",
5
5
  "license": "MIT",
6
6
  "author": "GoodData",
@@ -25,10 +25,10 @@
25
25
  "ts-invariant": "0.10.3",
26
26
  "tslib": "2.8.1",
27
27
  "uuid": "11.1.1",
28
- "@gooddata/sdk-backend-base": "11.61.0-alpha.3",
29
- "@gooddata/sdk-backend-spi": "11.61.0-alpha.3",
30
- "@gooddata/sdk-model": "11.61.0-alpha.3",
31
- "@gooddata/util": "11.61.0-alpha.3"
28
+ "@gooddata/sdk-backend-base": "11.61.0-alpha.5",
29
+ "@gooddata/sdk-backend-spi": "11.61.0-alpha.5",
30
+ "@gooddata/sdk-model": "11.61.0-alpha.5",
31
+ "@gooddata/util": "11.61.0-alpha.5"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "7.30.16",
@@ -50,9 +50,9 @@
50
50
  "oxlint-tsgolint": "7.0.2001",
51
51
  "typescript": "7.0.2",
52
52
  "vitest": "4.1.11",
53
- "@gooddata/eslint-config": "11.61.0-alpha.3",
54
- "@gooddata/reference-workspace": "11.61.0-alpha.3",
55
- "@gooddata/oxlint-config": "11.61.0-alpha.3"
53
+ "@gooddata/eslint-config": "11.61.0-alpha.5",
54
+ "@gooddata/oxlint-config": "11.61.0-alpha.5",
55
+ "@gooddata/reference-workspace": "11.61.0-alpha.5"
56
56
  },
57
57
  "scripts": {
58
58
  "_phase:build": "npm run build",