@lightdash/common 0.2376.0 → 0.2377.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 (73) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +18 -18
  3. package/dist/cjs/ee/AiAgent/index.d.ts +4 -4
  4. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +72 -72
  5. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +186 -186
  6. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +12 -12
  7. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +10 -10
  8. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +82 -82
  9. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +10 -10
  10. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +10 -10
  11. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +10 -10
  12. package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  13. package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  14. package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +2 -2
  15. package/dist/cjs/ee/AiAgent/utils.d.ts +18 -18
  16. package/dist/cjs/types/changeset.d.ts +10 -10
  17. package/dist/cjs/types/dashboard.d.ts +9 -0
  18. package/dist/cjs/types/dashboard.d.ts.map +1 -1
  19. package/dist/cjs/types/dashboard.js.map +1 -1
  20. package/dist/cjs/types/resourceViewItem.d.ts +1 -1
  21. package/dist/cjs/types/savedCharts.d.ts +9 -0
  22. package/dist/cjs/types/savedCharts.d.ts.map +1 -1
  23. package/dist/cjs/types/savedCharts.js.map +1 -1
  24. package/dist/cjs/utils/i18n/dashboardAsCode.d.ts +10 -10
  25. package/dist/esm/.tsbuildinfo +1 -1
  26. package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +18 -18
  27. package/dist/esm/ee/AiAgent/index.d.ts +4 -4
  28. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +72 -72
  29. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +186 -186
  30. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +12 -12
  31. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +10 -10
  32. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +82 -82
  33. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +10 -10
  34. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +10 -10
  35. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +10 -10
  36. package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  37. package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  38. package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +2 -2
  39. package/dist/esm/ee/AiAgent/utils.d.ts +18 -18
  40. package/dist/esm/types/changeset.d.ts +10 -10
  41. package/dist/esm/types/dashboard.d.ts +9 -0
  42. package/dist/esm/types/dashboard.d.ts.map +1 -1
  43. package/dist/esm/types/dashboard.js.map +1 -1
  44. package/dist/esm/types/resourceViewItem.d.ts +1 -1
  45. package/dist/esm/types/savedCharts.d.ts +9 -0
  46. package/dist/esm/types/savedCharts.d.ts.map +1 -1
  47. package/dist/esm/types/savedCharts.js.map +1 -1
  48. package/dist/esm/utils/i18n/dashboardAsCode.d.ts +10 -10
  49. package/dist/types/.tsbuildinfo +1 -1
  50. package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +18 -18
  51. package/dist/types/ee/AiAgent/index.d.ts +4 -4
  52. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +72 -72
  53. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +186 -186
  54. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +12 -12
  55. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +10 -10
  56. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +82 -82
  57. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +10 -10
  58. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +10 -10
  59. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +10 -10
  60. package/dist/types/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  61. package/dist/types/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  62. package/dist/types/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +2 -2
  63. package/dist/types/ee/AiAgent/utils.d.ts +18 -18
  64. package/dist/types/types/changeset.d.ts +10 -10
  65. package/dist/types/types/dashboard.d.ts +9 -0
  66. package/dist/types/types/dashboard.d.ts.map +1 -1
  67. package/dist/types/types/dashboard.js.map +1 -1
  68. package/dist/types/types/resourceViewItem.d.ts +1 -1
  69. package/dist/types/types/savedCharts.d.ts +9 -0
  70. package/dist/types/types/savedCharts.d.ts.map +1 -1
  71. package/dist/types/types/savedCharts.js.map +1 -1
  72. package/dist/types/utils/i18n/dashboardAsCode.d.ts +10 -10
  73. package/package.json +1 -1
@@ -285,23 +285,23 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
285
285
  }, "strip", z.ZodTypeAny, {
286
286
  dimensions: string[];
287
287
  metrics: string[];
288
- limit: number | null;
289
288
  exploreName: string;
290
289
  sorts: {
291
290
  fieldId: string;
292
291
  descending: boolean;
293
292
  nullsFirst: boolean | null;
294
293
  }[];
294
+ limit: number | null;
295
295
  }, {
296
296
  dimensions: string[];
297
297
  metrics: string[];
298
- limit: number | null;
299
298
  exploreName: string;
300
299
  sorts: {
301
300
  fieldId: string;
302
301
  descending: boolean;
303
302
  nullsFirst: boolean | null;
304
303
  }[];
304
+ limit: number | null;
305
305
  }>;
306
306
  filters: z.ZodNullable<z.ZodObject<{
307
307
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
@@ -1650,13 +1650,13 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
1650
1650
  vizConfig: {
1651
1651
  dimensions: string[];
1652
1652
  metrics: string[];
1653
- limit: number | null;
1654
1653
  exploreName: string;
1655
1654
  sorts: {
1656
1655
  fieldId: string;
1657
1656
  descending: boolean;
1658
1657
  nullsFirst: boolean | null;
1659
1658
  }[];
1659
+ limit: number | null;
1660
1660
  };
1661
1661
  followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
1662
1662
  }, {
@@ -1935,13 +1935,13 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
1935
1935
  vizConfig: {
1936
1936
  dimensions: string[];
1937
1937
  metrics: string[];
1938
- limit: number | null;
1939
1938
  exploreName: string;
1940
1939
  sorts: {
1941
1940
  fieldId: string;
1942
1941
  descending: boolean;
1943
1942
  nullsFirst: boolean | null;
1944
1943
  }[];
1944
+ limit: number | null;
1945
1945
  };
1946
1946
  followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
1947
1947
  }>;
@@ -1968,23 +1968,23 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
1968
1968
  }, "strip", z.ZodTypeAny, {
1969
1969
  dimensions: string[];
1970
1970
  metrics: string[];
1971
- limit: number | null;
1972
1971
  exploreName: string;
1973
1972
  sorts: {
1974
1973
  fieldId: string;
1975
1974
  descending: boolean;
1976
1975
  nullsFirst: boolean | null;
1977
1976
  }[];
1977
+ limit: number | null;
1978
1978
  }, {
1979
1979
  dimensions: string[];
1980
1980
  metrics: string[];
1981
- limit: number | null;
1982
1981
  exploreName: string;
1983
1982
  sorts: {
1984
1983
  fieldId: string;
1985
1984
  descending: boolean;
1986
1985
  nullsFirst: boolean | null;
1987
1986
  }[];
1987
+ limit: number | null;
1988
1988
  }>;
1989
1989
  title: z.ZodString;
1990
1990
  description: z.ZodString;
@@ -5131,13 +5131,13 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
5131
5131
  vizConfig: {
5132
5132
  dimensions: string[];
5133
5133
  metrics: string[];
5134
- limit: number | null;
5135
5134
  exploreName: string;
5136
5135
  sorts: {
5137
5136
  fieldId: string;
5138
5137
  descending: boolean;
5139
5138
  nullsFirst: boolean | null;
5140
5139
  }[];
5140
+ limit: number | null;
5141
5141
  };
5142
5142
  followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
5143
5143
  }, {
@@ -5596,13 +5596,13 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
5596
5596
  vizConfig: {
5597
5597
  dimensions: string[];
5598
5598
  metrics: string[];
5599
- limit: number | null;
5600
5599
  exploreName: string;
5601
5600
  sorts: {
5602
5601
  fieldId: string;
5603
5602
  descending: boolean;
5604
5603
  nullsFirst: boolean | null;
5605
5604
  }[];
5605
+ limit: number | null;
5606
5606
  };
5607
5607
  followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
5608
5608
  tableCalculations?: ({
@@ -5743,13 +5743,13 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
5743
5743
  vizConfig: {
5744
5744
  dimensions: string[];
5745
5745
  metrics: string[];
5746
- limit: number | null;
5747
5746
  exploreName: string;
5748
5747
  sorts: {
5749
5748
  fieldId: string;
5750
5749
  descending: boolean;
5751
5750
  nullsFirst: boolean | null;
5752
5751
  }[];
5752
+ limit: number | null;
5753
5753
  };
5754
5754
  }, {
5755
5755
  description: string;
@@ -6207,13 +6207,13 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
6207
6207
  vizConfig: {
6208
6208
  dimensions: string[];
6209
6209
  metrics: string[];
6210
- limit: number | null;
6211
6210
  exploreName: string;
6212
6211
  sorts: {
6213
6212
  fieldId: string;
6214
6213
  descending: boolean;
6215
6214
  nullsFirst: boolean | null;
6216
6215
  }[];
6216
+ limit: number | null;
6217
6217
  };
6218
6218
  followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
6219
6219
  tableCalculations?: ({
@@ -287,13 +287,13 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
287
287
  xAxisLabel: z.ZodNullable<z.ZodString>;
288
288
  yAxisLabel: z.ZodNullable<z.ZodString>;
289
289
  }, "strip", z.ZodTypeAny, {
290
- limit: number | null;
291
290
  exploreName: string;
292
291
  sorts: {
293
292
  fieldId: string;
294
293
  descending: boolean;
295
294
  nullsFirst: boolean | null;
296
295
  }[];
296
+ limit: number | null;
297
297
  xDimension: string;
298
298
  yMetrics: string[];
299
299
  breakdownByDimension: string | null;
@@ -301,13 +301,13 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
301
301
  yAxisLabel: string | null;
302
302
  lineType: "line" | "area";
303
303
  }, {
304
- limit: number | null;
305
304
  exploreName: string;
306
305
  sorts: {
307
306
  fieldId: string;
308
307
  descending: boolean;
309
308
  nullsFirst: boolean | null;
310
309
  }[];
310
+ limit: number | null;
311
311
  xDimension: string;
312
312
  yMetrics: string[];
313
313
  breakdownByDimension: string | null;
@@ -1660,13 +1660,13 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
1660
1660
  description: string;
1661
1661
  }[] | null;
1662
1662
  vizConfig: {
1663
- limit: number | null;
1664
1663
  exploreName: string;
1665
1664
  sorts: {
1666
1665
  fieldId: string;
1667
1666
  descending: boolean;
1668
1667
  nullsFirst: boolean | null;
1669
1668
  }[];
1669
+ limit: number | null;
1670
1670
  xDimension: string;
1671
1671
  yMetrics: string[];
1672
1672
  breakdownByDimension: string | null;
@@ -1949,13 +1949,13 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
1949
1949
  baseDimensionName: string;
1950
1950
  }[] | null;
1951
1951
  vizConfig: {
1952
- limit: number | null;
1953
1952
  exploreName: string;
1954
1953
  sorts: {
1955
1954
  fieldId: string;
1956
1955
  descending: boolean;
1957
1956
  nullsFirst: boolean | null;
1958
1957
  }[];
1958
+ limit: number | null;
1959
1959
  xDimension: string;
1960
1960
  yMetrics: string[];
1961
1961
  breakdownByDimension: string | null;
@@ -1994,13 +1994,13 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
1994
1994
  xAxisLabel: z.ZodDefault<z.ZodString>;
1995
1995
  yAxisLabel: z.ZodDefault<z.ZodString>;
1996
1996
  }, "strip", z.ZodTypeAny, {
1997
- limit: number | null;
1998
1997
  exploreName: string;
1999
1998
  sorts: {
2000
1999
  fieldId: string;
2001
2000
  descending: boolean;
2002
2001
  nullsFirst: boolean | null;
2003
2002
  }[];
2003
+ limit: number | null;
2004
2004
  xDimension: string;
2005
2005
  yMetrics: string[];
2006
2006
  breakdownByDimension: string | null;
@@ -2008,13 +2008,13 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
2008
2008
  yAxisLabel: string;
2009
2009
  lineType: "line" | "area";
2010
2010
  }, {
2011
- limit: number | null;
2012
2011
  exploreName: string;
2013
2012
  sorts: {
2014
2013
  fieldId: string;
2015
2014
  descending: boolean;
2016
2015
  nullsFirst: boolean | null;
2017
2016
  }[];
2017
+ limit: number | null;
2018
2018
  xDimension: string;
2019
2019
  yMetrics: string[];
2020
2020
  breakdownByDimension: string | null;
@@ -5162,13 +5162,13 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
5162
5162
  description: string;
5163
5163
  }[] | null;
5164
5164
  vizConfig: {
5165
- limit: number | null;
5166
5165
  exploreName: string;
5167
5166
  sorts: {
5168
5167
  fieldId: string;
5169
5168
  descending: boolean;
5170
5169
  nullsFirst: boolean | null;
5171
5170
  }[];
5171
+ limit: number | null;
5172
5172
  xDimension: string;
5173
5173
  yMetrics: string[];
5174
5174
  breakdownByDimension: string | null;
@@ -5631,13 +5631,13 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
5631
5631
  } | null;
5632
5632
  title: string;
5633
5633
  vizConfig: {
5634
- limit: number | null;
5635
5634
  exploreName: string;
5636
5635
  sorts: {
5637
5636
  fieldId: string;
5638
5637
  descending: boolean;
5639
5638
  nullsFirst: boolean | null;
5640
5639
  }[];
5640
+ limit: number | null;
5641
5641
  xDimension: string;
5642
5642
  yMetrics: string[];
5643
5643
  breakdownByDimension: string | null;
@@ -5782,13 +5782,13 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
5782
5782
  description: string;
5783
5783
  }[] | null;
5784
5784
  vizConfig: {
5785
- limit: number | null;
5786
5785
  exploreName: string;
5787
5786
  sorts: {
5788
5787
  fieldId: string;
5789
5788
  descending: boolean;
5790
5789
  nullsFirst: boolean | null;
5791
5790
  }[];
5791
+ limit: number | null;
5792
5792
  xDimension: string;
5793
5793
  yMetrics: string[];
5794
5794
  breakdownByDimension: string | null;
@@ -6250,13 +6250,13 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
6250
6250
  } | null;
6251
6251
  title: string;
6252
6252
  vizConfig: {
6253
- limit: number | null;
6254
6253
  exploreName: string;
6255
6254
  sorts: {
6256
6255
  fieldId: string;
6257
6256
  descending: boolean;
6258
6257
  nullsFirst: boolean | null;
6259
6258
  }[];
6259
+ limit: number | null;
6260
6260
  xDimension: string;
6261
6261
  yMetrics: string[];
6262
6262
  breakdownByDimension: string | null;
@@ -288,13 +288,13 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
288
288
  xAxisLabel: z.ZodNullable<z.ZodString>;
289
289
  yAxisLabel: z.ZodNullable<z.ZodString>;
290
290
  }, "strip", z.ZodTypeAny, {
291
- limit: number | null;
292
291
  exploreName: string;
293
292
  sorts: {
294
293
  fieldId: string;
295
294
  descending: boolean;
296
295
  nullsFirst: boolean | null;
297
296
  }[];
297
+ limit: number | null;
298
298
  xDimension: string;
299
299
  yMetrics: string[];
300
300
  breakdownByDimension: string | null;
@@ -303,13 +303,13 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
303
303
  xAxisLabel: string | null;
304
304
  yAxisLabel: string | null;
305
305
  }, {
306
- limit: number | null;
307
306
  exploreName: string;
308
307
  sorts: {
309
308
  fieldId: string;
310
309
  descending: boolean;
311
310
  nullsFirst: boolean | null;
312
311
  }[];
312
+ limit: number | null;
313
313
  xDimension: string;
314
314
  yMetrics: string[];
315
315
  breakdownByDimension: string | null;
@@ -1663,13 +1663,13 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1663
1663
  description: string;
1664
1664
  }[] | null;
1665
1665
  vizConfig: {
1666
- limit: number | null;
1667
1666
  exploreName: string;
1668
1667
  sorts: {
1669
1668
  fieldId: string;
1670
1669
  descending: boolean;
1671
1670
  nullsFirst: boolean | null;
1672
1671
  }[];
1672
+ limit: number | null;
1673
1673
  xDimension: string;
1674
1674
  yMetrics: string[];
1675
1675
  breakdownByDimension: string | null;
@@ -1953,13 +1953,13 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1953
1953
  baseDimensionName: string;
1954
1954
  }[] | null;
1955
1955
  vizConfig: {
1956
- limit: number | null;
1957
1956
  exploreName: string;
1958
1957
  sorts: {
1959
1958
  fieldId: string;
1960
1959
  descending: boolean;
1961
1960
  nullsFirst: boolean | null;
1962
1961
  }[];
1962
+ limit: number | null;
1963
1963
  xDimension: string;
1964
1964
  yMetrics: string[];
1965
1965
  breakdownByDimension: string | null;
@@ -1996,13 +1996,13 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
1996
1996
  xAxisLabel: z.ZodNullable<z.ZodString>;
1997
1997
  yAxisLabel: z.ZodNullable<z.ZodString>;
1998
1998
  }, "strip", z.ZodTypeAny, {
1999
- limit: number | null;
2000
1999
  exploreName: string;
2001
2000
  sorts: {
2002
2001
  fieldId: string;
2003
2002
  descending: boolean;
2004
2003
  nullsFirst: boolean | null;
2005
2004
  }[];
2005
+ limit: number | null;
2006
2006
  xDimension: string;
2007
2007
  yMetrics: string[];
2008
2008
  breakdownByDimension: string | null;
@@ -2011,13 +2011,13 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2011
2011
  xAxisLabel: string | null;
2012
2012
  yAxisLabel: string | null;
2013
2013
  }, {
2014
- limit: number | null;
2015
2014
  exploreName: string;
2016
2015
  sorts: {
2017
2016
  fieldId: string;
2018
2017
  descending: boolean;
2019
2018
  nullsFirst: boolean | null;
2020
2019
  }[];
2020
+ limit: number | null;
2021
2021
  xDimension: string;
2022
2022
  yMetrics: string[];
2023
2023
  breakdownByDimension: string | null;
@@ -5169,13 +5169,13 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5169
5169
  description: string;
5170
5170
  }[] | null;
5171
5171
  vizConfig: {
5172
- limit: number | null;
5173
5172
  exploreName: string;
5174
5173
  sorts: {
5175
5174
  fieldId: string;
5176
5175
  descending: boolean;
5177
5176
  nullsFirst: boolean | null;
5178
5177
  }[];
5178
+ limit: number | null;
5179
5179
  xDimension: string;
5180
5180
  yMetrics: string[];
5181
5181
  breakdownByDimension: string | null;
@@ -5639,13 +5639,13 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5639
5639
  } | null;
5640
5640
  title: string;
5641
5641
  vizConfig: {
5642
- limit: number | null;
5643
5642
  exploreName: string;
5644
5643
  sorts: {
5645
5644
  fieldId: string;
5646
5645
  descending: boolean;
5647
5646
  nullsFirst: boolean | null;
5648
5647
  }[];
5648
+ limit: number | null;
5649
5649
  xDimension: string;
5650
5650
  yMetrics: string[];
5651
5651
  breakdownByDimension: string | null;
@@ -5791,13 +5791,13 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5791
5791
  description: string;
5792
5792
  }[] | null;
5793
5793
  vizConfig: {
5794
- limit: number | null;
5795
5794
  exploreName: string;
5796
5795
  sorts: {
5797
5796
  fieldId: string;
5798
5797
  descending: boolean;
5799
5798
  nullsFirst: boolean | null;
5800
5799
  }[];
5800
+ limit: number | null;
5801
5801
  xDimension: string;
5802
5802
  yMetrics: string[];
5803
5803
  breakdownByDimension: string | null;
@@ -6260,13 +6260,13 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6260
6260
  } | null;
6261
6261
  title: string;
6262
6262
  vizConfig: {
6263
- limit: number | null;
6264
6263
  exploreName: string;
6265
6264
  sorts: {
6266
6265
  fieldId: string;
6267
6266
  descending: boolean;
6268
6267
  nullsFirst: boolean | null;
6269
6268
  }[];
6269
+ limit: number | null;
6270
6270
  xDimension: string;
6271
6271
  yMetrics: string[];
6272
6272
  breakdownByDimension: string | null;
@@ -24,23 +24,23 @@ export declare const tableVizConfigSchema: z.ZodObject<{
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  dimensions: string[];
26
26
  metrics: string[];
27
- limit: number | null;
28
27
  exploreName: string;
29
28
  sorts: {
30
29
  fieldId: string;
31
30
  descending: boolean;
32
31
  nullsFirst: boolean | null;
33
32
  }[];
33
+ limit: number | null;
34
34
  }, {
35
35
  dimensions: string[];
36
36
  metrics: string[];
37
- limit: number | null;
38
37
  exploreName: string;
39
38
  sorts: {
40
39
  fieldId: string;
41
40
  descending: boolean;
42
41
  nullsFirst: boolean | null;
43
42
  }[];
43
+ limit: number | null;
44
44
  }>;
45
45
  export type TableVizConfigSchemaType = z.infer<typeof tableVizConfigSchema>;
46
46
  export declare const metricQueryTableViz: ({ vizConfig, filters, maxLimit, customMetrics, tableCalculations, }: {
@@ -26,13 +26,13 @@ export declare const timeSeriesMetricVizConfigSchema: z.ZodObject<{
26
26
  xAxisLabel: z.ZodNullable<z.ZodString>;
27
27
  yAxisLabel: z.ZodNullable<z.ZodString>;
28
28
  }, "strip", z.ZodTypeAny, {
29
- limit: number | null;
30
29
  exploreName: string;
31
30
  sorts: {
32
31
  fieldId: string;
33
32
  descending: boolean;
34
33
  nullsFirst: boolean | null;
35
34
  }[];
35
+ limit: number | null;
36
36
  xDimension: string;
37
37
  yMetrics: string[];
38
38
  breakdownByDimension: string | null;
@@ -40,13 +40,13 @@ export declare const timeSeriesMetricVizConfigSchema: z.ZodObject<{
40
40
  yAxisLabel: string | null;
41
41
  lineType: "line" | "area";
42
42
  }, {
43
- limit: number | null;
44
43
  exploreName: string;
45
44
  sorts: {
46
45
  fieldId: string;
47
46
  descending: boolean;
48
47
  nullsFirst: boolean | null;
49
48
  }[];
49
+ limit: number | null;
50
50
  xDimension: string;
51
51
  yMetrics: string[];
52
52
  breakdownByDimension: string | null;
@@ -27,13 +27,13 @@ export declare const verticalBarMetricVizConfigSchema: z.ZodObject<{
27
27
  xAxisLabel: z.ZodNullable<z.ZodString>;
28
28
  yAxisLabel: z.ZodNullable<z.ZodString>;
29
29
  }, "strip", z.ZodTypeAny, {
30
- limit: number | null;
31
30
  exploreName: string;
32
31
  sorts: {
33
32
  fieldId: string;
34
33
  descending: boolean;
35
34
  nullsFirst: boolean | null;
36
35
  }[];
36
+ limit: number | null;
37
37
  xDimension: string;
38
38
  yMetrics: string[];
39
39
  breakdownByDimension: string | null;
@@ -42,13 +42,13 @@ export declare const verticalBarMetricVizConfigSchema: z.ZodObject<{
42
42
  xAxisLabel: string | null;
43
43
  yAxisLabel: string | null;
44
44
  }, {
45
- limit: number | null;
46
45
  exploreName: string;
47
46
  sorts: {
48
47
  fieldId: string;
49
48
  descending: boolean;
50
49
  nullsFirst: boolean | null;
51
50
  }[];
51
+ limit: number | null;
52
52
  xDimension: string;
53
53
  yMetrics: string[];
54
54
  breakdownByDimension: string | null;
@@ -72,13 +72,13 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
72
72
  description: string;
73
73
  }[] | null;
74
74
  vizConfig: {
75
- limit: number | null;
76
75
  exploreName: string;
77
76
  sorts: {
78
77
  fieldId: string;
79
78
  descending: boolean;
80
79
  nullsFirst: boolean | null;
81
80
  }[];
81
+ limit: number | null;
82
82
  xDimension: string;
83
83
  yMetrics: string[];
84
84
  breakdownByDimension: string | null;
@@ -162,13 +162,13 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
162
162
  description: string;
163
163
  }[] | null;
164
164
  vizConfig: {
165
- limit: number | null;
166
165
  exploreName: string;
167
166
  sorts: {
168
167
  fieldId: string;
169
168
  descending: boolean;
170
169
  nullsFirst: boolean | null;
171
170
  }[];
171
+ limit: number | null;
172
172
  xDimension: string;
173
173
  yMetrics: string[];
174
174
  breakdownByDimension: string | null;
@@ -253,13 +253,13 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
253
253
  vizConfig: {
254
254
  dimensions: string[];
255
255
  metrics: string[];
256
- limit: number | null;
257
256
  exploreName: string;
258
257
  sorts: {
259
258
  fieldId: string;
260
259
  descending: boolean;
261
260
  nullsFirst: boolean | null;
262
261
  }[];
262
+ limit: number | null;
263
263
  };
264
264
  };
265
265
  readonly metricQuery: import("./types").AiMetricQueryWithFilters;
@@ -325,20 +325,6 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
325
325
  } | null;
326
326
  })[] | null;
327
327
  description: string;
328
- chartConfig: {
329
- stackBars: boolean | null;
330
- xAxisType: "category" | "time" | null;
331
- xAxisLabel: string;
332
- yAxisLabel: string;
333
- lineType: "line" | "area" | null;
334
- defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
335
- xAxisDimension: string | null;
336
- yAxisMetrics: string[] | null;
337
- groupBy: string[] | null;
338
- funnelDataInput: "row" | "column" | null;
339
- secondaryYAxisMetric: string | null;
340
- secondaryYAxisLabel: string | null;
341
- } | null;
342
328
  title: string;
343
329
  customMetrics: {
344
330
  baseDimensionName: string;
@@ -351,14 +337,28 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
351
337
  queryConfig: {
352
338
  dimensions: string[];
353
339
  metrics: string[];
354
- limit: number | null;
355
340
  exploreName: string;
356
341
  sorts: {
357
342
  fieldId: string;
358
343
  descending: boolean;
359
344
  nullsFirst: boolean | null;
360
345
  }[];
346
+ limit: number | null;
361
347
  };
348
+ chartConfig: {
349
+ stackBars: boolean | null;
350
+ xAxisType: "category" | "time" | null;
351
+ xAxisLabel: string;
352
+ yAxisLabel: string;
353
+ lineType: "line" | "area" | null;
354
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
355
+ xAxisDimension: string | null;
356
+ yAxisMetrics: string[] | null;
357
+ groupBy: string[] | null;
358
+ funnelDataInput: "row" | "column" | null;
359
+ secondaryYAxisMetric: string | null;
360
+ secondaryYAxisLabel: string | null;
361
+ } | null;
362
362
  };
363
363
  readonly metricQuery: {
364
364
  exploreName: string;