@gooddata/sdk-backend-tiger 11.56.0-alpha.0 → 11.56.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/auth.d.ts.map +1 -1
- package/esm/backend/features/feature.d.ts.map +1 -1
- package/esm/backend/features/feature.js +1 -3
- package/esm/backend/features/index.d.ts.map +1 -1
- package/esm/backend/index.d.ts.map +1 -1
- package/esm/backend/organization/automations/automationsQuery.d.ts.map +1 -1
- package/esm/backend/organization/exportTemplates.d.ts.map +1 -1
- package/esm/backend/organization/fromBackend/userConvertor.d.ts.map +1 -1
- package/esm/backend/organization/index.d.ts.map +1 -1
- package/esm/backend/organization/notificationChannels.d.ts +1 -1
- package/esm/backend/organization/notificationChannels.d.ts.map +1 -1
- package/esm/backend/organization/notifications.d.ts.map +1 -1
- package/esm/backend/organization/permissions.d.ts.map +1 -1
- package/esm/backend/organization/securitySettings.d.ts.map +1 -1
- package/esm/backend/organization/styling.d.ts.map +1 -1
- package/esm/backend/organization/users.d.ts.map +1 -1
- package/esm/backend/tigerSpecificFunctions.d.ts +1 -1
- package/esm/backend/tigerSpecificFunctions.d.ts.map +1 -1
- package/esm/backend/uiFeatures.d.ts +3 -9
- package/esm/backend/uiFeatures.d.ts.map +1 -1
- package/esm/backend/uiFeatures.js +4 -11
- package/esm/backend/uiSettings.d.ts.map +1 -1
- package/esm/backend/workspace/attributeHierarchies/index.d.ts.map +1 -1
- package/esm/backend/workspace/attributes/elements/date.d.ts.map +1 -1
- package/esm/backend/workspace/attributes/elements/index.d.ts.map +1 -1
- package/esm/backend/workspace/attributes/elements/index.js +18 -1
- package/esm/backend/workspace/attributes/index.d.ts +1 -1
- package/esm/backend/workspace/attributes/index.d.ts.map +1 -1
- package/esm/backend/workspace/automations/automationsQuery.d.ts.map +1 -1
- package/esm/backend/workspace/automations/index.d.ts +4 -4
- package/esm/backend/workspace/automations/index.d.ts.map +1 -1
- package/esm/backend/workspace/catalog/availableItemsFactory.d.ts.map +1 -1
- package/esm/backend/workspace/catalog/availableItemsFactory.js +2 -1
- package/esm/backend/workspace/catalog/factory.d.ts.map +1 -1
- package/esm/backend/workspace/catalog/factory.js +2 -1
- package/esm/backend/workspace/catalog/rsqlFilter.d.ts +1 -1
- package/esm/backend/workspace/catalog/rsqlFilter.d.ts.map +1 -1
- package/esm/backend/workspace/dashboards/index.d.ts +23 -23
- package/esm/backend/workspace/dashboards/index.d.ts.map +1 -1
- package/esm/backend/workspace/dashboards/index.js +1 -4
- package/esm/backend/workspace/dataFilters/index.d.ts.map +1 -1
- package/esm/backend/workspace/execution/executionResult.d.ts +3 -3
- package/esm/backend/workspace/execution/executionResult.d.ts.map +1 -1
- package/esm/backend/workspace/execution/preparedExecution.d.ts +1 -1
- package/esm/backend/workspace/execution/preparedExecution.d.ts.map +1 -1
- package/esm/backend/workspace/execution/utils.d.ts.map +1 -1
- package/esm/backend/workspace/exportDefinitions/index.d.ts +1 -1
- package/esm/backend/workspace/exportDefinitions/index.d.ts.map +1 -1
- package/esm/backend/workspace/exportTemplates.d.ts.map +1 -1
- package/esm/backend/workspace/facts/index.d.ts.map +1 -1
- package/esm/backend/workspace/index.d.ts.map +1 -1
- package/esm/backend/workspace/insights/index.d.ts +4 -4
- package/esm/backend/workspace/insights/index.d.ts.map +1 -1
- package/esm/backend/workspace/measures/index.d.ts +3 -3
- package/esm/backend/workspace/measures/index.d.ts.map +1 -1
- package/esm/backend/workspace/measures/index.js +8 -0
- package/esm/backend/workspace/measures/measureExpressionTokens.d.ts.map +1 -1
- package/esm/backend/workspace/reports.d.ts.map +1 -1
- package/esm/backend/workspace/reports.js +25 -12
- package/esm/backend/workspace/styling/index.d.ts.map +1 -1
- package/esm/convertors/fromBackend/AccessControlConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/AutomationConverter.d.ts +2 -2
- package/esm/convertors/fromBackend/AutomationConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/CatalogConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/CatalogConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ColorPaletteConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/DateFilterConfigurationConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ExportDefinitionsConverter.d.ts +2 -2
- package/esm/convertors/fromBackend/ExportDefinitionsConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ExportMetadataConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/GraphConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/HierarchyConverter.d.ts +2 -2
- package/esm/convertors/fromBackend/HierarchyConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/IdSanitization.d.ts.map +1 -1
- package/esm/convertors/fromBackend/InsightConverter.d.ts +3 -3
- package/esm/convertors/fromBackend/InsightConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/MetadataConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/MetadataConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/MetadataConverter.js +6 -1
- package/esm/convertors/fromBackend/MetricConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/MetricConverter.js +4 -0
- package/esm/convertors/fromBackend/NotificationChannelsConvertor.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ReportsConverter.d.ts +4 -4
- package/esm/convertors/fromBackend/ReportsConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ReportsConverter.js +16 -3
- package/esm/convertors/fromBackend/SettingsConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/SettingsConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ThemeConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/UsersConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/WorkspaceConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/afm/FilterConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/afm/MeasureConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/afm/MeasureConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/analyticalDashboards/AnalyticalDashboardConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/analyticalDashboards/AnalyticalDashboardConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/analyticalDashboards/v2/AnalyticalDashboardConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/analyticalDashboards/v2/AnalyticalDashboardConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/conditionalFormattingConversions.d.ts +12 -0
- package/esm/convertors/fromBackend/conditionalFormattingConversions.d.ts.map +1 -0
- package/esm/convertors/fromBackend/conditionalFormattingConversions.js +48 -0
- package/esm/convertors/fromBackend/dateFormatting/dateValueParser.d.ts +2 -2
- package/esm/convertors/fromBackend/dateFormatting/dateValueParser.d.ts.map +1 -1
- package/esm/convertors/fromBackend/dateFormatting/defaultDateFormatter.d.ts +1 -1
- package/esm/convertors/fromBackend/dateFormatting/defaultDateFormatter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/genAIConvertor.d.ts.map +1 -1
- package/esm/convertors/fromBackend/genAIConvertor.js +53 -27
- package/esm/convertors/fromBackend/visualizationObjects/VisualizationObjectConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/AutomationConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/ColorPaletteConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/ExportDefinitionsConverter.d.ts +6 -6
- package/esm/convertors/toBackend/ExportDefinitionsConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/ExportMetadataConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/IdSanitization.d.ts.map +1 -1
- package/esm/convertors/toBackend/InsightConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/MetricConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/MetricConverter.js +4 -0
- package/esm/convertors/toBackend/ThemeConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/WorkspaceConverter.d.ts.map +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/sdk-backend-tiger.d.ts +1 -34
- package/esm/types/refTypeMapping.d.ts +1 -34
- package/esm/types/refTypeMapping.d.ts.map +1 -1
- package/esm/utils/api.d.ts +4 -4
- package/esm/utils/api.d.ts.map +1 -1
- package/esm/utils/downloadFile.d.ts +1 -1
- package/esm/utils/downloadFile.d.ts.map +1 -1
- package/esm/utils/errorHandling.js +16 -3
- package/esm/utils/filterLocalidentifier.d.ts.map +1 -1
- package/esm/utils/fixNumber.d.ts.map +1 -1
- package/esm/utils/jwt.d.ts.map +1 -1
- package/package.json +12 -12
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { v4 as uuid } from "uuid";
|
|
3
|
+
import { isDateFilterGranularity, } from "@gooddata/sdk-model";
|
|
4
|
+
import { toSdkGranularity, toTigerGranularity } from "./dateGranularityConversions.js";
|
|
5
|
+
// The wire shape equals the SDK model except for the relative-date granularity vocabulary. A wire
|
|
6
|
+
// granularity outside DateFilterGranularity degrades to "GDC.time.date" (see toSdkGranularity).
|
|
7
|
+
const FALLBACK_GRANULARITY = "GDC.time.date";
|
|
8
|
+
function toTigerValue(value) {
|
|
9
|
+
return value.kind === "relativeDate"
|
|
10
|
+
? { ...value, granularity: toTigerGranularity(value.granularity) }
|
|
11
|
+
: value;
|
|
12
|
+
}
|
|
13
|
+
function fromTigerValue(value) {
|
|
14
|
+
if (value.kind !== "relativeDate") {
|
|
15
|
+
return value;
|
|
16
|
+
}
|
|
17
|
+
const granularity = toSdkGranularity(value.granularity);
|
|
18
|
+
return {
|
|
19
|
+
...value,
|
|
20
|
+
granularity: isDateFilterGranularity(granularity) ? granularity : FALLBACK_GRANULARITY,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Converts semantic-layer conditional formatting to the metadata-api wire shape.
|
|
25
|
+
*/
|
|
26
|
+
export function toTigerConditionalFormatting(conditionalFormatting) {
|
|
27
|
+
return {
|
|
28
|
+
enabled: conditionalFormatting.enabled ?? true,
|
|
29
|
+
conditions: conditionalFormatting.conditions.map((condition) => ({
|
|
30
|
+
...condition,
|
|
31
|
+
value: toTigerValue(condition.value),
|
|
32
|
+
})),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Converts metadata-api wire conditional formatting back to the SDK model. A wire condition without
|
|
37
|
+
* an `id` (another API client may not assign one) gets a fresh client-side one.
|
|
38
|
+
*/
|
|
39
|
+
export function fromTigerConditionalFormatting(conditionalFormatting) {
|
|
40
|
+
return {
|
|
41
|
+
enabled: conditionalFormatting.enabled,
|
|
42
|
+
conditions: conditionalFormatting.conditions.map((condition) => ({
|
|
43
|
+
...condition,
|
|
44
|
+
id: condition.id ?? uuid(),
|
|
45
|
+
value: fromTigerValue(condition.value),
|
|
46
|
+
})),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -10,7 +10,7 @@ import { type DateAttributeGranularity } from "@gooddata/sdk-model";
|
|
|
10
10
|
* @param locale - optional locale information to determine if UTC conversion is needed.
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
|
-
export declare const parseDateValue: (value: string, granularity: DateAttributeGranularity, timezone?: string
|
|
13
|
+
export declare const parseDateValue: (value: string, granularity: DateAttributeGranularity, timezone?: string, locale?: string) => Date;
|
|
14
14
|
/**
|
|
15
15
|
* Serializes a Date object to a string representation based on the specified granularity.
|
|
16
16
|
* For the en-US-x-24h locale, the parsed date is converted to UTC using fromZonedTime
|
|
@@ -22,5 +22,5 @@ export declare const parseDateValue: (value: string, granularity: DateAttributeG
|
|
|
22
22
|
* @param locale - optional locale information to determine if UTC conversion is needed.
|
|
23
23
|
* @internal
|
|
24
24
|
*/
|
|
25
|
-
export declare const serializeDateValue: (value: Date, granularity: DateAttributeGranularity, timezone?: string
|
|
25
|
+
export declare const serializeDateValue: (value: Date, granularity: DateAttributeGranularity, timezone?: string, locale?: string) => string;
|
|
26
26
|
//# sourceMappingURL=dateValueParser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateValueParser.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/dateFormatting/dateValueParser.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AA8DpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"dateValueParser.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/dateFormatting/dateValueParser.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AA8DpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,UAChB,MAAM,eACA,wBAAwB,aAC1B,MAAM,WACR,MAAM,KAChB,IAyCF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,UACpB,IAAI,eACE,wBAAwB,aAC1B,MAAM,WACR,MAAM,KAChB,MAmCF,CAAC"}
|
|
@@ -48,6 +48,6 @@ export type FormattingLocale = keyof typeof localeConversions;
|
|
|
48
48
|
* @param timezone - timezone for proper timezone formatting (only used for en-US-x-24h locale with MINUTE/HOUR granularity)
|
|
49
49
|
* @alpha
|
|
50
50
|
*/
|
|
51
|
-
export declare const defaultDateFormatter: (value: Date, granularity: DateAttributeGranularity, locale?:
|
|
51
|
+
export declare const defaultDateFormatter: (value: Date, granularity: DateAttributeGranularity, locale?: FormattingLocale, pattern?: string, timezone?: string) => string;
|
|
52
52
|
export {};
|
|
53
53
|
//# sourceMappingURL=defaultDateFormatter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultDateFormatter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/dateFormatting/defaultDateFormatter.ts"],"names":[],"mappings":"AAgCA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAyCpE,QAAA,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"defaultDateFormatter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/dateFormatting/defaultDateFormatter.ts"],"names":[],"mappings":"AAgCA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAyCpE,QAAA,MAAM,iBAAiB;IACnB,OAAO;IACP,aAAa;IACb,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,SAAS;IACT,OAAO;IACP,OAAO;IACP,QAAQ;IACR,OAAO;IACP,SAAS;IACT,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACV,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAwB9D;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,oBAAoB,UACtB,IAAI,eACE,wBAAwB,WAC7B,gBAAgB,YACd,MAAM,aACL,MAAM,WAoDpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genAIConvertor.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/genAIConvertor.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,
|
|
1
|
+
{"version":3,"file":"genAIConvertor.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/genAIConvertor.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAI/B,KAAK,yBAAyB,EAI9B,KAAK,aAAa,EAQrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,iBAAiB,EAGtB,KAAK,sBAAsB,EAE3B,KAAK,gCAAgC,EACrC,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAGhC,KAAK,gBAAgB,EAExB,MAAM,2BAA2B,CAAC;AAuCnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAIhE,wBAAgB,kCAAkC,CAAC,YAAY,EAAE,sBAAsB,GAAG,iBAAiB,CAS1G;AAED,wBAAgB,sCAAsC,CAClD,IAAI,EAAE,0BAA0B,EAChC,SAAS,EAAE,0BAA0B,CAAC,WAAW,CAAC,GAAG,SAAS,EAC9D,OAAO,EAAE,qBAAqB,EAAE,EAChC,cAAc,EAAE,cAAc,EAC9B,MAAM,CAAC,EAAE,gBAAgB,EACzB,QAAQ,CAAC,EAAE,MAAM,GAClB,qBAAqB,GAAG,SAAS,CA6BnC;AAED,wBAAgB,uCAAuC,CACnD,KAAK,EAAE,0BAA0B,EAAE,EACnC,SAAS,EAAE,0BAA0B,CAAC,WAAW,CAAC,GAAG,SAAS,EAC9D,cAAc,EAAE,cAAc,EAC9B,MAAM,CAAC,EAAE,gBAAgB,EACzB,QAAQ,CAAC,EAAE,MAAM,GAClB,qBAAqB,EAAE,CAkBzB;AAkJD,wBAAgB,uCAAuC,CACnD,IAAI,EAAE,OAAO,CAAC;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,EACrE,OAAO,CAAC,EAAE,MAAM,GACjB,sBAAsB,CAQxB;AAED;;;GAGG;AACH,wBAAgB,iDAAiD,CAC7D,IAAI,EAAE,yBAAyB,EAC/B,OAAO,CAAC,EAAE,MAAM,GACjB,gCAAgC,CAgBlC;AAED;;;;GAIG;AACH,wBAAgB,4CAA4C,CACxD,MAAM,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,GAC5D,2BAA2B,GAAG,SAAS,CAgEzC;AA2FD,wBAAgB,oCAAoC,CAChD,IAAI,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,gBAAgB,CAQlB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2024-2026 GoodData Corporation
|
|
2
2
|
import fastJsonPatch from "fast-json-patch";
|
|
3
3
|
import { v4 as uuidv4 } from "uuid";
|
|
4
|
-
import { yamlDashboardToDeclarative, yamlFiltersToDeclarative, yamlVisualisationToMetadataObject, } from "@gooddata/sdk-code-convertors";
|
|
4
|
+
import { yamlDashboardToDeclarative, yamlDatasetToDeclarative, yamlDateDatesetToDeclarative, yamlFiltersToDeclarative, yamlVisualisationToMetadataObject, } from "@gooddata/sdk-code-convertors";
|
|
5
5
|
import { areObjRefsEqual, assertNever, } from "@gooddata/sdk-model";
|
|
6
6
|
import { getFormatByGranularity } from "../../utils/dateUtils.js";
|
|
7
7
|
import { convertMeasure } from "./afm/MeasureConverter.js";
|
|
@@ -104,24 +104,9 @@ function convertChatConversationContentFromBackend(content, history, dateNormali
|
|
|
104
104
|
: null,
|
|
105
105
|
};
|
|
106
106
|
case "dashboard": {
|
|
107
|
-
const data = part.dashboard
|
|
108
|
-
? yamlDashboardToDeclarative([], part.dashboard)
|
|
109
|
-
: null;
|
|
110
|
-
const filters = data?.filterContext
|
|
111
|
-
? convertFilterContextFromBackend(buildFilterContextWrapper(data.filterContext))
|
|
112
|
-
: undefined;
|
|
113
|
-
const insights = part.references?.visualizations.map((vis) => {
|
|
114
|
-
return visualizationObjectsItemToInsight(yamlVisualisationToMetadataObject([], vis));
|
|
115
|
-
}) ?? null;
|
|
116
|
-
const dashboard = data
|
|
117
|
-
? convertDashboard(buildDashboardWrapper(data.dashboard, data.tabFilterContexts, part.saved_dashboard_id), filters)
|
|
118
|
-
: null;
|
|
119
107
|
return {
|
|
120
108
|
type: "dashboard",
|
|
121
|
-
|
|
122
|
-
base: part.dashboard,
|
|
123
|
-
saved: part.saved_dashboard_id,
|
|
124
|
-
dashboard: convertToTemporaryFilterContexts(dashboard),
|
|
109
|
+
...applyDashboardDefinition(part),
|
|
125
110
|
};
|
|
126
111
|
}
|
|
127
112
|
case "dashboardPatch": {
|
|
@@ -150,6 +135,9 @@ function convertChatConversationContentFromBackend(content, history, dateNormali
|
|
|
150
135
|
searchResults: convertSearchResults(part.objects),
|
|
151
136
|
relationships: convertSearchRelationships(part.relationships),
|
|
152
137
|
};
|
|
138
|
+
case "clarifyingQuestions":
|
|
139
|
+
//TODO: Not supported now
|
|
140
|
+
return undefined;
|
|
153
141
|
default:
|
|
154
142
|
// Unknown part type (e.g. sent by a newer backend): log and drop
|
|
155
143
|
// it, do not fail the whole item.
|
|
@@ -521,16 +509,7 @@ function applyDashboardPatch(items, patch) {
|
|
|
521
509
|
patchError: e,
|
|
522
510
|
};
|
|
523
511
|
}
|
|
524
|
-
const
|
|
525
|
-
const filters = data?.filterContext
|
|
526
|
-
? convertFilterContextFromBackend(buildFilterContextWrapper(data.filterContext))
|
|
527
|
-
: undefined;
|
|
528
|
-
const insights = patch.references?.visualizations.map((vis) => {
|
|
529
|
-
return visualizationObjectsItemToInsight(yamlVisualisationToMetadataObject([], vis));
|
|
530
|
-
}) ?? [];
|
|
531
|
-
const dashboard = data
|
|
532
|
-
? convertDashboard(buildDashboardWrapper(data.dashboard, data.tabFilterContexts, saved), filters)
|
|
533
|
-
: null;
|
|
512
|
+
const { dashboard, insights } = buildDashboardReferences(newDocument, patch.references, saved);
|
|
534
513
|
return {
|
|
535
514
|
dashboard: convertToTemporaryFilterContexts(dashboard),
|
|
536
515
|
insights: [...previousInsights, ...insights],
|
|
@@ -549,3 +528,50 @@ function collectRelatedItems(items, ref) {
|
|
|
549
528
|
});
|
|
550
529
|
return related;
|
|
551
530
|
}
|
|
531
|
+
// Apply dashboard definition
|
|
532
|
+
function applyDashboardDefinition(part) {
|
|
533
|
+
const { dashboard, insights } = buildDashboardReferences(part.dashboard, part.references, part.saved_dashboard_id);
|
|
534
|
+
return {
|
|
535
|
+
insights,
|
|
536
|
+
base: part.dashboard,
|
|
537
|
+
saved: part.saved_dashboard_id,
|
|
538
|
+
dashboard: convertToTemporaryFilterContexts(dashboard),
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
function buildDashboardReferences(aacDashboard, references, savedDashboardId) {
|
|
542
|
+
const dateDatasets = references?.datedatasets?.map((ds) => {
|
|
543
|
+
const data = ds;
|
|
544
|
+
return {
|
|
545
|
+
data,
|
|
546
|
+
path: "",
|
|
547
|
+
type: "dataset",
|
|
548
|
+
id: data.id,
|
|
549
|
+
declarative: yamlDateDatesetToDeclarative(data),
|
|
550
|
+
};
|
|
551
|
+
}) ?? [];
|
|
552
|
+
const datasets = references?.datasets?.map((ds) => {
|
|
553
|
+
const data = ds;
|
|
554
|
+
return {
|
|
555
|
+
data,
|
|
556
|
+
path: "",
|
|
557
|
+
type: "dataset",
|
|
558
|
+
id: data.id,
|
|
559
|
+
declarative: yamlDatasetToDeclarative(dateDatasets, data),
|
|
560
|
+
};
|
|
561
|
+
}) ?? [];
|
|
562
|
+
const entities = [...dateDatasets, ...datasets];
|
|
563
|
+
const data = aacDashboard ? yamlDashboardToDeclarative(entities, aacDashboard) : null;
|
|
564
|
+
const filters = data?.filterContext
|
|
565
|
+
? convertFilterContextFromBackend(buildFilterContextWrapper(data.filterContext))
|
|
566
|
+
: undefined;
|
|
567
|
+
const insights = references?.visualizations.map((vis) => {
|
|
568
|
+
return visualizationObjectsItemToInsight(yamlVisualisationToMetadataObject(entities, vis));
|
|
569
|
+
}) ?? [];
|
|
570
|
+
const dashboard = data
|
|
571
|
+
? convertDashboard(buildDashboardWrapper(data.dashboard, data.tabFilterContexts, savedDashboardId), filters)
|
|
572
|
+
: null;
|
|
573
|
+
return {
|
|
574
|
+
dashboard,
|
|
575
|
+
insights,
|
|
576
|
+
};
|
|
577
|
+
}
|
package/esm/convertors/fromBackend/visualizationObjects/VisualizationObjectConverter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisualizationObjectConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/visualizationObjects/VisualizationObjectConverter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACpG,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAK9D,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"VisualizationObjectConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/visualizationObjects/VisualizationObjectConverter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACpG,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAK9D,eAAO,MAAM,0BAA0B,wBAE7B,0BAA0B,CAAC,oBAAoB,GAC/C,0BAA0B,CAAC,oBAAoB,SAC9C,MAAM,eACA,MAAM,QACb,MAAM,EAAE,GAAG,SAAS,KAC3B,kBAUF,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,4BAA4B;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,YACpC,MAAM,YACL,4BAA4B,KACvC,kBAQE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomationConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/AutomationConverter.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,EAG1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAK5B,MAAM,qBAAqB,CAAC;AAmB7B,wBAAgB,iBAAiB,CAC7B,UAAU,EAAE,yBAAyB,GAAG,mCAAmC,EAC3E,eAAe,CAAC,EAAE,oBAAoB,EACtC,SAAS,CAAC,EAAE,yBAAyB,GACtC,mBAAmB,CAsNrB;AAED,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"AutomationConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/AutomationConverter.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,EAG1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAK5B,MAAM,qBAAqB,CAAC;AAmB7B,wBAAgB,iBAAiB,CAC7B,UAAU,EAAE,yBAAyB,GAAG,mCAAmC,EAC3E,eAAe,CAAC,EAAE,oBAAoB,EACtC,SAAS,CAAC,EAAE,yBAAyB,GACtC,mBAAmB,CAsNrB;AAED,eAAO,MAAM,YAAY,UAAW,gBAAgB,KAAG,kCAkGtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,iBAAkB,aAAa,KAAG,MAA4B,CAAC;AAEnG,eAAO,MAAM,mBAAmB,OACxB,MAAM,gBACI,uBAAuB,KACtC,qBASF,CAAC;AAEF,eAAO,MAAM,4BAA4B,OACjC,MAAM,gBACI,uBAAuB,KACtC,8BASF,CAAC"}
|
|
@@ -2,13 +2,13 @@ import { type AutomationRawExportAutomationRequest, type DashboardTabularExportR
|
|
|
2
2
|
import { type IRawExportCustomOverrides } from "@gooddata/sdk-backend-spi";
|
|
3
3
|
import { type IExecutionDefinition, type IExportDefinitionDashboardRequestPayload, type IExportDefinitionMetadataObjectDefinition, type IExportDefinitionRequestPayload, type IExportDefinitionVisualizationObjectRequestPayload } from "@gooddata/sdk-model";
|
|
4
4
|
export declare const convertExportDefinitionMdObjectDefinition: (exportDefinition: IExportDefinitionMetadataObjectDefinition) => JsonApiExportDefinitionPostOptionalIdDocument;
|
|
5
|
-
export declare const convertToRawExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload, widgetExecution?: IExecutionDefinition
|
|
6
|
-
export declare const convertToImageExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload, title?: string
|
|
7
|
-
export declare const convertToSlidesExportRequest: (exportRequest: IExportDefinitionRequestPayload, title?: string
|
|
8
|
-
export declare const convertToVisualExportRequest: (exportRequest: IExportDefinitionDashboardRequestPayload, title?: string
|
|
5
|
+
export declare const convertToRawExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload, widgetExecution?: IExecutionDefinition, overrides?: IRawExportCustomOverrides) => AutomationRawExportAutomationRequest;
|
|
6
|
+
export declare const convertToImageExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload, title?: string) => ImageExportRequest;
|
|
7
|
+
export declare const convertToSlidesExportRequest: (exportRequest: IExportDefinitionRequestPayload, title?: string) => SlidesExportRequest;
|
|
8
|
+
export declare const convertToVisualExportRequest: (exportRequest: IExportDefinitionDashboardRequestPayload, title?: string) => VisualExportRequest;
|
|
9
9
|
export declare const convertToDashboardTabularExportRequest: (exportRequest: IExportDefinitionDashboardRequestPayload) => DashboardTabularExportRequestV2;
|
|
10
|
-
export declare const convertToTabularExportRequest: (exportRequest: IExportDefinitionRequestPayload, title?: string
|
|
10
|
+
export declare const convertToTabularExportRequest: (exportRequest: IExportDefinitionRequestPayload, title?: string) => TabularExportRequest;
|
|
11
11
|
export declare const convertVisualizationToDashboardTabularExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload) => DashboardTabularExportRequestV2;
|
|
12
|
-
export declare const convertExportDefinitionRequestPayload: (exportRequest: IExportDefinitionRequestPayload, title?: string
|
|
12
|
+
export declare const convertExportDefinitionRequestPayload: (exportRequest: IExportDefinitionRequestPayload, title?: string) => TabularExportRequest | VisualExportRequest;
|
|
13
13
|
export declare const convertExportDefinitionMdObject: (exportDefinition: IExportDefinitionMetadataObjectDefinition, identifier: string) => JsonApiExportDefinitionInDocument;
|
|
14
14
|
//# sourceMappingURL=ExportDefinitionsConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportDefinitionsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ExportDefinitionsConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,EAEpC,KAAK,kBAAkB,EACvB,KAAK,iCAAiC,EACtC,KAAK,6CAA6C,EAClD,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EAE3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,yBAAyB,EAAmB,MAAM,2BAA2B,CAAC;AAC5F,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,KAAK,+BAA+B,EACpC,KAAK,kDAAkD,EAG1D,MAAM,qBAAqB,CAAC;AA8B7B,eAAO,MAAM,yCAAyC,
|
|
1
|
+
{"version":3,"file":"ExportDefinitionsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ExportDefinitionsConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,EAEpC,KAAK,kBAAkB,EACvB,KAAK,iCAAiC,EACtC,KAAK,6CAA6C,EAClD,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EAE3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,yBAAyB,EAAmB,MAAM,2BAA2B,CAAC;AAC5F,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,KAAK,+BAA+B,EACpC,KAAK,kDAAkD,EAG1D,MAAM,qBAAqB,CAAC;AA8B7B,eAAO,MAAM,yCAAyC,qBAChC,yCAAyC,KAC5D,6CAcF,CAAC;AAEF,eAAO,MAAM,yBAAyB,kBACnB,kDAAkD,oBAC/C,oBAAoB,cAC1B,yBAAyB,KACtC,oCA8EF,CAAC;AAEF,eAAO,MAAM,2BAA2B,kBACrB,kDAAkD,UACzD,MAAM,KACf,kBAoCF,CAAC;AAEF,eAAO,MAAM,4BAA4B,kBACtB,+BAA+B,UACtC,MAAM,KACf,mBAuEF,CAAC;AAEF,eAAO,MAAM,4BAA4B,kBACtB,wCAAwC,UAC/C,MAAM,KACf,mBAsCF,CAAC;AAEF,eAAO,MAAM,sCAAsC,kBAChC,wCAAwC,KACxD,+BA4CF,CAAC;AAEF,eAAO,MAAM,6BAA6B,kBACvB,+BAA+B,UACtC,MAAM,KACf,oBA8CF,CAAC;AAEF,eAAO,MAAM,mDAAmD,kBAC7C,kDAAkD,KAClE,+BAuCF,CAAC;AAEF,eAAO,MAAM,qCAAqC,kBAC/B,+BAA+B,UACtC,MAAM,KACf,oBAAoB,GAAG,mBA0EzB,CAAC;AAEF,eAAO,MAAM,+BAA+B,qBACtB,yCAAyC,cAC/C,MAAM,KACnB,iCASF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportMetadataConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ExportMetadataConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"ExportMetadataConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ExportMetadataConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,eAAO,MAAM,qBAAqB,aAAc,eAAe,oBAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdSanitization.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/IdSanitization.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"IdSanitization.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/IdSanitization.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,SAAU,GAAG,QAOzC,CAAC;AAEP;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAEjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/InsightConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAOH,KAAK,0BAA0B,EAClC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAIH,KAAK,kBAAkB,EAO1B,MAAM,qBAAqB,CAAC;AAyB7B;;;;;GAKG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"InsightConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/InsightConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAOH,KAAK,0BAA0B,EAClC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAIH,KAAK,kBAAkB,EAO1B,MAAM,qBAAqB,CAAC;AAyB7B;;;;;GAKG;AACH,eAAO,MAAM,cAAc,YACd,kBAAkB,KAC5B,0BAA0B,CAAC,oBAwD7B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,YAAa,kBAAkB,KAAG,MACxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetricConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/MetricConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"MetricConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/MetricConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAI5E,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,gCAAgC,GAAG,yBAAyB,CAgB3G"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
import { toTigerConditionalFormatting } from "../fromBackend/conditionalFormattingConversions.js";
|
|
2
3
|
export function convertMetricToBackend(measure) {
|
|
3
4
|
return {
|
|
4
5
|
title: measure.title,
|
|
@@ -11,5 +12,8 @@ export function convertMetricToBackend(measure) {
|
|
|
11
12
|
tags: measure.tags,
|
|
12
13
|
isHidden: measure.isHidden,
|
|
13
14
|
isHiddenFromKda: measure.isHiddenFromKda,
|
|
15
|
+
...(measure.conditionalFormatting
|
|
16
|
+
? { conditionalFormatting: toTigerConditionalFormatting(measure.conditionalFormatting) }
|
|
17
|
+
: {}),
|
|
14
18
|
};
|
|
15
19
|
}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,OAAQ,MAAM,SAAS,gBAAgB,KAAG,cASlE,CAAC;AAEF,eAAO,MAAM,qBAAqB,OAAQ,MAAM,SAAS,gBAAgB,KAAG,uBAS3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/WorkspaceConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"WorkspaceConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/WorkspaceConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,eAAO,MAAM,sBAAsB,eACnB,0BAA0B,eACzB,MAAM,KACpB,qBAcF,CAAC"}
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;GASG;AACH,OAAO,EAAE,qBAAqB,EAAqB,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAInG;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,wBAAwB,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,kBAAkB,CAuBpG;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC;AACjC,YAAY,EACR,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,4BAA4B,EAC5B,kCAAkC,EAClC,UAAU,GACb,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,oCAAoC,EACzC,2BAA2B,EAC3B,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,4BAA4B,EAC5B,6BAA6B,EAC7B,6CAA6C,GAChD,MAAM,WAAW,CAAC;AAEnB,YAAY,EACR,sBAAsB,EACtB,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,oBAAoB,EACpB,wBAAwB,EACxB,gCAAgC,EAChC,iCAAiC,EACjC,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,uBAAuB,EACvB,mBAAmB,EACnB,6BAA6B,EAC7B,8BAA8B,EAC9B,0BAA0B,EAC1B,yBAAyB,EACzB,gCAAgC,EAChC,mBAAmB,EACnB,0BAA0B,EAC1B,aAAa,EACb,yBAAyB,EACzB,aAAa,EACb,yBAAyB,EACzB,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,oBAAoB,GACvB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACH,iCAAiC,EACjC,KAAK,kCAAkC,GAC1C,MAAM,0CAA0C,CAAC;AAElD,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACzF,OAAO,EACH,KAAK,yBAAyB,EAC9B,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,GAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,iBAAiB,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AACpG,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EACH,KAAK,4BAA4B,EACjC,oCAAoC,GACvC,MAAM,+EAA+E,CAAC;AACvF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAElG;;GAEG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;GASG;AACH,OAAO,EAAE,qBAAqB,EAAqB,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAInG;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,wBAAwB,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,kBAAkB,CAuBpG;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC;AACjC,YAAY,EACR,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,4BAA4B,EAC5B,kCAAkC,EAClC,UAAU,GACb,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,oCAAoC,EACzC,2BAA2B,EAC3B,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,4BAA4B,EAC5B,6BAA6B,EAC7B,6CAA6C,GAChD,MAAM,WAAW,CAAC;AAEnB,YAAY,EACR,sBAAsB,EACtB,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,oBAAoB,EACpB,wBAAwB,EACxB,gCAAgC,EAChC,iCAAiC,EACjC,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,uBAAuB,EACvB,mBAAmB,EACnB,6BAA6B,EAC7B,8BAA8B,EAC9B,0BAA0B,EAC1B,yBAAyB,EACzB,gCAAgC,EAChC,mBAAmB,EACnB,0BAA0B,EAC1B,aAAa,EACb,yBAAyB,EACzB,aAAa,EACb,yBAAyB,EACzB,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,oBAAoB,GACvB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACH,iCAAiC,EACjC,KAAK,kCAAkC,GAC1C,MAAM,0CAA0C,CAAC;AAElD,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACzF,OAAO,EACH,KAAK,yBAAyB,EAC9B,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,GAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,iBAAiB,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AACpG,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EACH,KAAK,4BAA4B,EACjC,oCAAoC,GACvC,MAAM,+EAA+E,CAAC;AACvF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAElG;;GAEG;eAEY,YAAY"}
|
|
@@ -543,40 +543,7 @@ export declare const convertVisualizationContentToInsight: (content: object, met
|
|
|
543
543
|
/**
|
|
544
544
|
* @alpha
|
|
545
545
|
*/
|
|
546
|
-
export declare const objectTypeToTigerIdType: {
|
|
547
|
-
analyticalDashboard: TigerObjectType;
|
|
548
|
-
attribute: TigerObjectType;
|
|
549
|
-
attributeHierarchy: TigerObjectType;
|
|
550
|
-
automation: TigerObjectType;
|
|
551
|
-
colorPalette: TigerObjectType;
|
|
552
|
-
computedAttribute: TigerObjectType;
|
|
553
|
-
dashboardPlugin: TigerObjectType;
|
|
554
|
-
dataSet: TigerObjectType;
|
|
555
|
-
dateAttributeHierarchy: TigerObjectType;
|
|
556
|
-
dateHierarchyTemplate: TigerObjectType;
|
|
557
|
-
displayForm: TigerObjectType;
|
|
558
|
-
exportDefinition: TigerObjectType;
|
|
559
|
-
fact: TigerObjectType;
|
|
560
|
-
filterContext: TigerObjectType;
|
|
561
|
-
filterView: TigerObjectType;
|
|
562
|
-
insight: TigerObjectType;
|
|
563
|
-
measure: TigerObjectType;
|
|
564
|
-
memoryItem: TigerObjectType;
|
|
565
|
-
notificationChannel: TigerObjectType;
|
|
566
|
-
parameter: TigerObjectType;
|
|
567
|
-
report: TigerObjectType;
|
|
568
|
-
reportPageLayout: TigerObjectType;
|
|
569
|
-
reportTemplate: TigerObjectType;
|
|
570
|
-
theme: TigerObjectType;
|
|
571
|
-
user: TigerObjectType;
|
|
572
|
-
userDataFilter: TigerObjectType;
|
|
573
|
-
userGroup: TigerObjectType;
|
|
574
|
-
variable: TigerObjectType;
|
|
575
|
-
workspaceColorPalette: TigerObjectType;
|
|
576
|
-
workspaceDataFilter: TigerObjectType;
|
|
577
|
-
workspaceDataFilterSetting: TigerObjectType;
|
|
578
|
-
workspaceTheme: TigerObjectType;
|
|
579
|
-
};
|
|
546
|
+
export declare const objectTypeToTigerIdType: { [objectType in TigerCompatibleObjectType]: TigerObjectType; };
|
|
580
547
|
|
|
581
548
|
/**
|
|
582
549
|
* @internal
|
|
@@ -17,40 +17,7 @@ export declare const tigerIdTypeToObjectType: {
|
|
|
17
17
|
/**
|
|
18
18
|
* @alpha
|
|
19
19
|
*/
|
|
20
|
-
export declare const objectTypeToTigerIdType: {
|
|
21
|
-
analyticalDashboard: TigerObjectType;
|
|
22
|
-
attribute: TigerObjectType;
|
|
23
|
-
attributeHierarchy: TigerObjectType;
|
|
24
|
-
automation: TigerObjectType;
|
|
25
|
-
colorPalette: TigerObjectType;
|
|
26
|
-
computedAttribute: TigerObjectType;
|
|
27
|
-
dashboardPlugin: TigerObjectType;
|
|
28
|
-
dataSet: TigerObjectType;
|
|
29
|
-
dateAttributeHierarchy: TigerObjectType;
|
|
30
|
-
dateHierarchyTemplate: TigerObjectType;
|
|
31
|
-
displayForm: TigerObjectType;
|
|
32
|
-
exportDefinition: TigerObjectType;
|
|
33
|
-
fact: TigerObjectType;
|
|
34
|
-
filterContext: TigerObjectType;
|
|
35
|
-
filterView: TigerObjectType;
|
|
36
|
-
insight: TigerObjectType;
|
|
37
|
-
measure: TigerObjectType;
|
|
38
|
-
memoryItem: TigerObjectType;
|
|
39
|
-
notificationChannel: TigerObjectType;
|
|
40
|
-
parameter: TigerObjectType;
|
|
41
|
-
report: TigerObjectType;
|
|
42
|
-
reportPageLayout: TigerObjectType;
|
|
43
|
-
reportTemplate: TigerObjectType;
|
|
44
|
-
theme: TigerObjectType;
|
|
45
|
-
user: TigerObjectType;
|
|
46
|
-
userDataFilter: TigerObjectType;
|
|
47
|
-
userGroup: TigerObjectType;
|
|
48
|
-
variable: TigerObjectType;
|
|
49
|
-
workspaceColorPalette: TigerObjectType;
|
|
50
|
-
workspaceDataFilter: TigerObjectType;
|
|
51
|
-
workspaceDataFilterSetting: TigerObjectType;
|
|
52
|
-
workspaceTheme: TigerObjectType;
|
|
53
|
-
};
|
|
20
|
+
export declare const objectTypeToTigerIdType: { [objectType in TigerCompatibleObjectType]: TigerObjectType; };
|
|
54
21
|
/**
|
|
55
22
|
* @alpha
|
|
56
23
|
*/
|
|
@@ -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,mBAAmB,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,CAClG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE;KACjC,SAAS,IAAI,eAAe,GAAG,yBAAyB;CAc5D,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,mBAAmB,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,CAClG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE;KACjC,SAAS,IAAI,eAAe,GAAG,yBAAyB;CAc5D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAsC,GACrE,UAAU,IAAI,yBAAyB,qBAC3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,4BAA4B,EAAE,YAAY,CASvF,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,qBAAqB,QAAS,OAAO,KAAG,GAAG,IAAI,eAE3D,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAAS,OAAO,KAAG,GAAG,IAAI,4BAE9D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,QAAS,OAAO,KAAG,GAAG,IAAI,eAEjD,CAAC"}
|
package/esm/utils/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ObjRef } from "@gooddata/sdk-model";
|
|
1
|
+
import { type Identifier, type ObjRef, type Uri } from "@gooddata/sdk-model";
|
|
2
2
|
import { type TigerAuthenticatedCallGuard } from "../types/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* Converts ObjRef instance to URI. For UriRef returns the uri as is, for IdentifierRef calls the backend and gets the URI.
|
|
@@ -8,7 +8,7 @@ import { type TigerAuthenticatedCallGuard } from "../types/index.js";
|
|
|
8
8
|
*
|
|
9
9
|
* @internal
|
|
10
10
|
*/
|
|
11
|
-
export declare const objRefToUri: (ref: ObjRef, workspace: string, authCall: TigerAuthenticatedCallGuard) => Promise<
|
|
11
|
+
export declare const objRefToUri: (ref: ObjRef, workspace: string, authCall: TigerAuthenticatedCallGuard) => Promise<Uri>;
|
|
12
12
|
/**
|
|
13
13
|
* Converts ObjRef instance to identifier. For IdentifierRef returns the identifier as is,
|
|
14
14
|
* otherwise converts the UriRef to the identifier.
|
|
@@ -17,7 +17,7 @@ export declare const objRefToUri: (ref: ObjRef, workspace: string, authCall: Tig
|
|
|
17
17
|
*
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
|
-
export declare const objRefToIdentifier: (ref: ObjRef, _authCall: TigerAuthenticatedCallGuard) =>
|
|
20
|
+
export declare const objRefToIdentifier: (ref: ObjRef, _authCall: TigerAuthenticatedCallGuard) => Identifier;
|
|
21
21
|
/**
|
|
22
22
|
* Converts ObjRef instances to identifiers. For IdentifierRef returns the identifier as is,
|
|
23
23
|
* otherwise converts the UriRefs to the identifiers.
|
|
@@ -26,5 +26,5 @@ export declare const objRefToIdentifier: (ref: ObjRef, _authCall: TigerAuthentic
|
|
|
26
26
|
*
|
|
27
27
|
* @internal
|
|
28
28
|
*/
|
|
29
|
-
export declare const objRefsToIdentifiers: (refs: ObjRef[], authCall: TigerAuthenticatedCallGuard) =>
|
|
29
|
+
export declare const objRefsToIdentifiers: (refs: ObjRef[], authCall: TigerAuthenticatedCallGuard) => Identifier[];
|
|
30
30
|
//# sourceMappingURL=api.d.ts.map
|
package/esm/utils/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,MAAM,EAAE,KAAK,GAAG,EAA6B,MAAM,qBAAqB,CAAC;AAExG,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAErE;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,QACf,MAAM,aACA,MAAM,YACP,2BAA2B,KACtC,OAAO,CAAC,GAAG,CAIb,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,QAAS,MAAM,aAAa,2BAA2B,KAAG,UAcxF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,SAAU,MAAM,EAAE,YAAY,2BAA2B,KAAG,UAAU,EAGtG,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type AxiosResponse } from "axios";
|
|
2
2
|
export declare function downloadFile(fileName: string, data: any): void;
|
|
3
|
-
export declare const parseNameFromContentDisposition: (response: Pick<AxiosResponse
|
|
3
|
+
export declare const parseNameFromContentDisposition: (response: Pick<AxiosResponse, "headers">) => string | undefined;
|
|
4
4
|
//# sourceMappingURL=downloadFile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"downloadFile.d.ts","sourceRoot":"","sources":["../../src/utils/downloadFile.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,QASvD;AAED,eAAO,MAAM,+BAA+B,
|
|
1
|
+
{"version":3,"file":"downloadFile.d.ts","sourceRoot":"","sources":["../../src/utils/downloadFile.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,QASvD;AAED,eAAO,MAAM,+BAA+B,aAAc,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,uBAkBvF,CAAC"}
|
|
@@ -69,11 +69,24 @@ function createPermissionEscalationRefusedError(error) {
|
|
|
69
69
|
}
|
|
70
70
|
return new PermissionEscalationRefused("The change would grant a permission level the caller does not hold.", error);
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* Reasons the gateway's license/contract gate can deny a request with, carried in the 403 body's
|
|
74
|
+
* `reason` field (`components/gateway/gateway-api-gw/.../LicenseGatekeeper.kt` `DenyReason.code` in
|
|
75
|
+
* gdc-nas). Only the reasons a user can act on (or that block login entirely) are treated as a
|
|
76
|
+
* contract-expired condition here; the remaining reasons stay unexpected errors.
|
|
77
|
+
*/
|
|
78
|
+
const CONTRACT_EXPIRED_REASONS = ["contract_expired", "license_expired"];
|
|
72
79
|
function createContractExpiredError(error) {
|
|
73
80
|
const axiosErrorResponse = error.response;
|
|
74
|
-
if (axiosErrorResponse?.status !== 403
|
|
75
|
-
|
|
76
|
-
|
|
81
|
+
if (axiosErrorResponse?.status !== 403) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
// Older gateways do not send `reason` and only ever deny profile/invite this way, so the legacy
|
|
85
|
+
// detail-text match stays as a fallback rather than being replaced by the new field.
|
|
86
|
+
const matchesReason = CONTRACT_EXPIRED_REASONS.includes(axiosErrorResponse.data?.reason);
|
|
87
|
+
const matchesLegacyDetail = axiosErrorResponse.data?.detail?.includes("Contract expired") ||
|
|
88
|
+
axiosErrorResponse.data?.detail?.includes("Reason: EXPIRED");
|
|
89
|
+
if (!matchesReason && !matchesLegacyDetail) {
|
|
77
90
|
return;
|
|
78
91
|
}
|
|
79
92
|
return new ContractExpired(axiosErrorResponse.data.tier || "unspecified", error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterLocalidentifier.d.ts","sourceRoot":"","sources":["../../src/utils/filterLocalidentifier.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iBAAiB,EAAyB,MAAM,qBAAqB,CAAC;AAEpF,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"filterLocalidentifier.d.ts","sourceRoot":"","sources":["../../src/utils/filterLocalidentifier.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iBAAiB,EAAyB,MAAM,qBAAqB,CAAC;AAEpF,eAAO,MAAM,wBAAwB,WAAY,iBAAiB,SAAS,MAAM,KAAG,iBAYnF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixNumber.d.ts","sourceRoot":"","sources":["../../src/utils/fixNumber.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"fixNumber.d.ts","sourceRoot":"","sources":["../../src/utils/fixNumber.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,SAAS,QAAS,MAAM,WAAgC,CAAC"}
|
package/esm/utils/jwt.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt.d.ts","sourceRoot":"","sources":["../../src/utils/jwt.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"jwt.d.ts","sourceRoot":"","sources":["../../src/utils/jwt.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,QAAS,MAAM,KAAG,oBAW9C,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,WAAY,MAAM,eAAe,MAAM,KAAG,IAMjE,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gCAAgC,QACpC,MAAM,8CACiC,MAAM,6BACvB,MAAM,KAClC,MAKF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-tiger",
|
|
3
|
-
"version": "11.56.0-alpha.
|
|
3
|
+
"version": "11.56.0-alpha.2",
|
|
4
4
|
"description": "GoodData Backend SPI implementation for GoodData Cloud and GoodData.CN",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"ts-invariant": "0.10.3",
|
|
35
35
|
"tslib": "2.8.1",
|
|
36
36
|
"uuid": "11.1.1",
|
|
37
|
-
"@gooddata/api-client-tiger": "11.56.0-alpha.
|
|
38
|
-
"@gooddata/sdk-backend-base": "11.56.0-alpha.
|
|
39
|
-
"@gooddata/sdk-
|
|
40
|
-
"@gooddata/
|
|
41
|
-
"@gooddata/sdk-
|
|
42
|
-
"@gooddata/
|
|
37
|
+
"@gooddata/api-client-tiger": "11.56.0-alpha.2",
|
|
38
|
+
"@gooddata/sdk-backend-base": "11.56.0-alpha.2",
|
|
39
|
+
"@gooddata/sdk-code-convertors": "11.56.0-alpha.2",
|
|
40
|
+
"@gooddata/sdk-model": "11.56.0-alpha.2",
|
|
41
|
+
"@gooddata/sdk-backend-spi": "11.56.0-alpha.2",
|
|
42
|
+
"@gooddata/util": "11.56.0-alpha.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@gooddata/fixtures": "3.7.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@types/spark-md5": "3.0.5",
|
|
50
50
|
"@typescript-eslint/eslint-plugin": "8.58.0",
|
|
51
51
|
"@typescript-eslint/parser": "8.58.0",
|
|
52
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
52
|
+
"@typescript/native-preview": "7.0.0-dev.20260701.1",
|
|
53
53
|
"dependency-cruiser": "17.3.10",
|
|
54
54
|
"dotenv": "16.4.5",
|
|
55
55
|
"eslint": "^9.39.2",
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"oxlint-tsgolint": "0.15.0",
|
|
65
65
|
"typescript": "5.9.3",
|
|
66
66
|
"vitest": "4.1.8",
|
|
67
|
-
"@gooddata/catalog-export": "11.56.0-alpha.
|
|
68
|
-
"@gooddata/
|
|
69
|
-
"@gooddata/
|
|
70
|
-
"@gooddata/reference-workspace": "11.56.0-alpha.
|
|
67
|
+
"@gooddata/catalog-export": "11.56.0-alpha.2",
|
|
68
|
+
"@gooddata/eslint-config": "11.56.0-alpha.2",
|
|
69
|
+
"@gooddata/oxlint-config": "11.56.0-alpha.2",
|
|
70
|
+
"@gooddata/reference-workspace": "11.56.0-alpha.2"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"_phase:build": "npm run build",
|