@lightdash/common 0.1861.0 → 0.1861.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/ee/AiAgent/schemas/fieldId.d.ts +2 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldId.js +5 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldId.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts +13 -0
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js +10 -0
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/fieldType.d.ts +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldType.js +22 -2
- package/dist/cjs/ee/AiAgent/schemas/fieldType.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/filters/index.d.ts +30 -30
- package/dist/cjs/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/filters/index.js +4 -8
- package/dist/cjs/ee/AiAgent/schemas/filters/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts +75 -69
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +0 -6
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +0 -4
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -38
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +1 -8
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +54 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +13 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/catalog.d.ts +4 -7
- package/dist/cjs/types/catalog.d.ts.map +1 -1
- package/dist/cjs/types/catalog.js.map +1 -1
- package/dist/cjs/types/parameters.d.ts.map +1 -1
- package/dist/cjs/utils/explore.d.ts +3 -0
- package/dist/cjs/utils/explore.d.ts.map +1 -0
- package/dist/cjs/utils/explore.js +18 -0
- package/dist/cjs/utils/explore.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts +2 -1
- package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldId.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/fieldId.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts +13 -0
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js +7 -0
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldType.js +22 -2
- package/dist/esm/ee/AiAgent/schemas/fieldType.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts +30 -30
- package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/filters/index.js +4 -8
- package/dist/esm/ee/AiAgent/schemas/filters/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.d.ts +75 -69
- package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.js +5 -2
- package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.js +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +0 -6
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +0 -4
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -38
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +1 -8
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +54 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +10 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/catalog.d.ts +4 -7
- package/dist/esm/types/catalog.d.ts.map +1 -1
- package/dist/esm/types/catalog.js.map +1 -1
- package/dist/esm/types/parameters.d.ts.map +1 -1
- package/dist/esm/utils/explore.d.ts +3 -0
- package/dist/esm/utils/explore.d.ts.map +1 -0
- package/dist/esm/utils/explore.js +14 -0
- package/dist/esm/utils/explore.js.map +1 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/schemas/fieldId.d.ts +2 -1
- package/dist/types/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts +13 -0
- package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/fieldType.d.ts +1 -1
- package/dist/types/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/filters/index.d.ts +30 -30
- package/dist/types/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/index.d.ts +75 -69
- package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +0 -6
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -38
- package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +54 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/catalog.d.ts +4 -7
- package/dist/types/types/catalog.d.ts.map +1 -1
- package/dist/types/types/parameters.d.ts.map +1 -1
- package/dist/types/utils/explore.d.ts +3 -0
- package/dist/types/utils/explore.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
declare const fieldIdSchemaUnknown: z.ZodString;
|
|
2
3
|
declare const getFieldIdSchema: (args: {
|
|
3
4
|
additionalDescription: string | null;
|
|
4
5
|
}) => z.ZodString;
|
|
5
|
-
export { getFieldIdSchema };
|
|
6
|
+
export { fieldIdSchemaUnknown, getFieldIdSchema };
|
|
6
7
|
//# sourceMappingURL=fieldId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldId.d.ts","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/fieldId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,gBAAgB,SAAU;IAAE,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,gBAU/D,CAAC;AAEV,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"fieldId.d.ts","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/fieldId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,oBAAoB,aAIzB,CAAC;AAEF,QAAA,MAAM,gBAAgB,SAAU;IAAE,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,gBAU/D,CAAC;AAEV,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const fieldSearchQuerySchema: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
description: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
}, {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type FieldSearchQuery = z.infer<typeof fieldSearchQuerySchema>;
|
|
13
|
+
//# sourceMappingURL=fieldSearchQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fieldSearchQuery.d.ts","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/fieldSearchQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { DimensionType, MetricType } from '../../../types/field';
|
|
3
|
-
declare const fieldTypeSchema: z.ZodUnion<[z.
|
|
3
|
+
declare const fieldTypeSchema: 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>]>]>;
|
|
4
4
|
export default fieldTypeSchema;
|
|
5
5
|
//# sourceMappingURL=fieldType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldType.d.ts","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/fieldType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"fieldType.d.ts","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/fieldType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AA0BjE,QAAA,MAAM,eAAe,kpBAAmD,CAAC;AAEzE,eAAe,eAAe,CAAC"}
|
|
@@ -6,12 +6,12 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
6
6
|
type: z.ZodEnum<["or", "and"]>;
|
|
7
7
|
target: z.ZodObject<{
|
|
8
8
|
fieldId: z.ZodString;
|
|
9
|
-
type: z.
|
|
9
|
+
type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").DimensionType.DATE>, z.ZodLiteral<import("../../../..").DimensionType.NUMBER>, z.ZodLiteral<import("../../../..").DimensionType.STRING>, z.ZodLiteral<import("../../../..").DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<import("../../../..").MetricType.PERCENTILE>, z.ZodLiteral<import("../../../..").MetricType.AVERAGE>, z.ZodLiteral<import("../../../..").MetricType.COUNT>, z.ZodLiteral<import("../../../..").MetricType.COUNT_DISTINCT>, z.ZodLiteral<import("../../../..").MetricType.SUM>, z.ZodLiteral<import("../../../..").MetricType.MIN>, z.ZodLiteral<import("../../../..").MetricType.MAX>, z.ZodLiteral<import("../../../..").MetricType.NUMBER>, z.ZodLiteral<import("../../../..").MetricType.MEDIAN>, z.ZodLiteral<import("../../../..").MetricType.STRING>, z.ZodLiteral<import("../../../..").MetricType.DATE>, z.ZodLiteral<import("../../../..").MetricType.TIMESTAMP>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>]>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
type: "
|
|
11
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
12
12
|
fieldId: string;
|
|
13
13
|
}, {
|
|
14
|
-
type: "
|
|
14
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
15
15
|
fieldId: string;
|
|
16
16
|
}>;
|
|
17
17
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -168,7 +168,7 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
168
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
169
|
type: "and" | "or";
|
|
170
170
|
target: {
|
|
171
|
-
type: "
|
|
171
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
172
172
|
fieldId: string;
|
|
173
173
|
};
|
|
174
174
|
rule: {
|
|
@@ -221,7 +221,7 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
221
221
|
}, {
|
|
222
222
|
type: "and" | "or";
|
|
223
223
|
target: {
|
|
224
|
-
type: "
|
|
224
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
225
225
|
fieldId: string;
|
|
226
226
|
};
|
|
227
227
|
rule: {
|
|
@@ -276,12 +276,12 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
276
276
|
type: z.ZodEnum<["or", "and"]>;
|
|
277
277
|
target: z.ZodObject<{
|
|
278
278
|
fieldId: z.ZodString;
|
|
279
|
-
type: z.
|
|
279
|
+
type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").DimensionType.DATE>, z.ZodLiteral<import("../../../..").DimensionType.NUMBER>, z.ZodLiteral<import("../../../..").DimensionType.STRING>, z.ZodLiteral<import("../../../..").DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<import("../../../..").MetricType.PERCENTILE>, z.ZodLiteral<import("../../../..").MetricType.AVERAGE>, z.ZodLiteral<import("../../../..").MetricType.COUNT>, z.ZodLiteral<import("../../../..").MetricType.COUNT_DISTINCT>, z.ZodLiteral<import("../../../..").MetricType.SUM>, z.ZodLiteral<import("../../../..").MetricType.MIN>, z.ZodLiteral<import("../../../..").MetricType.MAX>, z.ZodLiteral<import("../../../..").MetricType.NUMBER>, z.ZodLiteral<import("../../../..").MetricType.MEDIAN>, z.ZodLiteral<import("../../../..").MetricType.STRING>, z.ZodLiteral<import("../../../..").MetricType.DATE>, z.ZodLiteral<import("../../../..").MetricType.TIMESTAMP>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>]>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
type: "
|
|
281
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
282
282
|
fieldId: string;
|
|
283
283
|
}, {
|
|
284
|
-
type: "
|
|
284
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
285
285
|
fieldId: string;
|
|
286
286
|
}>;
|
|
287
287
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -438,7 +438,7 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
439
439
|
type: "and" | "or";
|
|
440
440
|
target: {
|
|
441
|
-
type: "
|
|
441
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
442
442
|
fieldId: string;
|
|
443
443
|
};
|
|
444
444
|
rule: {
|
|
@@ -491,7 +491,7 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
491
491
|
}, {
|
|
492
492
|
type: "and" | "or";
|
|
493
493
|
target: {
|
|
494
|
-
type: "
|
|
494
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
495
495
|
fieldId: string;
|
|
496
496
|
};
|
|
497
497
|
rule: {
|
|
@@ -547,7 +547,7 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
547
547
|
metrics: {
|
|
548
548
|
type: "and" | "or";
|
|
549
549
|
target: {
|
|
550
|
-
type: "
|
|
550
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
551
551
|
fieldId: string;
|
|
552
552
|
};
|
|
553
553
|
rule: {
|
|
@@ -601,7 +601,7 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
601
601
|
dimensions: {
|
|
602
602
|
type: "and" | "or";
|
|
603
603
|
target: {
|
|
604
|
-
type: "
|
|
604
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
605
605
|
fieldId: string;
|
|
606
606
|
};
|
|
607
607
|
rule: {
|
|
@@ -657,7 +657,7 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
657
657
|
metrics: {
|
|
658
658
|
type: "and" | "or";
|
|
659
659
|
target: {
|
|
660
|
-
type: "
|
|
660
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
661
661
|
fieldId: string;
|
|
662
662
|
};
|
|
663
663
|
rule: {
|
|
@@ -711,7 +711,7 @@ export declare const filtersSchema: z.ZodObject<{
|
|
|
711
711
|
dimensions: {
|
|
712
712
|
type: "and" | "or";
|
|
713
713
|
target: {
|
|
714
|
-
type: "
|
|
714
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
715
715
|
fieldId: string;
|
|
716
716
|
};
|
|
717
717
|
rule: {
|
|
@@ -769,12 +769,12 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
769
769
|
type: z.ZodEnum<["or", "and"]>;
|
|
770
770
|
target: z.ZodObject<{
|
|
771
771
|
fieldId: z.ZodString;
|
|
772
|
-
type: z.
|
|
772
|
+
type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").DimensionType.DATE>, z.ZodLiteral<import("../../../..").DimensionType.NUMBER>, z.ZodLiteral<import("../../../..").DimensionType.STRING>, z.ZodLiteral<import("../../../..").DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<import("../../../..").MetricType.PERCENTILE>, z.ZodLiteral<import("../../../..").MetricType.AVERAGE>, z.ZodLiteral<import("../../../..").MetricType.COUNT>, z.ZodLiteral<import("../../../..").MetricType.COUNT_DISTINCT>, z.ZodLiteral<import("../../../..").MetricType.SUM>, z.ZodLiteral<import("../../../..").MetricType.MIN>, z.ZodLiteral<import("../../../..").MetricType.MAX>, z.ZodLiteral<import("../../../..").MetricType.NUMBER>, z.ZodLiteral<import("../../../..").MetricType.MEDIAN>, z.ZodLiteral<import("../../../..").MetricType.STRING>, z.ZodLiteral<import("../../../..").MetricType.DATE>, z.ZodLiteral<import("../../../..").MetricType.TIMESTAMP>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>]>;
|
|
773
773
|
}, "strip", z.ZodTypeAny, {
|
|
774
|
-
type: "
|
|
774
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
775
775
|
fieldId: string;
|
|
776
776
|
}, {
|
|
777
|
-
type: "
|
|
777
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
778
778
|
fieldId: string;
|
|
779
779
|
}>;
|
|
780
780
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -931,7 +931,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
931
931
|
}, "strip", z.ZodTypeAny, {
|
|
932
932
|
type: "and" | "or";
|
|
933
933
|
target: {
|
|
934
|
-
type: "
|
|
934
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
935
935
|
fieldId: string;
|
|
936
936
|
};
|
|
937
937
|
rule: {
|
|
@@ -984,7 +984,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
984
984
|
}, {
|
|
985
985
|
type: "and" | "or";
|
|
986
986
|
target: {
|
|
987
|
-
type: "
|
|
987
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
988
988
|
fieldId: string;
|
|
989
989
|
};
|
|
990
990
|
rule: {
|
|
@@ -1037,7 +1037,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
1037
1037
|
}>, FilterRule<import("../../../../types/filter").FilterOperator, import("../../../../types/filter").FieldTarget, any, any>, {
|
|
1038
1038
|
type: "and" | "or";
|
|
1039
1039
|
target: {
|
|
1040
|
-
type: "
|
|
1040
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1041
1041
|
fieldId: string;
|
|
1042
1042
|
};
|
|
1043
1043
|
rule: {
|
|
@@ -1092,12 +1092,12 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
1092
1092
|
type: z.ZodEnum<["or", "and"]>;
|
|
1093
1093
|
target: z.ZodObject<{
|
|
1094
1094
|
fieldId: z.ZodString;
|
|
1095
|
-
type: z.
|
|
1095
|
+
type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").DimensionType.DATE>, z.ZodLiteral<import("../../../..").DimensionType.NUMBER>, z.ZodLiteral<import("../../../..").DimensionType.STRING>, z.ZodLiteral<import("../../../..").DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<import("../../../..").MetricType.PERCENTILE>, z.ZodLiteral<import("../../../..").MetricType.AVERAGE>, z.ZodLiteral<import("../../../..").MetricType.COUNT>, z.ZodLiteral<import("../../../..").MetricType.COUNT_DISTINCT>, z.ZodLiteral<import("../../../..").MetricType.SUM>, z.ZodLiteral<import("../../../..").MetricType.MIN>, z.ZodLiteral<import("../../../..").MetricType.MAX>, z.ZodLiteral<import("../../../..").MetricType.NUMBER>, z.ZodLiteral<import("../../../..").MetricType.MEDIAN>, z.ZodLiteral<import("../../../..").MetricType.STRING>, z.ZodLiteral<import("../../../..").MetricType.DATE>, z.ZodLiteral<import("../../../..").MetricType.TIMESTAMP>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>]>;
|
|
1096
1096
|
}, "strip", z.ZodTypeAny, {
|
|
1097
|
-
type: "
|
|
1097
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1098
1098
|
fieldId: string;
|
|
1099
1099
|
}, {
|
|
1100
|
-
type: "
|
|
1100
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1101
1101
|
fieldId: string;
|
|
1102
1102
|
}>;
|
|
1103
1103
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -1254,7 +1254,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
1254
1254
|
}, "strip", z.ZodTypeAny, {
|
|
1255
1255
|
type: "and" | "or";
|
|
1256
1256
|
target: {
|
|
1257
|
-
type: "
|
|
1257
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1258
1258
|
fieldId: string;
|
|
1259
1259
|
};
|
|
1260
1260
|
rule: {
|
|
@@ -1307,7 +1307,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
1307
1307
|
}, {
|
|
1308
1308
|
type: "and" | "or";
|
|
1309
1309
|
target: {
|
|
1310
|
-
type: "
|
|
1310
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1311
1311
|
fieldId: string;
|
|
1312
1312
|
};
|
|
1313
1313
|
rule: {
|
|
@@ -1360,7 +1360,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
1360
1360
|
}>, FilterRule<import("../../../../types/filter").FilterOperator, import("../../../../types/filter").FieldTarget, any, any>, {
|
|
1361
1361
|
type: "and" | "or";
|
|
1362
1362
|
target: {
|
|
1363
|
-
type: "
|
|
1363
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1364
1364
|
fieldId: string;
|
|
1365
1365
|
};
|
|
1366
1366
|
rule: {
|
|
@@ -1420,7 +1420,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
1420
1420
|
metrics: {
|
|
1421
1421
|
type: "and" | "or";
|
|
1422
1422
|
target: {
|
|
1423
|
-
type: "
|
|
1423
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1424
1424
|
fieldId: string;
|
|
1425
1425
|
};
|
|
1426
1426
|
rule: {
|
|
@@ -1474,7 +1474,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
1474
1474
|
dimensions: {
|
|
1475
1475
|
type: "and" | "or";
|
|
1476
1476
|
target: {
|
|
1477
|
-
type: "
|
|
1477
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1478
1478
|
fieldId: string;
|
|
1479
1479
|
};
|
|
1480
1480
|
rule: {
|
|
@@ -1530,7 +1530,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
1530
1530
|
metrics: {
|
|
1531
1531
|
type: "and" | "or";
|
|
1532
1532
|
target: {
|
|
1533
|
-
type: "
|
|
1533
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1534
1534
|
fieldId: string;
|
|
1535
1535
|
};
|
|
1536
1536
|
rule: {
|
|
@@ -1584,7 +1584,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
|
|
|
1584
1584
|
dimensions: {
|
|
1585
1585
|
type: "and" | "or";
|
|
1586
1586
|
target: {
|
|
1587
|
-
type: "
|
|
1587
|
+
type: import("../../../..").DimensionType | import("../../../..").MetricType;
|
|
1588
1588
|
fieldId: string;
|
|
1589
1589
|
};
|
|
1590
1590
|
rule: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/filters/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;
|
|
1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