@gooddata/sdk-backend-mockingbird 11.41.0-alpha.0 → 11.41.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.
- package/esm/recordedBackend/index.js +19 -0
- package/package.json +8 -8
|
@@ -638,6 +638,9 @@ function recordedOrganization(organizationId, implConfig) {
|
|
|
638
638
|
getKnowledgeDocuments: () => {
|
|
639
639
|
throw new NotSupported("not supported");
|
|
640
640
|
},
|
|
641
|
+
getObservability: () => {
|
|
642
|
+
throw new NotSupported("not supported");
|
|
643
|
+
},
|
|
641
644
|
};
|
|
642
645
|
},
|
|
643
646
|
exportTemplates() {
|
|
@@ -645,6 +648,22 @@ function recordedOrganization(organizationId, implConfig) {
|
|
|
645
648
|
getExportTemplates: () => Promise.resolve([]),
|
|
646
649
|
};
|
|
647
650
|
},
|
|
651
|
+
ipAllowlists() {
|
|
652
|
+
const echo = (definition) => ({
|
|
653
|
+
id: definition.id,
|
|
654
|
+
allowedSources: definition.allowedSources,
|
|
655
|
+
userIds: definition.userIds,
|
|
656
|
+
userGroupIds: definition.userGroupIds,
|
|
657
|
+
users: definition.userIds.map((id) => ({ id })),
|
|
658
|
+
userGroups: definition.userGroupIds.map((id) => ({ id })),
|
|
659
|
+
});
|
|
660
|
+
return {
|
|
661
|
+
getAll: () => Promise.resolve([]),
|
|
662
|
+
create: (definition) => Promise.resolve(echo(definition)),
|
|
663
|
+
update: (definition) => Promise.resolve(echo(definition)),
|
|
664
|
+
delete: () => Promise.resolve(),
|
|
665
|
+
};
|
|
666
|
+
},
|
|
648
667
|
};
|
|
649
668
|
}
|
|
650
669
|
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.
|
|
3
|
+
"version": "11.41.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.0",
|
|
28
|
-
"@gooddata/sdk-backend-base": "11.41.0-alpha.
|
|
29
|
-
"@gooddata/sdk-backend-spi": "11.41.0-alpha.
|
|
30
|
-
"@gooddata/
|
|
31
|
-
"@gooddata/
|
|
28
|
+
"@gooddata/sdk-backend-base": "11.41.0-alpha.2",
|
|
29
|
+
"@gooddata/sdk-backend-spi": "11.41.0-alpha.2",
|
|
30
|
+
"@gooddata/sdk-model": "11.41.0-alpha.2",
|
|
31
|
+
"@gooddata/util": "11.41.0-alpha.2"
|
|
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.
|
|
56
|
-
"@gooddata/
|
|
57
|
-
"@gooddata/
|
|
55
|
+
"@gooddata/eslint-config": "11.41.0-alpha.2",
|
|
56
|
+
"@gooddata/oxlint-config": "11.41.0-alpha.2",
|
|
57
|
+
"@gooddata/reference-workspace": "11.41.0-alpha.2"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"_phase:build": "npm run build",
|