@gooddata/sdk-backend-mockingbird 11.41.0-alpha.0 → 11.41.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.
@@ -645,6 +645,22 @@ function recordedOrganization(organizationId, implConfig) {
645
645
  getExportTemplates: () => Promise.resolve([]),
646
646
  };
647
647
  },
648
+ ipAllowlists() {
649
+ const echo = (definition) => ({
650
+ id: definition.id,
651
+ allowedSources: definition.allowedSources,
652
+ userIds: definition.userIds,
653
+ userGroupIds: definition.userGroupIds,
654
+ users: definition.userIds.map((id) => ({ id })),
655
+ userGroups: definition.userGroupIds.map((id) => ({ id })),
656
+ });
657
+ return {
658
+ getAll: () => Promise.resolve([]),
659
+ create: (definition) => Promise.resolve(echo(definition)),
660
+ update: (definition) => Promise.resolve(echo(definition)),
661
+ delete: () => Promise.resolve(),
662
+ };
663
+ },
648
664
  };
649
665
  }
650
666
  function recordedOrganizations(implConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-mockingbird",
3
- "version": "11.41.0-alpha.0",
3
+ "version": "11.41.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.0",
28
- "@gooddata/sdk-backend-base": "11.41.0-alpha.0",
29
- "@gooddata/sdk-backend-spi": "11.41.0-alpha.0",
30
- "@gooddata/util": "11.41.0-alpha.0",
31
- "@gooddata/sdk-model": "11.41.0-alpha.0"
28
+ "@gooddata/sdk-backend-base": "11.41.0-alpha.1",
29
+ "@gooddata/sdk-backend-spi": "11.41.0-alpha.1",
30
+ "@gooddata/util": "11.41.0-alpha.1",
31
+ "@gooddata/sdk-model": "11.41.0-alpha.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.17.0",
@@ -52,9 +52,9 @@
52
52
  "oxlint-tsgolint": "0.15.0",
53
53
  "typescript": "5.9.3",
54
54
  "vitest": "4.1.8",
55
- "@gooddata/eslint-config": "11.41.0-alpha.0",
56
- "@gooddata/reference-workspace": "11.41.0-alpha.0",
57
- "@gooddata/oxlint-config": "11.41.0-alpha.0"
55
+ "@gooddata/eslint-config": "11.41.0-alpha.1",
56
+ "@gooddata/oxlint-config": "11.41.0-alpha.1",
57
+ "@gooddata/reference-workspace": "11.41.0-alpha.1"
58
58
  },
59
59
  "scripts": {
60
60
  "_phase:build": "npm run build",