@lightdash/common 0.1698.6 → 0.1700.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 +35 -34
- package/dist/cjs/ee/Ai/schemas.d.ts.map +1 -1
- package/dist/cjs/ee/Ai/schemas.js +20 -19
- package/dist/cjs/ee/Ai/schemas.js.map +1 -1
- package/dist/esm/ee/Ai/schemas.d.ts +35 -34
- package/dist/esm/ee/Ai/schemas.d.ts.map +1 -1
- package/dist/esm/ee/Ai/schemas.js +19 -18
- package/dist/esm/ee/Ai/schemas.js.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/Ai/schemas.d.ts +35 -34
- package/dist/types/ee/Ai/schemas.d.ts.map +1 -1
- package/package.json +1 -1
@@ -260,8 +260,8 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
|
|
260
260
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
261
261
|
})[];
|
262
262
|
}>]>;
|
263
|
-
export declare const
|
264
|
-
dimensions: z.
|
263
|
+
export declare const filterSchema: z.ZodObject<{
|
264
|
+
dimensions: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
265
265
|
id: z.ZodString;
|
266
266
|
and: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
267
267
|
id: z.ZodString;
|
@@ -518,7 +518,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
518
518
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
519
519
|
})[];
|
520
520
|
}>]>>;
|
521
|
-
metrics: z.
|
521
|
+
metrics: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
522
522
|
id: z.ZodString;
|
523
523
|
and: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
524
524
|
id: z.ZodString;
|
@@ -776,7 +776,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
776
776
|
})[];
|
777
777
|
}>]>>;
|
778
778
|
}, "strip", z.ZodTypeAny, {
|
779
|
-
dimensions
|
779
|
+
dimensions: {
|
780
780
|
id: string;
|
781
781
|
and: ({
|
782
782
|
values: (string | number | boolean | null)[];
|
@@ -822,8 +822,8 @@ export declare const FilterSchema: z.ZodObject<{
|
|
822
822
|
};
|
823
823
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
824
824
|
})[];
|
825
|
-
} |
|
826
|
-
metrics
|
825
|
+
} | null;
|
826
|
+
metrics: {
|
827
827
|
id: string;
|
828
828
|
and: ({
|
829
829
|
values: (string | number | boolean | null)[];
|
@@ -869,9 +869,9 @@ export declare const FilterSchema: z.ZodObject<{
|
|
869
869
|
};
|
870
870
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
871
871
|
})[];
|
872
|
-
} |
|
872
|
+
} | null;
|
873
873
|
}, {
|
874
|
-
dimensions
|
874
|
+
dimensions: {
|
875
875
|
id: string;
|
876
876
|
and: ({
|
877
877
|
values: (string | number | boolean | null)[];
|
@@ -917,8 +917,8 @@ export declare const FilterSchema: z.ZodObject<{
|
|
917
917
|
};
|
918
918
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
919
919
|
})[];
|
920
|
-
} |
|
921
|
-
metrics
|
920
|
+
} | null;
|
921
|
+
metrics: {
|
922
922
|
id: string;
|
923
923
|
and: ({
|
924
924
|
values: (string | number | boolean | null)[];
|
@@ -964,8 +964,9 @@ export declare const FilterSchema: z.ZodObject<{
|
|
964
964
|
};
|
965
965
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
966
966
|
})[];
|
967
|
-
} |
|
967
|
+
} | null;
|
968
968
|
}>;
|
969
|
+
export type FilterSchemaType = z.infer<typeof filterSchema>;
|
969
970
|
export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
|
970
971
|
exploreName: z.ZodString;
|
971
972
|
filterGroup: z.ZodUnion<[z.ZodObject<{
|
@@ -1326,20 +1327,20 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
|
|
1326
1327
|
}>;
|
1327
1328
|
export declare const SortFieldSchema: z.ZodObject<{
|
1328
1329
|
fieldId: z.ZodString;
|
1329
|
-
descending: z.
|
1330
|
+
descending: z.ZodBoolean;
|
1330
1331
|
}, "strip", z.ZodTypeAny, {
|
1331
1332
|
descending: boolean;
|
1332
1333
|
fieldId: string;
|
1333
1334
|
}, {
|
1335
|
+
descending: boolean;
|
1334
1336
|
fieldId: string;
|
1335
|
-
descending?: boolean | undefined;
|
1336
1337
|
}>;
|
1337
1338
|
export declare const lighterMetricQuerySchema: z.ZodObject<{
|
1338
1339
|
exploreName: z.ZodString;
|
1339
1340
|
metrics: z.ZodArray<z.ZodString, "many">;
|
1340
1341
|
dimensions: z.ZodArray<z.ZodString, "many">;
|
1341
1342
|
filters: z.ZodObject<{
|
1342
|
-
dimensions: z.
|
1343
|
+
dimensions: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
1343
1344
|
id: z.ZodString;
|
1344
1345
|
and: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
1345
1346
|
id: z.ZodString;
|
@@ -1596,7 +1597,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1596
1597
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
1597
1598
|
})[];
|
1598
1599
|
}>]>>;
|
1599
|
-
metrics: z.
|
1600
|
+
metrics: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
1600
1601
|
id: z.ZodString;
|
1601
1602
|
and: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
1602
1603
|
id: z.ZodString;
|
@@ -1854,7 +1855,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1854
1855
|
})[];
|
1855
1856
|
}>]>>;
|
1856
1857
|
}, "strip", z.ZodTypeAny, {
|
1857
|
-
dimensions
|
1858
|
+
dimensions: {
|
1858
1859
|
id: string;
|
1859
1860
|
and: ({
|
1860
1861
|
values: (string | number | boolean | null)[];
|
@@ -1900,8 +1901,8 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1900
1901
|
};
|
1901
1902
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
1902
1903
|
})[];
|
1903
|
-
} |
|
1904
|
-
metrics
|
1904
|
+
} | null;
|
1905
|
+
metrics: {
|
1905
1906
|
id: string;
|
1906
1907
|
and: ({
|
1907
1908
|
values: (string | number | boolean | null)[];
|
@@ -1947,9 +1948,9 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1947
1948
|
};
|
1948
1949
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
1949
1950
|
})[];
|
1950
|
-
} |
|
1951
|
+
} | null;
|
1951
1952
|
}, {
|
1952
|
-
dimensions
|
1953
|
+
dimensions: {
|
1953
1954
|
id: string;
|
1954
1955
|
and: ({
|
1955
1956
|
values: (string | number | boolean | null)[];
|
@@ -1995,8 +1996,8 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1995
1996
|
};
|
1996
1997
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
1997
1998
|
})[];
|
1998
|
-
} |
|
1999
|
-
metrics
|
1999
|
+
} | null;
|
2000
|
+
metrics: {
|
2000
2001
|
id: string;
|
2001
2002
|
and: ({
|
2002
2003
|
values: (string | number | boolean | null)[];
|
@@ -2042,22 +2043,22 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
2042
2043
|
};
|
2043
2044
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
2044
2045
|
})[];
|
2045
|
-
} |
|
2046
|
+
} | null;
|
2046
2047
|
}>;
|
2047
2048
|
sorts: z.ZodArray<z.ZodObject<{
|
2048
2049
|
fieldId: z.ZodString;
|
2049
|
-
descending: z.
|
2050
|
+
descending: z.ZodBoolean;
|
2050
2051
|
}, "strip", z.ZodTypeAny, {
|
2051
2052
|
descending: boolean;
|
2052
2053
|
fieldId: string;
|
2053
2054
|
}, {
|
2055
|
+
descending: boolean;
|
2054
2056
|
fieldId: string;
|
2055
|
-
descending?: boolean | undefined;
|
2056
2057
|
}>, "many">;
|
2057
2058
|
limit: z.ZodNumber;
|
2058
2059
|
}, "strip", z.ZodTypeAny, {
|
2059
2060
|
filters: {
|
2060
|
-
dimensions
|
2061
|
+
dimensions: {
|
2061
2062
|
id: string;
|
2062
2063
|
and: ({
|
2063
2064
|
values: (string | number | boolean | null)[];
|
@@ -2103,8 +2104,8 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
2103
2104
|
};
|
2104
2105
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
2105
2106
|
})[];
|
2106
|
-
} |
|
2107
|
-
metrics
|
2107
|
+
} | null;
|
2108
|
+
metrics: {
|
2108
2109
|
id: string;
|
2109
2110
|
and: ({
|
2110
2111
|
values: (string | number | boolean | null)[];
|
@@ -2150,7 +2151,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
2150
2151
|
};
|
2151
2152
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
2152
2153
|
})[];
|
2153
|
-
} |
|
2154
|
+
} | null;
|
2154
2155
|
};
|
2155
2156
|
exploreName: string;
|
2156
2157
|
dimensions: string[];
|
@@ -2162,7 +2163,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
2162
2163
|
limit: number;
|
2163
2164
|
}, {
|
2164
2165
|
filters: {
|
2165
|
-
dimensions
|
2166
|
+
dimensions: {
|
2166
2167
|
id: string;
|
2167
2168
|
and: ({
|
2168
2169
|
values: (string | number | boolean | null)[];
|
@@ -2208,8 +2209,8 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
2208
2209
|
};
|
2209
2210
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
2210
2211
|
})[];
|
2211
|
-
} |
|
2212
|
-
metrics
|
2212
|
+
} | null;
|
2213
|
+
metrics: {
|
2213
2214
|
id: string;
|
2214
2215
|
and: ({
|
2215
2216
|
values: (string | number | boolean | null)[];
|
@@ -2255,14 +2256,14 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
2255
2256
|
};
|
2256
2257
|
operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
|
2257
2258
|
})[];
|
2258
|
-
} |
|
2259
|
+
} | null;
|
2259
2260
|
};
|
2260
2261
|
exploreName: string;
|
2261
2262
|
dimensions: string[];
|
2262
2263
|
metrics: string[];
|
2263
2264
|
sorts: {
|
2265
|
+
descending: boolean;
|
2264
2266
|
fieldId: string;
|
2265
|
-
descending?: boolean | undefined;
|
2266
2267
|
}[];
|
2267
2268
|
limit: number;
|
2268
2269
|
}>;
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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