@gooddata/sdk-backend-mockingbird 11.63.1 → 11.64.0-alpha.1

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":"index.d.ts","sourceRoot":"","sources":["../../src/recordedBackend/index.ts"],"names":[],"mappings":"AAOA,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,EAwD5B,MAAM,2BAA2B,CAAC;AAmCnC,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"}
@@ -503,6 +503,9 @@ function recordedWorkspace(workspace, recordings = {}, implConfig) {
503
503
  localization() {
504
504
  return recordedLocalizationService();
505
505
  },
506
+ delete() {
507
+ return Promise.resolve();
508
+ },
506
509
  };
507
510
  }
508
511
  function recordedEntitlements() {
@@ -717,6 +720,7 @@ function recordedOrganization(organizationId, implConfig) {
717
720
  removeUsersFromUserGroups: () => Promise.resolve(),
718
721
  updateUser: () => Promise.resolve(),
719
722
  updateUserGroup: () => Promise.resolve(),
723
+ inviteUser: () => Promise.resolve(),
720
724
  };
721
725
  },
722
726
  automations: () => {
@@ -818,6 +822,18 @@ function recordedOrganization(organizationId, implConfig) {
818
822
  delete: () => Promise.resolve(),
819
823
  };
820
824
  },
825
+ cspDirectives() {
826
+ return {
827
+ getAll: () => Promise.resolve([]),
828
+ get: (id) => Promise.resolve({ id, sources: [] }),
829
+ create: (directive) => Promise.resolve(directive),
830
+ update: (directive) => Promise.resolve(directive),
831
+ delete: () => Promise.resolve(),
832
+ };
833
+ },
834
+ getPlatformUsage() {
835
+ return Promise.resolve([]);
836
+ },
821
837
  localization() {
822
838
  return recordedLocalizationService();
823
839
  },
@@ -866,6 +882,13 @@ function recordedUserService(implConfig) {
866
882
  lastName: "",
867
883
  });
868
884
  },
885
+ apiTokens() {
886
+ return {
887
+ getAll: () => Promise.resolve([]),
888
+ create: (id) => Promise.resolve({ id, bearerToken: "" }),
889
+ delete: () => Promise.resolve(),
890
+ };
891
+ },
869
892
  settings() {
870
893
  return {
871
894
  getSettings: async () => Promise.resolve({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-mockingbird",
3
- "version": "11.63.1",
3
+ "version": "11.64.0-alpha.1",
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.63.1",
29
- "@gooddata/sdk-backend-spi": "11.63.1",
30
- "@gooddata/sdk-model": "11.63.1",
31
- "@gooddata/util": "11.63.1"
28
+ "@gooddata/sdk-backend-base": "11.64.0-alpha.1",
29
+ "@gooddata/sdk-model": "11.64.0-alpha.1",
30
+ "@gooddata/util": "11.64.0-alpha.1",
31
+ "@gooddata/sdk-backend-spi": "11.64.0-alpha.1"
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": "5.0.4",
53
- "@gooddata/oxlint-config": "11.63.1",
54
- "@gooddata/eslint-config": "11.63.1",
55
- "@gooddata/reference-workspace": "11.63.1"
53
+ "@gooddata/oxlint-config": "11.64.0-alpha.1",
54
+ "@gooddata/reference-workspace": "11.64.0-alpha.1",
55
+ "@gooddata/eslint-config": "11.64.0-alpha.1"
56
56
  },
57
57
  "scripts": {
58
58
  "_phase:build": "npm run build",