@gooddata/sdk-code-convertors 11.35.0-alpha.5 → 11.35.0-alpha.6

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.
Files changed (63) hide show
  1. package/esm/configs/areaChart.d.ts +22 -9
  2. package/esm/configs/areaChart.js +13 -4
  3. package/esm/configs/barChart.d.ts +22 -9
  4. package/esm/configs/barChart.js +13 -4
  5. package/esm/configs/bubbleChart.d.ts +22 -9
  6. package/esm/configs/bubbleChart.js +13 -4
  7. package/esm/configs/bulletChart.d.ts +22 -9
  8. package/esm/configs/bulletChart.js +13 -4
  9. package/esm/configs/columnChart.d.ts +22 -9
  10. package/esm/configs/columnChart.js +13 -4
  11. package/esm/configs/comboChart.d.ts +22 -9
  12. package/esm/configs/comboChart.js +13 -4
  13. package/esm/configs/dependencyWheelChart.d.ts +22 -9
  14. package/esm/configs/dependencyWheelChart.js +13 -4
  15. package/esm/configs/donutChart.d.ts +22 -9
  16. package/esm/configs/donutChart.js +13 -4
  17. package/esm/configs/funnelChart.d.ts +22 -9
  18. package/esm/configs/funnelChart.js +13 -4
  19. package/esm/configs/geoAreaChart.d.ts +22 -9
  20. package/esm/configs/geoAreaChart.js +13 -4
  21. package/esm/configs/geoChart.d.ts +22 -9
  22. package/esm/configs/geoChart.js +13 -4
  23. package/esm/configs/headlineChart.d.ts +22 -9
  24. package/esm/configs/headlineChart.js +13 -4
  25. package/esm/configs/heatmapChart.d.ts +22 -9
  26. package/esm/configs/heatmapChart.js +13 -4
  27. package/esm/configs/lineChart.d.ts +22 -9
  28. package/esm/configs/lineChart.js +13 -4
  29. package/esm/configs/pieChart.d.ts +22 -9
  30. package/esm/configs/pieChart.js +13 -4
  31. package/esm/configs/pyramidChart.d.ts +22 -9
  32. package/esm/configs/pyramidChart.js +13 -4
  33. package/esm/configs/repeaterChart.d.ts +25 -10
  34. package/esm/configs/repeaterChart.js +15 -5
  35. package/esm/configs/sankeyChart.d.ts +22 -9
  36. package/esm/configs/sankeyChart.js +13 -4
  37. package/esm/configs/scatterChart.d.ts +22 -9
  38. package/esm/configs/scatterChart.js +13 -4
  39. package/esm/configs/table.d.ts +22 -9
  40. package/esm/configs/table.js +13 -4
  41. package/esm/configs/treemapChart.d.ts +22 -9
  42. package/esm/configs/treemapChart.js +13 -4
  43. package/esm/configs/types.d.ts +28 -0
  44. package/esm/configs/utils.d.ts +1 -0
  45. package/esm/configs/waterfallChart.d.ts +22 -9
  46. package/esm/configs/waterfallChart.js +13 -4
  47. package/esm/conts.d.ts +8 -0
  48. package/esm/conts.js +8 -0
  49. package/esm/from/declarativeDashboardToYaml.d.ts +9 -0
  50. package/esm/from/declarativeDashboardToYaml.js +7 -0
  51. package/esm/from/declarativeVisualisationToYaml.d.ts +47 -17
  52. package/esm/from/declarativeVisualisationToYaml.js +19 -0
  53. package/esm/index.d.ts +27 -27
  54. package/esm/index.js +23 -23
  55. package/esm/sdk-code-convertors.d.ts +2107 -1647
  56. package/esm/to/yamlDashboardToDeclarative.d.ts +18 -5
  57. package/esm/to/yamlDashboardToDeclarative.js +5 -0
  58. package/esm/to/yamlDatasetToDeclarative.d.ts +4 -0
  59. package/esm/to/yamlDatasetToDeclarative.js +4 -0
  60. package/esm/to/yamlVisualisationToDeclarative.d.ts +7 -2
  61. package/esm/to/yamlVisualisationToDeclarative.js +5 -0
  62. package/esm/utils/sharedUtils.d.ts +1 -0
  63. package/package.json +7 -7
package/esm/index.d.ts CHANGED
@@ -3,45 +3,45 @@ export { type ExportEntities, type FromEntities, type Profile, type ToExecutionR
3
3
  export { yamlDatasetToDeclarative, buildAttributeLabels, buildAttributes, buildFacts, buildReferences, } from "./to/yamlDatasetToDeclarative.js";
4
4
  export { yamlDateDatesetToDeclarative } from "./to/yamlDateDatasetToDeclarative.js";
5
5
  export { yamlMetricToDeclarative } from "./to/yamlMetricToDeclarative.js";
6
- export { yamlVisualisationToDeclarative, yamlVisualisationToMetadataObject, yamlBucketsToDeclarative, yamlFiltersToDeclarative, yamlReportToDeclarative, yamlReportTotalToDeclarative, yamlSortsToDeclarative, } from "./to/yamlVisualisationToDeclarative.js";
7
- export { yamlDashboardToDeclarative, yamlFilterContextToDeclarative, yamlInteractionToDeclarative, yamlPluginsToDeclarative, yamlWidgetItemToDeclarative, yamlWidgetToDeclarative, } from "./to/yamlDashboardToDeclarative.js";
6
+ export { yamlVisualisationToDeclarative, yamlVisualisationToMetadataObject, yamlBucketsToDeclarative, yamlFiltersToDeclarative, yamlReportToDeclarative, yamlReportTotalToDeclarative, yamlSortsToDeclarative, type VisualisationDefinition, } from "./to/yamlVisualisationToDeclarative.js";
7
+ export { yamlDashboardToDeclarative, yamlFilterContextToDeclarative, yamlInteractionToDeclarative, yamlPluginsToDeclarative, yamlWidgetItemToDeclarative, yamlWidgetToDeclarative, type DashboardDefinition, type DashboardSection, type DashboardWidget, type EmptyValueHandling, type FilterContextDefinition, } from "./to/yamlDashboardToDeclarative.js";
8
8
  export { yamlPluginToDeclarative } from "./to/yamlPluginToDeclarative.js";
9
9
  export { yamlAttributeHierarchyToDeclarative } from "./to/yamlAttributeHierarchyToDeclarative.js";
10
10
  export { declarativeDatasetToYaml } from "./from/declarativeDatasetToYaml.js";
11
11
  export { declarativeDateInstanceToYaml } from "./from/declarativeDateInstanceToYaml.js";
12
12
  export { declarativeMetricToYaml } from "./from/declarativeMetricToYaml.js";
13
- export { declarativeVisualisationToYaml, declarativeVisTypeToYaml, declarativeAbsoluteDateFilterToYaml, declarativeArithmeticMetricToYaml, declarativeAttributeSortToYaml, declarativeAttributeToYaml, declarativeBucketsToYaml, declarativeFiltersToYaml, declarativeInlineMetricToYaml, declarativeMeasureSortToYaml, declarativeMeasureValueFilterToYaml, declarativeNegativeAttributeFilterToYaml, declarativeNormalMetricToYaml, declarativePoPMetricToYaml, declarativePreviousPeriodMetricToYaml, declarativePositiveAttributeFilterToYaml, declarativeRankingFilterToYaml, declarativeRelativeDateFilterToYaml, declarativeSortsToYaml, declarativeTotalToYaml, } from "./from/declarativeVisualisationToYaml.js";
13
+ export { declarativeVisualisationToYaml, declarativeVisTypeToYaml, declarativeAbsoluteDateFilterToYaml, declarativeArithmeticMetricToYaml, declarativeAttributeSortToYaml, declarativeAttributeToYaml, declarativeBucketsToYaml, declarativeFiltersToYaml, declarativeInlineMetricToYaml, declarativeMeasureSortToYaml, declarativeMeasureValueFilterToYaml, declarativeNegativeAttributeFilterToYaml, declarativeNormalMetricToYaml, declarativePoPMetricToYaml, declarativePreviousPeriodMetricToYaml, declarativePositiveAttributeFilterToYaml, declarativeRankingFilterToYaml, declarativeRelativeDateFilterToYaml, declarativeSortsToYaml, declarativeTotalToYaml, type YamlSorts, type YamlPostProcessors, type YamlBuckets, type YamlBucketGroup, type YamlBucketGroupItems, type YamlFieldData, type YamlFilterMapEntry, type YamlFilters, } from "./from/declarativeVisualisationToYaml.js";
14
14
  export { declarativeDashboardToYaml, declarativeDrillToYaml, declarativeFilterContextToYaml, declarativeFiltersConfigToYaml, declarativePluginsToYaml, declarativeSectionsToYaml, declarativeTabsToYaml, declarativeWidgetToYaml, type FilterContextItem, type OverrideDashboardDefinition, } from "./from/declarativeDashboardToYaml.js";
15
15
  export { declarativePluginToYaml } from "./from/declarativePluginToYaml.js";
16
16
  export { declarativeAttributeHierarchyToYaml } from "./from/declarativeAttributeHierarchyToYaml.js";
17
17
  export { buildAfmExecution } from "./execution/buildAfmExecution.js";
18
18
  export { DatasetTypes, DateDatasetTypes, MetricTypes, DashboardTypes, PluginTypes, AttributeHierarchyTypes, VisualisationsTypes, AllTypes, } from "./conts.js";
19
- export { table } from "./configs/table.js";
20
- export { barChart } from "./configs/barChart.js";
21
- export { columnChart } from "./configs/columnChart.js";
22
- export { lineChart } from "./configs/lineChart.js";
23
- export { areaChart } from "./configs/areaChart.js";
24
- export { scatterChart } from "./configs/scatterChart.js";
25
- export { bubbleChart } from "./configs/bubbleChart.js";
26
- export { pieChart } from "./configs/pieChart.js";
27
- export { donutChart } from "./configs/donutChart.js";
28
- export { treemapChart } from "./configs/treemapChart.js";
29
- export { pyramidChart } from "./configs/pyramidChart.js";
30
- export { funnelChart } from "./configs/funnelChart.js";
31
- export { heatmapChart } from "./configs/heatmapChart.js";
32
- export { bulletChart } from "./configs/bulletChart.js";
33
- export { waterfallChart } from "./configs/waterfallChart.js";
34
- export { dependencyWheelChart } from "./configs/dependencyWheelChart.js";
35
- export { sankeyChart } from "./configs/sankeyChart.js";
36
- export { headlineChart } from "./configs/headlineChart.js";
37
- export { comboChart } from "./configs/comboChart.js";
38
- export { geoChart } from "./configs/geoChart.js";
39
- export { geoAreaChart } from "./configs/geoAreaChart.js";
40
- export { repeaterChart, type InlineVisualizations } from "./configs/repeaterChart.js";
19
+ export { table, tableLoad, tableSave, TABLE_DEFAULTS, type ITableConfig, type TableConfigProperties, } from "./configs/table.js";
20
+ export { barChart, barChartLoad, barChartSave, BAR_CHART_DEFAULTS, type IBarChartConfig, type BarChartConfigProperties, } from "./configs/barChart.js";
21
+ export { columnChart, columnChartLoad, columnChartSave, COLUMN_CHART_DEFAULTS, type IColumnChartConfig, type ColumnChartConfigProperties, } from "./configs/columnChart.js";
22
+ export { lineChart, lineChartLoad, lineChartSave, LINE_CHART_DEFAULTS, type ILineChartConfig, type LineChartConfigProperties, } from "./configs/lineChart.js";
23
+ export { areaChart, areaChartLoad, areaChartSave, AREA_CHART_DEFAULTS, type IAreaChartConfig, type AreaChartConfigProperties, } from "./configs/areaChart.js";
24
+ export { scatterChart, scatterChartLoad, scatterChartSave, SCATTER_CHART_DEFAULTS, type IScatterChartConfig, type ScatterChartConfigProperties, } from "./configs/scatterChart.js";
25
+ export { bubbleChart, bubbleChartLoad, bubbleChartSave, BUBBLE_CHART_DEFAULTS, type IBubbleChartConfig, type BubbleChartConfigProperties, } from "./configs/bubbleChart.js";
26
+ export { pieChart, pieChartLoad, pieChartSave, PIE_CHART_DEFAULTS, type IPieChartConfig, type PieChartConfigProperties, } from "./configs/pieChart.js";
27
+ export { donutChart, donutChartLoad, donutChartSave, DONUT_CHART_DEFAULTS, type IDonutChartConfig, type DonutChartConfigProperties, } from "./configs/donutChart.js";
28
+ export { treemapChart, treemapChartLoad, treemapChartSave, TREEMAP_CHART_DEFAULTS, type ITreemapChartConfig, type TreemapChartConfigProperties, } from "./configs/treemapChart.js";
29
+ export { pyramidChart, pyramidChartLoad, pyramidChartSave, PYRAMID_CHART_DEFAULTS, type IPyramidChartConfig, type PyramidChartConfigProperties, } from "./configs/pyramidChart.js";
30
+ export { funnelChart, funnelChartLoad, funnelChartSave, FUNNEL_CHART_DEFAULTS, type IFunnelChartConfig, type FunnelChartConfigProperties, } from "./configs/funnelChart.js";
31
+ export { heatmapChart, heatmapChartLoad, heatmapChartSave, HEATMAP_CHART_DEFAULTS, type IHeatmapChartConfig, type HeatmapChartConfigProperties, } from "./configs/heatmapChart.js";
32
+ export { bulletChart, bulletChartLoad, bulletChartSave, BULLET_CHART_DEFAULTS, type IBulletChartConfig, type BulletChartConfigProperties, } from "./configs/bulletChart.js";
33
+ export { waterfallChart, waterfallChartLoad, waterfallChartSave, WATERFALL_CHART_DEFAULTS, type IWaterfallChartConfig, type WaterfallChartConfigProperties, } from "./configs/waterfallChart.js";
34
+ export { dependencyWheelChart, dependencyWheelChartLoad, dependencyWheelChartSave, DEPENDENCY_WHEEL_CHART_DEFAULTS, type IDependencyWheelChartConfig, type DependencyWheelChartConfigProperties, } from "./configs/dependencyWheelChart.js";
35
+ export { sankeyChart, sankeyChartLoad, sankeyChartSave, SANKEY_CHART_DEFAULTS, type ISankeyChartConfig, type SankeyChartConfigProperties, } from "./configs/sankeyChart.js";
36
+ export { headlineChart, headlineChartLoad, headlineChartSave, HEADLINE_CHART_DEFAULTS, type IHeadlineChartConfig, type HeadlineChartConfigProperties, } from "./configs/headlineChart.js";
37
+ export { comboChart, comboChartLoad, comboChartSave, COMBO_CHART_DEFAULTS, type IComboChartConfig, type ComboChartConfigProperties, } from "./configs/comboChart.js";
38
+ export { geoChart, geoChartLoad, geoChartSave, GEO_CHART_DEFAULTS, type IGeoChartConfig, type GeoChartConfigProperties, } from "./configs/geoChart.js";
39
+ export { geoAreaChart, geoAreaChartLoad, geoAreaChartSave, GEO_AREA_CHART_DEFAULTS, type IGeoAreaChartConfig, type GeoAreaChartConfigProperties, } from "./configs/geoAreaChart.js";
40
+ export { repeaterChart, repeaterChartLoad, repeaterChartSave, REPEATER_CHART_DEFAULTS, saveInlineVisualizations, type IRepeaterChartConfig, type RepeaterChartConfigProperties, type InlineVisualizations, } from "./configs/repeaterChart.js";
41
41
  export type { IChartFill as ChartFill, ChartFillType, ColorMapping, ColumnLocator, ColumnWidth, ColumnWidthItem, IAbsoluteColumnWidth, IAllMeasureColumnWidthItem, IAllMeasureColumnWidthItemBody, IAttributeColumnLocator, IAttributeColumnLocatorBody, IAttributeColumnWidthItem, IAttributeColumnWidthItemBody, IAutoColumnWidth, IMeasureColumnLocator, IMeasureColumnLocatorBody, IMeasureColumnWidthItem, IMeasureColumnWidthItemBody, IMixedValuesColumnWidthItem, IMixedValuesColumnWidthItemBody, ISliceMeasureColumnWidthItem, ISliceMeasureColumnWidthItemBody, ITotalColumnLocator, ITotalColumnLocatorBody, IWeakMeasureColumnWidthItem, IWeakMeasureColumnWidthItemBody, PatternFillName, PointShapeSymbol, } from "./configs/types.js";
42
- export { getValueOrDefault, type VisualisationConfig, type ValueType } from "./configs/utils.js";
42
+ export { getValueOrDefault, type ConfigDefaults, type VisualisationConfig, type ValueType, } from "./configs/utils.js";
43
43
  export { generateFileName, resolveIdFromFileName, type FileNamesUsed } from "./utils/nameUtils.js";
44
- export { assertUnreachable, type FilePath } from "./utils/sharedUtils.js";
44
+ export { assertUnreachable, type FilePath, type FullFields } from "./utils/sharedUtils.js";
45
45
  export { convertBucketToTitle } from "./utils/convertBucketToTitle.js";
46
46
  export { createIdentifier, getIdentifier } from "./utils/yamlUtils.js";
47
47
  export { type IErrorContext, type ICoreError, CoreErrorCode, CoreErrorTypes, CoreErrorMessages, } from "./utils/errors.js";
package/esm/index.js CHANGED
@@ -22,29 +22,29 @@ export { buildAfmExecution } from "./execution/buildAfmExecution.js";
22
22
  // Constants
23
23
  export { DatasetTypes, DateDatasetTypes, MetricTypes, DashboardTypes, PluginTypes, AttributeHierarchyTypes, VisualisationsTypes, AllTypes, } from "./conts.js";
24
24
  // Configs
25
- export { table } from "./configs/table.js";
26
- export { barChart } from "./configs/barChart.js";
27
- export { columnChart } from "./configs/columnChart.js";
28
- export { lineChart } from "./configs/lineChart.js";
29
- export { areaChart } from "./configs/areaChart.js";
30
- export { scatterChart } from "./configs/scatterChart.js";
31
- export { bubbleChart } from "./configs/bubbleChart.js";
32
- export { pieChart } from "./configs/pieChart.js";
33
- export { donutChart } from "./configs/donutChart.js";
34
- export { treemapChart } from "./configs/treemapChart.js";
35
- export { pyramidChart } from "./configs/pyramidChart.js";
36
- export { funnelChart } from "./configs/funnelChart.js";
37
- export { heatmapChart } from "./configs/heatmapChart.js";
38
- export { bulletChart } from "./configs/bulletChart.js";
39
- export { waterfallChart } from "./configs/waterfallChart.js";
40
- export { dependencyWheelChart } from "./configs/dependencyWheelChart.js";
41
- export { sankeyChart } from "./configs/sankeyChart.js";
42
- export { headlineChart } from "./configs/headlineChart.js";
43
- export { comboChart } from "./configs/comboChart.js";
44
- export { geoChart } from "./configs/geoChart.js";
45
- export { geoAreaChart } from "./configs/geoAreaChart.js";
46
- export { repeaterChart } from "./configs/repeaterChart.js";
47
- export { getValueOrDefault } from "./configs/utils.js";
25
+ export { table, tableLoad, tableSave, TABLE_DEFAULTS, } from "./configs/table.js";
26
+ export { barChart, barChartLoad, barChartSave, BAR_CHART_DEFAULTS, } from "./configs/barChart.js";
27
+ export { columnChart, columnChartLoad, columnChartSave, COLUMN_CHART_DEFAULTS, } from "./configs/columnChart.js";
28
+ export { lineChart, lineChartLoad, lineChartSave, LINE_CHART_DEFAULTS, } from "./configs/lineChart.js";
29
+ export { areaChart, areaChartLoad, areaChartSave, AREA_CHART_DEFAULTS, } from "./configs/areaChart.js";
30
+ export { scatterChart, scatterChartLoad, scatterChartSave, SCATTER_CHART_DEFAULTS, } from "./configs/scatterChart.js";
31
+ export { bubbleChart, bubbleChartLoad, bubbleChartSave, BUBBLE_CHART_DEFAULTS, } from "./configs/bubbleChart.js";
32
+ export { pieChart, pieChartLoad, pieChartSave, PIE_CHART_DEFAULTS, } from "./configs/pieChart.js";
33
+ export { donutChart, donutChartLoad, donutChartSave, DONUT_CHART_DEFAULTS, } from "./configs/donutChart.js";
34
+ export { treemapChart, treemapChartLoad, treemapChartSave, TREEMAP_CHART_DEFAULTS, } from "./configs/treemapChart.js";
35
+ export { pyramidChart, pyramidChartLoad, pyramidChartSave, PYRAMID_CHART_DEFAULTS, } from "./configs/pyramidChart.js";
36
+ export { funnelChart, funnelChartLoad, funnelChartSave, FUNNEL_CHART_DEFAULTS, } from "./configs/funnelChart.js";
37
+ export { heatmapChart, heatmapChartLoad, heatmapChartSave, HEATMAP_CHART_DEFAULTS, } from "./configs/heatmapChart.js";
38
+ export { bulletChart, bulletChartLoad, bulletChartSave, BULLET_CHART_DEFAULTS, } from "./configs/bulletChart.js";
39
+ export { waterfallChart, waterfallChartLoad, waterfallChartSave, WATERFALL_CHART_DEFAULTS, } from "./configs/waterfallChart.js";
40
+ export { dependencyWheelChart, dependencyWheelChartLoad, dependencyWheelChartSave, DEPENDENCY_WHEEL_CHART_DEFAULTS, } from "./configs/dependencyWheelChart.js";
41
+ export { sankeyChart, sankeyChartLoad, sankeyChartSave, SANKEY_CHART_DEFAULTS, } from "./configs/sankeyChart.js";
42
+ export { headlineChart, headlineChartLoad, headlineChartSave, HEADLINE_CHART_DEFAULTS, } from "./configs/headlineChart.js";
43
+ export { comboChart, comboChartLoad, comboChartSave, COMBO_CHART_DEFAULTS, } from "./configs/comboChart.js";
44
+ export { geoChart, geoChartLoad, geoChartSave, GEO_CHART_DEFAULTS, } from "./configs/geoChart.js";
45
+ export { geoAreaChart, geoAreaChartLoad, geoAreaChartSave, GEO_AREA_CHART_DEFAULTS, } from "./configs/geoAreaChart.js";
46
+ export { repeaterChart, repeaterChartLoad, repeaterChartSave, REPEATER_CHART_DEFAULTS, saveInlineVisualizations, } from "./configs/repeaterChart.js";
47
+ export { getValueOrDefault, } from "./configs/utils.js";
48
48
  // Utils needed by orchestrators
49
49
  export { generateFileName, resolveIdFromFileName } from "./utils/nameUtils.js";
50
50
  export { assertUnreachable } from "./utils/sharedUtils.js";