@lightdash/common 0.1827.1 → 0.1827.2

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.
@@ -1099,7 +1099,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1099
1099
  vizConfig: z.ZodObject<{
1100
1100
  exploreName: z.ZodString;
1101
1101
  metrics: z.ZodArray<z.ZodString, "many">;
1102
- dimensions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
1102
+ dimensions: z.ZodArray<z.ZodString, "many">;
1103
1103
  sorts: z.ZodArray<z.ZodObject<{
1104
1104
  fieldId: z.ZodString;
1105
1105
  descending: z.ZodBoolean;
@@ -1114,7 +1114,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1114
1114
  }, "strip", z.ZodTypeAny, {
1115
1115
  limit: number | null;
1116
1116
  metrics: string[];
1117
- dimensions: string[] | null;
1117
+ dimensions: string[];
1118
1118
  exploreName: string;
1119
1119
  sorts: {
1120
1120
  descending: boolean;
@@ -1123,7 +1123,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1123
1123
  }, {
1124
1124
  limit: number | null;
1125
1125
  metrics: string[];
1126
- dimensions: string[] | null;
1126
+ dimensions: string[];
1127
1127
  exploreName: string;
1128
1128
  sorts: {
1129
1129
  descending: boolean;
@@ -2012,7 +2012,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2012
2012
  vizConfig: {
2013
2013
  limit: number | null;
2014
2014
  metrics: string[];
2015
- dimensions: string[] | null;
2015
+ dimensions: string[];
2016
2016
  exploreName: string;
2017
2017
  sorts: {
2018
2018
  descending: boolean;
@@ -2138,7 +2138,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2138
2138
  vizConfig: {
2139
2139
  limit: number | null;
2140
2140
  metrics: string[];
2141
- dimensions: string[] | null;
2141
+ dimensions: string[];
2142
2142
  exploreName: string;
2143
2143
  sorts: {
2144
2144
  descending: boolean;
@@ -9,7 +9,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
9
9
  vizConfig: z.ZodObject<{
10
10
  exploreName: z.ZodString;
11
11
  metrics: z.ZodArray<z.ZodString, "many">;
12
- dimensions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
12
+ dimensions: z.ZodArray<z.ZodString, "many">;
13
13
  sorts: z.ZodArray<z.ZodObject<{
14
14
  fieldId: z.ZodString;
15
15
  descending: z.ZodBoolean;
@@ -24,7 +24,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  limit: number | null;
26
26
  metrics: string[];
27
- dimensions: string[] | null;
27
+ dimensions: string[];
28
28
  exploreName: string;
29
29
  sorts: {
30
30
  descending: boolean;
@@ -33,7 +33,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
33
33
  }, {
34
34
  limit: number | null;
35
35
  metrics: string[];
36
- dimensions: string[] | null;
36
+ dimensions: string[];
37
37
  exploreName: string;
38
38
  sorts: {
39
39
  descending: boolean;
@@ -922,7 +922,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
922
922
  vizConfig: {
923
923
  limit: number | null;
924
924
  metrics: string[];
925
- dimensions: string[] | null;
925
+ dimensions: string[];
926
926
  exploreName: string;
927
927
  sorts: {
928
928
  descending: boolean;
@@ -1048,7 +1048,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
1048
1048
  vizConfig: {
1049
1049
  limit: number | null;
1050
1050
  metrics: string[];
1051
- dimensions: string[] | null;
1051
+ dimensions: string[];
1052
1052
  exploreName: string;
1053
1053
  sorts: {
1054
1054
  descending: boolean;
@@ -1066,7 +1066,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
1066
1066
  vizConfig: z.ZodObject<{
1067
1067
  exploreName: z.ZodString;
1068
1068
  metrics: z.ZodArray<z.ZodString, "many">;
1069
- dimensions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
1069
+ dimensions: z.ZodArray<z.ZodString, "many">;
1070
1070
  sorts: z.ZodArray<z.ZodObject<{
1071
1071
  fieldId: z.ZodString;
1072
1072
  descending: z.ZodBoolean;
@@ -1081,7 +1081,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
1081
1081
  }, "strip", z.ZodTypeAny, {
1082
1082
  limit: number | null;
1083
1083
  metrics: string[];
1084
- dimensions: string[] | null;
1084
+ dimensions: string[];
1085
1085
  exploreName: string;
1086
1086
  sorts: {
1087
1087
  descending: boolean;
@@ -1090,7 +1090,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
1090
1090
  }, {
1091
1091
  limit: number | null;
1092
1092
  metrics: string[];
1093
- dimensions: string[] | null;
1093
+ dimensions: string[];
1094
1094
  exploreName: string;
1095
1095
  sorts: {
1096
1096
  descending: boolean;
@@ -1979,7 +1979,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
1979
1979
  vizConfig: {
1980
1980
  limit: number | null;
1981
1981
  metrics: string[];
1982
- dimensions: string[] | null;
1982
+ dimensions: string[];
1983
1983
  exploreName: string;
1984
1984
  sorts: {
1985
1985
  descending: boolean;
@@ -2105,7 +2105,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
2105
2105
  vizConfig: {
2106
2106
  limit: number | null;
2107
2107
  metrics: string[];
2108
- dimensions: string[] | null;
2108
+ dimensions: string[];
2109
2109
  exploreName: string;
2110
2110
  sorts: {
2111
2111
  descending: boolean;
@@ -2121,7 +2121,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
2121
2121
  vizConfig: {
2122
2122
  limit: number | null;
2123
2123
  metrics: string[];
2124
- dimensions: string[] | null;
2124
+ dimensions: string[];
2125
2125
  exploreName: string;
2126
2126
  sorts: {
2127
2127
  descending: boolean;
@@ -2247,7 +2247,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
2247
2247
  vizConfig: {
2248
2248
  limit: number | null;
2249
2249
  metrics: string[];
2250
- dimensions: string[] | null;
2250
+ dimensions: string[];
2251
2251
  exploreName: string;
2252
2252
  sorts: {
2253
2253
  descending: boolean;
@@ -4,7 +4,7 @@ import type { AiMetricQueryWithFilters } from '../../types';
4
4
  export declare const tableVizConfigSchema: z.ZodObject<{
5
5
  exploreName: z.ZodString;
6
6
  metrics: z.ZodArray<z.ZodString, "many">;
7
- dimensions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
7
+ dimensions: z.ZodArray<z.ZodString, "many">;
8
8
  sorts: z.ZodArray<z.ZodObject<{
9
9
  fieldId: z.ZodString;
10
10
  descending: z.ZodBoolean;
@@ -19,7 +19,7 @@ export declare const tableVizConfigSchema: z.ZodObject<{
19
19
  }, "strip", z.ZodTypeAny, {
20
20
  limit: number | null;
21
21
  metrics: string[];
22
- dimensions: string[] | null;
22
+ dimensions: string[];
23
23
  exploreName: string;
24
24
  sorts: {
25
25
  descending: boolean;
@@ -28,7 +28,7 @@ export declare const tableVizConfigSchema: z.ZodObject<{
28
28
  }, {
29
29
  limit: number | null;
30
30
  metrics: string[];
31
- dimensions: string[] | null;
31
+ dimensions: string[];
32
32
  exploreName: string;
33
33
  sorts: {
34
34
  descending: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"tableViz.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/tableViz.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAK5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+B5B,CAAC;AAEN,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE5E,eAAO,MAAM,mBAAmB,cACjB,wBAAwB,WAC1B,OAAO,YACN,MAAM,KACjB,wBAOD,CAAC"}
1
+ {"version":3,"file":"tableViz.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/tableViz.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAK5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B5B,CAAC;AAEN,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE5E,eAAO,MAAM,mBAAmB,cACjB,wBAAwB,WAC1B,OAAO,YACN,MAAM,KACjB,wBAOD,CAAC"}
@@ -58,7 +58,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
58
58
  vizConfig: {
59
59
  limit: number | null;
60
60
  metrics: string[];
61
- dimensions: string[] | null;
61
+ dimensions: string[];
62
62
  exploreName: string;
63
63
  sorts: {
64
64
  descending: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1827.1",
3
+ "version": "0.1827.2",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",