@lightdash/common 3.264.0 → 3.265.0

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 (92) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/schemas/chartAsCodeSchema.d.ts +1497 -63
  3. package/dist/cjs/schemas/chartAsCodeSchema.d.ts.map +1 -1
  4. package/dist/cjs/schemas/generateChartAsCodeSchema.d.ts.map +1 -1
  5. package/dist/cjs/schemas/generateChartAsCodeSchema.js +27 -6
  6. package/dist/cjs/schemas/generateChartAsCodeSchema.js.map +1 -1
  7. package/dist/cjs/schemas/json/chart-as-code-1.0.json +803 -45
  8. package/dist/cjs/schemas/json/dashboard-as-code-1.0.json +84 -1
  9. package/dist/cjs/types/contentAsCode/composerCharts.d.ts +41 -0
  10. package/dist/cjs/types/contentAsCode/composerCharts.d.ts.map +1 -0
  11. package/dist/cjs/types/contentAsCode/composerCharts.js +3 -0
  12. package/dist/cjs/types/contentAsCode/composerCharts.js.map +1 -0
  13. package/dist/cjs/types/contentAsCode/core.d.ts +1 -0
  14. package/dist/cjs/types/contentAsCode/core.d.ts.map +1 -1
  15. package/dist/cjs/types/contentAsCode/core.js +1 -0
  16. package/dist/cjs/types/contentAsCode/core.js.map +1 -1
  17. package/dist/cjs/types/contentAsCode/dashboards.d.ts +9 -2
  18. package/dist/cjs/types/contentAsCode/dashboards.d.ts.map +1 -1
  19. package/dist/cjs/types/contentAsCode/index.d.ts +1 -0
  20. package/dist/cjs/types/contentAsCode/index.d.ts.map +1 -1
  21. package/dist/cjs/types/contentAsCode/index.js +1 -0
  22. package/dist/cjs/types/contentAsCode/index.js.map +1 -1
  23. package/dist/cjs/types/dashboard.d.ts +1 -0
  24. package/dist/cjs/types/dashboard.d.ts.map +1 -1
  25. package/dist/cjs/types/dashboard.js.map +1 -1
  26. package/dist/cjs/utils/i18n/dashboardAsCode.d.ts +20 -0
  27. package/dist/cjs/utils/i18n/dashboardAsCode.d.ts.map +1 -1
  28. package/dist/cjs/utils/i18n/dashboardAsCode.js +6 -0
  29. package/dist/cjs/utils/i18n/dashboardAsCode.js.map +1 -1
  30. package/dist/esm/.tsbuildinfo +1 -1
  31. package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +13 -13
  32. package/dist/esm/ee/AiAgent/utils.d.ts +12 -12
  33. package/dist/esm/schemas/chartAsCodeSchema.d.ts +1497 -63
  34. package/dist/esm/schemas/chartAsCodeSchema.d.ts.map +1 -1
  35. package/dist/esm/schemas/generateChartAsCodeSchema.d.ts.map +1 -1
  36. package/dist/esm/schemas/generateChartAsCodeSchema.js +27 -6
  37. package/dist/esm/schemas/generateChartAsCodeSchema.js.map +1 -1
  38. package/dist/esm/schemas/json/chart-as-code-1.0.json +803 -45
  39. package/dist/esm/schemas/json/dashboard-as-code-1.0.json +84 -1
  40. package/dist/esm/types/contentAsCode/composerCharts.d.ts +41 -0
  41. package/dist/esm/types/contentAsCode/composerCharts.d.ts.map +1 -0
  42. package/dist/esm/types/contentAsCode/composerCharts.js +2 -0
  43. package/dist/esm/types/contentAsCode/composerCharts.js.map +1 -0
  44. package/dist/esm/types/contentAsCode/core.d.ts +1 -0
  45. package/dist/esm/types/contentAsCode/core.d.ts.map +1 -1
  46. package/dist/esm/types/contentAsCode/core.js +1 -0
  47. package/dist/esm/types/contentAsCode/core.js.map +1 -1
  48. package/dist/esm/types/contentAsCode/dashboards.d.ts +9 -2
  49. package/dist/esm/types/contentAsCode/dashboards.d.ts.map +1 -1
  50. package/dist/esm/types/contentAsCode/index.d.ts +1 -0
  51. package/dist/esm/types/contentAsCode/index.d.ts.map +1 -1
  52. package/dist/esm/types/contentAsCode/index.js +1 -0
  53. package/dist/esm/types/contentAsCode/index.js.map +1 -1
  54. package/dist/esm/types/dashboard.d.ts +1 -0
  55. package/dist/esm/types/dashboard.d.ts.map +1 -1
  56. package/dist/esm/types/dashboard.js.map +1 -1
  57. package/dist/esm/utils/i18n/dashboardAsCode.d.ts +20 -0
  58. package/dist/esm/utils/i18n/dashboardAsCode.d.ts.map +1 -1
  59. package/dist/esm/utils/i18n/dashboardAsCode.js +6 -0
  60. package/dist/esm/utils/i18n/dashboardAsCode.js.map +1 -1
  61. package/dist/types/.tsbuildinfo +1 -1
  62. package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +13 -13
  63. package/dist/types/ee/AiAgent/utils.d.ts +12 -12
  64. package/dist/types/schemas/chartAsCodeSchema.d.ts +1497 -63
  65. package/dist/types/schemas/chartAsCodeSchema.d.ts.map +1 -1
  66. package/dist/types/schemas/generateChartAsCodeSchema.d.ts.map +1 -1
  67. package/dist/types/schemas/generateChartAsCodeSchema.js +27 -6
  68. package/dist/types/schemas/generateChartAsCodeSchema.js.map +1 -1
  69. package/dist/types/schemas/json/chart-as-code-1.0.json +803 -45
  70. package/dist/types/schemas/json/dashboard-as-code-1.0.json +84 -1
  71. package/dist/types/types/contentAsCode/composerCharts.d.ts +41 -0
  72. package/dist/types/types/contentAsCode/composerCharts.d.ts.map +1 -0
  73. package/dist/types/types/contentAsCode/composerCharts.js +2 -0
  74. package/dist/types/types/contentAsCode/composerCharts.js.map +1 -0
  75. package/dist/types/types/contentAsCode/core.d.ts +1 -0
  76. package/dist/types/types/contentAsCode/core.d.ts.map +1 -1
  77. package/dist/types/types/contentAsCode/core.js +1 -0
  78. package/dist/types/types/contentAsCode/core.js.map +1 -1
  79. package/dist/types/types/contentAsCode/dashboards.d.ts +9 -2
  80. package/dist/types/types/contentAsCode/dashboards.d.ts.map +1 -1
  81. package/dist/types/types/contentAsCode/index.d.ts +1 -0
  82. package/dist/types/types/contentAsCode/index.d.ts.map +1 -1
  83. package/dist/types/types/contentAsCode/index.js +1 -0
  84. package/dist/types/types/contentAsCode/index.js.map +1 -1
  85. package/dist/types/types/dashboard.d.ts +1 -0
  86. package/dist/types/types/dashboard.d.ts.map +1 -1
  87. package/dist/types/types/dashboard.js.map +1 -1
  88. package/dist/types/utils/i18n/dashboardAsCode.d.ts +20 -0
  89. package/dist/types/utils/i18n/dashboardAsCode.d.ts.map +1 -1
  90. package/dist/types/utils/i18n/dashboardAsCode.js +6 -0
  91. package/dist/types/utils/i18n/dashboardAsCode.js.map +1 -1
  92. package/package.json +1 -1
@@ -1028,6 +1028,109 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1028
1028
  enum: string[];
1029
1029
  type: string;
1030
1030
  };
1031
+ ComposerChartAsCode: {
1032
+ additionalProperties: boolean;
1033
+ description: string;
1034
+ properties: {
1035
+ chart: {
1036
+ $ref: string;
1037
+ };
1038
+ contentType: {
1039
+ $ref: string;
1040
+ };
1041
+ dashboardSlug: {
1042
+ description: string;
1043
+ type: string;
1044
+ };
1045
+ description: {
1046
+ type: string[];
1047
+ };
1048
+ downloadedAt: {
1049
+ format: string;
1050
+ type: string;
1051
+ };
1052
+ name: {
1053
+ type: string;
1054
+ };
1055
+ pipeline: {
1056
+ $ref: string;
1057
+ };
1058
+ slug: {
1059
+ type: string;
1060
+ };
1061
+ spaceSlug: {
1062
+ description: string;
1063
+ type: string;
1064
+ };
1065
+ updatedAt: {
1066
+ format: string;
1067
+ type: string;
1068
+ };
1069
+ version: {
1070
+ format: string;
1071
+ type: string;
1072
+ };
1073
+ };
1074
+ required: string[];
1075
+ type: string;
1076
+ };
1077
+ ComposerChartColumn: {
1078
+ properties: {
1079
+ fieldType: {
1080
+ anyOf: {
1081
+ $ref: string;
1082
+ }[];
1083
+ };
1084
+ reference: {
1085
+ type: string;
1086
+ };
1087
+ };
1088
+ required: string[];
1089
+ type: string;
1090
+ };
1091
+ ComposerChartPipeline: {
1092
+ properties: {
1093
+ nodes: {
1094
+ items: {
1095
+ $ref: string;
1096
+ };
1097
+ type: string;
1098
+ };
1099
+ schemaVersion: {
1100
+ enum: number[];
1101
+ type: string;
1102
+ };
1103
+ terminalNodeId: {
1104
+ type: string;
1105
+ };
1106
+ };
1107
+ required: string[];
1108
+ type: string;
1109
+ };
1110
+ ComposerChartPipelineNode: {
1111
+ anyOf: {
1112
+ $ref: string;
1113
+ }[];
1114
+ description: string;
1115
+ };
1116
+ ComposerStoredChartAsCode: {
1117
+ allOf: ({
1118
+ type?: undefined;
1119
+ required?: undefined;
1120
+ properties?: undefined;
1121
+ $ref: string;
1122
+ } | {
1123
+ $ref?: undefined;
1124
+ properties: {
1125
+ chartConfig: {
1126
+ $ref: string;
1127
+ };
1128
+ };
1129
+ required: string[];
1130
+ type: string;
1131
+ })[];
1132
+ description: string;
1133
+ };
1031
1134
  ConditionalFormattingColorApplyTo: {
1032
1135
  enum: string[];
1033
1136
  type: string;
@@ -1360,6 +1463,10 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1360
1463
  enum: string[];
1361
1464
  type: string;
1362
1465
  };
1466
+ "ContentAsCodeType.COMPOSER_CHART": {
1467
+ enum: string[];
1468
+ type: string;
1469
+ };
1363
1470
  "ContentAsCodeType.SQL_CHART": {
1364
1471
  enum: string[];
1365
1472
  type: string;
@@ -1687,6 +1794,53 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1687
1794
  enum: string[];
1688
1795
  type: string;
1689
1796
  };
1797
+ DuckdbSourceQuery: {
1798
+ description: string;
1799
+ properties: {
1800
+ description: {
1801
+ description: string;
1802
+ type: string;
1803
+ };
1804
+ limit: {
1805
+ format: string;
1806
+ type: string;
1807
+ };
1808
+ nodeId: {
1809
+ $ref: string;
1810
+ description: string;
1811
+ };
1812
+ pivotConfiguration: {
1813
+ $ref: string;
1814
+ description: string;
1815
+ };
1816
+ references: {
1817
+ anyOf: ({
1818
+ $ref?: undefined;
1819
+ items: {
1820
+ $ref: string;
1821
+ };
1822
+ type: string;
1823
+ } | {
1824
+ items?: undefined;
1825
+ type?: undefined;
1826
+ $ref: string;
1827
+ })[];
1828
+ description: string;
1829
+ };
1830
+ sourceType: {
1831
+ $ref: string;
1832
+ };
1833
+ sql: {
1834
+ type: string;
1835
+ };
1836
+ title: {
1837
+ description: string;
1838
+ type: string;
1839
+ };
1840
+ };
1841
+ required: string[];
1842
+ type: string;
1843
+ };
1690
1844
  EChartsConfig: {
1691
1845
  $ref: string;
1692
1846
  };
@@ -1797,6 +1951,14 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1797
1951
  required: string[];
1798
1952
  type: string;
1799
1953
  };
1954
+ "FieldType.DIMENSION": {
1955
+ enum: string[];
1956
+ type: string;
1957
+ };
1958
+ "FieldType.METRIC": {
1959
+ enum: string[];
1960
+ type: string;
1961
+ };
1800
1962
  FilterGroup: {
1801
1963
  anyOf: {
1802
1964
  $ref: string;
@@ -2234,6 +2396,15 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
2234
2396
  required: string[];
2235
2397
  type: string;
2236
2398
  };
2399
+ GroupByColumn: {
2400
+ properties: {
2401
+ reference: {
2402
+ type: string;
2403
+ };
2404
+ };
2405
+ required: string[];
2406
+ type: string;
2407
+ };
2237
2408
  GroupValueMatchType: {
2238
2409
  enum: string[];
2239
2410
  type: string;
@@ -2601,6 +2772,20 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
2601
2772
  enum: string[];
2602
2773
  type: string;
2603
2774
  };
2775
+ MergeSourceQueryInput: {
2776
+ description: string;
2777
+ properties: {
2778
+ nodeId: {
2779
+ $ref: string;
2780
+ };
2781
+ repeatValues: {
2782
+ description: string;
2783
+ type: string;
2784
+ };
2785
+ };
2786
+ required: string[];
2787
+ type: string;
2788
+ };
2604
2789
  MergeTableCalculation: {
2605
2790
  description: string;
2606
2791
  properties: {
@@ -2784,6 +2969,10 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
2784
2969
  enum: string[];
2785
2970
  type: string;
2786
2971
  };
2972
+ "Omit_ComposerStoredChart.chartConfig_": {
2973
+ $ref: string;
2974
+ description: string;
2975
+ };
2787
2976
  "Omit_DataAppVizChart.dataAppVizUuid-or-dataAppVizVersion_": {
2788
2977
  $ref: string;
2789
2978
  description: string;
@@ -2792,10 +2981,18 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
2792
2981
  $ref: string;
2793
2982
  description: string;
2794
2983
  };
2984
+ "Omit_MergeSourceQuery.pivotConfiguration_": {
2985
+ $ref: string;
2986
+ description: string;
2987
+ };
2795
2988
  "Omit_MetricQuery.filters_": {
2796
2989
  $ref: string;
2797
2990
  description: string;
2798
2991
  };
2992
+ "Omit_PythonSourceQuery.pivotConfiguration_": {
2993
+ $ref: string;
2994
+ description: string;
2995
+ };
2799
2996
  OrFilterGroup: {
2800
2997
  properties: {
2801
2998
  id: {
@@ -3020,6 +3217,47 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
3020
3217
  properties: {};
3021
3218
  type: string;
3022
3219
  };
3220
+ "Pick_ComposerStoredChart.Exclude_keyofComposerStoredChart.chartConfig__": {
3221
+ description: string;
3222
+ properties: {
3223
+ columns: {
3224
+ items: {
3225
+ $ref: string;
3226
+ };
3227
+ type: string;
3228
+ };
3229
+ pivotConfig: {
3230
+ properties: {
3231
+ columns: {
3232
+ items: {
3233
+ type: string;
3234
+ };
3235
+ type: string;
3236
+ };
3237
+ };
3238
+ required: string[];
3239
+ type: string[];
3240
+ };
3241
+ schemaVersion: {
3242
+ enum: number[];
3243
+ type: string;
3244
+ };
3245
+ tableConfig: {
3246
+ properties: {
3247
+ columnOrder: {
3248
+ items: {
3249
+ type: string;
3250
+ };
3251
+ type: string;
3252
+ };
3253
+ };
3254
+ required: string[];
3255
+ type: string;
3256
+ };
3257
+ };
3258
+ required: string[];
3259
+ type: string;
3260
+ };
3023
3261
  "Pick_DataAppVizChart.Exclude_keyofDataAppVizChart.dataAppVizUuid-or-dataAppVizVersion__": {
3024
3262
  description: string;
3025
3263
  properties: {
@@ -3082,73 +3320,130 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
3082
3320
  required: string[];
3083
3321
  type: string;
3084
3322
  };
3085
- "Pick_Metric.formatOptions_": {
3086
- description: string;
3087
- properties: {
3088
- formatOptions: {
3089
- $ref: string;
3090
- };
3091
- };
3092
- type: string;
3093
- };
3094
- "Pick_MetricQuery.Exclude_keyofMetricQuery.filters__": {
3323
+ "Pick_MergeSourceQuery.Exclude_keyofMergeSourceQuery.pivotConfiguration__": {
3095
3324
  description: string;
3096
3325
  properties: {
3097
- additionalMetrics: {
3326
+ description: {
3098
3327
  description: string;
3099
- items: {
3100
- $ref: string;
3101
- };
3102
3328
  type: string;
3103
3329
  };
3104
- customDimensions: {
3330
+ joinKey: {
3105
3331
  description: string;
3106
3332
  items: {
3107
3333
  $ref: string;
3108
3334
  };
3109
3335
  type: string;
3110
3336
  };
3111
- dimensionOverrides: {
3337
+ joinType: {
3112
3338
  $ref: string;
3113
- description: string;
3114
3339
  };
3115
- dimensions: {
3116
- description: string;
3117
- items: {
3118
- type: string;
3119
- };
3340
+ limit: {
3341
+ format: string;
3120
3342
  type: string;
3121
3343
  };
3122
- exploreName: {
3344
+ nodeId: {
3123
3345
  description: string;
3124
3346
  type: string;
3125
3347
  };
3126
- limit: {
3348
+ sorts: {
3127
3349
  description: string;
3128
- format: string;
3350
+ items: {
3351
+ $ref: string;
3352
+ };
3129
3353
  type: string;
3130
3354
  };
3131
- metadata: {
3132
- properties: {
3133
- hasADateDimension: {
3134
- $ref: string;
3135
- };
3355
+ sources: {
3356
+ description: string;
3357
+ items: {
3358
+ $ref: string;
3136
3359
  };
3137
- required: string[];
3138
3360
  type: string;
3139
3361
  };
3140
- metricOverrides: {
3362
+ sourceType: {
3141
3363
  $ref: string;
3142
- description: string;
3143
3364
  };
3144
- metrics: {
3365
+ tableCalculations: {
3145
3366
  description: string;
3146
3367
  items: {
3147
- type: string;
3368
+ $ref: string;
3148
3369
  };
3149
3370
  type: string;
3150
3371
  };
3151
- pivotDimensions: {
3372
+ title: {
3373
+ description: string;
3374
+ type: string;
3375
+ };
3376
+ };
3377
+ required: string[];
3378
+ type: string;
3379
+ };
3380
+ "Pick_Metric.formatOptions_": {
3381
+ description: string;
3382
+ properties: {
3383
+ formatOptions: {
3384
+ $ref: string;
3385
+ };
3386
+ };
3387
+ type: string;
3388
+ };
3389
+ "Pick_MetricQuery.Exclude_keyofMetricQuery.filters__": {
3390
+ description: string;
3391
+ properties: {
3392
+ additionalMetrics: {
3393
+ description: string;
3394
+ items: {
3395
+ $ref: string;
3396
+ };
3397
+ type: string;
3398
+ };
3399
+ customDimensions: {
3400
+ description: string;
3401
+ items: {
3402
+ $ref: string;
3403
+ };
3404
+ type: string;
3405
+ };
3406
+ dimensionOverrides: {
3407
+ $ref: string;
3408
+ description: string;
3409
+ };
3410
+ dimensions: {
3411
+ description: string;
3412
+ items: {
3413
+ type: string;
3414
+ };
3415
+ type: string;
3416
+ };
3417
+ exploreName: {
3418
+ description: string;
3419
+ type: string;
3420
+ };
3421
+ limit: {
3422
+ description: string;
3423
+ format: string;
3424
+ type: string;
3425
+ };
3426
+ metadata: {
3427
+ properties: {
3428
+ hasADateDimension: {
3429
+ $ref: string;
3430
+ };
3431
+ };
3432
+ required: string[];
3433
+ type: string;
3434
+ };
3435
+ metricOverrides: {
3436
+ $ref: string;
3437
+ description: string;
3438
+ };
3439
+ metrics: {
3440
+ description: string;
3441
+ items: {
3442
+ type: string;
3443
+ };
3444
+ type: string;
3445
+ };
3446
+ pivotDimensions: {
3152
3447
  description: string;
3153
3448
  items: {
3154
3449
  type: string;
@@ -3177,6 +3472,50 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
3177
3472
  required: string[];
3178
3473
  type: string;
3179
3474
  };
3475
+ "Pick_PythonSourceQuery.Exclude_keyofPythonSourceQuery.pivotConfiguration__": {
3476
+ description: string;
3477
+ properties: {
3478
+ code: {
3479
+ type: string;
3480
+ };
3481
+ description: {
3482
+ description: string;
3483
+ type: string;
3484
+ };
3485
+ limit: {
3486
+ description: string;
3487
+ format: string;
3488
+ type: string;
3489
+ };
3490
+ nodeId: {
3491
+ description: string;
3492
+ type: string;
3493
+ };
3494
+ references: {
3495
+ anyOf: ({
3496
+ $ref?: undefined;
3497
+ items: {
3498
+ type: string;
3499
+ };
3500
+ type: string;
3501
+ } | {
3502
+ items?: undefined;
3503
+ type?: undefined;
3504
+ $ref: string;
3505
+ })[];
3506
+ description: string;
3507
+ };
3508
+ sourceType: {
3509
+ $ref: string;
3510
+ };
3511
+ title: {
3512
+ description: string;
3513
+ type: string;
3514
+ };
3515
+ };
3516
+ required: string[];
3517
+ type: string;
3518
+ };
3180
3519
  PieChart: {
3181
3520
  properties: {
3182
3521
  groupColorOverrides: {
@@ -3331,6 +3670,88 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
3331
3670
  required: string[];
3332
3671
  type: string;
3333
3672
  };
3673
+ PivotConfiguration: {
3674
+ properties: {
3675
+ foldOverflowGroups: {
3676
+ description: string;
3677
+ type: string;
3678
+ };
3679
+ groupByColumns: {
3680
+ items: {
3681
+ $ref: string;
3682
+ };
3683
+ type: string;
3684
+ };
3685
+ indexColumn: {
3686
+ anyOf: ({
3687
+ items?: undefined;
3688
+ type?: undefined;
3689
+ $ref: string;
3690
+ } | {
3691
+ $ref?: undefined;
3692
+ items: {
3693
+ $ref: string;
3694
+ };
3695
+ type: string;
3696
+ })[];
3697
+ };
3698
+ metricsAsRows: {
3699
+ description: string;
3700
+ type: string;
3701
+ };
3702
+ passthroughDimensions: {
3703
+ description: string;
3704
+ items: {
3705
+ $ref: string;
3706
+ };
3707
+ type: string;
3708
+ };
3709
+ pivotColumnsOrder: {
3710
+ description: string;
3711
+ items: {
3712
+ $ref: string;
3713
+ };
3714
+ type: string;
3715
+ };
3716
+ sortBy: {
3717
+ $ref: string;
3718
+ };
3719
+ sortOnlyColumns: {
3720
+ description: string;
3721
+ items: {
3722
+ $ref: string;
3723
+ };
3724
+ type: string;
3725
+ };
3726
+ sortOnlyDimensions: {
3727
+ description: string;
3728
+ items: {
3729
+ $ref: string;
3730
+ };
3731
+ type: string;
3732
+ };
3733
+ valuesColumns: {
3734
+ items: {
3735
+ $ref: string;
3736
+ };
3737
+ type: string;
3738
+ };
3739
+ };
3740
+ required: string[];
3741
+ type: string;
3742
+ };
3743
+ PivotIndexColum: {
3744
+ properties: {
3745
+ reference: {
3746
+ type: string;
3747
+ };
3748
+ type: {
3749
+ $ref: string;
3750
+ };
3751
+ };
3752
+ required: string[];
3753
+ type: string;
3754
+ };
3334
3755
  PivotReference: {
3335
3756
  properties: {
3336
3757
  field: {
@@ -3386,6 +3807,39 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
3386
3807
  required: string[];
3387
3808
  type: string;
3388
3809
  };
3810
+ QueryNodeId: {
3811
+ description: string;
3812
+ pattern: string;
3813
+ type: string;
3814
+ };
3815
+ "QuerySourceType.DUCKDB": {
3816
+ enum: string[];
3817
+ type: string;
3818
+ };
3819
+ "QuerySourceType.MERGE": {
3820
+ enum: string[];
3821
+ type: string;
3822
+ };
3823
+ "QuerySourceType.PYTHON": {
3824
+ enum: string[];
3825
+ type: string;
3826
+ };
3827
+ "QuerySourceType.SEMANTIC_LAYER": {
3828
+ enum: string[];
3829
+ type: string;
3830
+ };
3831
+ "QuerySourceType.SQL": {
3832
+ enum: string[];
3833
+ type: string;
3834
+ };
3835
+ "Record_QuerySourceTableName.QueryResultReference_": {
3836
+ additionalProperties: {
3837
+ type: string;
3838
+ };
3839
+ description: string;
3840
+ properties: {};
3841
+ type: string;
3842
+ };
3389
3843
  "Record_string.boolean_": {
3390
3844
  additionalProperties: {
3391
3845
  type: string;
@@ -3752,6 +4206,113 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
3752
4206
  })[];
3753
4207
  description: string;
3754
4208
  };
4209
+ SemanticLayerSourceQuery: {
4210
+ description: string;
4211
+ properties: {
4212
+ additionalMetrics: {
4213
+ description: string;
4214
+ items: {
4215
+ $ref: string;
4216
+ };
4217
+ type: string;
4218
+ };
4219
+ customDimensions: {
4220
+ description: string;
4221
+ items: {
4222
+ $ref: string;
4223
+ };
4224
+ type: string;
4225
+ };
4226
+ description: {
4227
+ description: string;
4228
+ type: string;
4229
+ };
4230
+ dimensionOverrides: {
4231
+ $ref: string;
4232
+ description: string;
4233
+ };
4234
+ dimensions: {
4235
+ description: string;
4236
+ items: {
4237
+ $ref: string;
4238
+ };
4239
+ type: string;
4240
+ };
4241
+ exploreName: {
4242
+ type: string;
4243
+ };
4244
+ filters: {
4245
+ description: string;
4246
+ properties: {
4247
+ dimensions: {
4248
+ $ref: string;
4249
+ };
4250
+ metrics: {
4251
+ $ref: string;
4252
+ };
4253
+ tableCalculations: {
4254
+ $ref: string;
4255
+ };
4256
+ };
4257
+ type: string;
4258
+ };
4259
+ limit: {
4260
+ description: string;
4261
+ format: string;
4262
+ type: string;
4263
+ };
4264
+ metricOverrides: {
4265
+ $ref: string;
4266
+ description: string;
4267
+ };
4268
+ metrics: {
4269
+ description: string;
4270
+ items: {
4271
+ $ref: string;
4272
+ };
4273
+ type: string;
4274
+ };
4275
+ nodeId: {
4276
+ $ref: string;
4277
+ description: string;
4278
+ };
4279
+ parameters: {
4280
+ $ref: string;
4281
+ description: string;
4282
+ };
4283
+ pivotConfiguration: {
4284
+ $ref: string;
4285
+ description: string;
4286
+ };
4287
+ sorts: {
4288
+ description: string;
4289
+ items: {
4290
+ $ref: string;
4291
+ };
4292
+ type: string;
4293
+ };
4294
+ sourceType: {
4295
+ $ref: string;
4296
+ };
4297
+ tableCalculations: {
4298
+ description: string;
4299
+ items: {
4300
+ $ref: string;
4301
+ };
4302
+ type: string;
4303
+ };
4304
+ timezone: {
4305
+ description: string;
4306
+ type: string;
4307
+ };
4308
+ title: {
4309
+ description: string;
4310
+ type: string;
4311
+ };
4312
+ };
4313
+ required: string[];
4314
+ type: string;
4315
+ };
3755
4316
  Series: {
3756
4317
  properties: {
3757
4318
  areaStyle: {
@@ -3881,6 +4442,12 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
3881
4442
  required: string[];
3882
4443
  type: string;
3883
4444
  };
4445
+ SortBy: {
4446
+ items: {
4447
+ $ref: string;
4448
+ };
4449
+ type: string;
4450
+ };
3884
4451
  SortByDirection: {
3885
4452
  enum: string[];
3886
4453
  type: string;
@@ -3935,35 +4502,68 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
3935
4502
  $ref: string;
3936
4503
  };
3937
4504
  description: {
3938
- type: string[];
3939
- };
3940
- downloadedAt: {
3941
- format: string;
4505
+ type: string[];
4506
+ };
4507
+ downloadedAt: {
4508
+ format: string;
4509
+ type: string;
4510
+ };
4511
+ limit: {
4512
+ format: string;
4513
+ type: string;
4514
+ };
4515
+ name: {
4516
+ type: string;
4517
+ };
4518
+ slug: {
4519
+ type: string;
4520
+ };
4521
+ spaceSlug: {
4522
+ type: string;
4523
+ };
4524
+ sql: {
4525
+ type: string;
4526
+ };
4527
+ updatedAt: {
4528
+ format: string;
4529
+ type: string;
4530
+ };
4531
+ version: {
4532
+ const: number;
4533
+ format: string;
4534
+ type: string;
4535
+ };
4536
+ };
4537
+ required: string[];
4538
+ type: string;
4539
+ };
4540
+ SqlSourceQuery: {
4541
+ description: string;
4542
+ properties: {
4543
+ description: {
4544
+ description: string;
3942
4545
  type: string;
3943
4546
  };
3944
4547
  limit: {
3945
4548
  format: string;
3946
4549
  type: string;
3947
4550
  };
3948
- name: {
3949
- type: string;
4551
+ nodeId: {
4552
+ $ref: string;
4553
+ description: string;
3950
4554
  };
3951
- slug: {
3952
- type: string;
4555
+ pivotConfiguration: {
4556
+ $ref: string;
4557
+ description: string;
3953
4558
  };
3954
- spaceSlug: {
3955
- type: string;
4559
+ sourceType: {
4560
+ $ref: string;
3956
4561
  };
3957
4562
  sql: {
3958
4563
  type: string;
3959
4564
  };
3960
- updatedAt: {
3961
- format: string;
3962
- type: string;
3963
- };
3964
- version: {
3965
- const: number;
3966
- format: string;
4565
+ title: {
4566
+ description: string;
3967
4567
  type: string;
3968
4568
  };
3969
4569
  };
@@ -3992,6 +4592,111 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
3992
4592
  enum: string[];
3993
4593
  type: string;
3994
4594
  };
4595
+ StoredNode_DuckdbSourceQuery_: {
4596
+ allOf: ({
4597
+ type?: undefined;
4598
+ required?: undefined;
4599
+ properties?: undefined;
4600
+ $ref: string;
4601
+ } | {
4602
+ $ref?: undefined;
4603
+ properties: {
4604
+ nodeId: {
4605
+ pattern: string;
4606
+ type: string;
4607
+ };
4608
+ title: {
4609
+ type: string;
4610
+ };
4611
+ };
4612
+ required: string[];
4613
+ type: string;
4614
+ })[];
4615
+ };
4616
+ "StoredNode_Omit_MergeSourceQuery.pivotConfiguration__": {
4617
+ allOf: ({
4618
+ type?: undefined;
4619
+ required?: undefined;
4620
+ properties?: undefined;
4621
+ $ref: string;
4622
+ } | {
4623
+ $ref?: undefined;
4624
+ properties: {
4625
+ nodeId: {
4626
+ pattern: string;
4627
+ type: string;
4628
+ };
4629
+ title: {
4630
+ type: string;
4631
+ };
4632
+ };
4633
+ required: string[];
4634
+ type: string;
4635
+ })[];
4636
+ };
4637
+ "StoredNode_Omit_PythonSourceQuery.pivotConfiguration__": {
4638
+ allOf: ({
4639
+ type?: undefined;
4640
+ required?: undefined;
4641
+ properties?: undefined;
4642
+ $ref: string;
4643
+ } | {
4644
+ $ref?: undefined;
4645
+ properties: {
4646
+ nodeId: {
4647
+ pattern: string;
4648
+ type: string;
4649
+ };
4650
+ title: {
4651
+ type: string;
4652
+ };
4653
+ };
4654
+ required: string[];
4655
+ type: string;
4656
+ })[];
4657
+ };
4658
+ StoredNode_SemanticLayerSourceQuery_: {
4659
+ allOf: ({
4660
+ type?: undefined;
4661
+ required?: undefined;
4662
+ properties?: undefined;
4663
+ $ref: string;
4664
+ } | {
4665
+ $ref?: undefined;
4666
+ properties: {
4667
+ nodeId: {
4668
+ pattern: string;
4669
+ type: string;
4670
+ };
4671
+ title: {
4672
+ type: string;
4673
+ };
4674
+ };
4675
+ required: string[];
4676
+ type: string;
4677
+ })[];
4678
+ };
4679
+ StoredNode_SqlSourceQuery_: {
4680
+ allOf: ({
4681
+ type?: undefined;
4682
+ required?: undefined;
4683
+ properties?: undefined;
4684
+ $ref: string;
4685
+ } | {
4686
+ $ref?: undefined;
4687
+ properties: {
4688
+ nodeId: {
4689
+ pattern: string;
4690
+ type: string;
4691
+ };
4692
+ title: {
4693
+ type: string;
4694
+ };
4695
+ };
4696
+ required: string[];
4697
+ type: string;
4698
+ })[];
4699
+ };
3995
4700
  TableCalculation: {
3996
4701
  anyOf: {
3997
4702
  $ref: string;
@@ -4390,6 +5095,18 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
4390
5095
  enum: string[];
4391
5096
  type: string;
4392
5097
  };
5098
+ ValuesColumn: {
5099
+ properties: {
5100
+ aggregation: {
5101
+ $ref: string;
5102
+ };
5103
+ reference: {
5104
+ type: string;
5105
+ };
5106
+ };
5107
+ required: string[];
5108
+ type: string;
5109
+ };
4393
5110
  VizAggregationOptions: {
4394
5111
  enum: string[];
4395
5112
  type: string;
@@ -5629,6 +6346,109 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
5629
6346
  enum: string[];
5630
6347
  type: string;
5631
6348
  };
6349
+ ComposerChartAsCode: {
6350
+ additionalProperties: boolean;
6351
+ description: string;
6352
+ properties: {
6353
+ chart: {
6354
+ $ref: string;
6355
+ };
6356
+ contentType: {
6357
+ $ref: string;
6358
+ };
6359
+ dashboardSlug: {
6360
+ description: string;
6361
+ type: string;
6362
+ };
6363
+ description: {
6364
+ type: string[];
6365
+ };
6366
+ downloadedAt: {
6367
+ format: string;
6368
+ type: string;
6369
+ };
6370
+ name: {
6371
+ type: string;
6372
+ };
6373
+ pipeline: {
6374
+ $ref: string;
6375
+ };
6376
+ slug: {
6377
+ type: string;
6378
+ };
6379
+ spaceSlug: {
6380
+ description: string;
6381
+ type: string;
6382
+ };
6383
+ updatedAt: {
6384
+ format: string;
6385
+ type: string;
6386
+ };
6387
+ version: {
6388
+ format: string;
6389
+ type: string;
6390
+ };
6391
+ };
6392
+ required: string[];
6393
+ type: string;
6394
+ };
6395
+ ComposerChartColumn: {
6396
+ properties: {
6397
+ fieldType: {
6398
+ anyOf: {
6399
+ $ref: string;
6400
+ }[];
6401
+ };
6402
+ reference: {
6403
+ type: string;
6404
+ };
6405
+ };
6406
+ required: string[];
6407
+ type: string;
6408
+ };
6409
+ ComposerChartPipeline: {
6410
+ properties: {
6411
+ nodes: {
6412
+ items: {
6413
+ $ref: string;
6414
+ };
6415
+ type: string;
6416
+ };
6417
+ schemaVersion: {
6418
+ enum: number[];
6419
+ type: string;
6420
+ };
6421
+ terminalNodeId: {
6422
+ type: string;
6423
+ };
6424
+ };
6425
+ required: string[];
6426
+ type: string;
6427
+ };
6428
+ ComposerChartPipelineNode: {
6429
+ anyOf: {
6430
+ $ref: string;
6431
+ }[];
6432
+ description: string;
6433
+ };
6434
+ ComposerStoredChartAsCode: {
6435
+ allOf: ({
6436
+ type?: undefined;
6437
+ required?: undefined;
6438
+ properties?: undefined;
6439
+ $ref: string;
6440
+ } | {
6441
+ $ref?: undefined;
6442
+ properties: {
6443
+ chartConfig: {
6444
+ $ref: string;
6445
+ };
6446
+ };
6447
+ required: string[];
6448
+ type: string;
6449
+ })[];
6450
+ description: string;
6451
+ };
5632
6452
  ConditionalFormattingColorApplyTo: {
5633
6453
  enum: string[];
5634
6454
  type: string;
@@ -5961,6 +6781,10 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
5961
6781
  enum: string[];
5962
6782
  type: string;
5963
6783
  };
6784
+ "ContentAsCodeType.COMPOSER_CHART": {
6785
+ enum: string[];
6786
+ type: string;
6787
+ };
5964
6788
  "ContentAsCodeType.SQL_CHART": {
5965
6789
  enum: string[];
5966
6790
  type: string;
@@ -6288,6 +7112,53 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6288
7112
  enum: string[];
6289
7113
  type: string;
6290
7114
  };
7115
+ DuckdbSourceQuery: {
7116
+ description: string;
7117
+ properties: {
7118
+ description: {
7119
+ description: string;
7120
+ type: string;
7121
+ };
7122
+ limit: {
7123
+ format: string;
7124
+ type: string;
7125
+ };
7126
+ nodeId: {
7127
+ $ref: string;
7128
+ description: string;
7129
+ };
7130
+ pivotConfiguration: {
7131
+ $ref: string;
7132
+ description: string;
7133
+ };
7134
+ references: {
7135
+ anyOf: ({
7136
+ $ref?: undefined;
7137
+ items: {
7138
+ $ref: string;
7139
+ };
7140
+ type: string;
7141
+ } | {
7142
+ items?: undefined;
7143
+ type?: undefined;
7144
+ $ref: string;
7145
+ })[];
7146
+ description: string;
7147
+ };
7148
+ sourceType: {
7149
+ $ref: string;
7150
+ };
7151
+ sql: {
7152
+ type: string;
7153
+ };
7154
+ title: {
7155
+ description: string;
7156
+ type: string;
7157
+ };
7158
+ };
7159
+ required: string[];
7160
+ type: string;
7161
+ };
6291
7162
  EChartsConfig: {
6292
7163
  $ref: string;
6293
7164
  };
@@ -6398,6 +7269,14 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6398
7269
  required: string[];
6399
7270
  type: string;
6400
7271
  };
7272
+ "FieldType.DIMENSION": {
7273
+ enum: string[];
7274
+ type: string;
7275
+ };
7276
+ "FieldType.METRIC": {
7277
+ enum: string[];
7278
+ type: string;
7279
+ };
6401
7280
  FilterGroup: {
6402
7281
  anyOf: {
6403
7282
  $ref: string;
@@ -6835,6 +7714,15 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6835
7714
  required: string[];
6836
7715
  type: string;
6837
7716
  };
7717
+ GroupByColumn: {
7718
+ properties: {
7719
+ reference: {
7720
+ type: string;
7721
+ };
7722
+ };
7723
+ required: string[];
7724
+ type: string;
7725
+ };
6838
7726
  GroupValueMatchType: {
6839
7727
  enum: string[];
6840
7728
  type: string;
@@ -7202,6 +8090,20 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
7202
8090
  enum: string[];
7203
8091
  type: string;
7204
8092
  };
8093
+ MergeSourceQueryInput: {
8094
+ description: string;
8095
+ properties: {
8096
+ nodeId: {
8097
+ $ref: string;
8098
+ };
8099
+ repeatValues: {
8100
+ description: string;
8101
+ type: string;
8102
+ };
8103
+ };
8104
+ required: string[];
8105
+ type: string;
8106
+ };
7205
8107
  MergeTableCalculation: {
7206
8108
  description: string;
7207
8109
  properties: {
@@ -7385,6 +8287,10 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
7385
8287
  enum: string[];
7386
8288
  type: string;
7387
8289
  };
8290
+ "Omit_ComposerStoredChart.chartConfig_": {
8291
+ $ref: string;
8292
+ description: string;
8293
+ };
7388
8294
  "Omit_DataAppVizChart.dataAppVizUuid-or-dataAppVizVersion_": {
7389
8295
  $ref: string;
7390
8296
  description: string;
@@ -7393,10 +8299,18 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
7393
8299
  $ref: string;
7394
8300
  description: string;
7395
8301
  };
8302
+ "Omit_MergeSourceQuery.pivotConfiguration_": {
8303
+ $ref: string;
8304
+ description: string;
8305
+ };
7396
8306
  "Omit_MetricQuery.filters_": {
7397
8307
  $ref: string;
7398
8308
  description: string;
7399
8309
  };
8310
+ "Omit_PythonSourceQuery.pivotConfiguration_": {
8311
+ $ref: string;
8312
+ description: string;
8313
+ };
7400
8314
  OrFilterGroup: {
7401
8315
  properties: {
7402
8316
  id: {
@@ -7621,6 +8535,47 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
7621
8535
  properties: {};
7622
8536
  type: string;
7623
8537
  };
8538
+ "Pick_ComposerStoredChart.Exclude_keyofComposerStoredChart.chartConfig__": {
8539
+ description: string;
8540
+ properties: {
8541
+ columns: {
8542
+ items: {
8543
+ $ref: string;
8544
+ };
8545
+ type: string;
8546
+ };
8547
+ pivotConfig: {
8548
+ properties: {
8549
+ columns: {
8550
+ items: {
8551
+ type: string;
8552
+ };
8553
+ type: string;
8554
+ };
8555
+ };
8556
+ required: string[];
8557
+ type: string[];
8558
+ };
8559
+ schemaVersion: {
8560
+ enum: number[];
8561
+ type: string;
8562
+ };
8563
+ tableConfig: {
8564
+ properties: {
8565
+ columnOrder: {
8566
+ items: {
8567
+ type: string;
8568
+ };
8569
+ type: string;
8570
+ };
8571
+ };
8572
+ required: string[];
8573
+ type: string;
8574
+ };
8575
+ };
8576
+ required: string[];
8577
+ type: string;
8578
+ };
7624
8579
  "Pick_DataAppVizChart.Exclude_keyofDataAppVizChart.dataAppVizUuid-or-dataAppVizVersion__": {
7625
8580
  description: string;
7626
8581
  properties: {
@@ -7683,6 +8638,63 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
7683
8638
  required: string[];
7684
8639
  type: string;
7685
8640
  };
8641
+ "Pick_MergeSourceQuery.Exclude_keyofMergeSourceQuery.pivotConfiguration__": {
8642
+ description: string;
8643
+ properties: {
8644
+ description: {
8645
+ description: string;
8646
+ type: string;
8647
+ };
8648
+ joinKey: {
8649
+ description: string;
8650
+ items: {
8651
+ $ref: string;
8652
+ };
8653
+ type: string;
8654
+ };
8655
+ joinType: {
8656
+ $ref: string;
8657
+ };
8658
+ limit: {
8659
+ format: string;
8660
+ type: string;
8661
+ };
8662
+ nodeId: {
8663
+ description: string;
8664
+ type: string;
8665
+ };
8666
+ sorts: {
8667
+ description: string;
8668
+ items: {
8669
+ $ref: string;
8670
+ };
8671
+ type: string;
8672
+ };
8673
+ sources: {
8674
+ description: string;
8675
+ items: {
8676
+ $ref: string;
8677
+ };
8678
+ type: string;
8679
+ };
8680
+ sourceType: {
8681
+ $ref: string;
8682
+ };
8683
+ tableCalculations: {
8684
+ description: string;
8685
+ items: {
8686
+ $ref: string;
8687
+ };
8688
+ type: string;
8689
+ };
8690
+ title: {
8691
+ description: string;
8692
+ type: string;
8693
+ };
8694
+ };
8695
+ required: string[];
8696
+ type: string;
8697
+ };
7686
8698
  "Pick_Metric.formatOptions_": {
7687
8699
  description: string;
7688
8700
  properties: {
@@ -7778,6 +8790,50 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
7778
8790
  required: string[];
7779
8791
  type: string;
7780
8792
  };
8793
+ "Pick_PythonSourceQuery.Exclude_keyofPythonSourceQuery.pivotConfiguration__": {
8794
+ description: string;
8795
+ properties: {
8796
+ code: {
8797
+ type: string;
8798
+ };
8799
+ description: {
8800
+ description: string;
8801
+ type: string;
8802
+ };
8803
+ limit: {
8804
+ description: string;
8805
+ format: string;
8806
+ type: string;
8807
+ };
8808
+ nodeId: {
8809
+ description: string;
8810
+ type: string;
8811
+ };
8812
+ references: {
8813
+ anyOf: ({
8814
+ $ref?: undefined;
8815
+ items: {
8816
+ type: string;
8817
+ };
8818
+ type: string;
8819
+ } | {
8820
+ items?: undefined;
8821
+ type?: undefined;
8822
+ $ref: string;
8823
+ })[];
8824
+ description: string;
8825
+ };
8826
+ sourceType: {
8827
+ $ref: string;
8828
+ };
8829
+ title: {
8830
+ description: string;
8831
+ type: string;
8832
+ };
8833
+ };
8834
+ required: string[];
8835
+ type: string;
8836
+ };
7781
8837
  PieChart: {
7782
8838
  properties: {
7783
8839
  groupColorOverrides: {
@@ -7932,6 +8988,88 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
7932
8988
  required: string[];
7933
8989
  type: string;
7934
8990
  };
8991
+ PivotConfiguration: {
8992
+ properties: {
8993
+ foldOverflowGroups: {
8994
+ description: string;
8995
+ type: string;
8996
+ };
8997
+ groupByColumns: {
8998
+ items: {
8999
+ $ref: string;
9000
+ };
9001
+ type: string;
9002
+ };
9003
+ indexColumn: {
9004
+ anyOf: ({
9005
+ items?: undefined;
9006
+ type?: undefined;
9007
+ $ref: string;
9008
+ } | {
9009
+ $ref?: undefined;
9010
+ items: {
9011
+ $ref: string;
9012
+ };
9013
+ type: string;
9014
+ })[];
9015
+ };
9016
+ metricsAsRows: {
9017
+ description: string;
9018
+ type: string;
9019
+ };
9020
+ passthroughDimensions: {
9021
+ description: string;
9022
+ items: {
9023
+ $ref: string;
9024
+ };
9025
+ type: string;
9026
+ };
9027
+ pivotColumnsOrder: {
9028
+ description: string;
9029
+ items: {
9030
+ $ref: string;
9031
+ };
9032
+ type: string;
9033
+ };
9034
+ sortBy: {
9035
+ $ref: string;
9036
+ };
9037
+ sortOnlyColumns: {
9038
+ description: string;
9039
+ items: {
9040
+ $ref: string;
9041
+ };
9042
+ type: string;
9043
+ };
9044
+ sortOnlyDimensions: {
9045
+ description: string;
9046
+ items: {
9047
+ $ref: string;
9048
+ };
9049
+ type: string;
9050
+ };
9051
+ valuesColumns: {
9052
+ items: {
9053
+ $ref: string;
9054
+ };
9055
+ type: string;
9056
+ };
9057
+ };
9058
+ required: string[];
9059
+ type: string;
9060
+ };
9061
+ PivotIndexColum: {
9062
+ properties: {
9063
+ reference: {
9064
+ type: string;
9065
+ };
9066
+ type: {
9067
+ $ref: string;
9068
+ };
9069
+ };
9070
+ required: string[];
9071
+ type: string;
9072
+ };
7935
9073
  PivotReference: {
7936
9074
  properties: {
7937
9075
  field: {
@@ -7974,17 +9112,50 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
7974
9112
  required: string[];
7975
9113
  type: string;
7976
9114
  };
7977
- PivotValue: {
7978
- properties: {
7979
- field: {
7980
- description: string;
7981
- type: string;
7982
- };
7983
- value: {
7984
- description: string;
7985
- };
9115
+ PivotValue: {
9116
+ properties: {
9117
+ field: {
9118
+ description: string;
9119
+ type: string;
9120
+ };
9121
+ value: {
9122
+ description: string;
9123
+ };
9124
+ };
9125
+ required: string[];
9126
+ type: string;
9127
+ };
9128
+ QueryNodeId: {
9129
+ description: string;
9130
+ pattern: string;
9131
+ type: string;
9132
+ };
9133
+ "QuerySourceType.DUCKDB": {
9134
+ enum: string[];
9135
+ type: string;
9136
+ };
9137
+ "QuerySourceType.MERGE": {
9138
+ enum: string[];
9139
+ type: string;
9140
+ };
9141
+ "QuerySourceType.PYTHON": {
9142
+ enum: string[];
9143
+ type: string;
9144
+ };
9145
+ "QuerySourceType.SEMANTIC_LAYER": {
9146
+ enum: string[];
9147
+ type: string;
9148
+ };
9149
+ "QuerySourceType.SQL": {
9150
+ enum: string[];
9151
+ type: string;
9152
+ };
9153
+ "Record_QuerySourceTableName.QueryResultReference_": {
9154
+ additionalProperties: {
9155
+ type: string;
7986
9156
  };
7987
- required: string[];
9157
+ description: string;
9158
+ properties: {};
7988
9159
  type: string;
7989
9160
  };
7990
9161
  "Record_string.boolean_": {
@@ -8353,6 +9524,113 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
8353
9524
  })[];
8354
9525
  description: string;
8355
9526
  };
9527
+ SemanticLayerSourceQuery: {
9528
+ description: string;
9529
+ properties: {
9530
+ additionalMetrics: {
9531
+ description: string;
9532
+ items: {
9533
+ $ref: string;
9534
+ };
9535
+ type: string;
9536
+ };
9537
+ customDimensions: {
9538
+ description: string;
9539
+ items: {
9540
+ $ref: string;
9541
+ };
9542
+ type: string;
9543
+ };
9544
+ description: {
9545
+ description: string;
9546
+ type: string;
9547
+ };
9548
+ dimensionOverrides: {
9549
+ $ref: string;
9550
+ description: string;
9551
+ };
9552
+ dimensions: {
9553
+ description: string;
9554
+ items: {
9555
+ $ref: string;
9556
+ };
9557
+ type: string;
9558
+ };
9559
+ exploreName: {
9560
+ type: string;
9561
+ };
9562
+ filters: {
9563
+ description: string;
9564
+ properties: {
9565
+ dimensions: {
9566
+ $ref: string;
9567
+ };
9568
+ metrics: {
9569
+ $ref: string;
9570
+ };
9571
+ tableCalculations: {
9572
+ $ref: string;
9573
+ };
9574
+ };
9575
+ type: string;
9576
+ };
9577
+ limit: {
9578
+ description: string;
9579
+ format: string;
9580
+ type: string;
9581
+ };
9582
+ metricOverrides: {
9583
+ $ref: string;
9584
+ description: string;
9585
+ };
9586
+ metrics: {
9587
+ description: string;
9588
+ items: {
9589
+ $ref: string;
9590
+ };
9591
+ type: string;
9592
+ };
9593
+ nodeId: {
9594
+ $ref: string;
9595
+ description: string;
9596
+ };
9597
+ parameters: {
9598
+ $ref: string;
9599
+ description: string;
9600
+ };
9601
+ pivotConfiguration: {
9602
+ $ref: string;
9603
+ description: string;
9604
+ };
9605
+ sorts: {
9606
+ description: string;
9607
+ items: {
9608
+ $ref: string;
9609
+ };
9610
+ type: string;
9611
+ };
9612
+ sourceType: {
9613
+ $ref: string;
9614
+ };
9615
+ tableCalculations: {
9616
+ description: string;
9617
+ items: {
9618
+ $ref: string;
9619
+ };
9620
+ type: string;
9621
+ };
9622
+ timezone: {
9623
+ description: string;
9624
+ type: string;
9625
+ };
9626
+ title: {
9627
+ description: string;
9628
+ type: string;
9629
+ };
9630
+ };
9631
+ required: string[];
9632
+ type: string;
9633
+ };
8356
9634
  Series: {
8357
9635
  properties: {
8358
9636
  areaStyle: {
@@ -8482,6 +9760,12 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
8482
9760
  required: string[];
8483
9761
  type: string;
8484
9762
  };
9763
+ SortBy: {
9764
+ items: {
9765
+ $ref: string;
9766
+ };
9767
+ type: string;
9768
+ };
8485
9769
  SortByDirection: {
8486
9770
  enum: string[];
8487
9771
  type: string;
@@ -8571,6 +9855,39 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
8571
9855
  required: string[];
8572
9856
  type: string;
8573
9857
  };
9858
+ SqlSourceQuery: {
9859
+ description: string;
9860
+ properties: {
9861
+ description: {
9862
+ description: string;
9863
+ type: string;
9864
+ };
9865
+ limit: {
9866
+ format: string;
9867
+ type: string;
9868
+ };
9869
+ nodeId: {
9870
+ $ref: string;
9871
+ description: string;
9872
+ };
9873
+ pivotConfiguration: {
9874
+ $ref: string;
9875
+ description: string;
9876
+ };
9877
+ sourceType: {
9878
+ $ref: string;
9879
+ };
9880
+ sql: {
9881
+ type: string;
9882
+ };
9883
+ title: {
9884
+ description: string;
9885
+ type: string;
9886
+ };
9887
+ };
9888
+ required: string[];
9889
+ type: string;
9890
+ };
8574
9891
  SqlTableCalculation: {
8575
9892
  allOf: ({
8576
9893
  type?: undefined;
@@ -8593,6 +9910,111 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
8593
9910
  enum: string[];
8594
9911
  type: string;
8595
9912
  };
9913
+ StoredNode_DuckdbSourceQuery_: {
9914
+ allOf: ({
9915
+ type?: undefined;
9916
+ required?: undefined;
9917
+ properties?: undefined;
9918
+ $ref: string;
9919
+ } | {
9920
+ $ref?: undefined;
9921
+ properties: {
9922
+ nodeId: {
9923
+ pattern: string;
9924
+ type: string;
9925
+ };
9926
+ title: {
9927
+ type: string;
9928
+ };
9929
+ };
9930
+ required: string[];
9931
+ type: string;
9932
+ })[];
9933
+ };
9934
+ "StoredNode_Omit_MergeSourceQuery.pivotConfiguration__": {
9935
+ allOf: ({
9936
+ type?: undefined;
9937
+ required?: undefined;
9938
+ properties?: undefined;
9939
+ $ref: string;
9940
+ } | {
9941
+ $ref?: undefined;
9942
+ properties: {
9943
+ nodeId: {
9944
+ pattern: string;
9945
+ type: string;
9946
+ };
9947
+ title: {
9948
+ type: string;
9949
+ };
9950
+ };
9951
+ required: string[];
9952
+ type: string;
9953
+ })[];
9954
+ };
9955
+ "StoredNode_Omit_PythonSourceQuery.pivotConfiguration__": {
9956
+ allOf: ({
9957
+ type?: undefined;
9958
+ required?: undefined;
9959
+ properties?: undefined;
9960
+ $ref: string;
9961
+ } | {
9962
+ $ref?: undefined;
9963
+ properties: {
9964
+ nodeId: {
9965
+ pattern: string;
9966
+ type: string;
9967
+ };
9968
+ title: {
9969
+ type: string;
9970
+ };
9971
+ };
9972
+ required: string[];
9973
+ type: string;
9974
+ })[];
9975
+ };
9976
+ StoredNode_SemanticLayerSourceQuery_: {
9977
+ allOf: ({
9978
+ type?: undefined;
9979
+ required?: undefined;
9980
+ properties?: undefined;
9981
+ $ref: string;
9982
+ } | {
9983
+ $ref?: undefined;
9984
+ properties: {
9985
+ nodeId: {
9986
+ pattern: string;
9987
+ type: string;
9988
+ };
9989
+ title: {
9990
+ type: string;
9991
+ };
9992
+ };
9993
+ required: string[];
9994
+ type: string;
9995
+ })[];
9996
+ };
9997
+ StoredNode_SqlSourceQuery_: {
9998
+ allOf: ({
9999
+ type?: undefined;
10000
+ required?: undefined;
10001
+ properties?: undefined;
10002
+ $ref: string;
10003
+ } | {
10004
+ $ref?: undefined;
10005
+ properties: {
10006
+ nodeId: {
10007
+ pattern: string;
10008
+ type: string;
10009
+ };
10010
+ title: {
10011
+ type: string;
10012
+ };
10013
+ };
10014
+ required: string[];
10015
+ type: string;
10016
+ })[];
10017
+ };
8596
10018
  TableCalculation: {
8597
10019
  anyOf: {
8598
10020
  $ref: string;
@@ -8991,6 +10413,18 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
8991
10413
  enum: string[];
8992
10414
  type: string;
8993
10415
  };
10416
+ ValuesColumn: {
10417
+ properties: {
10418
+ aggregation: {
10419
+ $ref: string;
10420
+ };
10421
+ reference: {
10422
+ type: string;
10423
+ };
10424
+ };
10425
+ required: string[];
10426
+ type: string;
10427
+ };
8994
10428
  VizAggregationOptions: {
8995
10429
  enum: string[];
8996
10430
  type: string;