@lightdash/common 0.2184.0 → 0.2185.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 (85) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
  3. package/dist/cjs/ee/AiAgent/index.d.ts +1 -0
  4. package/dist/cjs/ee/AiAgent/index.d.ts.map +1 -1
  5. package/dist/cjs/ee/AiAgent/index.js +1 -0
  6. package/dist/cjs/ee/AiAgent/index.js.map +1 -1
  7. package/dist/cjs/ee/AiAgent/schemas/agentReadiness.d.ts +74 -0
  8. package/dist/cjs/ee/AiAgent/schemas/agentReadiness.d.ts.map +1 -0
  9. package/dist/cjs/ee/AiAgent/schemas/agentReadiness.js +22 -0
  10. package/dist/cjs/ee/AiAgent/schemas/agentReadiness.js.map +1 -0
  11. package/dist/cjs/ee/AiAgent/schemas/parser.d.ts +54 -54
  12. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
  13. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
  14. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
  15. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
  16. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
  17. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
  18. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
  19. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
  20. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  21. package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  22. package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  23. package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
  24. package/dist/cjs/ee/AiAgent/utils.d.ts +16 -16
  25. package/dist/cjs/types/scheduler.d.ts +2 -0
  26. package/dist/cjs/types/scheduler.d.ts.map +1 -1
  27. package/dist/cjs/types/scheduler.js.map +1 -1
  28. package/dist/cjs/utils/i18n/chartAsCode.d.ts +165 -165
  29. package/dist/esm/.tsbuildinfo +1 -1
  30. package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
  31. package/dist/esm/ee/AiAgent/index.d.ts +1 -0
  32. package/dist/esm/ee/AiAgent/index.d.ts.map +1 -1
  33. package/dist/esm/ee/AiAgent/index.js +1 -0
  34. package/dist/esm/ee/AiAgent/index.js.map +1 -1
  35. package/dist/esm/ee/AiAgent/schemas/agentReadiness.d.ts +74 -0
  36. package/dist/esm/ee/AiAgent/schemas/agentReadiness.d.ts.map +1 -0
  37. package/dist/esm/ee/AiAgent/schemas/agentReadiness.js +19 -0
  38. package/dist/esm/ee/AiAgent/schemas/agentReadiness.js.map +1 -0
  39. package/dist/esm/ee/AiAgent/schemas/parser.d.ts +54 -54
  40. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
  41. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
  42. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
  43. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
  44. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
  45. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
  46. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
  47. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
  48. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  49. package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  50. package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  51. package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
  52. package/dist/esm/ee/AiAgent/utils.d.ts +16 -16
  53. package/dist/esm/types/scheduler.d.ts +2 -0
  54. package/dist/esm/types/scheduler.d.ts.map +1 -1
  55. package/dist/esm/types/scheduler.js.map +1 -1
  56. package/dist/esm/utils/i18n/chartAsCode.d.ts +165 -165
  57. package/dist/types/.tsbuildinfo +1 -1
  58. package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
  59. package/dist/types/ee/AiAgent/index.d.ts +1 -0
  60. package/dist/types/ee/AiAgent/index.d.ts.map +1 -1
  61. package/dist/types/ee/AiAgent/index.js +1 -0
  62. package/dist/types/ee/AiAgent/index.js.map +1 -1
  63. package/dist/types/ee/AiAgent/schemas/agentReadiness.d.ts +74 -0
  64. package/dist/types/ee/AiAgent/schemas/agentReadiness.d.ts.map +1 -0
  65. package/dist/types/ee/AiAgent/schemas/agentReadiness.js +19 -0
  66. package/dist/types/ee/AiAgent/schemas/agentReadiness.js.map +1 -0
  67. package/dist/types/ee/AiAgent/schemas/parser.d.ts +54 -54
  68. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
  69. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
  70. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
  71. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
  72. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
  73. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
  74. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
  75. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
  76. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  77. package/dist/types/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  78. package/dist/types/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  79. package/dist/types/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
  80. package/dist/types/ee/AiAgent/utils.d.ts +16 -16
  81. package/dist/types/types/scheduler.d.ts +2 -0
  82. package/dist/types/types/scheduler.d.ts.map +1 -1
  83. package/dist/types/types/scheduler.js.map +1 -1
  84. package/dist/types/utils/i18n/chartAsCode.d.ts +165 -165
  85. package/package.json +1 -1
@@ -41,6 +41,7 @@ export declare const tableCalcWindowFunctionSchema: z.ZodObject<{
41
41
  offset: number | null;
42
42
  }>;
43
43
  }, "strip", z.ZodTypeAny, {
44
+ frameType: "rows" | "range";
44
45
  start: {
45
46
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
46
47
  offset: number | null;
@@ -49,8 +50,8 @@ export declare const tableCalcWindowFunctionSchema: z.ZodObject<{
49
50
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
50
51
  offset: number | null;
51
52
  };
52
- frameType: "rows" | "range";
53
53
  }, {
54
+ frameType: "rows" | "range";
54
55
  start: {
55
56
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
56
57
  offset: number | null;
@@ -59,7 +60,6 @@ export declare const tableCalcWindowFunctionSchema: z.ZodObject<{
59
60
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
60
61
  offset: number | null;
61
62
  };
62
- frameType: "rows" | "range";
63
63
  }>>;
64
64
  }, "strip", z.ZodTypeAny, {
65
65
  name: string;
@@ -73,6 +73,7 @@ export declare const tableCalcWindowFunctionSchema: z.ZodObject<{
73
73
  partitionBy: string[] | null;
74
74
  windowFunction: WindowFunctionType;
75
75
  frame: {
76
+ frameType: "rows" | "range";
76
77
  start: {
77
78
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
78
79
  offset: number | null;
@@ -81,7 +82,6 @@ export declare const tableCalcWindowFunctionSchema: z.ZodObject<{
81
82
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
82
83
  offset: number | null;
83
84
  };
84
- frameType: "rows" | "range";
85
85
  } | null;
86
86
  }, {
87
87
  name: string;
@@ -95,6 +95,7 @@ export declare const tableCalcWindowFunctionSchema: z.ZodObject<{
95
95
  partitionBy: string[] | null;
96
96
  windowFunction: WindowFunctionType;
97
97
  frame: {
98
+ frameType: "rows" | "range";
98
99
  start: {
99
100
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
100
101
  offset: number | null;
@@ -103,7 +104,6 @@ export declare const tableCalcWindowFunctionSchema: z.ZodObject<{
103
104
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
104
105
  offset: number | null;
105
106
  };
106
- frameType: "rows" | "range";
107
107
  } | null;
108
108
  }>;
109
109
  export type TableCalcWindowFunctionSchema = z.infer<typeof tableCalcWindowFunctionSchema>;
@@ -160,6 +160,7 @@ declare const tableCalcSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
160
160
  offset: number | null;
161
161
  }>;
162
162
  }, "strip", z.ZodTypeAny, {
163
+ frameType: "rows" | "range";
163
164
  start: {
164
165
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
165
166
  offset: number | null;
@@ -168,8 +169,8 @@ declare const tableCalcSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
168
169
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
169
170
  offset: number | null;
170
171
  };
171
- frameType: "rows" | "range";
172
172
  }, {
173
+ frameType: "rows" | "range";
173
174
  start: {
174
175
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
175
176
  offset: number | null;
@@ -178,7 +179,6 @@ declare const tableCalcSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
178
179
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
179
180
  offset: number | null;
180
181
  };
181
- frameType: "rows" | "range";
182
182
  }>>;
183
183
  }, "strip", z.ZodTypeAny, {
184
184
  name: string;
@@ -192,6 +192,7 @@ declare const tableCalcSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
192
192
  partitionBy: string[] | null;
193
193
  windowFunction: import("../../../../types/field").WindowFunctionType;
194
194
  frame: {
195
+ frameType: "rows" | "range";
195
196
  start: {
196
197
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
197
198
  offset: number | null;
@@ -200,7 +201,6 @@ declare const tableCalcSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
200
201
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
201
202
  offset: number | null;
202
203
  };
203
- frameType: "rows" | "range";
204
204
  } | null;
205
205
  }, {
206
206
  name: string;
@@ -214,6 +214,7 @@ declare const tableCalcSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
214
214
  partitionBy: string[] | null;
215
215
  windowFunction: import("../../../../types/field").WindowFunctionType;
216
216
  frame: {
217
+ frameType: "rows" | "range";
217
218
  start: {
218
219
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
219
220
  offset: number | null;
@@ -222,7 +223,6 @@ declare const tableCalcSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
222
223
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
223
224
  offset: number | null;
224
225
  };
225
- frameType: "rows" | "range";
226
226
  } | null;
227
227
  }>]>;
228
228
  export type TableCalcSchema = z.infer<typeof tableCalcSchema>;
@@ -386,6 +386,7 @@ export declare const tableCalcsSchema: z.ZodNullable<z.ZodArray<z.ZodDiscriminat
386
386
  offset: number | null;
387
387
  }>;
388
388
  }, "strip", z.ZodTypeAny, {
389
+ frameType: "rows" | "range";
389
390
  start: {
390
391
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
391
392
  offset: number | null;
@@ -394,8 +395,8 @@ export declare const tableCalcsSchema: z.ZodNullable<z.ZodArray<z.ZodDiscriminat
394
395
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
395
396
  offset: number | null;
396
397
  };
397
- frameType: "rows" | "range";
398
398
  }, {
399
+ frameType: "rows" | "range";
399
400
  start: {
400
401
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
401
402
  offset: number | null;
@@ -404,7 +405,6 @@ export declare const tableCalcsSchema: z.ZodNullable<z.ZodArray<z.ZodDiscriminat
404
405
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
405
406
  offset: number | null;
406
407
  };
407
- frameType: "rows" | "range";
408
408
  }>>;
409
409
  }, "strip", z.ZodTypeAny, {
410
410
  name: string;
@@ -418,6 +418,7 @@ export declare const tableCalcsSchema: z.ZodNullable<z.ZodArray<z.ZodDiscriminat
418
418
  partitionBy: string[] | null;
419
419
  windowFunction: import("../../../../types/field").WindowFunctionType;
420
420
  frame: {
421
+ frameType: "rows" | "range";
421
422
  start: {
422
423
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
423
424
  offset: number | null;
@@ -426,7 +427,6 @@ export declare const tableCalcsSchema: z.ZodNullable<z.ZodArray<z.ZodDiscriminat
426
427
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
427
428
  offset: number | null;
428
429
  };
429
- frameType: "rows" | "range";
430
430
  } | null;
431
431
  }, {
432
432
  name: string;
@@ -440,6 +440,7 @@ export declare const tableCalcsSchema: z.ZodNullable<z.ZodArray<z.ZodDiscriminat
440
440
  partitionBy: string[] | null;
441
441
  windowFunction: import("../../../../types/field").WindowFunctionType;
442
442
  frame: {
443
+ frameType: "rows" | "range";
443
444
  start: {
444
445
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
445
446
  offset: number | null;
@@ -448,7 +449,6 @@ export declare const tableCalcsSchema: z.ZodNullable<z.ZodArray<z.ZodDiscriminat
448
449
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
449
450
  offset: number | null;
450
451
  };
451
- frameType: "rows" | "range";
452
452
  } | null;
453
453
  }>]>, "many">>;
454
454
  export type TableCalcsSchema = z.infer<typeof tableCalcsSchema>;