@lightdash/common 0.1724.2 → 0.1725.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.
- package/dist/cjs/ee/Ai/schemas.d.ts +206 -0
- package/dist/cjs/ee/Ai/schemas.d.ts.map +1 -1
- package/dist/cjs/ee/Ai/schemas.js +78 -1
- package/dist/cjs/ee/Ai/schemas.js.map +1 -1
- package/dist/cjs/utils/i18n/dashboardAsCode.d.ts +19 -19
- package/dist/esm/ee/Ai/schemas.d.ts +206 -0
- package/dist/esm/ee/Ai/schemas.d.ts.map +1 -1
- package/dist/esm/ee/Ai/schemas.js +77 -0
- package/dist/esm/ee/Ai/schemas.js.map +1 -1
- package/dist/esm/utils/i18n/dashboardAsCode.d.ts +19 -19
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/Ai/schemas.d.ts +206 -0
- package/dist/types/ee/Ai/schemas.d.ts.map +1 -1
- package/dist/types/utils/i18n/dashboardAsCode.d.ts +19 -19
- package/package.json +1 -1
|
@@ -3,6 +3,87 @@ import { ConditionalOperator } from '../../types/conditionalRule';
|
|
|
3
3
|
import { DimensionType, MetricType } from '../../types/field';
|
|
4
4
|
import { UnitOfTime } from '../../types/filter';
|
|
5
5
|
export declare const FieldIdSchema: z.ZodString;
|
|
6
|
+
declare const FilterRuleSchema: z.ZodUnion<[z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
target: z.ZodObject<{
|
|
9
|
+
fieldId: z.ZodString;
|
|
10
|
+
type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
type: DimensionType | MetricType;
|
|
13
|
+
fieldId: string;
|
|
14
|
+
}, {
|
|
15
|
+
type: DimensionType | MetricType;
|
|
16
|
+
fieldId: string;
|
|
17
|
+
}>;
|
|
18
|
+
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
|
|
19
|
+
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
values: (string | number | boolean | null)[];
|
|
22
|
+
target: {
|
|
23
|
+
type: DimensionType | MetricType;
|
|
24
|
+
fieldId: string;
|
|
25
|
+
};
|
|
26
|
+
id: string;
|
|
27
|
+
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
|
28
|
+
}, {
|
|
29
|
+
values: (string | number | boolean | null)[];
|
|
30
|
+
target: {
|
|
31
|
+
type: DimensionType | MetricType;
|
|
32
|
+
fieldId: string;
|
|
33
|
+
};
|
|
34
|
+
id: string;
|
|
35
|
+
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
|
36
|
+
}>, z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
target: z.ZodObject<{
|
|
39
|
+
fieldId: z.ZodString;
|
|
40
|
+
type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
type: DimensionType | MetricType;
|
|
43
|
+
fieldId: string;
|
|
44
|
+
}, {
|
|
45
|
+
type: DimensionType | MetricType;
|
|
46
|
+
fieldId: string;
|
|
47
|
+
}>;
|
|
48
|
+
} & {
|
|
49
|
+
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
|
50
|
+
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
|
51
|
+
settings: z.ZodObject<{
|
|
52
|
+
completed: z.ZodBoolean;
|
|
53
|
+
unitOfTime: z.ZodNativeEnum<typeof UnitOfTime>;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
completed: boolean;
|
|
56
|
+
unitOfTime: UnitOfTime;
|
|
57
|
+
}, {
|
|
58
|
+
completed: boolean;
|
|
59
|
+
unitOfTime: UnitOfTime;
|
|
60
|
+
}>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
values: (string | null)[];
|
|
63
|
+
target: {
|
|
64
|
+
type: DimensionType | MetricType;
|
|
65
|
+
fieldId: string;
|
|
66
|
+
};
|
|
67
|
+
id: string;
|
|
68
|
+
settings: {
|
|
69
|
+
completed: boolean;
|
|
70
|
+
unitOfTime: UnitOfTime;
|
|
71
|
+
};
|
|
72
|
+
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
|
73
|
+
}, {
|
|
74
|
+
values: (string | null)[];
|
|
75
|
+
target: {
|
|
76
|
+
type: DimensionType | MetricType;
|
|
77
|
+
fieldId: string;
|
|
78
|
+
};
|
|
79
|
+
id: string;
|
|
80
|
+
settings: {
|
|
81
|
+
completed: boolean;
|
|
82
|
+
unitOfTime: UnitOfTime;
|
|
83
|
+
};
|
|
84
|
+
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
|
85
|
+
}>]>;
|
|
86
|
+
export type FilterRuleSchemaType = z.infer<typeof FilterRuleSchema>;
|
|
6
87
|
export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
|
|
7
88
|
id: z.ZodString;
|
|
8
89
|
and: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -260,6 +341,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
260
341
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
|
261
342
|
})[];
|
|
262
343
|
}>]>;
|
|
344
|
+
export type FilterGroupSchemaType = z.infer<typeof FilterGroupSchema>;
|
|
263
345
|
export declare const filterSchema: z.ZodObject<{
|
|
264
346
|
dimensions: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
265
347
|
id: z.ZodString;
|
|
@@ -2306,4 +2388,128 @@ export declare const aiFindFieldsToolSchema: z.ZodObject<{
|
|
|
2306
2388
|
description: string;
|
|
2307
2389
|
}[];
|
|
2308
2390
|
}>;
|
|
2391
|
+
export declare const timeSeriesMetricVizConfigSchema: z.ZodObject<{
|
|
2392
|
+
title: z.ZodNullable<z.ZodString>;
|
|
2393
|
+
exploreName: z.ZodString;
|
|
2394
|
+
xDimension: z.ZodString;
|
|
2395
|
+
yMetrics: z.ZodArray<z.ZodString, "many">;
|
|
2396
|
+
sorts: z.ZodArray<z.ZodObject<{
|
|
2397
|
+
fieldId: z.ZodString;
|
|
2398
|
+
descending: z.ZodBoolean;
|
|
2399
|
+
}, "strip", z.ZodTypeAny, {
|
|
2400
|
+
descending: boolean;
|
|
2401
|
+
fieldId: string;
|
|
2402
|
+
}, {
|
|
2403
|
+
descending: boolean;
|
|
2404
|
+
fieldId: string;
|
|
2405
|
+
}>, "many">;
|
|
2406
|
+
breakdownByDimension: z.ZodNullable<z.ZodString>;
|
|
2407
|
+
lineType: z.ZodUnion<[z.ZodLiteral<"line">, z.ZodLiteral<"area">]>;
|
|
2408
|
+
}, "strip", z.ZodTypeAny, {
|
|
2409
|
+
exploreName: string;
|
|
2410
|
+
sorts: {
|
|
2411
|
+
descending: boolean;
|
|
2412
|
+
fieldId: string;
|
|
2413
|
+
}[];
|
|
2414
|
+
title: string | null;
|
|
2415
|
+
xDimension: string;
|
|
2416
|
+
yMetrics: string[];
|
|
2417
|
+
breakdownByDimension: string | null;
|
|
2418
|
+
lineType: "line" | "area";
|
|
2419
|
+
}, {
|
|
2420
|
+
exploreName: string;
|
|
2421
|
+
sorts: {
|
|
2422
|
+
descending: boolean;
|
|
2423
|
+
fieldId: string;
|
|
2424
|
+
}[];
|
|
2425
|
+
title: string | null;
|
|
2426
|
+
xDimension: string;
|
|
2427
|
+
yMetrics: string[];
|
|
2428
|
+
breakdownByDimension: string | null;
|
|
2429
|
+
lineType: "line" | "area";
|
|
2430
|
+
}>;
|
|
2431
|
+
export type TimeSeriesMetricVizConfigSchemaType = z.infer<typeof timeSeriesMetricVizConfigSchema>;
|
|
2432
|
+
export declare const verticalBarMetricVizConfigSchema: z.ZodObject<{
|
|
2433
|
+
exploreName: z.ZodString;
|
|
2434
|
+
xDimension: z.ZodString;
|
|
2435
|
+
yMetrics: z.ZodArray<z.ZodString, "many">;
|
|
2436
|
+
sorts: z.ZodArray<z.ZodObject<{
|
|
2437
|
+
fieldId: z.ZodString;
|
|
2438
|
+
descending: z.ZodBoolean;
|
|
2439
|
+
}, "strip", z.ZodTypeAny, {
|
|
2440
|
+
descending: boolean;
|
|
2441
|
+
fieldId: string;
|
|
2442
|
+
}, {
|
|
2443
|
+
descending: boolean;
|
|
2444
|
+
fieldId: string;
|
|
2445
|
+
}>, "many">;
|
|
2446
|
+
breakdownByDimension: z.ZodNullable<z.ZodString>;
|
|
2447
|
+
stackBars: z.ZodNullable<z.ZodBoolean>;
|
|
2448
|
+
xAxisType: z.ZodUnion<[z.ZodLiteral<"category">, z.ZodLiteral<"time">]>;
|
|
2449
|
+
xAxisLabel: z.ZodNullable<z.ZodString>;
|
|
2450
|
+
yAxisLabel: z.ZodNullable<z.ZodString>;
|
|
2451
|
+
title: z.ZodNullable<z.ZodString>;
|
|
2452
|
+
}, "strip", z.ZodTypeAny, {
|
|
2453
|
+
exploreName: string;
|
|
2454
|
+
sorts: {
|
|
2455
|
+
descending: boolean;
|
|
2456
|
+
fieldId: string;
|
|
2457
|
+
}[];
|
|
2458
|
+
title: string | null;
|
|
2459
|
+
xDimension: string;
|
|
2460
|
+
yMetrics: string[];
|
|
2461
|
+
breakdownByDimension: string | null;
|
|
2462
|
+
stackBars: boolean | null;
|
|
2463
|
+
xAxisType: "time" | "category";
|
|
2464
|
+
xAxisLabel: string | null;
|
|
2465
|
+
yAxisLabel: string | null;
|
|
2466
|
+
}, {
|
|
2467
|
+
exploreName: string;
|
|
2468
|
+
sorts: {
|
|
2469
|
+
descending: boolean;
|
|
2470
|
+
fieldId: string;
|
|
2471
|
+
}[];
|
|
2472
|
+
title: string | null;
|
|
2473
|
+
xDimension: string;
|
|
2474
|
+
yMetrics: string[];
|
|
2475
|
+
breakdownByDimension: string | null;
|
|
2476
|
+
stackBars: boolean | null;
|
|
2477
|
+
xAxisType: "time" | "category";
|
|
2478
|
+
xAxisLabel: string | null;
|
|
2479
|
+
yAxisLabel: string | null;
|
|
2480
|
+
}>;
|
|
2481
|
+
export type VerticalBarMetricVizConfigSchemaType = z.infer<typeof verticalBarMetricVizConfigSchema>;
|
|
2482
|
+
export declare const csvFileVizConfigSchema: z.ZodObject<{
|
|
2483
|
+
exploreName: z.ZodString;
|
|
2484
|
+
metrics: z.ZodArray<z.ZodString, "many">;
|
|
2485
|
+
dimensions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
2486
|
+
sorts: z.ZodArray<z.ZodObject<{
|
|
2487
|
+
fieldId: z.ZodString;
|
|
2488
|
+
descending: z.ZodBoolean;
|
|
2489
|
+
}, "strip", z.ZodTypeAny, {
|
|
2490
|
+
descending: boolean;
|
|
2491
|
+
fieldId: string;
|
|
2492
|
+
}, {
|
|
2493
|
+
descending: boolean;
|
|
2494
|
+
fieldId: string;
|
|
2495
|
+
}>, "many">;
|
|
2496
|
+
}, "strip", z.ZodTypeAny, {
|
|
2497
|
+
exploreName: string;
|
|
2498
|
+
dimensions: string[] | null;
|
|
2499
|
+
metrics: string[];
|
|
2500
|
+
sorts: {
|
|
2501
|
+
descending: boolean;
|
|
2502
|
+
fieldId: string;
|
|
2503
|
+
}[];
|
|
2504
|
+
}, {
|
|
2505
|
+
exploreName: string;
|
|
2506
|
+
dimensions: string[] | null;
|
|
2507
|
+
metrics: string[];
|
|
2508
|
+
sorts: {
|
|
2509
|
+
descending: boolean;
|
|
2510
|
+
fieldId: string;
|
|
2511
|
+
}[];
|
|
2512
|
+
}>;
|
|
2513
|
+
export type CsvFileVizConfigSchemaType = z.infer<typeof csvFileVizConfigSchema>;
|
|
2514
|
+
export {};
|
|
2309
2515
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/ee/Ai/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDnC,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;EAI9C,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;EAE1B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EAYjC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuC1C,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,+BAA+B,CACzC,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgD3C,CAAC;AAEH,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,gCAAgC,CAC1C,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBjC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -230,4 +230,81 @@ export const aiFindFieldsToolSchema = z.object({
|
|
|
230
230
|
}))
|
|
231
231
|
.describe(`Break down user input sentence into field names and descriptions to find the most relevant fields in the explore.`),
|
|
232
232
|
});
|
|
233
|
+
export const timeSeriesMetricVizConfigSchema = z.object({
|
|
234
|
+
title: z
|
|
235
|
+
.string()
|
|
236
|
+
.describe('The title of the chart. If not provided the chart will have no title.')
|
|
237
|
+
.nullable(),
|
|
238
|
+
exploreName: z
|
|
239
|
+
.string()
|
|
240
|
+
.describe('The name of the explore containing the metrics and dimensions used for the chart.'),
|
|
241
|
+
xDimension: z
|
|
242
|
+
.string()
|
|
243
|
+
.describe('The field id of the time dimension to be displayed on the x-axis.'),
|
|
244
|
+
yMetrics: z
|
|
245
|
+
.array(z.string())
|
|
246
|
+
.min(1)
|
|
247
|
+
.describe('At least one metric is required. The field ids of the metrics to be displayed on the y-axis. If there are multiple metrics there will be one line per metric'),
|
|
248
|
+
sorts: z
|
|
249
|
+
.array(SortFieldSchema)
|
|
250
|
+
.describe('Sort configuration for the query, it can use a combination of metrics and dimensions.'),
|
|
251
|
+
breakdownByDimension: z
|
|
252
|
+
.string()
|
|
253
|
+
.nullable()
|
|
254
|
+
.describe('The field id of the dimension used to split the metrics into series for each dimension value. For example if you wanted to split a metric into multiple series based on City you would use the City dimension field id here. If this is not provided then the metric will be displayed as a single series.'),
|
|
255
|
+
lineType: z
|
|
256
|
+
.union([z.literal('line'), z.literal('area')])
|
|
257
|
+
.describe('default line. The type of line to display. If area then the area under the line will be filled in.'),
|
|
258
|
+
});
|
|
259
|
+
export const verticalBarMetricVizConfigSchema = z.object({
|
|
260
|
+
exploreName: z
|
|
261
|
+
.string()
|
|
262
|
+
.describe('The name of the explore containing the metrics and dimensions used for the chart.'),
|
|
263
|
+
xDimension: z
|
|
264
|
+
.string()
|
|
265
|
+
.describe('The field id of the dimension to be displayed on the x-axis.'),
|
|
266
|
+
yMetrics: z
|
|
267
|
+
.array(z.string())
|
|
268
|
+
.min(1)
|
|
269
|
+
.describe('At least one metric is required. The field ids of the metrics to be displayed on the y-axis. The height of the bars'),
|
|
270
|
+
sorts: z
|
|
271
|
+
.array(SortFieldSchema)
|
|
272
|
+
.describe('Sort configuration for the query, it can use a combination of metrics and dimensions.'),
|
|
273
|
+
breakdownByDimension: z
|
|
274
|
+
.string()
|
|
275
|
+
.nullable()
|
|
276
|
+
.describe('The field id of the dimension used to split the metrics into groups along the x-axis. If stacking is false then this will create multiple bars around each x value, if stacking is true then this will create multiple bars for each metric stacked on top of each other'),
|
|
277
|
+
stackBars: z
|
|
278
|
+
.boolean()
|
|
279
|
+
.nullable()
|
|
280
|
+
.describe('If using breakdownByDimension then this will stack the bars on top of each other instead of side by side.'),
|
|
281
|
+
xAxisType: z
|
|
282
|
+
.union([z.literal('category'), z.literal('time')])
|
|
283
|
+
.describe('The x-axis type can be categorical for string value or time if the dimension is a date or timestamp.'),
|
|
284
|
+
xAxisLabel: z
|
|
285
|
+
.string()
|
|
286
|
+
.nullable()
|
|
287
|
+
.describe('A helpful label to explain the x-axis'),
|
|
288
|
+
yAxisLabel: z
|
|
289
|
+
.string()
|
|
290
|
+
.nullable()
|
|
291
|
+
.describe('A helpful label to explain the y-axis'),
|
|
292
|
+
title: z.string().nullable().describe('a descriptive title for the chart'),
|
|
293
|
+
});
|
|
294
|
+
export const csvFileVizConfigSchema = z.object({
|
|
295
|
+
exploreName: z
|
|
296
|
+
.string()
|
|
297
|
+
.describe('The name of the explore containing the metrics and dimensions used for csv query'),
|
|
298
|
+
metrics: z
|
|
299
|
+
.array(z.string())
|
|
300
|
+
.min(1)
|
|
301
|
+
.describe('At least one metric is required. The field ids of the metrics to be calculated for the CSV. They will be grouped by the dimensions.'),
|
|
302
|
+
dimensions: z
|
|
303
|
+
.array(z.string())
|
|
304
|
+
.nullable()
|
|
305
|
+
.describe('The field id for the dimensions to group the metrics by'),
|
|
306
|
+
sorts: z
|
|
307
|
+
.array(SortFieldSchema)
|
|
308
|
+
.describe('Sort configuration for the query, it can use a combination of metrics and dimensions.'),
|
|
309
|
+
});
|
|
233
310
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/ee/Ai/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM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AAC,QAAQ,CAAC,mCAAmC,CAAC;CAC7E,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,WAAW,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CACL,kFAAkF,CACrF;IACL,OAAO,EAAE,CAAC;SACL,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACL,qIAAqI,CACxI;IACL,UAAU,EAAE,CAAC;SACR,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACxE,KAAK,EAAE,CAAC;SACH,KAAK,CAAC,eAAe,CAAC;SACtB,QAAQ,CACL,uFAAuF,CAC1F;CACR,CAAC,CAAC"}
|
|
@@ -35,23 +35,23 @@ declare const dashboardAsCodeSchema: z.ZodObject<{
|
|
|
35
35
|
title: z.ZodString;
|
|
36
36
|
content: z.ZodString;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
content: string;
|
|
39
38
|
title: string;
|
|
40
|
-
}, {
|
|
41
39
|
content: string;
|
|
40
|
+
}, {
|
|
42
41
|
title: string;
|
|
42
|
+
content: string;
|
|
43
43
|
}>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
type: DashboardTileTypes.MARKDOWN;
|
|
46
46
|
properties: {
|
|
47
|
-
content: string;
|
|
48
47
|
title: string;
|
|
48
|
+
content: string;
|
|
49
49
|
};
|
|
50
50
|
}, {
|
|
51
51
|
type: DashboardTileTypes.MARKDOWN;
|
|
52
52
|
properties: {
|
|
53
|
-
content: string;
|
|
54
53
|
title: string;
|
|
54
|
+
content: string;
|
|
55
55
|
};
|
|
56
56
|
}>, z.ZodObject<{
|
|
57
57
|
type: z.ZodLiteral<DashboardTileTypes.LOOM>;
|
|
@@ -84,8 +84,8 @@ declare const dashboardAsCodeSchema: z.ZodObject<{
|
|
|
84
84
|
} | {
|
|
85
85
|
type: DashboardTileTypes.MARKDOWN;
|
|
86
86
|
properties: {
|
|
87
|
-
content: string;
|
|
88
87
|
title: string;
|
|
88
|
+
content: string;
|
|
89
89
|
};
|
|
90
90
|
} | {
|
|
91
91
|
type: DashboardTileTypes.LOOM;
|
|
@@ -105,8 +105,8 @@ declare const dashboardAsCodeSchema: z.ZodObject<{
|
|
|
105
105
|
} | {
|
|
106
106
|
type: DashboardTileTypes.MARKDOWN;
|
|
107
107
|
properties: {
|
|
108
|
-
content: string;
|
|
109
108
|
title: string;
|
|
109
|
+
content: string;
|
|
110
110
|
};
|
|
111
111
|
} | {
|
|
112
112
|
type: DashboardTileTypes.LOOM;
|
|
@@ -153,23 +153,23 @@ export declare class DashboardAsCodeInternalization extends AsCodeInternalizatio
|
|
|
153
153
|
title: z.ZodString;
|
|
154
154
|
content: z.ZodString;
|
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
-
content: string;
|
|
157
156
|
title: string;
|
|
158
|
-
}, {
|
|
159
157
|
content: string;
|
|
158
|
+
}, {
|
|
160
159
|
title: string;
|
|
160
|
+
content: string;
|
|
161
161
|
}>;
|
|
162
162
|
}, "strip", z.ZodTypeAny, {
|
|
163
163
|
type: DashboardTileTypes.MARKDOWN;
|
|
164
164
|
properties: {
|
|
165
|
-
content: string;
|
|
166
165
|
title: string;
|
|
166
|
+
content: string;
|
|
167
167
|
};
|
|
168
168
|
}, {
|
|
169
169
|
type: DashboardTileTypes.MARKDOWN;
|
|
170
170
|
properties: {
|
|
171
|
-
content: string;
|
|
172
171
|
title: string;
|
|
172
|
+
content: string;
|
|
173
173
|
};
|
|
174
174
|
}>, z.ZodObject<{
|
|
175
175
|
type: z.ZodLiteral<DashboardTileTypes.LOOM>;
|
|
@@ -202,8 +202,8 @@ export declare class DashboardAsCodeInternalization extends AsCodeInternalizatio
|
|
|
202
202
|
} | {
|
|
203
203
|
type: DashboardTileTypes.MARKDOWN;
|
|
204
204
|
properties: {
|
|
205
|
-
content: string;
|
|
206
205
|
title: string;
|
|
206
|
+
content: string;
|
|
207
207
|
};
|
|
208
208
|
} | {
|
|
209
209
|
type: DashboardTileTypes.LOOM;
|
|
@@ -223,8 +223,8 @@ export declare class DashboardAsCodeInternalization extends AsCodeInternalizatio
|
|
|
223
223
|
} | {
|
|
224
224
|
type: DashboardTileTypes.MARKDOWN;
|
|
225
225
|
properties: {
|
|
226
|
-
content: string;
|
|
227
226
|
title: string;
|
|
227
|
+
content: string;
|
|
228
228
|
};
|
|
229
229
|
} | {
|
|
230
230
|
type: DashboardTileTypes.LOOM;
|
|
@@ -267,23 +267,23 @@ export declare class DashboardAsCodeInternalization extends AsCodeInternalizatio
|
|
|
267
267
|
title: z.ZodString;
|
|
268
268
|
content: z.ZodString;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
content: string;
|
|
271
270
|
title: string;
|
|
272
|
-
}, {
|
|
273
271
|
content: string;
|
|
272
|
+
}, {
|
|
274
273
|
title: string;
|
|
274
|
+
content: string;
|
|
275
275
|
}>;
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
type: DashboardTileTypes.MARKDOWN;
|
|
278
278
|
properties: {
|
|
279
|
-
content: string;
|
|
280
279
|
title: string;
|
|
280
|
+
content: string;
|
|
281
281
|
};
|
|
282
282
|
}, {
|
|
283
283
|
type: DashboardTileTypes.MARKDOWN;
|
|
284
284
|
properties: {
|
|
285
|
-
content: string;
|
|
286
285
|
title: string;
|
|
286
|
+
content: string;
|
|
287
287
|
};
|
|
288
288
|
}>, z.ZodObject<{
|
|
289
289
|
type: z.ZodLiteral<DashboardTileTypes.LOOM>;
|
|
@@ -316,8 +316,8 @@ export declare class DashboardAsCodeInternalization extends AsCodeInternalizatio
|
|
|
316
316
|
} | {
|
|
317
317
|
type: DashboardTileTypes.MARKDOWN;
|
|
318
318
|
properties: {
|
|
319
|
-
content: string;
|
|
320
319
|
title: string;
|
|
320
|
+
content: string;
|
|
321
321
|
};
|
|
322
322
|
} | {
|
|
323
323
|
type: DashboardTileTypes.LOOM;
|
|
@@ -337,8 +337,8 @@ export declare class DashboardAsCodeInternalization extends AsCodeInternalizatio
|
|
|
337
337
|
} | {
|
|
338
338
|
type: DashboardTileTypes.MARKDOWN;
|
|
339
339
|
properties: {
|
|
340
|
-
content: string;
|
|
341
340
|
title: string;
|
|
341
|
+
content: string;
|
|
342
342
|
};
|
|
343
343
|
} | {
|
|
344
344
|
type: DashboardTileTypes.LOOM;
|
|
@@ -362,8 +362,8 @@ export declare class DashboardAsCodeInternalization extends AsCodeInternalizatio
|
|
|
362
362
|
} | {
|
|
363
363
|
type: DashboardTileTypes.MARKDOWN;
|
|
364
364
|
properties: {
|
|
365
|
-
content: string;
|
|
366
365
|
title: string;
|
|
366
|
+
content: string;
|
|
367
367
|
};
|
|
368
368
|
} | {
|
|
369
369
|
type: DashboardTileTypes.LOOM;
|