@lightdash/common 0.2184.0 → 0.2184.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
- package/dist/cjs/ee/AiAgent/schemas/parser.d.ts +54 -54
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
- package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
- package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
- package/dist/cjs/ee/AiAgent/utils.d.ts +16 -16
- package/dist/cjs/types/scheduler.d.ts +2 -0
- package/dist/cjs/types/scheduler.d.ts.map +1 -1
- package/dist/cjs/types/scheduler.js.map +1 -1
- package/dist/cjs/utils/i18n/chartAsCode.d.ts +165 -165
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
- package/dist/esm/ee/AiAgent/schemas/parser.d.ts +54 -54
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
- package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
- package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
- package/dist/esm/ee/AiAgent/utils.d.ts +16 -16
- package/dist/esm/types/scheduler.d.ts +2 -0
- package/dist/esm/types/scheduler.d.ts.map +1 -1
- package/dist/esm/types/scheduler.js.map +1 -1
- package/dist/esm/utils/i18n/chartAsCode.d.ts +165 -165
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
- package/dist/types/ee/AiAgent/schemas/parser.d.ts +54 -54
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
- package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/types/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
- package/dist/types/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
- package/dist/types/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
- package/dist/types/ee/AiAgent/utils.d.ts +16 -16
- package/dist/types/types/scheduler.d.ts +2 -0
- package/dist/types/types/scheduler.d.ts.map +1 -1
- package/dist/types/types/scheduler.js.map +1 -1
- package/dist/types/utils/i18n/chartAsCode.d.ts +165 -165
- package/package.json +1 -1
|
@@ -59,6 +59,7 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
59
59
|
partitionBy: string[] | null;
|
|
60
60
|
windowFunction: import("../../../../types/field").WindowFunctionType;
|
|
61
61
|
frame: {
|
|
62
|
+
frameType: "rows" | "range";
|
|
62
63
|
start: {
|
|
63
64
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
64
65
|
offset: number | null;
|
|
@@ -67,12 +68,12 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
67
68
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
68
69
|
offset: number | null;
|
|
69
70
|
};
|
|
70
|
-
frameType: "rows" | "range";
|
|
71
71
|
} | null;
|
|
72
72
|
})[] | null;
|
|
73
73
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
|
74
74
|
description: string;
|
|
75
75
|
filters: import("../../../..").Filters;
|
|
76
|
+
title: string;
|
|
76
77
|
customMetrics: {
|
|
77
78
|
baseDimensionName: string;
|
|
78
79
|
name: string;
|
|
@@ -81,20 +82,19 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
81
82
|
type: import("../../../../types/field").MetricType.PERCENTILE | import("../../../../types/field").MetricType.AVERAGE | import("../../../../types/field").MetricType.COUNT | import("../../../../types/field").MetricType.COUNT_DISTINCT | import("../../../../types/field").MetricType.SUM | import("../../../../types/field").MetricType.MIN | import("../../../../types/field").MetricType.MAX | import("../../../../types/field").MetricType.MEDIAN;
|
|
82
83
|
description: string;
|
|
83
84
|
}[] | null;
|
|
84
|
-
title: string;
|
|
85
85
|
vizConfig: {
|
|
86
86
|
limit: number | null;
|
|
87
|
-
exploreName: string;
|
|
88
87
|
sorts: {
|
|
89
88
|
fieldId: string;
|
|
90
89
|
descending: boolean;
|
|
91
90
|
nullsFirst: boolean | null;
|
|
92
91
|
}[];
|
|
92
|
+
exploreName: string;
|
|
93
93
|
xDimension: string;
|
|
94
94
|
yMetrics: string[];
|
|
95
95
|
breakdownByDimension: string | null;
|
|
96
96
|
stackBars: boolean | null;
|
|
97
|
-
xAxisType: "
|
|
97
|
+
xAxisType: "category" | "time";
|
|
98
98
|
xAxisLabel: string | null;
|
|
99
99
|
yAxisLabel: string | null;
|
|
100
100
|
};
|
|
@@ -151,6 +151,7 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
151
151
|
partitionBy: string[] | null;
|
|
152
152
|
windowFunction: import("../../../../types/field").WindowFunctionType;
|
|
153
153
|
frame: {
|
|
154
|
+
frameType: "rows" | "range";
|
|
154
155
|
start: {
|
|
155
156
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
156
157
|
offset: number | null;
|
|
@@ -159,12 +160,12 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
159
160
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
160
161
|
offset: number | null;
|
|
161
162
|
};
|
|
162
|
-
frameType: "rows" | "range";
|
|
163
163
|
} | null;
|
|
164
164
|
})[] | null;
|
|
165
165
|
type: AiResultType.TIME_SERIES_RESULT;
|
|
166
166
|
description: string;
|
|
167
167
|
filters: import("../../../..").Filters;
|
|
168
|
+
title: string;
|
|
168
169
|
customMetrics: {
|
|
169
170
|
baseDimensionName: string;
|
|
170
171
|
name: string;
|
|
@@ -173,15 +174,14 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
173
174
|
type: import("../../../../types/field").MetricType.PERCENTILE | import("../../../../types/field").MetricType.AVERAGE | import("../../../../types/field").MetricType.COUNT | import("../../../../types/field").MetricType.COUNT_DISTINCT | import("../../../../types/field").MetricType.SUM | import("../../../../types/field").MetricType.MIN | import("../../../../types/field").MetricType.MAX | import("../../../../types/field").MetricType.MEDIAN;
|
|
174
175
|
description: string;
|
|
175
176
|
}[] | null;
|
|
176
|
-
title: string;
|
|
177
177
|
vizConfig: {
|
|
178
178
|
limit: number | null;
|
|
179
|
-
exploreName: string;
|
|
180
179
|
sorts: {
|
|
181
180
|
fieldId: string;
|
|
182
181
|
descending: boolean;
|
|
183
182
|
nullsFirst: boolean | null;
|
|
184
183
|
}[];
|
|
184
|
+
exploreName: string;
|
|
185
185
|
xDimension: string;
|
|
186
186
|
yMetrics: string[];
|
|
187
187
|
breakdownByDimension: string | null;
|
|
@@ -242,6 +242,7 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
242
242
|
partitionBy: string[] | null;
|
|
243
243
|
windowFunction: import("../../../../types/field").WindowFunctionType;
|
|
244
244
|
frame: {
|
|
245
|
+
frameType: "rows" | "range";
|
|
245
246
|
start: {
|
|
246
247
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
247
248
|
offset: number | null;
|
|
@@ -250,12 +251,12 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
250
251
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
251
252
|
offset: number | null;
|
|
252
253
|
};
|
|
253
|
-
frameType: "rows" | "range";
|
|
254
254
|
} | null;
|
|
255
255
|
})[] | null;
|
|
256
256
|
type: AiResultType.TABLE_RESULT;
|
|
257
257
|
description: string;
|
|
258
258
|
filters: import("../../../..").Filters;
|
|
259
|
+
title: string;
|
|
259
260
|
customMetrics: {
|
|
260
261
|
baseDimensionName: string;
|
|
261
262
|
name: string;
|
|
@@ -264,17 +265,16 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
264
265
|
type: import("../../../../types/field").MetricType.PERCENTILE | import("../../../../types/field").MetricType.AVERAGE | import("../../../../types/field").MetricType.COUNT | import("../../../../types/field").MetricType.COUNT_DISTINCT | import("../../../../types/field").MetricType.SUM | import("../../../../types/field").MetricType.MIN | import("../../../../types/field").MetricType.MAX | import("../../../../types/field").MetricType.MEDIAN;
|
|
265
266
|
description: string;
|
|
266
267
|
}[] | null;
|
|
267
|
-
title: string;
|
|
268
268
|
vizConfig: {
|
|
269
269
|
dimensions: string[];
|
|
270
270
|
metrics: string[];
|
|
271
271
|
limit: number | null;
|
|
272
|
-
exploreName: string;
|
|
273
272
|
sorts: {
|
|
274
273
|
fieldId: string;
|
|
275
274
|
descending: boolean;
|
|
276
275
|
nullsFirst: boolean | null;
|
|
277
276
|
}[];
|
|
277
|
+
exploreName: string;
|
|
278
278
|
};
|
|
279
279
|
};
|
|
280
280
|
metricQuery: import("../../types").AiMetricQueryWithFilters;
|
|
@@ -328,6 +328,7 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
328
328
|
partitionBy: string[] | null;
|
|
329
329
|
windowFunction: import("../../../../types/field").WindowFunctionType;
|
|
330
330
|
frame: {
|
|
331
|
+
frameType: "rows" | "range";
|
|
331
332
|
start: {
|
|
332
333
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
333
334
|
offset: number | null;
|
|
@@ -336,25 +337,25 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
336
337
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
337
338
|
offset: number | null;
|
|
338
339
|
};
|
|
339
|
-
frameType: "rows" | "range";
|
|
340
340
|
} | null;
|
|
341
341
|
})[] | null;
|
|
342
342
|
type: AiResultType.QUERY_RESULT;
|
|
343
343
|
description: string;
|
|
344
344
|
chartConfig: {
|
|
345
|
-
groupBy: string[] | null;
|
|
346
345
|
stackBars: boolean | null;
|
|
347
|
-
xAxisType: "
|
|
346
|
+
xAxisType: "category" | "time" | null;
|
|
348
347
|
xAxisLabel: string;
|
|
349
348
|
yAxisLabel: string;
|
|
350
349
|
lineType: "line" | "area" | null;
|
|
351
|
-
defaultVizType: "table" | "line" | "bar" | "
|
|
350
|
+
defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
|
|
352
351
|
xAxisDimension: string | null;
|
|
353
352
|
yAxisMetrics: string[] | null;
|
|
353
|
+
groupBy: string[] | null;
|
|
354
354
|
funnelDataInput: "row" | "column" | null;
|
|
355
355
|
secondaryYAxisMetric: string | null;
|
|
356
356
|
secondaryYAxisLabel: string | null;
|
|
357
357
|
} | null;
|
|
358
|
+
title: string;
|
|
358
359
|
customMetrics: {
|
|
359
360
|
baseDimensionName: string;
|
|
360
361
|
name: string;
|
|
@@ -363,17 +364,16 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
363
364
|
type: import("../../../../types/field").MetricType.PERCENTILE | import("../../../../types/field").MetricType.AVERAGE | import("../../../../types/field").MetricType.COUNT | import("../../../../types/field").MetricType.COUNT_DISTINCT | import("../../../../types/field").MetricType.SUM | import("../../../../types/field").MetricType.MIN | import("../../../../types/field").MetricType.MAX | import("../../../../types/field").MetricType.MEDIAN;
|
|
364
365
|
description: string;
|
|
365
366
|
}[] | null;
|
|
366
|
-
title: string;
|
|
367
367
|
queryConfig: {
|
|
368
368
|
dimensions: string[];
|
|
369
369
|
metrics: string[];
|
|
370
370
|
limit: number | null;
|
|
371
|
-
exploreName: string;
|
|
372
371
|
sorts: {
|
|
373
372
|
fieldId: string;
|
|
374
373
|
descending: boolean;
|
|
375
374
|
nullsFirst: boolean | null;
|
|
376
375
|
}[];
|
|
376
|
+
exploreName: string;
|
|
377
377
|
};
|
|
378
378
|
};
|
|
379
379
|
metricQuery: {
|