@gooddata/sdk-backend-base 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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IOrganization, type IOrganizationAgentsService, type IOrganizationAutomationService, type IOrganizationExportTemplatesService, type IOrganizationGenAIService, type IOrganizationLlmProvidersService, type IOrganizationNotificationChannelService, type IOrganizationNotificationService, type IOrganizationPermissionService, type IOrganizationSettingsService, type IOrganizationStylingService, type IOrganizationUserService, type ISecuritySettingsService } from "@gooddata/sdk-backend-spi";
|
|
1
|
+
import { type IOrganization, type IOrganizationAgentsService, type IOrganizationAutomationService, type IOrganizationExportTemplatesService, type IOrganizationGenAIService, type IOrganizationIpAllowlistService, type IOrganizationLlmProvidersService, type IOrganizationNotificationChannelService, type IOrganizationNotificationService, type IOrganizationPermissionService, type IOrganizationSettingsService, type IOrganizationStylingService, type IOrganizationUserService, type ISecuritySettingsService } from "@gooddata/sdk-backend-spi";
|
|
2
2
|
import { type IOrganizationDescriptor, type IOrganizationDescriptorUpdate } from "@gooddata/sdk-model";
|
|
3
3
|
import { type DecoratorFactories } from "./types.js";
|
|
4
4
|
export declare class OrganizationDecorator implements IOrganization {
|
|
@@ -20,4 +20,5 @@ export declare class OrganizationDecorator implements IOrganization {
|
|
|
20
20
|
agents(): IOrganizationAgentsService;
|
|
21
21
|
genAI(): IOrganizationGenAIService;
|
|
22
22
|
exportTemplates(): IOrganizationExportTemplatesService;
|
|
23
|
+
ipAllowlists(): IOrganizationIpAllowlistService;
|
|
23
24
|
}
|
|
@@ -904,6 +904,22 @@ class DummyOrganization {
|
|
|
904
904
|
getExportTemplates: () => Promise.resolve([]),
|
|
905
905
|
};
|
|
906
906
|
}
|
|
907
|
+
ipAllowlists() {
|
|
908
|
+
const echo = (definition) => ({
|
|
909
|
+
id: definition.id,
|
|
910
|
+
allowedSources: definition.allowedSources,
|
|
911
|
+
userIds: definition.userIds,
|
|
912
|
+
userGroupIds: definition.userGroupIds,
|
|
913
|
+
users: definition.userIds.map((id) => ({ id })),
|
|
914
|
+
userGroups: definition.userGroupIds.map((id) => ({ id })),
|
|
915
|
+
});
|
|
916
|
+
return {
|
|
917
|
+
getAll: () => Promise.resolve([]),
|
|
918
|
+
create: (definition) => Promise.resolve(echo(definition)),
|
|
919
|
+
update: (definition) => Promise.resolve(echo(definition)),
|
|
920
|
+
delete: () => Promise.resolve(),
|
|
921
|
+
};
|
|
922
|
+
}
|
|
907
923
|
}
|
|
908
924
|
class DummyWorkspaceSettingsService {
|
|
909
925
|
workspace;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-base",
|
|
3
|
-
"version": "11.41.0-alpha.
|
|
3
|
+
"version": "11.41.0-alpha.1",
|
|
4
4
|
"description": "GoodData.UI SDK - Base for backend implementations",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"ts-invariant": "0.10.3",
|
|
30
30
|
"tslib": "2.8.1",
|
|
31
31
|
"uuid": "11.1.0",
|
|
32
|
-
"@gooddata/sdk-backend-spi": "11.41.0-alpha.
|
|
33
|
-
"@gooddata/
|
|
34
|
-
"@gooddata/
|
|
32
|
+
"@gooddata/sdk-backend-spi": "11.41.0-alpha.1",
|
|
33
|
+
"@gooddata/sdk-model": "11.41.0-alpha.1",
|
|
34
|
+
"@gooddata/util": "11.41.0-alpha.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"oxlint-tsgolint": "0.15.0",
|
|
57
57
|
"typescript": "5.9.3",
|
|
58
58
|
"vitest": "4.1.8",
|
|
59
|
-
"@gooddata/
|
|
60
|
-
"@gooddata/
|
|
61
|
-
"@gooddata/
|
|
59
|
+
"@gooddata/eslint-config": "11.41.0-alpha.1",
|
|
60
|
+
"@gooddata/oxlint-config": "11.41.0-alpha.1",
|
|
61
|
+
"@gooddata/reference-workspace": "11.41.0-alpha.1"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"_phase:build": "npm run build",
|