@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.
@@ -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,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,oBAAoB,CAAC;AAKhD,eAAO,MAAM,aAAa,aAOrB,CAAC;AAoIN,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAG5B,CAAC;AAKH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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B,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"}
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1724.2",
3
+ "version": "0.1725.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",