@gooddata/sdk-backend-tiger 11.47.0 → 11.48.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.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/backend/features/feature.d.ts.map +1 -1
- package/esm/backend/features/feature.js +1 -3
- package/esm/backend/organization/automations/automationsQuery.d.ts.map +1 -1
- package/esm/backend/organization/automations/automationsQuery.js +1 -3
- package/esm/backend/uiFeatures.d.ts +4 -10
- package/esm/backend/uiFeatures.d.ts.map +1 -1
- package/esm/backend/uiFeatures.js +5 -11
- package/esm/backend/workspace/automations/automationsQuery.d.ts.map +1 -1
- package/esm/backend/workspace/automations/automationsQuery.js +1 -4
- package/esm/backend/workspace/automations/index.d.ts +0 -1
- package/esm/backend/workspace/automations/index.d.ts.map +1 -1
- package/esm/backend/workspace/automations/index.js +6 -15
- package/esm/backend/workspace/genAI/ChatConversations.js +10 -0
- package/esm/backend/workspace/settings/index.d.ts +10 -3
- package/esm/backend/workspace/settings/index.d.ts.map +1 -1
- package/esm/backend/workspace/settings/index.js +28 -5
- package/esm/backend/workspace/styling/index.d.ts +68 -1
- package/esm/backend/workspace/styling/index.d.ts.map +1 -1
- package/esm/backend/workspace/styling/index.js +199 -37
- package/esm/convertors/fromBackend/AutomationConverter.d.ts +2 -2
- package/esm/convertors/fromBackend/AutomationConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/AutomationConverter.js +7 -13
- package/esm/convertors/fromBackend/ColorPaletteConverter.d.ts +4 -4
- package/esm/convertors/fromBackend/ColorPaletteConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ColorPaletteConverter.js +8 -3
- package/esm/convertors/fromBackend/ExportDefinitionsConverter.d.ts +0 -1
- package/esm/convertors/fromBackend/ExportDefinitionsConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ExportDefinitionsConverter.js +0 -18
- package/esm/convertors/fromBackend/ThemeConverter.d.ts +3 -3
- package/esm/convertors/fromBackend/ThemeConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ThemeConverter.js +7 -4
- package/esm/convertors/toBackend/AutomationConverter.d.ts +1 -1
- package/esm/convertors/toBackend/AutomationConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/AutomationConverter.js +5 -15
- package/esm/convertors/toBackend/ColorPaletteConverter.d.ts +2 -1
- package/esm/convertors/toBackend/ColorPaletteConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/ColorPaletteConverter.js +11 -0
- package/esm/convertors/toBackend/ThemeConverter.d.ts +2 -1
- package/esm/convertors/toBackend/ThemeConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/ThemeConverter.js +11 -0
- package/esm/sdk-backend-tiger.d.ts +2 -0
- package/esm/types/refTypeMapping.d.ts +2 -0
- package/esm/types/refTypeMapping.d.ts.map +1 -1
- package/package.json +11 -11
|
@@ -7,9 +7,9 @@ import { convertAfmFilters } from "./afm/AfmFiltersConverter.js";
|
|
|
7
7
|
import { convertAttribute } from "./afm/AttributeConverter.js";
|
|
8
8
|
import { convertMeasure } from "./afm/MeasureConverter.js";
|
|
9
9
|
import { convertParameterValues } from "./afm/toAfmResultSpec.js";
|
|
10
|
-
import {
|
|
10
|
+
import { convertToDashboardTabularExportRequest, convertToImageExportRequest, convertToRawExportRequest, convertToSlidesExportRequest, convertToTabularExportRequest, convertToVisualExportRequest, convertVisualizationToDashboardTabularExportRequest, } from "./ExportDefinitionsConverter.js";
|
|
11
11
|
import { toDateDataSetQualifier } from "./ObjRefConverter.js";
|
|
12
|
-
export function convertAutomation(automation,
|
|
12
|
+
export function convertAutomation(automation, widgetExecution, overrides) {
|
|
13
13
|
const { id, type, description, schedule, evaluationMode, alert, tags, title, recipients, details, notificationChannel, dashboard, metadata, exportDefinitions, } = automation;
|
|
14
14
|
const relationships = omitBy({
|
|
15
15
|
recipients: recipients?.length
|
|
@@ -43,16 +43,6 @@ export function convertAutomation(automation, enableNewScheduledExport, widgetEx
|
|
|
43
43
|
metadata,
|
|
44
44
|
}
|
|
45
45
|
: {};
|
|
46
|
-
const tabularExportsOld = exportDefinitions
|
|
47
|
-
?.filter((ed) => isExportDefinitionVisualizationObjectRequestPayload(ed.requestPayload))
|
|
48
|
-
.map((ed) => ({
|
|
49
|
-
requestPayload: convertExportDefinitionRequestPayload(ed.requestPayload, ed.title),
|
|
50
|
-
}));
|
|
51
|
-
const visualExportsOld = exportDefinitions
|
|
52
|
-
?.filter((ed) => isExportDefinitionDashboardRequestPayload(ed.requestPayload))
|
|
53
|
-
.map((ed) => ({
|
|
54
|
-
requestPayload: convertExportDefinitionRequestPayload(ed.requestPayload, ed.title),
|
|
55
|
-
}));
|
|
56
46
|
const { tabularExports, visualExports, imageExports, slidesExports, dashboardTabularExports, rawExports, } = (exportDefinitions ?? []).reduce((acc, ed) => {
|
|
57
47
|
switch (ed.requestPayload.format) {
|
|
58
48
|
case "CSV":
|
|
@@ -160,11 +150,11 @@ export function convertAutomation(automation, enableNewScheduledExport, widgetEx
|
|
|
160
150
|
tags,
|
|
161
151
|
details,
|
|
162
152
|
state,
|
|
163
|
-
tabularExports
|
|
164
|
-
visualExports
|
|
153
|
+
tabularExports,
|
|
154
|
+
visualExports,
|
|
165
155
|
imageExports,
|
|
166
156
|
slidesExports,
|
|
167
|
-
dashboardTabularExports
|
|
157
|
+
dashboardTabularExports,
|
|
168
158
|
rawExports,
|
|
169
159
|
externalRecipients,
|
|
170
160
|
...metadataObj,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { type JsonApiColorPaletteIn } from "@gooddata/api-client-tiger";
|
|
1
|
+
import { type JsonApiColorPaletteIn, type JsonApiWorkspaceColorPaletteIn } from "@gooddata/api-client-tiger";
|
|
2
2
|
import { type IColorPalette, type IColorPaletteDefinition } from "@gooddata/sdk-model";
|
|
3
3
|
export declare const wrapColorPaletteContent: (colorPalette: IColorPalette) => object;
|
|
4
4
|
export declare const convertColorPalette: (id: string, colorPalette: IColorPaletteDefinition) => JsonApiColorPaletteIn;
|
|
5
|
+
export declare const convertWorkspaceColorPalette: (id: string, colorPalette: IColorPaletteDefinition) => JsonApiWorkspaceColorPaletteIn;
|
|
5
6
|
//# sourceMappingURL=ColorPaletteConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPaletteConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ColorPaletteConverter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorPaletteConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ColorPaletteConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC7G,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAEvF,eAAO,MAAM,uBAAuB,yCAA8D,CAAC;AAEnG,eAAO,MAAM,mBAAmB,8EAY/B,CAAC;AAEF,eAAO,MAAM,4BAA4B,uFAYxC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// (C) 2019-2026 GoodData Corporation
|
|
1
2
|
export const wrapColorPaletteContent = (colorPalette) => ({ colorPalette });
|
|
2
3
|
export const convertColorPalette = (id, colorPalette) => {
|
|
3
4
|
return {
|
|
@@ -9,3 +10,13 @@ export const convertColorPalette = (id, colorPalette) => {
|
|
|
9
10
|
},
|
|
10
11
|
};
|
|
11
12
|
};
|
|
13
|
+
export const convertWorkspaceColorPalette = (id, colorPalette) => {
|
|
14
|
+
return {
|
|
15
|
+
type: "workspaceColorPalette",
|
|
16
|
+
id,
|
|
17
|
+
attributes: {
|
|
18
|
+
name: colorPalette.title || "",
|
|
19
|
+
content: wrapColorPaletteContent(colorPalette.colorPalette),
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type JsonApiThemeIn } from "@gooddata/api-client-tiger";
|
|
1
|
+
import { type JsonApiThemeIn, type JsonApiWorkspaceThemeIn } from "@gooddata/api-client-tiger";
|
|
2
2
|
import { type IThemeDefinition } from "@gooddata/sdk-model";
|
|
3
3
|
export declare const convertTheme: (id: string, theme: IThemeDefinition) => JsonApiThemeIn;
|
|
4
|
+
export declare const convertWorkspaceTheme: (id: string, theme: IThemeDefinition) => JsonApiWorkspaceThemeIn;
|
|
4
5
|
//# sourceMappingURL=ThemeConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ThemeConverter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThemeConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ThemeConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC/F,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,YAAY,yDASxB,CAAC;AAEF,eAAO,MAAM,qBAAqB,kEASjC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// (C) 2019-2026 GoodData Corporation
|
|
1
2
|
export const convertTheme = (id, theme) => {
|
|
2
3
|
return {
|
|
3
4
|
type: "theme",
|
|
@@ -8,3 +9,13 @@ export const convertTheme = (id, theme) => {
|
|
|
8
9
|
},
|
|
9
10
|
};
|
|
10
11
|
};
|
|
12
|
+
export const convertWorkspaceTheme = (id, theme) => {
|
|
13
|
+
return {
|
|
14
|
+
type: "workspaceTheme",
|
|
15
|
+
id,
|
|
16
|
+
attributes: {
|
|
17
|
+
name: theme.title || "",
|
|
18
|
+
content: theme.theme,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -513,8 +513,10 @@ export declare class ContextDeferredAuthProvider extends TigerAuthProviderBase {
|
|
|
513
513
|
userDataFilter: TigerObjectType;
|
|
514
514
|
userGroup: TigerObjectType;
|
|
515
515
|
variable: TigerObjectType;
|
|
516
|
+
workspaceColorPalette: TigerObjectType;
|
|
516
517
|
workspaceDataFilter: TigerObjectType;
|
|
517
518
|
workspaceDataFilterSetting: TigerObjectType;
|
|
519
|
+
workspaceTheme: TigerObjectType;
|
|
518
520
|
};
|
|
519
521
|
|
|
520
522
|
/**
|
|
@@ -42,8 +42,10 @@ export declare const objectTypeToTigerIdType: {
|
|
|
42
42
|
userDataFilter: TigerObjectType;
|
|
43
43
|
userGroup: TigerObjectType;
|
|
44
44
|
variable: TigerObjectType;
|
|
45
|
+
workspaceColorPalette: TigerObjectType;
|
|
45
46
|
workspaceDataFilter: TigerObjectType;
|
|
46
47
|
workspaceDataFilterSetting: TigerObjectType;
|
|
48
|
+
workspaceTheme: TigerObjectType;
|
|
47
49
|
};
|
|
48
50
|
/**
|
|
49
51
|
* @alpha
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refTypeMapping.d.ts","sourceRoot":"","sources":["../../src/types/refTypeMapping.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAC9C,yBAAyB,EACzB,WAAW,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,CAC5E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE;KACjC,SAAS,IAAI,eAAe,GAAG,yBAAyB;CAa5D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"refTypeMapping.d.ts","sourceRoot":"","sources":["../../src/types/refTypeMapping.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAC9C,yBAAyB,EACzB,WAAW,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,CAC5E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE;KACjC,SAAS,IAAI,eAAe,GAAG,yBAAyB;CAa5D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,4BAA4B,EAAE,YAAY,CAOvF,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,qBAAqB,0CAEjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,uDAEpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,0CAEvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-tiger",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.48.0-alpha.1",
|
|
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.1",
|
|
36
|
-
"@gooddata/api-client-tiger": "11.
|
|
37
|
-
"@gooddata/sdk-backend-base": "11.
|
|
38
|
-
"@gooddata/sdk-
|
|
39
|
-
"@gooddata/sdk-
|
|
40
|
-
"@gooddata/sdk-
|
|
41
|
-
"@gooddata/util": "11.
|
|
36
|
+
"@gooddata/api-client-tiger": "11.48.0-alpha.1",
|
|
37
|
+
"@gooddata/sdk-backend-base": "11.48.0-alpha.1",
|
|
38
|
+
"@gooddata/sdk-backend-spi": "11.48.0-alpha.1",
|
|
39
|
+
"@gooddata/sdk-model": "11.48.0-alpha.1",
|
|
40
|
+
"@gooddata/sdk-code-convertors": "11.48.0-alpha.1",
|
|
41
|
+
"@gooddata/util": "11.48.0-alpha.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@gooddata/fixtures": "3.7.0",
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"oxlint-tsgolint": "0.15.0",
|
|
66
66
|
"typescript": "5.9.3",
|
|
67
67
|
"vitest": "4.1.8",
|
|
68
|
-
"@gooddata/catalog-export": "11.
|
|
69
|
-
"@gooddata/
|
|
70
|
-
"@gooddata/
|
|
71
|
-
"@gooddata/reference-workspace": "11.
|
|
68
|
+
"@gooddata/catalog-export": "11.48.0-alpha.1",
|
|
69
|
+
"@gooddata/oxlint-config": "11.48.0-alpha.1",
|
|
70
|
+
"@gooddata/eslint-config": "11.48.0-alpha.1",
|
|
71
|
+
"@gooddata/reference-workspace": "11.48.0-alpha.1"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"_phase:build": "npm run build",
|