@gooddata/sdk-backend-mockingbird 11.58.0-alpha.0 → 11.58.0-alpha.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"geoService.d.ts","sourceRoot":"","sources":["../src/geoService.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAS1F,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,WAAW,CAoBhF"}
1
+ {"version":3,"file":"geoService.d.ts","sourceRoot":"","sources":["../src/geoService.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC9B,MAAM,2BAA2B,CAAC;AASnC,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,WAAW,CAwBhF"}
package/esm/geoService.js CHANGED
@@ -12,6 +12,9 @@ export function createMockGeoService(style) {
12
12
  getDefaultStyleSpriteIcons: async () => Promise.resolve([]),
13
13
  getStyles: async () => Promise.resolve([]),
14
14
  getStyleById: async () => Promise.resolve(resolvedStyle),
15
+ getAsset: async (_url, options) => Promise.resolve({
16
+ data: options?.responseType === "json" ? {} : new ArrayBuffer(0),
17
+ }),
15
18
  collections: () => ({
16
19
  getAll: () => Promise.resolve([]),
17
20
  getGeoCollection: () => Promise.resolve(undefined),
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/recordedBackend/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACH,KAAK,kBAAkB,EAKvB,KAAK,oBAAoB,EAwD5B,MAAM,2BAA2B,CAAC;AAkCnC,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAkB7E;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,oBAehD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC3B,KAAK,EAAE,cAAc,EACrB,MAAM,GAAE,qBAAqC,EAC7C,YAAY,uBAAqC,GAClD,kBAAkB,CAsDpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/recordedBackend/index.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,kBAAkB,EAKvB,KAAK,oBAAoB,EAuD5B,MAAM,2BAA2B,CAAC;AAkCnC,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAkB7E;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,oBAehD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC3B,KAAK,EAAE,cAAc,EACrB,MAAM,GAAE,qBAAqC,EAC7C,YAAY,uBAAqC,GAClD,kBAAkB,CAsDpB"}
@@ -1,5 +1,5 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { DummyChatConversations, DummyGenAIChatThread, DummySemanticSearchQueryBuilder, InMemoryPaging, } from "@gooddata/sdk-backend-base";
2
+ import { DummyChatConversations, DummySemanticSearchQueryBuilder, InMemoryPaging, } from "@gooddata/sdk-backend-base";
3
3
  import { NotSupported, UnexpectedResponseError, } from "@gooddata/sdk-backend-spi";
4
4
  import { BuiltInReportPageLayouts, areObjRefsEqual, idRef, isIdentifierRef, } from "@gooddata/sdk-model";
5
5
  import { createMockGeoService } from "../geoService.js";
@@ -402,9 +402,6 @@ function recordedWorkspace(workspace, recordings = {}, implConfig) {
402
402
  },
403
403
  genAI() {
404
404
  return {
405
- getChatThread() {
406
- return new DummyGenAIChatThread();
407
- },
408
405
  getChatConversations(_options) {
409
406
  return new DummyChatConversations();
410
407
  },
@@ -855,6 +852,7 @@ function recordedPermissionsFactory() {
855
852
  canAccessWorkbench: true,
856
853
  canCreateAnalyticalDashboard: true,
857
854
  canCreateReport: true,
855
+ canAnalyzeWorkspace: true,
858
856
  canCreateVisualization: true,
859
857
  canExecuteRaw: true,
860
858
  canExportReport: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-mockingbird",
3
- "version": "11.58.0-alpha.0",
3
+ "version": "11.58.0-alpha.2",
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.58.0-alpha.0",
29
- "@gooddata/sdk-backend-spi": "11.58.0-alpha.0",
30
- "@gooddata/sdk-model": "11.58.0-alpha.0",
31
- "@gooddata/util": "11.58.0-alpha.0"
28
+ "@gooddata/sdk-backend-base": "11.58.0-alpha.2",
29
+ "@gooddata/sdk-backend-spi": "11.58.0-alpha.2",
30
+ "@gooddata/util": "11.58.0-alpha.2",
31
+ "@gooddata/sdk-model": "11.58.0-alpha.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "7.30.10",
@@ -49,10 +49,10 @@
49
49
  "oxlint-plugin-eslint": "1.82.0",
50
50
  "oxlint-tsgolint": "7.0.2001",
51
51
  "typescript": "7.0.2",
52
- "vitest": "4.1.8",
53
- "@gooddata/eslint-config": "11.58.0-alpha.0",
54
- "@gooddata/oxlint-config": "11.58.0-alpha.0",
55
- "@gooddata/reference-workspace": "11.58.0-alpha.0"
52
+ "vitest": "4.1.11",
53
+ "@gooddata/eslint-config": "11.58.0-alpha.2",
54
+ "@gooddata/oxlint-config": "11.58.0-alpha.2",
55
+ "@gooddata/reference-workspace": "11.58.0-alpha.2"
56
56
  },
57
57
  "scripts": {
58
58
  "_phase:build": "npm run build",