@lightdash/common 0.2183.1 → 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/dbt/schemas/lightdashV20.json +84 -0
- package/dist/cjs/dbt/schemas/manifestV20.json +22567 -0
- package/dist/cjs/dbt/validation.d.ts.map +1 -1
- package/dist/cjs/dbt/validation.js +4 -0
- package/dist/cjs/dbt/validation.js.map +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/dbt.d.ts +2 -1
- package/dist/cjs/types/dbt.d.ts.map +1 -1
- package/dist/cjs/types/dbt.js +2 -0
- package/dist/cjs/types/dbt.js.map +1 -1
- 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/dbt/schemas/lightdashV20.json +84 -0
- package/dist/esm/dbt/schemas/manifestV20.json +22567 -0
- package/dist/esm/dbt/validation.d.ts.map +1 -1
- package/dist/esm/dbt/validation.js +4 -0
- package/dist/esm/dbt/validation.js.map +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/dbt.d.ts +2 -1
- package/dist/esm/types/dbt.d.ts.map +1 -1
- package/dist/esm/types/dbt.js +2 -0
- package/dist/esm/types/dbt.js.map +1 -1
- 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/dbt/schemas/lightdashV20.json +84 -0
- package/dist/types/dbt/schemas/manifestV20.json +22567 -0
- package/dist/types/dbt/validation.d.ts.map +1 -1
- package/dist/types/dbt/validation.js +4 -0
- package/dist/types/dbt/validation.js.map +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/dbt.d.ts +2 -1
- package/dist/types/types/dbt.d.ts.map +1 -1
- package/dist/types/types/dbt.js +2 -0
- package/dist/types/types/dbt.js.map +1 -1
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/dbt/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAI5C,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAEd,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/dbt/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAI5C,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAEd,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAuCtB,qBAAa,iBAAiB;IAC1B,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAS;IAE3C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,eAAe,EAAE,kBAAkB;IAK/C,MAAM,CAAC,OAAO,cACC,gBAAgB,CAAC,OAAO,CAAC,QAC9B,OAAO,KACd,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAMpC;IAEF,MAAM,CAAC,eAAe,cAAe,mBAAmB,KAAG,MAAM,CAG7C;IAEpB,MAAM,CAAC,YAAY,GAAI,CAAC,aAAa,MAAM,4BAQzC;IAEF,YAAY,UACD,eAAe,KACvB,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAKpC;IAEF,gBAAgB,WACJ,SAAS,KAClB,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAKpC;CACL"}
|
|
@@ -10,12 +10,14 @@ const lightdashMetadata_json_1 = tslib_1.__importDefault(require("./schemas/ligh
|
|
|
10
10
|
const lightdashV10_json_1 = tslib_1.__importDefault(require("./schemas/lightdashV10.json"));
|
|
11
11
|
const lightdashV11_json_1 = tslib_1.__importDefault(require("./schemas/lightdashV11.json"));
|
|
12
12
|
const lightdashV12_json_1 = tslib_1.__importDefault(require("./schemas/lightdashV12.json"));
|
|
13
|
+
const lightdashV20_json_1 = tslib_1.__importDefault(require("./schemas/lightdashV20.json"));
|
|
13
14
|
const lightdashV7_json_1 = tslib_1.__importDefault(require("./schemas/lightdashV7.json"));
|
|
14
15
|
const lightdashV8_json_1 = tslib_1.__importDefault(require("./schemas/lightdashV8.json"));
|
|
15
16
|
const lightdashV9_json_1 = tslib_1.__importDefault(require("./schemas/lightdashV9.json"));
|
|
16
17
|
const manifestV10_json_1 = tslib_1.__importDefault(require("./schemas/manifestV10.json"));
|
|
17
18
|
const manifestV11_json_1 = tslib_1.__importDefault(require("./schemas/manifestV11.json"));
|
|
18
19
|
const manifestV12_json_1 = tslib_1.__importDefault(require("./schemas/manifestV12.json"));
|
|
20
|
+
const manifestV20_json_1 = tslib_1.__importDefault(require("./schemas/manifestV20.json"));
|
|
19
21
|
const manifestV7_json_1 = tslib_1.__importDefault(require("./schemas/manifestV7.json"));
|
|
20
22
|
const manifestV8_json_1 = tslib_1.__importDefault(require("./schemas/manifestV8.json"));
|
|
21
23
|
const manifestV9_json_1 = tslib_1.__importDefault(require("./schemas/manifestV9.json"));
|
|
@@ -28,6 +30,7 @@ ajv.addSchema([
|
|
|
28
30
|
manifestV10_json_1.default,
|
|
29
31
|
manifestV11_json_1.default,
|
|
30
32
|
manifestV12_json_1.default,
|
|
33
|
+
manifestV20_json_1.default,
|
|
31
34
|
lightdashMetadata_json_1.default,
|
|
32
35
|
lightdashV7_json_1.default,
|
|
33
36
|
lightdashV8_json_1.default,
|
|
@@ -35,6 +38,7 @@ ajv.addSchema([
|
|
|
35
38
|
lightdashV10_json_1.default,
|
|
36
39
|
lightdashV11_json_1.default,
|
|
37
40
|
lightdashV12_json_1.default,
|
|
41
|
+
lightdashV20_json_1.default,
|
|
38
42
|
]);
|
|
39
43
|
(0, ajv_formats_1.default)(ajv);
|
|
40
44
|
class ManifestValidator {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../src/dbt/validation.ts"],"names":[],"mappings":";;;;AACA,sEAAqC;AACrC,kEAAoC;AACpC,gHAAuE;AASvE,4CAA6C;AAC7C,sGAAuE;AACvE,4FAA6D;AAC7D,4FAA6D;AAC7D,4FAA6D;AAC7D,0FAA2D;AAC3D,0FAA2D;AAC3D,0FAA2D;AAC3D,0FAA8D;AAC9D,0FAA8D;AAC9D,0FAA8D;AAC9D,wFAA4D;AAC5D,wFAA4D;AAC5D,wFAA4D;AAE5D,MAAM,GAAG,GAAG,IAAI,eAAO,EAAE,CAAC;AAC1B,GAAG,CAAC,aAAa,CAAC,mCAAgB,CAAC,CAAC,CAAC,2CAA2C;AAChF,GAAG,CAAC,SAAS,CAAC;IACV,yBAAmB;IACnB,yBAAmB;IACnB,yBAAmB;IACnB,0BAAoB;IACpB,0BAAoB;IACpB,0BAAoB;IACpB,gCAAuB;IACvB,0BAAiB;IACjB,0BAAiB;IACjB,0BAAiB;IACjB,2BAAkB;IAClB,2BAAkB;IAClB,2BAAkB;CACrB,CAAC,CAAC;AACH,IAAA,qBAAU,EAAC,GAAG,CAAC,CAAC;A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IACD,OAAO,SAAS,CAAC;AACrB,CAAC,AARkB,CAQjB"}
|
|
@@ -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: {
|