@gooddata/sdk-backend-tiger 11.65.0-alpha.1 → 11.65.0-alpha.11
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 +14 -143
- package/esm/backend/features/hub.d.ts.map +1 -1
- package/esm/backend/features/hub.js +4 -5
- package/esm/backend/features/index.d.ts.map +1 -1
- package/esm/backend/features/index.js +15 -14
- package/esm/backend/uiFeatures.d.ts +536 -404
- package/esm/backend/uiFeatures.d.ts.map +1 -1
- package/esm/backend/uiFeatures.js +143 -406
- package/esm/backend/workspace/genAI/ChatConversations.d.ts +4 -2
- package/esm/backend/workspace/genAI/ChatConversations.d.ts.map +1 -1
- package/esm/backend/workspace/genAI/ChatConversations.js +46 -8
- package/esm/backend/workspace/genAI/index.d.ts +4 -1
- package/esm/backend/workspace/genAI/index.d.ts.map +1 -1
- package/esm/backend/workspace/genAI/index.js +35 -1
- package/esm/convertors/fromBackend/genAIConvertor.d.ts.map +1 -1
- package/esm/convertors/fromBackend/genAIConvertor.js +3 -0
- package/esm/convertors/fromBackend/publisherDocumentPartConvertorV2.d.ts +8 -0
- package/esm/convertors/fromBackend/publisherDocumentPartConvertorV2.d.ts.map +1 -0
- package/esm/convertors/fromBackend/publisherDocumentPartConvertorV2.js +42 -0
- package/package.json +11 -11
package/esm/__version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "11.65.0-alpha.
|
|
1
|
+
export declare const LIB_VERSION = "11.65.0-alpha.11";
|
|
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";
|
|
4
4
|
//# sourceMappingURL=__version.d.ts.map
|
package/esm/__version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAE9C,eAAO,MAAM,eAAe,2EAA2E,CAAC;AAExG,eAAO,MAAM,QAAQ,gCAAgC,CAAC"}
|
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.65.0-alpha.
|
|
3
|
+
export const LIB_VERSION = "11.65.0-alpha.11";
|
|
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";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../../src/backend/features/feature.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../../src/backend/features/feature.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,kBAAkB,EAG1B,MAAM,kBAAkB,CAAC;AAI1B,MAAM,MAAM,UAAU,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,CAAC,EAAE,OAAO,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC/C,KAAK,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAErD,wBAAgB,WAAW,CAAC,QAAQ,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAU9E"}
|
|
@@ -1,151 +1,21 @@
|
|
|
1
1
|
// (C) 2020-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
2
|
+
import { LocalFeatureFlagOverrides, TigerFeatureDefinitions, } from "../uiFeatures.js";
|
|
3
3
|
import { convertState } from "./state.js";
|
|
4
4
|
export function mapFeatures(features) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
...loadFeature(features, TigerFeaturesNames.EnableDonutDataLabels, "enableDonutDataLabels", "BOOLEAN", FeatureFlagsValues.enableDonutDataLabels),
|
|
16
|
-
...loadFeature(features, TigerFeaturesNames.EnableSqlDatasets, "enableSqlDatasets", "BOOLEAN", FeatureFlagsValues.enableSqlDatasets),
|
|
17
|
-
...loadFeature(features, TigerFeaturesNames.EnableChangeAnalysis, "enableChangeAnalysis", "BOOLEAN", FeatureFlagsValues.enableChangeAnalysis),
|
|
18
|
-
...loadFeature(features, TigerFeaturesNames.EnableRankingWithMvf, "enableRankingWithMvf", "BOOLEAN", FeatureFlagsValues.enableRankingWithMvf),
|
|
19
|
-
...loadFeature(features, TigerFeaturesNames.EnableRankingStrictLimit, "enableRankingStrictLimit", "BOOLEAN", FeatureFlagsValues.enableRankingStrictLimit),
|
|
20
|
-
...loadFeature(features, TigerFeaturesNames.EnableImprovedRankingFilter, "enableImprovedRankingFilter", "BOOLEAN", FeatureFlagsValues.enableImprovedRankingFilter),
|
|
21
|
-
...loadFeature(features, TigerFeaturesNames.EnableMySqlDataSource, "enableMySqlDataSource", "BOOLEAN", FeatureFlagsValues.enableMySqlDataSource),
|
|
22
|
-
...loadFeature(features, TigerFeaturesNames.EnableMariaDbDataSource, "enableMariaDbDataSource", "BOOLEAN", FeatureFlagsValues.enableMariaDbDataSource),
|
|
23
|
-
...loadFeature(features, TigerFeaturesNames.EnableOracleDataSource, "enableOracleDataSource", "BOOLEAN", FeatureFlagsValues.enableOracleDataSource),
|
|
24
|
-
...loadFeature(features, TigerFeaturesNames.EnableAnalyticalCatalog, "enableAnalyticalCatalog", "BOOLEAN", FeatureFlagsValues.enableAnalyticalCatalog),
|
|
25
|
-
...loadFeature(features, TigerFeaturesNames.EnableParameters, "enableParameters", "BOOLEAN", FeatureFlagsValues.enableParameters),
|
|
26
|
-
...loadFeature(features, TigerFeaturesNames.EnableAnalyticalCatalogMetricEditor, "enableAnalyticalCatalogMetricEditor", "BOOLEAN", FeatureFlagsValues.enableAnalyticalCatalogMetricEditor),
|
|
27
|
-
...loadFeature(features, TigerFeaturesNames.EnableAnalyticalCatalogVisualizationEditor, "enableAnalyticalCatalogVisualizationEditor", "BOOLEAN", FeatureFlagsValues.enableAnalyticalCatalogVisualizationEditor),
|
|
28
|
-
...loadFeature(features, TigerFeaturesNames.EnableStringParameters, "enableStringParameters", "BOOLEAN", FeatureFlagsValues.enableStringParameters),
|
|
29
|
-
...loadFeature(features, TigerFeaturesNames.EnableLabsSmartFunctions, "enableLabsSmartFunctions", "BOOLEAN", FeatureFlagsValues.enableLabsSmartFunctions),
|
|
30
|
-
...loadFeature(features, TigerFeaturesNames.EnableCustomTooltip, "enableCustomTooltip", "BOOLEAN", FeatureFlagsValues.enableCustomTooltip),
|
|
31
|
-
...loadFeature(features, TigerFeaturesNames.EnableMotherDuckDataSource, "enableMotherDuckDataSource", "BOOLEAN", FeatureFlagsValues.enableMotherDuckDataSource),
|
|
32
|
-
...loadFeature(features, TigerFeaturesNames.EnableStarrocksDataSource, "enableStarrocksDataSource", "BOOLEAN", FeatureFlagsValues.enableStarrocksDataSource),
|
|
33
|
-
...loadFeature(features, TigerFeaturesNames.EnableDataProfiling, "enableDataProfiling", "BOOLEAN", FeatureFlagsValues.enableDataProfiling),
|
|
34
|
-
...loadFeature(features, TigerFeaturesNames.EnableExperimentalFeaturesUI, "enableExperimentalFeaturesUI", "BOOLEAN", FeatureFlagsValues.enableExperimentalFeaturesUI),
|
|
35
|
-
...loadFeature(features, TigerFeaturesNames.EnableSingleStoreDataSource, "enableSingleStoreDataSource", "BOOLEAN", FeatureFlagsValues.enableSingleStoreDataSource),
|
|
36
|
-
...loadFeature(features, TigerFeaturesNames.EnableCacheRetentionPolicy, "enableCacheRetentionPolicy", "BOOLEAN", FeatureFlagsValues.enableCacheRetentionPolicy),
|
|
37
|
-
...loadFeature(features, TigerFeaturesNames.EnableDenodoDataSource, "enableDenodoDataSource", "BOOLEAN", FeatureFlagsValues.enableDenodoDataSource),
|
|
38
|
-
...loadFeature(features, TigerFeaturesNames.EnableTrinoDataSource, "enableTrinoDataSource", "BOOLEAN", FeatureFlagsValues.enableTrinoDataSource),
|
|
39
|
-
...loadFeature(features, TigerFeaturesNames.EnableSavFileStorage, "enableSavFileStorage", "BOOLEAN", FeatureFlagsValues.enableSavFileStorage),
|
|
40
|
-
...loadFeature(features, TigerFeaturesNames.EnableOidcAuth, "enableOidcAuth", "BOOLEAN", FeatureFlagsValues.enableOidcAuth),
|
|
41
|
-
...loadFeature(features, TigerFeaturesNames.EnableSemanticSearch, "enableSemanticSearch", "BOOLEAN", FeatureFlagsValues.enableSemanticSearch),
|
|
42
|
-
...loadFeature(features, TigerFeaturesNames.EnableCatalogSmartSearchResults, "enableCatalogSmartSearchResults", "BOOLEAN", FeatureFlagsValues.enableCatalogSmartSearchResults),
|
|
43
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAICatalogQualityChecker, "enableGenAICatalogQualityChecker", "BOOLEAN", FeatureFlagsValues.enableGenAICatalogQualityChecker),
|
|
44
|
-
...loadFeature(features, TigerFeaturesNames.EnableCatalogTrendingObjects, "enableCatalogTrendingObjects", "BOOLEAN", FeatureFlagsValues.enableCatalogTrendingObjects),
|
|
45
|
-
...loadFeature(features, TigerFeaturesNames.EnableCatalogLineage, "enableCatalogLineage", "BOOLEAN", FeatureFlagsValues.enableCatalogLineage),
|
|
46
|
-
...loadFeature(features, TigerFeaturesNames.EnableCertification, "enableCertification", "BOOLEAN", FeatureFlagsValues.enableCertification),
|
|
47
|
-
...loadFeature(features, TigerFeaturesNames.EnableAIDataSetting, "enableAIDataSetting", "BOOLEAN", FeatureFlagsValues.enableAIDataSetting),
|
|
48
|
-
...loadFeature(features, TigerFeaturesNames.EnableSystemAccountFiltering, "enableSystemAccountFiltering", "BOOLEAN", FeatureFlagsValues.enableSystemAccountFiltering),
|
|
49
|
-
...loadFeature(features, TigerFeaturesNames.EnableNewInsightChangedPostMessageEvent, "enableNewInsightChangedPostMessageEvent", "BOOLEAN", FeatureFlagsValues.enableNewInsightChangedPostMessageEvent),
|
|
50
|
-
...loadFeature(features, TigerFeaturesNames.EarlyAccessFeatures, "earlyAccessFeatures", "JSON", FeatureFlagsValues.earlyAccessFeatures),
|
|
51
|
-
...loadFeature(features, TigerFeaturesNames.EnableDefaultSmtp, "enableDefaultSmtp", "BOOLEAN", FeatureFlagsValues.enableDefaultSmtp),
|
|
52
|
-
...loadFeature(features, TigerFeaturesNames.EnableVisualizationFilteringByTags, "enableVisualizationFilteringByTags", "BOOLEAN", FeatureFlagsValues.enableVisualizationFilteringByTags),
|
|
53
|
-
...loadFeature(features, TigerFeaturesNames.EnableVisualizationFineTuning, "enableVisualizationFineTuning", "BOOLEAN", FeatureFlagsValues.enableVisualizationFineTuning),
|
|
54
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardTabularExport, "enableDashboardTabularExport", "BOOLEAN", FeatureFlagsValues.enableDashboardTabularExport),
|
|
55
|
-
...loadFeature(features, TigerFeaturesNames.EnableOrchestratedTabularExports, "enableOrchestratedTabularExports", "BOOLEAN", FeatureFlagsValues.enableOrchestratedTabularExports),
|
|
56
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardDescriptionDynamicHeight, "enableDashboardDescriptionDynamicHeight", "BOOLEAN", FeatureFlagsValues.enableDashboardDescriptionDynamicHeight),
|
|
57
|
-
...loadFeature(features, TigerFeaturesNames.EnableExportTemplateSelection, "enableExportTemplateSelection", "BOOLEAN", FeatureFlagsValues.enableExportTemplateSelection),
|
|
58
|
-
...loadFeature(features, TigerFeaturesNames.EnableExportTemplatesSettingUi, "enableExportTemplatesSettingUi", "BOOLEAN", FeatureFlagsValues.enableExportTemplatesSettingUi),
|
|
59
|
-
...loadFeature(features, TigerFeaturesNames.EnableRawExports, "enableRawExports", "BOOLEAN", FeatureFlagsValues.enableRawExports),
|
|
60
|
-
...loadFeature(features, TigerFeaturesNames.EnableExecutionCancelling, "enableExecutionCancelling", "BOOLEAN", FeatureFlagsValues.enableExecutionCancelling),
|
|
61
|
-
...loadFeature(features, TigerFeaturesNames.EnableImmediateAttributeFilterDisplayAsLabelMigration, "enableImmediateAttributeFilterDisplayAsLabelMigration", "BOOLEAN", FeatureFlagsValues.enableImmediateAttributeFilterDisplayAsLabelMigration),
|
|
62
|
-
...loadFeature(features, TigerFeaturesNames.EnableAnalyticalDesignerCatalogSideload, "enableAnalyticalDesignerCatalogSideload", "BOOLEAN", FeatureFlagsValues.enableAnalyticalDesignerCatalogSideload),
|
|
63
|
-
...loadFeature(features, TigerFeaturesNames.EnableHighchartsAccessibility, "enableHighchartsAccessibility", "BOOLEAN", FeatureFlagsValues.enableHighchartsAccessibility),
|
|
64
|
-
...loadFeature(features, TigerFeaturesNames.EnableAccessibleChartTooltip, "enableAccessibleChartTooltip", "BOOLEAN", FeatureFlagsValues.enableAccessibleChartTooltip),
|
|
65
|
-
...loadFeature(features, TigerFeaturesNames.EnableWorkspaceSettingsAppHeaderMenuItem, "enableWorkspaceSettingsAppHeaderMenuItem", "BOOLEAN", FeatureFlagsValues.enableWorkspaceSettingsAppHeaderMenuItem),
|
|
66
|
-
...loadFeature(features, TigerFeaturesNames.EnableSnapshotExportAccessibility, "enableSnapshotExportAccessibility", "BOOLEAN", FeatureFlagsValues.enableSnapshotExportAccessibility),
|
|
67
|
-
...loadFeature(features, TigerFeaturesNames.EnableExportToDocumentStorage, "enableExportToDocumentStorage", "BOOLEAN", FeatureFlagsValues.enableExportToDocumentStorage),
|
|
68
|
-
...loadFeature(features, TigerFeaturesNames.EnableNotificationChannelIdentifiers, "enableNotificationChannelIdentifiers", "BOOLEAN", FeatureFlagsValues.enableNotificationChannelIdentifiers),
|
|
69
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardShareDialogLink, "enableDashboardShareDialogLink", "BOOLEAN", FeatureFlagsValues.enableDashboardShareDialogLink),
|
|
70
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardPartialRendering, "enableDashboardPartialRendering", "BOOLEAN", FeatureFlagsValues.enableDashboardPartialRendering),
|
|
71
|
-
...loadFeature(features, TigerFeaturesNames.ProductionFeatures, "productionFeatures", "JSON", FeatureFlagsValues.productionFeatures),
|
|
72
|
-
...loadFeature(features, TigerFeaturesNames.EnablePreAggregationDatasets, "enablePreAggregationDatasets", "BOOLEAN", FeatureFlagsValues.enablePreAggregationDatasets),
|
|
73
|
-
...loadFeature(features, TigerFeaturesNames.EnableNewPivotTable, "enableNewPivotTable", "BOOLEAN", FeatureFlagsValues.enableNewPivotTable),
|
|
74
|
-
...loadFeature(features, TigerFeaturesNames.EnableConditionalFormatting, "enableConditionalFormatting", "BOOLEAN", FeatureFlagsValues.enableConditionalFormatting),
|
|
75
|
-
...loadFeature(features, TigerFeaturesNames.EnableSemanticConditionalFormatting, "enableSemanticConditionalFormatting", "BOOLEAN", FeatureFlagsValues.enableSemanticConditionalFormatting),
|
|
76
|
-
...loadFeature(features, TigerFeaturesNames.EnableNewGeoPushpin, "enableNewGeoPushpin", "BOOLEAN", FeatureFlagsValues.enableNewGeoPushpin),
|
|
77
|
-
...loadFeature(features, TigerFeaturesNames.EnableGeoArea, "enableGeoArea", "BOOLEAN", FeatureFlagsValues.enableGeoArea),
|
|
78
|
-
...loadFeature(features, TigerFeaturesNames.EnableHLL, "enableHLL", "BOOLEAN", FeatureFlagsValues.enableHLL),
|
|
79
|
-
...loadFeature(features, TigerFeaturesNames.EnableGeoPushpinIcon, "enableGeoPushpinIcon", "BOOLEAN", FeatureFlagsValues.enableGeoPushpinIcon),
|
|
80
|
-
...loadFeature(features, TigerFeaturesNames.EnableGeoChartA11yImprovements, "enableGeoChartA11yImprovements", "BOOLEAN", FeatureFlagsValues.enableGeoChartA11yImprovements),
|
|
81
|
-
...loadFeature(features, TigerFeaturesNames.EnableGeoLayersExport, "enableGeoLayersExport", "BOOLEAN", FeatureFlagsValues.enableGeoLayersExport),
|
|
82
|
-
...loadFeature(features, TigerFeaturesNames.EnableGeoChartsViewportConfig, "enableGeoChartsViewportConfig", "BOOLEAN", FeatureFlagsValues.enableGeoChartsViewportConfig),
|
|
83
|
-
...loadFeature(features, TigerFeaturesNames.EnableGeoSegmentConflictRecommendation, "enableGeoSegmentConflictRecommendation", "BOOLEAN", FeatureFlagsValues.enableGeoSegmentConflictRecommendation),
|
|
84
|
-
...loadFeature(features, TigerFeaturesNames.EnableGeoBasemapConfig, "enableGeoBasemapConfig", "BOOLEAN", FeatureFlagsValues.enableGeoBasemapConfig),
|
|
85
|
-
...loadFeature(features, TigerFeaturesNames.EnableCustomGeoCollection, "enableCustomGeoCollection", "BOOLEAN", FeatureFlagsValues.enableCustomGeoCollection),
|
|
86
|
-
...loadFeature(features, TigerFeaturesNames.EnableGeoSatelliteBasemapOption, "enableGeoSatelliteBasemapOption", "BOOLEAN", FeatureFlagsValues.enableGeoSatelliteBasemapOption),
|
|
87
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAIMemory, "enableGenAIMemory", "BOOLEAN", FeatureFlagsValues.enableGenAIMemory),
|
|
88
|
-
...loadFeature(features, TigerFeaturesNames.EnableOrgLevelAIMemory, "enableOrgLevelAIMemory", "BOOLEAN", FeatureFlagsValues.enableOrgLevelAIMemory),
|
|
89
|
-
...loadFeature(features, TigerFeaturesNames.EnableAiAgenticSuggestions, "enableAiAgenticSuggestions", "BOOLEAN", FeatureFlagsValues.enableAiAgenticSuggestions),
|
|
90
|
-
...loadFeature(features, TigerFeaturesNames.EnableAiAssistantEmbedding, "enableAiAssistantEmbedding", "BOOLEAN", FeatureFlagsValues.enableAiAssistantEmbedding),
|
|
91
|
-
...loadFeature(features, TigerFeaturesNames.EnableAiAssistantChartsV2, "enableAiAssistantChartsV2", "BOOLEAN", FeatureFlagsValues.enableAiAssistantChartsV2),
|
|
92
|
-
...loadFeature(features, TigerFeaturesNames.EnableAiContextSetup, "enableAiContextSetup", "BOOLEAN", FeatureFlagsValues.enableAiContextSetup),
|
|
93
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAiDashboardBuilderSkill, "enableGenAiDashboardBuilderSkill", "BOOLEAN", FeatureFlagsValues.enableGenAiDashboardBuilderSkill),
|
|
94
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAiRightPanel, "enableGenAiRightPanel", "BOOLEAN", FeatureFlagsValues.enableGenAiRightPanel),
|
|
95
|
-
...loadFeature(features, TigerFeaturesNames.EnableAiAgenticMultiConversations, "enableAiAgenticMultiConversations", "BOOLEAN", FeatureFlagsValues.enableAiAgenticMultiConversations),
|
|
96
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAiReasoningEffort, "enableGenAiReasoningEffort", "BOOLEAN", FeatureFlagsValues.enableGenAiReasoningEffort),
|
|
97
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAiObservability, "enableGenAiObservability", "BOOLEAN", FeatureFlagsValues.enableGenAiObservability),
|
|
98
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAiInteractionIntelligence, "enableGenAiInteractionIntelligence", "BOOLEAN", FeatureFlagsValues.enableGenAiInteractionIntelligence),
|
|
99
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAiInteractionIntelligenceTimeline, "enableGenAiInteractionIntelligence_timeline", "BOOLEAN", FeatureFlagsValues.enableGenAiInteractionIntelligence_timeline),
|
|
100
|
-
...loadFeature(features, TigerFeaturesNames.EnableAiLlmAnthropicProvider, "enableAiLlmAnthropicProvider", "BOOLEAN", FeatureFlagsValues.enableAiLlmAnthropicProvider),
|
|
101
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAiAgenticDataShareOptOut, "enableGenAiAgenticDataShareOptOut", "BOOLEAN", FeatureFlagsValues.enableGenAiAgenticDataShareOptOut),
|
|
102
|
-
...loadFeature(features, TigerFeaturesNames.AIChatSearchLimit, "aiChatSearchLimit", "NUMBER", FeatureFlagsValues.aiChatSearchLimit),
|
|
103
|
-
...loadFeature(features, TigerFeaturesNames.EnableRichTextWidgetFilterConfiguration, "enableRichTextWidgetFilterConfiguration", "BOOLEAN", FeatureFlagsValues.enableRichTextWidgetFilterConfiguration),
|
|
104
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardSectionHeadersDateDataSet, "enableDashboardSectionHeadersDateDataSet", "BOOLEAN", FeatureFlagsValues.enableDashboardSectionHeadersDateDataSet),
|
|
105
|
-
...loadFeature(features, TigerFeaturesNames.EnableAnalyticalDashboardVersion3, "enableAnalyticalDashboardVersion3", "BOOLEAN", FeatureFlagsValues.enableAnalyticalDashboardVersion3),
|
|
106
|
-
...loadFeature(features, TigerFeaturesNames.EnableAnomalyDetectionAlert, "enableAnomalyDetectionAlert", "BOOLEAN", FeatureFlagsValues.enableAnomalyDetectionAlert),
|
|
107
|
-
...loadFeature(features, TigerFeaturesNames.EnableAnomalyDetectionVisualization, "enableAnomalyDetectionVisualization", "BOOLEAN", FeatureFlagsValues.enableAnomalyDetectionVisualization),
|
|
108
|
-
...loadFeature(features, TigerFeaturesNames.EnableAlertOncePerInterval, "enableAlertOncePerInterval", "BOOLEAN", FeatureFlagsValues.enableAlertOncePerInterval),
|
|
109
|
-
...loadFeature(features, TigerFeaturesNames.EnableFiscalCalendars, "enableFiscalCalendars", "BOOLEAN", FeatureFlagsValues.enableFiscalCalendars),
|
|
110
|
-
...loadFeature(features, TigerFeaturesNames.EnableSecondGranularities, "enableSecondGranularities", "BOOLEAN", FeatureFlagsValues.enableSecondGranularities),
|
|
111
|
-
...loadFeature(features, TigerFeaturesNames.EnableImprovedMetricDateFilter, "enableImprovedMetricDateFilter", "BOOLEAN", FeatureFlagsValues.enableImprovedMetricDateFilter),
|
|
112
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardFilterGroups, "enableDashboardFilterGroups", "BOOLEAN", FeatureFlagsValues.enableDashboardFilterGroups),
|
|
113
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardTimezone, "enableDashboardTimezone", "BOOLEAN", FeatureFlagsValues.enableDashboardTimezone),
|
|
114
|
-
...loadFeature(features, TigerFeaturesNames.EnableMeasureValueFilterKD, "enableMeasureValueFilterKD", "BOOLEAN", FeatureFlagsValues.enableMeasureValueFilterKD),
|
|
115
|
-
...loadFeature(features, TigerFeaturesNames.EnableShellApplication, "enableShellApplication", "BOOLEAN", FeatureFlagsValues.enableShellApplication),
|
|
116
|
-
...loadFeature(features, TigerFeaturesNames.EnableShellApplicationDashboards, "enableShellApplication_dashboards", "BOOLEAN", FeatureFlagsValues.enableShellApplication_dashboards),
|
|
117
|
-
...loadFeature(features, TigerFeaturesNames.EnableLogicalModelExtensionsFromParentsCall, "enableLogicalModelExtensionsFromParentsCall", "BOOLEAN", FeatureFlagsValues.enableLogicalModelExtensionsFromParentsCall),
|
|
118
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardDensitySetting, "enableDashboardDensitySetting", "BOOLEAN", FeatureFlagsValues.enableDashboardDensitySetting),
|
|
119
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardsSearch, "enableDashboardsSearch", "BOOLEAN", FeatureFlagsValues.enableDashboardsSearch),
|
|
120
|
-
...loadFeature(features, TigerFeaturesNames.EnableAgentInstructions, "enableAgentInstructions", "BOOLEAN", FeatureFlagsValues.enableAgentInstructions),
|
|
121
|
-
...loadFeature(features, TigerFeaturesNames.EnableAutomationTrigger, "enableAutomationTrigger", "BOOLEAN", FeatureFlagsValues.enableAutomationTrigger),
|
|
122
|
-
...loadFeature(features, TigerFeaturesNames.EnableUserDataFiltersUi, "enableUserDataFiltersUi", "BOOLEAN", FeatureFlagsValues.enableUserDataFiltersUi),
|
|
123
|
-
...loadFeature(features, TigerFeaturesNames.EnableEnhancedInsightPicker, "enableEnhancedInsightPicker", "BOOLEAN", FeatureFlagsValues.enableEnhancedInsightPicker),
|
|
124
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardVisualizationDelete, "enableDashboardVisualizationDelete", "BOOLEAN", FeatureFlagsValues.enableDashboardVisualizationDelete),
|
|
125
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardSidebarResize, "enableDashboardSidebarResize", "BOOLEAN", FeatureFlagsValues.enableDashboardSidebarResize),
|
|
126
|
-
...loadFeature(features, TigerFeaturesNames.EnableCollapsibleLeftSidebar, "enableCollapsibleLeftSidebar", "BOOLEAN", FeatureFlagsValues.enableCollapsibleLeftSidebar),
|
|
127
|
-
...loadFeature(features, TigerFeaturesNames.EnableExportTimeoutFix, "enableExportTimeoutFix", "BOOLEAN", FeatureFlagsValues.enableExportTimeoutFix),
|
|
128
|
-
...loadFeature(features, TigerFeaturesNames.EnableDashboardPersistentFiltersAcrossTabs, "enableDashboardPersistentFiltersAcrossTabs", "BOOLEAN", FeatureFlagsValues.enableDashboardPersistentFiltersAcrossTabs),
|
|
129
|
-
...loadFeature(features, TigerFeaturesNames.EnableAbsoluteDateFilterGranularity, "enableAbsoluteDateFilterGranularity", "BOOLEAN", FeatureFlagsValues.enableAbsoluteDateFilterGranularity),
|
|
130
|
-
...loadFeature(features, TigerFeaturesNames.EnableComputedAttributes, "enableComputedAttributes", "BOOLEAN", FeatureFlagsValues.enableComputedAttributes),
|
|
131
|
-
...loadFeature(features, TigerFeaturesNames.EnableBusinessBriefingReportsApp, "enableBusinessBriefingReportsApp", "BOOLEAN", FeatureFlagsValues.enableBusinessBriefingReportsApp),
|
|
132
|
-
...loadFeature(features, TigerFeaturesNames.EnableReportsSubsections, "enableReportsSubsections", "BOOLEAN", FeatureFlagsValues.enableReportsSubsections),
|
|
133
|
-
...loadFeature(features, TigerFeaturesNames.EnablePublisherV2, "enablePublisherV2", "BOOLEAN", FeatureFlagsValues.enablePublisherV2),
|
|
134
|
-
...loadFeature(features, TigerFeaturesNames.EnableGenAiReportTakeaways, "enableGenAiReportTakeaways", "BOOLEAN", FeatureFlagsValues.enableGenAiReportTakeaways),
|
|
135
|
-
...loadFeature(features, TigerFeaturesNames.EnableEmbeddingWriteCommands, "enableEmbeddingWriteCommands", "BOOLEAN", FeatureFlagsValues.enableEmbeddingWriteCommands),
|
|
136
|
-
...loadFeature(features, TigerFeaturesNames.EnableLocalizationOverview, "enableLocalizationOverview", "BOOLEAN", FeatureFlagsValues.enableLocalizationOverview),
|
|
137
|
-
...loadFeature(features, TigerFeaturesNames.EnableUserLanguageChange, "enableUserLanguageChange", "BOOLEAN", FeatureFlagsValues.enableUserLanguageChange),
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
function loadFeature(features, feature, name, outputType, possibleValues) {
|
|
141
|
-
const item = features[feature];
|
|
142
|
-
if (!item) {
|
|
143
|
-
return {};
|
|
5
|
+
const result = { ...LocalFeatureFlagOverrides };
|
|
6
|
+
for (const [name, definition] of Object.entries(TigerFeatureDefinitions)) {
|
|
7
|
+
if (Object.hasOwn(LocalFeatureFlagOverrides, name))
|
|
8
|
+
continue;
|
|
9
|
+
const item = features[name];
|
|
10
|
+
if (!item)
|
|
11
|
+
continue;
|
|
12
|
+
const value = getValueByType(item.type, item.value, definition.type);
|
|
13
|
+
if (value !== undefined)
|
|
14
|
+
Object.assign(result, { [name]: value });
|
|
144
15
|
}
|
|
145
|
-
|
|
146
|
-
return val === undefined ? {} : { [name]: val };
|
|
16
|
+
return result;
|
|
147
17
|
}
|
|
148
|
-
function getValueByType(inputType, value, outputType
|
|
18
|
+
function getValueByType(inputType, value, outputType) {
|
|
149
19
|
switch (inputType) {
|
|
150
20
|
case "BOOLEAN":
|
|
151
21
|
if (value !== undefined) {
|
|
@@ -154,6 +24,7 @@ function getValueByType(inputType, value, outputType, possibleValues) {
|
|
|
154
24
|
break;
|
|
155
25
|
case "NUMBER":
|
|
156
26
|
case "STRING": {
|
|
27
|
+
const possibleValues = outputType === "BOOLEAN" ? [true, false] : [];
|
|
157
28
|
const state = convertState(outputType, possibleValues, value);
|
|
158
29
|
if (state !== undefined) {
|
|
159
30
|
return state;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../../../src/backend/features/hub.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAErF,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,KAAK,UAAU,EAAiC,MAAM,cAAc,CAAC;AAa9E,wBAAsB,qBAAqB,CACvC,QAAQ,EAAE,aAAa,CAAC,MAAM,CAAC,EAC/B,SAAS,GAAE,OAAO,CAAC,cAAc,CAAM,GACxC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAWtC;
|
|
1
|
+
{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../../../src/backend/features/hub.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAErF,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,KAAK,UAAU,EAAiC,MAAM,cAAc,CAAC;AAa9E,wBAAsB,qBAAqB,CACvC,QAAQ,EAAE,aAAa,CAAC,MAAM,CAAC,EAC/B,SAAS,GAAE,OAAO,CAAC,cAAc,CAAM,GACxC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAWtC;AA+CD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,EAAE,CAAC;CAC1B,EAAE,CAAC"}
|
|
@@ -16,8 +16,6 @@ export async function getFeatureHubFeatures(features, wsContext = {}) {
|
|
|
16
16
|
}
|
|
17
17
|
return DefaultFeatureFlags;
|
|
18
18
|
}
|
|
19
|
-
//NOTE: Use FeatureHub SDK after we upgrade version of typescript
|
|
20
|
-
// - more info in ticket RAIL-4279
|
|
21
19
|
async function loadHubFeatures(configuration, context, state) {
|
|
22
20
|
const { host, key } = configuration;
|
|
23
21
|
return new Promise((resolve, reject) => {
|
|
@@ -26,7 +24,8 @@ async function loadHubFeatures(configuration, context, state) {
|
|
|
26
24
|
reject(new Error(`FeatureHub is not ready, is not available or api key is wrong.`));
|
|
27
25
|
}
|
|
28
26
|
const promise = getFeatureHubData(host, key, context, state[key]);
|
|
29
|
-
void promise
|
|
27
|
+
void promise
|
|
28
|
+
.then(({ data, headers, status }) => {
|
|
30
29
|
if (status === 304) {
|
|
31
30
|
loadFeatures(state[key].data, resolve, callFailed);
|
|
32
31
|
return;
|
|
@@ -36,8 +35,8 @@ async function loadHubFeatures(configuration, context, state) {
|
|
|
36
35
|
data: data || [],
|
|
37
36
|
};
|
|
38
37
|
loadFeatures(data, resolve, callFailed);
|
|
39
|
-
})
|
|
40
|
-
|
|
38
|
+
})
|
|
39
|
+
.catch(callFailed);
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
42
|
function loadFeatures(data, resolveFn, errFn) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/backend/features/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EAGnB,KAAK,YAAY,EACpB,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAuB,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/backend/features/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EAGnB,KAAK,YAAY,EACpB,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAuB,KAAK,kBAAkB,EAA6B,MAAM,kBAAkB,CAAC;AAiB3G,qBAAa,oBAAoB;IACjB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAArC,YAA6B,QAAQ,EAAE,2BAA2B,EAAI;IAEzD,WAAW,CACpB,OAAO,CAAC,EAAE,YAAY,EACtB,SAAS,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GACpC,OAAO,CAAC,kBAAkB,CAAC,CAoB7B;CACJ;AA0BD,wBAAgB,WAAW,CACvB,UAAU,EAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,SAAS,EACrD,cAAc,EAAE,MAAM,GAAG,SAAS,EAClC,YAAY,EAAE,cAAc,EAAE,EAC9B,YAAY,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,cAAc,CAAC,CAyBzB;AAED,eAAO,MAAM,mBAAmB,kBAAkB,cAAc,EAAE,uBAIjE,CAAC;AAEF,eAAO,MAAM,2BAA2B,kBAAkB,cAAc,EAAE,YAMzE,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { LRUCache } from "lru-cache";
|
|
3
3
|
import { ProfileApi_GetCurrent } from "@gooddata/api-client-tiger/endpoints/profile";
|
|
4
4
|
import { LIB_VERSION } from "../../__version.js";
|
|
5
|
-
import { DefaultFeatureFlags } from "../uiFeatures.js";
|
|
5
|
+
import { DefaultFeatureFlags, LocalFeatureFlagOverrides } from "../uiFeatures.js";
|
|
6
6
|
import { getFeatureHubFeatures } from "./hub.js";
|
|
7
7
|
import { getStaticFeatures } from "./static.js";
|
|
8
8
|
const getKeyFromContext = (wsContext) => {
|
|
@@ -21,20 +21,21 @@ export class TigerFeaturesService {
|
|
|
21
21
|
...wsContext,
|
|
22
22
|
jsSdkVersion: LIB_VERSION,
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
// A changed or removed local override must not reuse a previously forced value.
|
|
25
|
+
const key = JSON.stringify([
|
|
26
|
+
getKeyFromContext(contextWithVersion),
|
|
27
|
+
Object.entries(LocalFeatureFlagOverrides),
|
|
28
|
+
]);
|
|
29
|
+
let response = responseMap.get(key);
|
|
30
|
+
if (!response) {
|
|
31
|
+
response = this.authCall(async (client) => {
|
|
32
|
+
const prof = profile || (await ProfileApi_GetCurrent(client.axios));
|
|
33
|
+
const results = await loadFeatures(prof, contextWithVersion);
|
|
34
|
+
return { ...DefaultFeatureFlags, ...results };
|
|
35
|
+
});
|
|
36
|
+
responseMap.set(key, response);
|
|
27
37
|
}
|
|
28
|
-
|
|
29
|
-
const prof = profile || (await ProfileApi_GetCurrent(client.axios));
|
|
30
|
-
const results = await loadFeatures(prof, contextWithVersion);
|
|
31
|
-
return {
|
|
32
|
-
...DefaultFeatureFlags,
|
|
33
|
-
...results,
|
|
34
|
-
};
|
|
35
|
-
});
|
|
36
|
-
responseMap.set(getKeyFromContext(contextWithVersion), response);
|
|
37
|
-
return response;
|
|
38
|
+
return { ...(await response), ...LocalFeatureFlagOverrides };
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
async function loadFeatures(profile, wsContext = {}) {
|