@adrekic/zod-fieldsjson 0.0.1-schemas.3 → 0.0.2-condition-modifier-seperation.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/conditions/base.d.ts +3 -3
- package/dist/conditions/boolean.d.ts +32 -6
- package/dist/conditions/checkbox-list.d.ts +80 -6
- package/dist/conditions/date.d.ts +115 -7
- package/dist/conditions/index.d.ts +453 -57
- package/dist/conditions/multi-select.d.ts +80 -6
- package/dist/conditions/multi-string.d.ts +80 -6
- package/dist/conditions/number.d.ts +147 -7
- package/dist/conditions/otp.d.ts +64 -6
- package/dist/conditions/pass-fail.d.ts +64 -6
- package/dist/conditions/radio.d.ts +64 -6
- package/dist/conditions/rating.d.ts +147 -7
- package/dist/conditions/scan.d.ts +64 -6
- package/dist/conditions/select.d.ts +64 -6
- package/dist/conditions/string.d.ts +64 -6
- package/dist/conditions/text.d.ts +64 -6
- package/dist/conditions/time.d.ts +115 -7
- package/dist/conditions/upload.d.ts +32 -6
- package/dist/conditions/url.d.ts +64 -6
- package/dist/elements/base.d.ts +1 -1
- package/dist/elements/index.d.ts +612 -218
- package/dist/elements/section.d.ts +987 -196
- package/dist/fields/base.d.ts +14 -14
- package/dist/fields/boolean.d.ts +4 -4
- package/dist/fields/checkbox-list.d.ts +4 -4
- package/dist/fields/date.d.ts +4 -4
- package/dist/fields/index.d.ts +78 -79
- package/dist/fields/multi-select.d.ts +4 -4
- package/dist/fields/multi-string.d.ts +6 -6
- package/dist/fields/number.d.ts +4 -4
- package/dist/fields/otp.d.ts +5 -8
- package/dist/fields/pass-fail.d.ts +4 -4
- package/dist/fields/radio.d.ts +4 -4
- package/dist/fields/rating.d.ts +5 -5
- package/dist/fields/scan.d.ts +4 -4
- package/dist/fields/select.d.ts +4 -4
- package/dist/fields/string.d.ts +6 -6
- package/dist/fields/text.d.ts +6 -6
- package/dist/fields/time.d.ts +4 -4
- package/dist/fields/upload.d.ts +6 -6
- package/dist/fields/url.d.ts +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +360 -279
- package/dist/schema.d.ts +534 -139
- package/package.json +3 -3
|
@@ -2,8 +2,8 @@ import * as z from "zod/v4";
|
|
|
2
2
|
export declare const BaseJSONConditionSchema: <TType extends string, TConditionValue, TModifier extends string>(typeSchema: z.ZodLiteral<TType>, valueSchema: z.ZodType<TConditionValue>, modifierSchema: z.ZodLiteral<TModifier>) => z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
type: z.ZodLiteral<TType>;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
field: z.ZodString;
|
|
6
|
+
value: z.ZodType<TConditionValue, unknown, z.core.$ZodTypeInternals<TConditionValue, unknown>>;
|
|
7
|
+
modifier: z.ZodLiteral<TModifier>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export type BaseJSONConditionSchemaType<TType extends string, TConditionValue, TModifier extends string> = z.infer<ReturnType<typeof BaseJSONConditionSchema<TType, TConditionValue, TModifier>>>;
|
|
@@ -1,13 +1,39 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const JSONBooleanConditionTypeSchema: z.ZodLiteral<"boolean">;
|
|
3
3
|
export type JSONBooleanConditionTypeSchemaType = z.infer<typeof JSONBooleanConditionTypeSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const JSONBooleanConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
|
+
export type JSONBooleanConditionEqualsModifierSchemaType = z.infer<typeof JSONBooleanConditionEqualsModifierSchema>;
|
|
6
|
+
export declare const JSONBooleanEqualsConditionSchema: z.ZodObject<{
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
type: z.ZodLiteral<"boolean">;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
field: z.ZodString;
|
|
10
|
+
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
11
|
+
modifier: z.ZodLiteral<"equals">;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
|
+
export type JSONBooleanEqualsConditionSchemaType = z.infer<typeof JSONBooleanEqualsConditionSchema>;
|
|
14
|
+
export declare const JSONBooleanConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
|
+
export type JSONBooleanConditionNotEqualsModifierSchemaType = z.infer<typeof JSONBooleanConditionNotEqualsModifierSchema>;
|
|
16
|
+
export declare const JSONBooleanNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
type: z.ZodLiteral<"boolean">;
|
|
19
|
+
field: z.ZodString;
|
|
20
|
+
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
21
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type JSONBooleanNotEqualsConditionSchemaType = z.infer<typeof JSONBooleanNotEqualsConditionSchema>;
|
|
24
|
+
export declare const JSONBooleanConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">]>;
|
|
25
|
+
export type JSONBooleanConditionModifierSchemaType = z.infer<typeof JSONBooleanConditionModifierSchema>;
|
|
26
|
+
export declare const JSONBooleanConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
type: z.ZodLiteral<"boolean">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
31
|
+
modifier: z.ZodLiteral<"equals">;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
id: z.ZodString;
|
|
34
|
+
type: z.ZodLiteral<"boolean">;
|
|
35
|
+
field: z.ZodString;
|
|
36
|
+
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
37
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
38
|
+
}, z.core.$strip>], "modifier">;
|
|
13
39
|
export type JSONBooleanConditionSchemaType = z.infer<typeof JSONBooleanConditionSchema>;
|
|
@@ -1,13 +1,87 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const JSONCheckboxListConditionTypeSchema: z.ZodLiteral<"checkbox-list">;
|
|
3
3
|
export type JSONCheckboxListConditionTypeSchemaType = z.infer<typeof JSONCheckboxListConditionTypeSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const JSONCheckboxListConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
|
+
export type JSONCheckboxListConditionEqualsModifierSchemaType = z.infer<typeof JSONCheckboxListConditionEqualsModifierSchema>;
|
|
6
|
+
export declare const JSONCheckboxListEqualsConditionSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
9
|
+
field: z.ZodString;
|
|
10
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
11
|
+
modifier: z.ZodLiteral<"equals">;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type JSONCheckboxListEqualsConditionSchemaType = z.infer<typeof JSONCheckboxListEqualsConditionSchema>;
|
|
14
|
+
export declare const JSONCheckboxListConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
|
+
export type JSONCheckboxListConditionNotEqualsModifierSchemaType = z.infer<typeof JSONCheckboxListConditionNotEqualsModifierSchema>;
|
|
16
|
+
export declare const JSONCheckboxListNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
19
|
+
field: z.ZodString;
|
|
20
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
21
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type JSONCheckboxListNotEqualsConditionSchemaType = z.infer<typeof JSONCheckboxListNotEqualsConditionSchema>;
|
|
24
|
+
export declare const JSONCheckboxListConditionEveryModifierSchema: z.ZodLiteral<"every">;
|
|
25
|
+
export type JSONCheckboxListConditionEveryModifierSchemaType = z.infer<typeof JSONCheckboxListConditionEveryModifierSchema>;
|
|
26
|
+
export declare const JSONCheckboxListEveryConditionSchema: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
31
|
+
modifier: z.ZodLiteral<"every">;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type JSONCheckboxListEveryConditionSchemaType = z.infer<typeof JSONCheckboxListEveryConditionSchema>;
|
|
34
|
+
export declare const JSONCheckboxListConditionSomeModifierSchema: z.ZodLiteral<"some">;
|
|
35
|
+
export type JSONCheckboxListConditionSomeModifierSchemaType = z.infer<typeof JSONCheckboxListConditionSomeModifierSchema>;
|
|
36
|
+
export declare const JSONCheckboxListSomeConditionSchema: z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
39
|
+
field: z.ZodString;
|
|
40
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
41
|
+
modifier: z.ZodLiteral<"some">;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type JSONCheckboxListSomeConditionSchemaType = z.infer<typeof JSONCheckboxListSomeConditionSchema>;
|
|
44
|
+
export declare const JSONCheckboxListConditionNoneModifierSchema: z.ZodLiteral<"none">;
|
|
45
|
+
export type JSONCheckboxListConditionNoneModifierSchemaType = z.infer<typeof JSONCheckboxListConditionNoneModifierSchema>;
|
|
46
|
+
export declare const JSONCheckboxListNoneConditionSchema: z.ZodObject<{
|
|
7
47
|
id: z.ZodString;
|
|
8
48
|
type: z.ZodLiteral<"checkbox-list">;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
49
|
+
field: z.ZodString;
|
|
50
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
51
|
+
modifier: z.ZodLiteral<"none">;
|
|
12
52
|
}, z.core.$strip>;
|
|
53
|
+
export type JSONCheckboxListNoneConditionSchemaType = z.infer<typeof JSONCheckboxListNoneConditionSchema>;
|
|
54
|
+
export declare const JSONCheckboxListConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">, z.ZodLiteral<"every">, z.ZodLiteral<"some">, z.ZodLiteral<"none">]>;
|
|
55
|
+
export type JSONCheckboxListConditionModifierSchemaType = z.infer<typeof JSONCheckboxListConditionModifierSchema>;
|
|
56
|
+
export declare const JSONCheckboxListConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
57
|
+
id: z.ZodString;
|
|
58
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
59
|
+
field: z.ZodString;
|
|
60
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
61
|
+
modifier: z.ZodLiteral<"equals">;
|
|
62
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
+
id: z.ZodString;
|
|
64
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
65
|
+
field: z.ZodString;
|
|
66
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
67
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
71
|
+
field: z.ZodString;
|
|
72
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
73
|
+
modifier: z.ZodLiteral<"every">;
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
+
id: z.ZodString;
|
|
76
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
77
|
+
field: z.ZodString;
|
|
78
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
79
|
+
modifier: z.ZodLiteral<"some">;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
83
|
+
field: z.ZodString;
|
|
84
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
85
|
+
modifier: z.ZodLiteral<"none">;
|
|
86
|
+
}, z.core.$strip>], "modifier">;
|
|
13
87
|
export type JSONCheckboxListConditionSchemaType = z.infer<typeof JSONCheckboxListConditionSchema>;
|
|
@@ -1,19 +1,127 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const JSONDateConditionTypeSchema: z.ZodLiteral<"date">;
|
|
3
3
|
export type JSONDateConditionTypeSchemaType = z.infer<typeof JSONDateConditionTypeSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const JSONDateConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
|
+
export type JSONDateConditionEqualsModifierSchemaType = z.infer<typeof JSONDateConditionEqualsModifierSchema>;
|
|
6
|
+
export declare const JSONDateEqualsConditionSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
type: z.ZodLiteral<"date">;
|
|
9
|
+
field: z.ZodString;
|
|
10
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
11
|
+
modifier: z.ZodLiteral<"equals">;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type JSONDateEqualsConditionSchemaType = z.infer<typeof JSONDateEqualsConditionSchema>;
|
|
14
|
+
export declare const JSONDateConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
|
+
export type JSONDateConditionNotEqualsModifierSchemaType = z.infer<typeof JSONDateConditionNotEqualsModifierSchema>;
|
|
16
|
+
export declare const JSONDateNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
type: z.ZodLiteral<"date">;
|
|
19
|
+
field: z.ZodString;
|
|
20
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
21
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type JSONDateNotEqualsConditionSchemaType = z.infer<typeof JSONDateNotEqualsConditionSchema>;
|
|
24
|
+
export declare const JSONDateConditionBeforeModifierSchema: z.ZodLiteral<"before">;
|
|
25
|
+
export type JSONDateConditionBeforeModifierSchemaType = z.infer<typeof JSONDateConditionBeforeModifierSchema>;
|
|
26
|
+
export declare const JSONDateBeforeConditionSchema: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
type: z.ZodLiteral<"date">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
31
|
+
modifier: z.ZodLiteral<"before">;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type JSONDateBeforeConditionSchemaType = z.infer<typeof JSONDateBeforeConditionSchema>;
|
|
34
|
+
export declare const JSONDateConditionAfterModifierSchema: z.ZodLiteral<"after">;
|
|
35
|
+
export type JSONDateConditionAfterModifierSchemaType = z.infer<typeof JSONDateConditionAfterModifierSchema>;
|
|
36
|
+
export declare const JSONDateAfterConditionSchema: z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
type: z.ZodLiteral<"date">;
|
|
39
|
+
field: z.ZodString;
|
|
40
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
41
|
+
modifier: z.ZodLiteral<"after">;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type JSONDateAfterConditionSchemaType = z.infer<typeof JSONDateAfterConditionSchema>;
|
|
44
|
+
export declare const JSONDateConditionInModifierSchema: z.ZodLiteral<"in">;
|
|
45
|
+
export type JSONDateConditionInModifierSchemaType = z.infer<typeof JSONDateConditionInModifierSchema>;
|
|
46
|
+
export declare const JSONDateInConditionSchema: z.ZodObject<{
|
|
7
47
|
id: z.ZodString;
|
|
8
48
|
type: z.ZodLiteral<"date">;
|
|
9
|
-
|
|
10
|
-
|
|
49
|
+
field: z.ZodString;
|
|
50
|
+
value: z.ZodType<{
|
|
11
51
|
from: string | null;
|
|
12
52
|
to: string | null;
|
|
13
|
-
}, unknown, z.core.$ZodTypeInternals<
|
|
53
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
14
54
|
from: string | null;
|
|
15
55
|
to: string | null;
|
|
16
56
|
}, unknown>>;
|
|
17
|
-
|
|
57
|
+
modifier: z.ZodLiteral<"in">;
|
|
18
58
|
}, z.core.$strip>;
|
|
59
|
+
export type JSONDateInConditionSchemaType = z.infer<typeof JSONDateInConditionSchema>;
|
|
60
|
+
export declare const JSONDateConditionNotInModifierSchema: z.ZodLiteral<"notIn">;
|
|
61
|
+
export type JSONDateConditionNotInModifierSchemaType = z.infer<typeof JSONDateConditionNotInModifierSchema>;
|
|
62
|
+
export declare const JSONDateNotInConditionSchema: z.ZodObject<{
|
|
63
|
+
id: z.ZodString;
|
|
64
|
+
type: z.ZodLiteral<"date">;
|
|
65
|
+
field: z.ZodString;
|
|
66
|
+
value: z.ZodType<{
|
|
67
|
+
from: string | null;
|
|
68
|
+
to: string | null;
|
|
69
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
70
|
+
from: string | null;
|
|
71
|
+
to: string | null;
|
|
72
|
+
}, unknown>>;
|
|
73
|
+
modifier: z.ZodLiteral<"notIn">;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export type JSONDateNotInConditionSchemaType = z.infer<typeof JSONDateNotInConditionSchema>;
|
|
76
|
+
export declare const JSONDateConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">, z.ZodLiteral<"before">, z.ZodLiteral<"after">, z.ZodLiteral<"in">, z.ZodLiteral<"notIn">]>;
|
|
77
|
+
export type JSONDateConditionModifierSchemaType = z.infer<typeof JSONDateConditionModifierSchema>;
|
|
78
|
+
export declare const JSONDateConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
79
|
+
id: z.ZodString;
|
|
80
|
+
type: z.ZodLiteral<"date">;
|
|
81
|
+
field: z.ZodString;
|
|
82
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
83
|
+
modifier: z.ZodLiteral<"equals">;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
+
id: z.ZodString;
|
|
86
|
+
type: z.ZodLiteral<"date">;
|
|
87
|
+
field: z.ZodString;
|
|
88
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
89
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
type: z.ZodLiteral<"date">;
|
|
93
|
+
field: z.ZodString;
|
|
94
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
95
|
+
modifier: z.ZodLiteral<"before">;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
id: z.ZodString;
|
|
98
|
+
type: z.ZodLiteral<"date">;
|
|
99
|
+
field: z.ZodString;
|
|
100
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
101
|
+
modifier: z.ZodLiteral<"after">;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
id: z.ZodString;
|
|
104
|
+
type: z.ZodLiteral<"date">;
|
|
105
|
+
field: z.ZodString;
|
|
106
|
+
value: z.ZodType<{
|
|
107
|
+
from: string | null;
|
|
108
|
+
to: string | null;
|
|
109
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
110
|
+
from: string | null;
|
|
111
|
+
to: string | null;
|
|
112
|
+
}, unknown>>;
|
|
113
|
+
modifier: z.ZodLiteral<"in">;
|
|
114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
+
id: z.ZodString;
|
|
116
|
+
type: z.ZodLiteral<"date">;
|
|
117
|
+
field: z.ZodString;
|
|
118
|
+
value: z.ZodType<{
|
|
119
|
+
from: string | null;
|
|
120
|
+
to: string | null;
|
|
121
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
122
|
+
from: string | null;
|
|
123
|
+
to: string | null;
|
|
124
|
+
}, unknown>>;
|
|
125
|
+
modifier: z.ZodLiteral<"notIn">;
|
|
126
|
+
}, z.core.$strip>], "modifier">;
|
|
19
127
|
export type JSONDateConditionSchemaType = z.infer<typeof JSONDateConditionSchema>;
|