@gooddata/sdk-backend-tiger 11.40.0-alpha.1 → 11.40.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/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/backend/features/feature.js +1 -0
- package/esm/backend/organization/fromBackend/userConvertor.js +2 -0
- package/esm/backend/organization/users.js +3 -1
- package/esm/backend/uiFeatures.d.ts +3 -0
- package/esm/backend/uiFeatures.js +3 -0
- package/esm/utils/widgetLocalIdentifier.js +2 -2
- package/package.json +11 -11
package/esm/__version.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "11.40.0-alpha.
|
|
1
|
+
export declare const LIB_VERSION = "11.40.0-alpha.2";
|
|
2
2
|
export declare const LIB_DESCRIPTION = "GoodData Backend SPI implementation for GoodData Cloud and GoodData.CN";
|
|
3
3
|
export declare const LIB_NAME = "@gooddata/sdk-backend-tiger";
|
package/esm/__version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2021 GoodData Corporation
|
|
2
2
|
// DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
|
|
3
|
-
export const LIB_VERSION = "11.40.0-alpha.
|
|
3
|
+
export const LIB_VERSION = "11.40.0-alpha.2";
|
|
4
4
|
export const LIB_DESCRIPTION = "GoodData Backend SPI implementation for GoodData Cloud and GoodData.CN";
|
|
5
5
|
export const LIB_NAME = "@gooddata/sdk-backend-tiger";
|
|
@@ -73,6 +73,7 @@ export function mapFeatures(features) {
|
|
|
73
73
|
...loadFeature(features, TigerFeaturesNames.EnableCertification, "enableCertification", "BOOLEAN", FeatureFlagsValues.enableCertification),
|
|
74
74
|
...loadFeature(features, TigerFeaturesNames.EnableAIDataSetting, "enableAIDataSetting", "BOOLEAN", FeatureFlagsValues.enableAIDataSetting),
|
|
75
75
|
...loadFeature(features, TigerFeaturesNames.EnableDashboardFilterViews, "enableDashboardFilterViews", "BOOLEAN", FeatureFlagsValues.enableDashboardFilterViews),
|
|
76
|
+
...loadFeature(features, TigerFeaturesNames.EnableSystemAccountFiltering, "enableSystemAccountFiltering", "BOOLEAN", FeatureFlagsValues.enableSystemAccountFiltering),
|
|
76
77
|
...loadFeature(features, TigerFeaturesNames.EnableCustomizedDashboardsWithoutPluginOverlay, "enableCustomizedDashboardsWithoutPluginOverlay", "BOOLEAN", FeatureFlagsValues.enableCustomizedDashboardsWithoutPluginOverlay),
|
|
77
78
|
...loadFeature(features, TigerFeaturesNames.EnableNewInsightChangedPostMessageEvent, "enableNewInsightChangedPostMessageEvent", "BOOLEAN", FeatureFlagsValues.enableNewInsightChangedPostMessageEvent),
|
|
78
79
|
...loadFeature(features, TigerFeaturesNames.EnableKDVisualizationSwitcher, "enableKDVisualizationSwitcher", "BOOLEAN", FeatureFlagsValues.enableKDVisualizationSwitcher),
|
|
@@ -14,6 +14,7 @@ export const convertUser = (user) => {
|
|
|
14
14
|
fullName: constructFullName(firstName, lastName),
|
|
15
15
|
firstName,
|
|
16
16
|
lastName,
|
|
17
|
+
systemAccount: user.data.attributes?.systemAccount,
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
20
|
export const convertWorkspaceUser = (user) => {
|
|
@@ -54,6 +55,7 @@ export const convertIncludedUser = (user) => {
|
|
|
54
55
|
fullName: constructFullName(firstName, lastName),
|
|
55
56
|
firstName,
|
|
56
57
|
lastName,
|
|
58
|
+
systemAccount: user.attributes?.systemAccount,
|
|
57
59
|
};
|
|
58
60
|
};
|
|
59
61
|
export const convertEntityUserToOrganizationUser = (user) => {
|
|
@@ -36,6 +36,7 @@ export class OrganizationUsersService {
|
|
|
36
36
|
email: user.email,
|
|
37
37
|
firstname: user.firstName,
|
|
38
38
|
lastname: user.lastName,
|
|
39
|
+
systemAccount: user.systemAccount,
|
|
39
40
|
},
|
|
40
41
|
},
|
|
41
42
|
},
|
|
@@ -52,7 +53,7 @@ export class OrganizationUsersService {
|
|
|
52
53
|
};
|
|
53
54
|
updateUser = async (user) => {
|
|
54
55
|
return this.authCall(async (client) => {
|
|
55
|
-
const { login, firstName, lastName, email } = user;
|
|
56
|
+
const { login, firstName, lastName, email, systemAccount } = user;
|
|
56
57
|
await EntitiesApi_PatchEntityUsers(client.axios, client.basePath, {
|
|
57
58
|
id: login,
|
|
58
59
|
jsonApiUserPatchDocument: {
|
|
@@ -63,6 +64,7 @@ export class OrganizationUsersService {
|
|
|
63
64
|
firstname: firstName,
|
|
64
65
|
lastname: lastName,
|
|
65
66
|
email: email,
|
|
67
|
+
systemAccount,
|
|
66
68
|
},
|
|
67
69
|
},
|
|
68
70
|
},
|
|
@@ -74,6 +74,7 @@ export declare enum TigerFeaturesNames {
|
|
|
74
74
|
EnableCertification = "enableCertification",
|
|
75
75
|
EnableAIDataSetting = "enableAIDataSetting",
|
|
76
76
|
EnableDashboardFilterViews = "enableDashboardFilterViews",
|
|
77
|
+
EnableSystemAccountFiltering = "enableSystemAccountFiltering",
|
|
77
78
|
EnableCustomizedDashboardsWithoutPluginOverlay = "enableCustomizedDashboardsWithoutPluginOverlay",
|
|
78
79
|
EnableAlertingRollout = "enableAlertingRollout",
|
|
79
80
|
EnableNewInsightChangedPostMessageEvent = "enableNewInsightChangedPostMessageEvent",
|
|
@@ -240,6 +241,7 @@ export type ITigerFeatureFlags = {
|
|
|
240
241
|
enableAIDataSetting: (typeof FeatureFlagsValues)["enableAIDataSetting"][number];
|
|
241
242
|
enableAlertingRollout: (typeof FeatureFlagsValues)["enableAlertingRollout"][number];
|
|
242
243
|
enableDashboardFilterViews: (typeof FeatureFlagsValues)["enableDashboardFilterViews"][number];
|
|
244
|
+
enableSystemAccountFiltering: (typeof FeatureFlagsValues)["enableSystemAccountFiltering"][number];
|
|
243
245
|
enableCustomizedDashboardsWithoutPluginOverlay: (typeof FeatureFlagsValues)["enableCustomizedDashboardsWithoutPluginOverlay"][number];
|
|
244
246
|
enableNewInsightChangedPostMessageEvent: (typeof FeatureFlagsValues)["enableNewInsightChangedPostMessageEvent"][number];
|
|
245
247
|
enableKDVisualizationSwitcher: (typeof FeatureFlagsValues)["enableKDVisualizationSwitcher"][number];
|
|
@@ -408,6 +410,7 @@ export declare const FeatureFlagsValues: {
|
|
|
408
410
|
enableAIDataSetting: readonly [true, false];
|
|
409
411
|
enableAlertingRollout: readonly [true, false];
|
|
410
412
|
enableDashboardFilterViews: readonly [true, false];
|
|
413
|
+
enableSystemAccountFiltering: readonly [true, false];
|
|
411
414
|
enableCustomizedDashboardsWithoutPluginOverlay: readonly [true, false];
|
|
412
415
|
enableNewInsightChangedPostMessageEvent: readonly [true, false];
|
|
413
416
|
enableKDVisualizationSwitcher: readonly [true, false];
|
|
@@ -78,6 +78,7 @@ var TigerFeaturesNames;
|
|
|
78
78
|
TigerFeaturesNames["EnableCertification"] = "enableCertification";
|
|
79
79
|
TigerFeaturesNames["EnableAIDataSetting"] = "enableAIDataSetting";
|
|
80
80
|
TigerFeaturesNames["EnableDashboardFilterViews"] = "enableDashboardFilterViews";
|
|
81
|
+
TigerFeaturesNames["EnableSystemAccountFiltering"] = "enableSystemAccountFiltering";
|
|
81
82
|
TigerFeaturesNames["EnableCustomizedDashboardsWithoutPluginOverlay"] = "enableCustomizedDashboardsWithoutPluginOverlay";
|
|
82
83
|
TigerFeaturesNames["EnableAlertingRollout"] = "enableAlertingRollout";
|
|
83
84
|
TigerFeaturesNames["EnableNewInsightChangedPostMessageEvent"] = "enableNewInsightChangedPostMessageEvent";
|
|
@@ -244,6 +245,7 @@ export const DefaultFeatureFlags = {
|
|
|
244
245
|
enableAIDataSetting: false,
|
|
245
246
|
enableAlertingRollout: false,
|
|
246
247
|
enableDashboardFilterViews: true,
|
|
248
|
+
enableSystemAccountFiltering: false,
|
|
247
249
|
enableCustomizedDashboardsWithoutPluginOverlay: true,
|
|
248
250
|
enableNewInsightChangedPostMessageEvent: false,
|
|
249
251
|
enableKDVisualizationSwitcher: true,
|
|
@@ -411,6 +413,7 @@ export const FeatureFlagsValues = {
|
|
|
411
413
|
enableAIDataSetting: [true, false],
|
|
412
414
|
enableAlertingRollout: [true, false],
|
|
413
415
|
enableDashboardFilterViews: [true, false],
|
|
416
|
+
enableSystemAccountFiltering: [true, false],
|
|
414
417
|
enableCustomizedDashboardsWithoutPluginOverlay: [true, false],
|
|
415
418
|
enableNewInsightChangedPostMessageEvent: [true, false],
|
|
416
419
|
enableKDVisualizationSwitcher: [true, false],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// (C) 2024 GoodData Corporation
|
|
1
|
+
// (C) 2024-2026 GoodData Corporation
|
|
2
2
|
import { v4 as uuidv4 } from "uuid";
|
|
3
3
|
let counter = 0;
|
|
4
4
|
/**
|
|
5
5
|
* When running e2e tests, we need to generate deterministic widget local identifiers.
|
|
6
6
|
*/
|
|
7
7
|
export function generateWidgetLocalIdentifier() {
|
|
8
|
-
if (window?.
|
|
8
|
+
if (window?.useSafeLocalIdentifiersForE2e === true) {
|
|
9
9
|
return `test_widget_local_identifier_${counter++}`;
|
|
10
10
|
}
|
|
11
11
|
return uuidv4();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-tiger",
|
|
3
|
-
"version": "11.40.0-alpha.
|
|
3
|
+
"version": "11.40.0-alpha.2",
|
|
4
4
|
"description": "GoodData Backend SPI implementation for GoodData Cloud and GoodData.CN",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"ts-invariant": "0.10.3",
|
|
34
34
|
"tslib": "2.8.1",
|
|
35
35
|
"uuid": "11.1.0",
|
|
36
|
-
"@gooddata/api-client-tiger": "11.40.0-alpha.
|
|
37
|
-
"@gooddata/sdk-backend-
|
|
38
|
-
"@gooddata/sdk-
|
|
39
|
-
"@gooddata/sdk-
|
|
40
|
-
"@gooddata/sdk-
|
|
41
|
-
"@gooddata/util": "11.40.0-alpha.
|
|
36
|
+
"@gooddata/api-client-tiger": "11.40.0-alpha.2",
|
|
37
|
+
"@gooddata/sdk-backend-base": "11.40.0-alpha.2",
|
|
38
|
+
"@gooddata/sdk-backend-spi": "11.40.0-alpha.2",
|
|
39
|
+
"@gooddata/sdk-code-convertors": "11.40.0-alpha.2",
|
|
40
|
+
"@gooddata/sdk-model": "11.40.0-alpha.2",
|
|
41
|
+
"@gooddata/util": "11.40.0-alpha.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@gooddata/fixtures": "3.3.12",
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"oxlint-tsgolint": "0.11.4",
|
|
66
66
|
"typescript": "5.9.3",
|
|
67
67
|
"vitest": "4.1.0",
|
|
68
|
-
"@gooddata/catalog-export": "11.40.0-alpha.
|
|
69
|
-
"@gooddata/
|
|
70
|
-
"@gooddata/
|
|
71
|
-
"@gooddata/
|
|
68
|
+
"@gooddata/catalog-export": "11.40.0-alpha.2",
|
|
69
|
+
"@gooddata/eslint-config": "11.40.0-alpha.2",
|
|
70
|
+
"@gooddata/oxlint-config": "11.40.0-alpha.2",
|
|
71
|
+
"@gooddata/reference-workspace": "11.40.0-alpha.2"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"_phase:build": "npm run build",
|