@adrekic/zod-fieldsjson 0.0.1 → 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
|
@@ -1,19 +1,159 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const JSONRatingConditionTypeSchema: z.ZodLiteral<"rating">;
|
|
3
3
|
export type JSONRatingConditionTypeSchemaType = z.infer<typeof JSONRatingConditionTypeSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const JSONRatingConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
|
+
export type JSONRatingConditionEqualsModifierSchemaType = z.infer<typeof JSONRatingConditionEqualsModifierSchema>;
|
|
6
|
+
export declare const JSONRatingEqualsConditionSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
type: z.ZodLiteral<"rating">;
|
|
9
|
+
field: z.ZodString;
|
|
10
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
11
|
+
modifier: z.ZodLiteral<"equals">;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type JSONRatingEqualsConditionSchemaType = z.infer<typeof JSONRatingEqualsConditionSchema>;
|
|
14
|
+
export declare const JSONRatingConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
|
+
export type JSONRatingConditionNotEqualsModifierSchemaType = z.infer<typeof JSONRatingConditionNotEqualsModifierSchema>;
|
|
16
|
+
export declare const JSONRatingNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
type: z.ZodLiteral<"rating">;
|
|
19
|
+
field: z.ZodString;
|
|
20
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
21
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type JSONRatingNotEqualsConditionSchemaType = z.infer<typeof JSONRatingNotEqualsConditionSchema>;
|
|
24
|
+
export declare const JSONRatingConditionLessThanModifierSchema: z.ZodLiteral<"lessThan">;
|
|
25
|
+
export type JSONRatingConditionLessThanModifierSchemaType = z.infer<typeof JSONRatingConditionLessThanModifierSchema>;
|
|
26
|
+
export declare const JSONRatingLessThanConditionSchema: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
type: z.ZodLiteral<"rating">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
31
|
+
modifier: z.ZodLiteral<"lessThan">;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type JSONRatingLessThanConditionSchemaType = z.infer<typeof JSONRatingLessThanConditionSchema>;
|
|
34
|
+
export declare const JSONRatingConditionLessThanOrEqualsModifierSchema: z.ZodLiteral<"lessThanOrEquals">;
|
|
35
|
+
export type JSONRatingConditionLessThanOrEqualsModifierSchemaType = z.infer<typeof JSONRatingConditionLessThanOrEqualsModifierSchema>;
|
|
36
|
+
export declare const JSONRatingLessThanOrEqualsConditionSchema: z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
type: z.ZodLiteral<"rating">;
|
|
39
|
+
field: z.ZodString;
|
|
40
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
41
|
+
modifier: z.ZodLiteral<"lessThanOrEquals">;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type JSONRatingLessThanOrEqualsConditionSchemaType = z.infer<typeof JSONRatingLessThanOrEqualsConditionSchema>;
|
|
44
|
+
export declare const JSONRatingConditionGreaterThanModifierSchema: z.ZodLiteral<"greaterThan">;
|
|
45
|
+
export type JSONRatingConditionGreaterThanModifierSchemaType = z.infer<typeof JSONRatingConditionGreaterThanModifierSchema>;
|
|
46
|
+
export declare const JSONRatingGreaterThanConditionSchema: z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
type: z.ZodLiteral<"rating">;
|
|
49
|
+
field: z.ZodString;
|
|
50
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
51
|
+
modifier: z.ZodLiteral<"greaterThan">;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export type JSONRatingGreaterThanConditionSchemaType = z.infer<typeof JSONRatingGreaterThanConditionSchema>;
|
|
54
|
+
export declare const JSONRatingConditionGreaterThanOrEqualsModifierSchema: z.ZodLiteral<"greaterThanOrEquals">;
|
|
55
|
+
export type JSONRatingConditionGreaterThanOrEqualsModifierSchemaType = z.infer<typeof JSONRatingConditionGreaterThanOrEqualsModifierSchema>;
|
|
56
|
+
export declare const JSONRatingGreaterThanOrEqualsConditionSchema: z.ZodObject<{
|
|
57
|
+
id: z.ZodString;
|
|
58
|
+
type: z.ZodLiteral<"rating">;
|
|
59
|
+
field: z.ZodString;
|
|
60
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
61
|
+
modifier: z.ZodLiteral<"greaterThanOrEquals">;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
export type JSONRatingGreaterThanOrEqualsConditionSchemaType = z.infer<typeof JSONRatingGreaterThanOrEqualsConditionSchema>;
|
|
64
|
+
export declare const JSONRatingConditionInRangeModifierSchema: z.ZodLiteral<"inRange">;
|
|
65
|
+
export type JSONRatingConditionInRangeModifierSchemaType = z.infer<typeof JSONRatingConditionInRangeModifierSchema>;
|
|
66
|
+
export declare const JSONRatingInRangeConditionSchema: z.ZodObject<{
|
|
67
|
+
id: z.ZodString;
|
|
68
|
+
type: z.ZodLiteral<"rating">;
|
|
69
|
+
field: z.ZodString;
|
|
70
|
+
value: z.ZodType<{
|
|
71
|
+
from: number | null;
|
|
72
|
+
to: number | null;
|
|
73
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
74
|
+
from: number | null;
|
|
75
|
+
to: number | null;
|
|
76
|
+
}, unknown>>;
|
|
77
|
+
modifier: z.ZodLiteral<"inRange">;
|
|
78
|
+
}, z.core.$strip>;
|
|
79
|
+
export type JSONRatingInRangeConditionSchemaType = z.infer<typeof JSONRatingInRangeConditionSchema>;
|
|
80
|
+
export declare const JSONRatingConditionNotInRangeModifierSchema: z.ZodLiteral<"notInRange">;
|
|
81
|
+
export type JSONRatingConditionNotInRangeModifierSchemaType = z.infer<typeof JSONRatingConditionNotInRangeModifierSchema>;
|
|
82
|
+
export declare const JSONRatingNotInRangeConditionSchema: z.ZodObject<{
|
|
7
83
|
id: z.ZodString;
|
|
8
84
|
type: z.ZodLiteral<"rating">;
|
|
9
|
-
|
|
10
|
-
|
|
85
|
+
field: z.ZodString;
|
|
86
|
+
value: z.ZodType<{
|
|
11
87
|
from: number | null;
|
|
12
88
|
to: number | null;
|
|
13
|
-
}, unknown, z.core.$ZodTypeInternals<
|
|
89
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
14
90
|
from: number | null;
|
|
15
91
|
to: number | null;
|
|
16
92
|
}, unknown>>;
|
|
17
|
-
|
|
93
|
+
modifier: z.ZodLiteral<"notInRange">;
|
|
18
94
|
}, z.core.$strip>;
|
|
95
|
+
export type JSONRatingNotInRangeConditionSchemaType = z.infer<typeof JSONRatingNotInRangeConditionSchema>;
|
|
96
|
+
export declare const JSONRatingConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">, z.ZodLiteral<"lessThan">, z.ZodLiteral<"lessThanOrEquals">, z.ZodLiteral<"greaterThan">, z.ZodLiteral<"greaterThanOrEquals">, z.ZodLiteral<"inRange">, z.ZodLiteral<"notInRange">]>;
|
|
97
|
+
export type JSONRatingConditionModifierSchemaType = z.infer<typeof JSONRatingConditionModifierSchema>;
|
|
98
|
+
export declare const JSONRatingConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
99
|
+
id: z.ZodString;
|
|
100
|
+
type: z.ZodLiteral<"rating">;
|
|
101
|
+
field: z.ZodString;
|
|
102
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
103
|
+
modifier: z.ZodLiteral<"equals">;
|
|
104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
+
id: z.ZodString;
|
|
106
|
+
type: z.ZodLiteral<"rating">;
|
|
107
|
+
field: z.ZodString;
|
|
108
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
109
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
+
id: z.ZodString;
|
|
112
|
+
type: z.ZodLiteral<"rating">;
|
|
113
|
+
field: z.ZodString;
|
|
114
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
115
|
+
modifier: z.ZodLiteral<"lessThan">;
|
|
116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
+
id: z.ZodString;
|
|
118
|
+
type: z.ZodLiteral<"rating">;
|
|
119
|
+
field: z.ZodString;
|
|
120
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
121
|
+
modifier: z.ZodLiteral<"lessThanOrEquals">;
|
|
122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
123
|
+
id: z.ZodString;
|
|
124
|
+
type: z.ZodLiteral<"rating">;
|
|
125
|
+
field: z.ZodString;
|
|
126
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
127
|
+
modifier: z.ZodLiteral<"greaterThan">;
|
|
128
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
+
id: z.ZodString;
|
|
130
|
+
type: z.ZodLiteral<"rating">;
|
|
131
|
+
field: z.ZodString;
|
|
132
|
+
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
133
|
+
modifier: z.ZodLiteral<"greaterThanOrEquals">;
|
|
134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
+
id: z.ZodString;
|
|
136
|
+
type: z.ZodLiteral<"rating">;
|
|
137
|
+
field: z.ZodString;
|
|
138
|
+
value: z.ZodType<{
|
|
139
|
+
from: number | null;
|
|
140
|
+
to: number | null;
|
|
141
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
142
|
+
from: number | null;
|
|
143
|
+
to: number | null;
|
|
144
|
+
}, unknown>>;
|
|
145
|
+
modifier: z.ZodLiteral<"inRange">;
|
|
146
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
147
|
+
id: z.ZodString;
|
|
148
|
+
type: z.ZodLiteral<"rating">;
|
|
149
|
+
field: z.ZodString;
|
|
150
|
+
value: z.ZodType<{
|
|
151
|
+
from: number | null;
|
|
152
|
+
to: number | null;
|
|
153
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
154
|
+
from: number | null;
|
|
155
|
+
to: number | null;
|
|
156
|
+
}, unknown>>;
|
|
157
|
+
modifier: z.ZodLiteral<"notInRange">;
|
|
158
|
+
}, z.core.$strip>], "modifier">;
|
|
19
159
|
export type JSONRatingConditionSchemaType = z.infer<typeof JSONRatingConditionSchema>;
|
|
@@ -1,13 +1,71 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const JSONScanConditionTypeSchema: z.ZodLiteral<"qr">;
|
|
3
3
|
export type JSONScanConditionTypeSchemaType = z.infer<typeof JSONScanConditionTypeSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const JSONScanConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
|
+
export type JSONScanConditionEqualsModifierSchemaType = z.infer<typeof JSONScanConditionEqualsModifierSchema>;
|
|
6
|
+
export declare const JSONScanEqualsConditionSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
type: z.ZodLiteral<"qr">;
|
|
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 JSONScanEqualsConditionSchemaType = z.infer<typeof JSONScanEqualsConditionSchema>;
|
|
14
|
+
export declare const JSONScanConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
|
+
export type JSONScanConditionNotEqualsModifierSchemaType = z.infer<typeof JSONScanConditionNotEqualsModifierSchema>;
|
|
16
|
+
export declare const JSONScanNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
type: z.ZodLiteral<"qr">;
|
|
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 JSONScanNotEqualsConditionSchemaType = z.infer<typeof JSONScanNotEqualsConditionSchema>;
|
|
24
|
+
export declare const JSONScanConditionIncludesModifierSchema: z.ZodLiteral<"includes">;
|
|
25
|
+
export type JSONScanConditionIncludesModifierSchemaType = z.infer<typeof JSONScanConditionIncludesModifierSchema>;
|
|
26
|
+
export declare const JSONScanIncludesConditionSchema: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
type: z.ZodLiteral<"qr">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
31
|
+
modifier: z.ZodLiteral<"includes">;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type JSONScanIncludesConditionSchemaType = z.infer<typeof JSONScanIncludesConditionSchema>;
|
|
34
|
+
export declare const JSONScanConditionExcludesModifierSchema: z.ZodLiteral<"excludes">;
|
|
35
|
+
export type JSONScanConditionExcludesModifierSchemaType = z.infer<typeof JSONScanConditionExcludesModifierSchema>;
|
|
36
|
+
export declare const JSONScanExcludesConditionSchema: z.ZodObject<{
|
|
7
37
|
id: z.ZodString;
|
|
8
38
|
type: z.ZodLiteral<"qr">;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
39
|
+
field: z.ZodString;
|
|
40
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
41
|
+
modifier: z.ZodLiteral<"excludes">;
|
|
12
42
|
}, z.core.$strip>;
|
|
43
|
+
export type JSONScanExcludesConditionSchemaType = z.infer<typeof JSONScanExcludesConditionSchema>;
|
|
44
|
+
export declare const JSONScanConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">, z.ZodLiteral<"includes">, z.ZodLiteral<"excludes">]>;
|
|
45
|
+
export type JSONScanConditionModifierSchemaType = z.infer<typeof JSONScanConditionModifierSchema>;
|
|
46
|
+
export declare const JSONScanConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
type: z.ZodLiteral<"qr">;
|
|
49
|
+
field: z.ZodString;
|
|
50
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
51
|
+
modifier: z.ZodLiteral<"equals">;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
id: z.ZodString;
|
|
54
|
+
type: z.ZodLiteral<"qr">;
|
|
55
|
+
field: z.ZodString;
|
|
56
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
57
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
id: z.ZodString;
|
|
60
|
+
type: z.ZodLiteral<"qr">;
|
|
61
|
+
field: z.ZodString;
|
|
62
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
63
|
+
modifier: z.ZodLiteral<"includes">;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
type: z.ZodLiteral<"qr">;
|
|
67
|
+
field: z.ZodString;
|
|
68
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
69
|
+
modifier: z.ZodLiteral<"excludes">;
|
|
70
|
+
}, z.core.$strip>], "modifier">;
|
|
13
71
|
export type JSONScanConditionSchemaType = z.infer<typeof JSONScanConditionSchema>;
|
|
@@ -1,13 +1,71 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const JSONSelectConditionTypeSchema: z.ZodLiteral<"select">;
|
|
3
3
|
export type JSONSelectConditionTypeSchemaType = z.infer<typeof JSONSelectConditionTypeSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const JSONSelectConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
|
+
export type JSONSelectConditionEqualsModifierSchemaType = z.infer<typeof JSONSelectConditionEqualsModifierSchema>;
|
|
6
|
+
export declare const JSONSelectEqualsConditionSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
type: z.ZodLiteral<"select">;
|
|
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 JSONSelectEqualsConditionSchemaType = z.infer<typeof JSONSelectEqualsConditionSchema>;
|
|
14
|
+
export declare const JSONSelectConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
|
+
export type JSONSelectConditionNotEqualsModifierSchemaType = z.infer<typeof JSONSelectConditionNotEqualsModifierSchema>;
|
|
16
|
+
export declare const JSONSelectNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
type: z.ZodLiteral<"select">;
|
|
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 JSONSelectNotEqualsConditionSchemaType = z.infer<typeof JSONSelectNotEqualsConditionSchema>;
|
|
24
|
+
export declare const JSONSelectConditionIncludesModifierSchema: z.ZodLiteral<"includes">;
|
|
25
|
+
export type JSONSelectConditionIncludesModifierSchemaType = z.infer<typeof JSONSelectConditionIncludesModifierSchema>;
|
|
26
|
+
export declare const JSONSelectIncludesConditionSchema: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
type: z.ZodLiteral<"select">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
31
|
+
modifier: z.ZodLiteral<"includes">;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type JSONSelectIncludesConditionSchemaType = z.infer<typeof JSONSelectIncludesConditionSchema>;
|
|
34
|
+
export declare const JSONSelectConditionExcludesModifierSchema: z.ZodLiteral<"excludes">;
|
|
35
|
+
export type JSONSelectConditionExcludesModifierSchemaType = z.infer<typeof JSONSelectConditionExcludesModifierSchema>;
|
|
36
|
+
export declare const JSONSelectExcludesConditionSchema: z.ZodObject<{
|
|
7
37
|
id: z.ZodString;
|
|
8
38
|
type: z.ZodLiteral<"select">;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
39
|
+
field: z.ZodString;
|
|
40
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
41
|
+
modifier: z.ZodLiteral<"excludes">;
|
|
12
42
|
}, z.core.$strip>;
|
|
43
|
+
export type JSONSelectExcludesConditionSchemaType = z.infer<typeof JSONSelectExcludesConditionSchema>;
|
|
44
|
+
export declare const JSONSelectConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">, z.ZodLiteral<"includes">, z.ZodLiteral<"excludes">]>;
|
|
45
|
+
export type JSONSelectConditionModifierSchemaType = z.infer<typeof JSONSelectConditionModifierSchema>;
|
|
46
|
+
export declare const JSONSelectConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
type: z.ZodLiteral<"select">;
|
|
49
|
+
field: z.ZodString;
|
|
50
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
51
|
+
modifier: z.ZodLiteral<"equals">;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
id: z.ZodString;
|
|
54
|
+
type: z.ZodLiteral<"select">;
|
|
55
|
+
field: z.ZodString;
|
|
56
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
57
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
id: z.ZodString;
|
|
60
|
+
type: z.ZodLiteral<"select">;
|
|
61
|
+
field: z.ZodString;
|
|
62
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
63
|
+
modifier: z.ZodLiteral<"includes">;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
type: z.ZodLiteral<"select">;
|
|
67
|
+
field: z.ZodString;
|
|
68
|
+
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
69
|
+
modifier: z.ZodLiteral<"excludes">;
|
|
70
|
+
}, z.core.$strip>], "modifier">;
|
|
13
71
|
export type JSONSelectConditionSchemaType = z.infer<typeof JSONSelectConditionSchema>;
|
|
@@ -1,13 +1,71 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const JSONStringConditionTypeSchema: z.ZodLiteral<"string">;
|
|
3
3
|
export type JSONStringConditionTypeSchemaType = z.infer<typeof JSONStringConditionTypeSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const JSONStringConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
|
+
export type JSONStringConditionEqualsModifierSchemaType = z.infer<typeof JSONStringConditionEqualsModifierSchema>;
|
|
6
|
+
export declare const JSONStringEqualsConditionSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
type: z.ZodLiteral<"string">;
|
|
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 JSONStringEqualsConditionSchemaType = z.infer<typeof JSONStringEqualsConditionSchema>;
|
|
14
|
+
export declare const JSONStringConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
|
+
export type JSONStringConditionNotEqualsModifierSchemaType = z.infer<typeof JSONStringConditionNotEqualsModifierSchema>;
|
|
16
|
+
export declare const JSONStringNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
type: z.ZodLiteral<"string">;
|
|
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 JSONStringNotEqualsConditionSchemaType = z.infer<typeof JSONStringNotEqualsConditionSchema>;
|
|
24
|
+
export declare const JSONStringConditionIncludesModifierSchema: z.ZodLiteral<"includes">;
|
|
25
|
+
export type JSONStringConditionIncludesModifierSchemaType = z.infer<typeof JSONStringConditionIncludesModifierSchema>;
|
|
26
|
+
export declare const JSONStringIncludesConditionSchema: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
type: z.ZodLiteral<"string">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
31
|
+
modifier: z.ZodLiteral<"includes">;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type JSONStringIncludesConditionSchemaType = z.infer<typeof JSONStringIncludesConditionSchema>;
|
|
34
|
+
export declare const JSONStringConditionExcludesModifierSchema: z.ZodLiteral<"excludes">;
|
|
35
|
+
export type JSONStringConditionExcludesModifierSchemaType = z.infer<typeof JSONStringConditionExcludesModifierSchema>;
|
|
36
|
+
export declare const JSONStringExcludesConditionSchema: z.ZodObject<{
|
|
7
37
|
id: z.ZodString;
|
|
8
38
|
type: z.ZodLiteral<"string">;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
39
|
+
field: z.ZodString;
|
|
40
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
41
|
+
modifier: z.ZodLiteral<"excludes">;
|
|
12
42
|
}, z.core.$strip>;
|
|
43
|
+
export type JSONStringExcludesConditionSchemaType = z.infer<typeof JSONStringExcludesConditionSchema>;
|
|
44
|
+
export declare const JSONStringConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">, z.ZodLiteral<"includes">, z.ZodLiteral<"excludes">]>;
|
|
45
|
+
export type JSONStringConditionModifierSchemaType = z.infer<typeof JSONStringConditionModifierSchema>;
|
|
46
|
+
export declare const JSONStringConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
type: z.ZodLiteral<"string">;
|
|
49
|
+
field: z.ZodString;
|
|
50
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
51
|
+
modifier: z.ZodLiteral<"equals">;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
id: z.ZodString;
|
|
54
|
+
type: z.ZodLiteral<"string">;
|
|
55
|
+
field: z.ZodString;
|
|
56
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
57
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
id: z.ZodString;
|
|
60
|
+
type: z.ZodLiteral<"string">;
|
|
61
|
+
field: z.ZodString;
|
|
62
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
63
|
+
modifier: z.ZodLiteral<"includes">;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
type: z.ZodLiteral<"string">;
|
|
67
|
+
field: z.ZodString;
|
|
68
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
69
|
+
modifier: z.ZodLiteral<"excludes">;
|
|
70
|
+
}, z.core.$strip>], "modifier">;
|
|
13
71
|
export type JSONStringConditionSchemaType = z.infer<typeof JSONStringConditionSchema>;
|
|
@@ -1,13 +1,71 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const JSONTextConditionTypeSchema: z.ZodLiteral<"text">;
|
|
3
3
|
export type JSONTextConditionTypeSchemaType = z.infer<typeof JSONTextConditionTypeSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const JSONTextConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
|
+
export type JSONTextConditionEqualsModifierSchemaType = z.infer<typeof JSONTextConditionEqualsModifierSchema>;
|
|
6
|
+
export declare const JSONTextEqualsConditionSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
type: z.ZodLiteral<"text">;
|
|
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 JSONTextEqualsConditionSchemaType = z.infer<typeof JSONTextEqualsConditionSchema>;
|
|
14
|
+
export declare const JSONTextConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
|
+
export type JSONTextConditionNotEqualsModifierSchemaType = z.infer<typeof JSONTextConditionNotEqualsModifierSchema>;
|
|
16
|
+
export declare const JSONTextNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
type: z.ZodLiteral<"text">;
|
|
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 JSONTextNotEqualsConditionSchemaType = z.infer<typeof JSONTextNotEqualsConditionSchema>;
|
|
24
|
+
export declare const JSONTextConditionIncludesModifierSchema: z.ZodLiteral<"includes">;
|
|
25
|
+
export type JSONTextConditionIncludesModifierSchemaType = z.infer<typeof JSONTextConditionIncludesModifierSchema>;
|
|
26
|
+
export declare const JSONTextIncludesConditionSchema: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
type: z.ZodLiteral<"text">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
31
|
+
modifier: z.ZodLiteral<"includes">;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type JSONTextIncludesConditionSchemaType = z.infer<typeof JSONTextIncludesConditionSchema>;
|
|
34
|
+
export declare const JSONTextConditionExcludesModifierSchema: z.ZodLiteral<"excludes">;
|
|
35
|
+
export type JSONTextConditionExcludesModifierSchemaType = z.infer<typeof JSONTextConditionExcludesModifierSchema>;
|
|
36
|
+
export declare const JSONTextExcludesConditionSchema: z.ZodObject<{
|
|
7
37
|
id: z.ZodString;
|
|
8
38
|
type: z.ZodLiteral<"text">;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
39
|
+
field: z.ZodString;
|
|
40
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
41
|
+
modifier: z.ZodLiteral<"excludes">;
|
|
12
42
|
}, z.core.$strip>;
|
|
43
|
+
export type JSONTextExcludesConditionSchemaType = z.infer<typeof JSONTextExcludesConditionSchema>;
|
|
44
|
+
export declare const JSONTextConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">, z.ZodLiteral<"includes">, z.ZodLiteral<"excludes">]>;
|
|
45
|
+
export type JSONTextConditionModifierSchemaType = z.infer<typeof JSONTextConditionModifierSchema>;
|
|
46
|
+
export declare const JSONTextConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
type: z.ZodLiteral<"text">;
|
|
49
|
+
field: z.ZodString;
|
|
50
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
51
|
+
modifier: z.ZodLiteral<"equals">;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
id: z.ZodString;
|
|
54
|
+
type: z.ZodLiteral<"text">;
|
|
55
|
+
field: z.ZodString;
|
|
56
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
57
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
id: z.ZodString;
|
|
60
|
+
type: z.ZodLiteral<"text">;
|
|
61
|
+
field: z.ZodString;
|
|
62
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
63
|
+
modifier: z.ZodLiteral<"includes">;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
type: z.ZodLiteral<"text">;
|
|
67
|
+
field: z.ZodString;
|
|
68
|
+
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
69
|
+
modifier: z.ZodLiteral<"excludes">;
|
|
70
|
+
}, z.core.$strip>], "modifier">;
|
|
13
71
|
export type JSONTextConditionSchemaType = z.infer<typeof JSONTextConditionSchema>;
|
|
@@ -1,19 +1,127 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const JSONTimeConditionTypeSchema: z.ZodLiteral<"time">;
|
|
3
3
|
export type JSONTimeConditionTypeSchemaType = z.infer<typeof JSONTimeConditionTypeSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const JSONTimeConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
|
+
export type JSONTimeConditionEqualsModifierSchemaType = z.infer<typeof JSONTimeConditionEqualsModifierSchema>;
|
|
6
|
+
export declare const JSONTimeEqualsConditionSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
type: z.ZodLiteral<"time">;
|
|
9
|
+
field: z.ZodString;
|
|
10
|
+
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
11
|
+
modifier: z.ZodLiteral<"equals">;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type JSONTimeEqualsConditionSchemaType = z.infer<typeof JSONTimeEqualsConditionSchema>;
|
|
14
|
+
export declare const JSONTimeConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
|
+
export type JSONTimeConditionNotEqualsModifierSchemaType = z.infer<typeof JSONTimeConditionNotEqualsModifierSchema>;
|
|
16
|
+
export declare const JSONTimeNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
type: z.ZodLiteral<"time">;
|
|
19
|
+
field: z.ZodString;
|
|
20
|
+
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
21
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type JSONTimeNotEqualsConditionSchemaType = z.infer<typeof JSONTimeNotEqualsConditionSchema>;
|
|
24
|
+
export declare const JSONTimeConditionBeforeModifierSchema: z.ZodLiteral<"before">;
|
|
25
|
+
export type JSONTimeConditionBeforeModifierSchemaType = z.infer<typeof JSONTimeConditionBeforeModifierSchema>;
|
|
26
|
+
export declare const JSONTimeBeforeConditionSchema: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
type: z.ZodLiteral<"time">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
31
|
+
modifier: z.ZodLiteral<"before">;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type JSONTimeBeforeConditionSchemaType = z.infer<typeof JSONTimeBeforeConditionSchema>;
|
|
34
|
+
export declare const JSONTimeConditionAfterModifierSchema: z.ZodLiteral<"after">;
|
|
35
|
+
export type JSONTimeConditionAfterModifierSchemaType = z.infer<typeof JSONTimeConditionAfterModifierSchema>;
|
|
36
|
+
export declare const JSONTimeAfterConditionSchema: z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
type: z.ZodLiteral<"time">;
|
|
39
|
+
field: z.ZodString;
|
|
40
|
+
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
41
|
+
modifier: z.ZodLiteral<"after">;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type JSONTimeAfterConditionSchemaType = z.infer<typeof JSONTimeAfterConditionSchema>;
|
|
44
|
+
export declare const JSONTimeConditionInModifierSchema: z.ZodLiteral<"in">;
|
|
45
|
+
export type JSONTimeConditionInModifierSchemaType = z.infer<typeof JSONTimeConditionInModifierSchema>;
|
|
46
|
+
export declare const JSONTimeInConditionSchema: z.ZodObject<{
|
|
7
47
|
id: z.ZodString;
|
|
8
48
|
type: z.ZodLiteral<"time">;
|
|
9
|
-
|
|
10
|
-
|
|
49
|
+
field: z.ZodString;
|
|
50
|
+
value: z.ZodType<{
|
|
11
51
|
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
12
52
|
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
13
|
-
}, unknown, z.core.$ZodTypeInternals
|
|
53
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
14
54
|
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
15
55
|
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
16
56
|
}, unknown>>;
|
|
17
|
-
|
|
57
|
+
modifier: z.ZodLiteral<"in">;
|
|
18
58
|
}, z.core.$strip>;
|
|
59
|
+
export type JSONTimeInConditionSchemaType = z.infer<typeof JSONTimeInConditionSchema>;
|
|
60
|
+
export declare const JSONTimeConditionNotInModifierSchema: z.ZodLiteral<"notIn">;
|
|
61
|
+
export type JSONTimeConditionNotInModifierSchemaType = z.infer<typeof JSONTimeConditionNotInModifierSchema>;
|
|
62
|
+
export declare const JSONTimeNotInConditionSchema: z.ZodObject<{
|
|
63
|
+
id: z.ZodString;
|
|
64
|
+
type: z.ZodLiteral<"time">;
|
|
65
|
+
field: z.ZodString;
|
|
66
|
+
value: z.ZodType<{
|
|
67
|
+
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
68
|
+
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
69
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
70
|
+
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
71
|
+
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
72
|
+
}, unknown>>;
|
|
73
|
+
modifier: z.ZodLiteral<"notIn">;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export type JSONTimeNotInConditionSchemaType = z.infer<typeof JSONTimeNotInConditionSchema>;
|
|
76
|
+
export declare const JSONTimeConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">, z.ZodLiteral<"before">, z.ZodLiteral<"after">, z.ZodLiteral<"in">, z.ZodLiteral<"notIn">]>;
|
|
77
|
+
export type JSONTimeConditionModifierSchemaType = z.infer<typeof JSONTimeConditionModifierSchema>;
|
|
78
|
+
export declare const JSONTimeConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
79
|
+
id: z.ZodString;
|
|
80
|
+
type: z.ZodLiteral<"time">;
|
|
81
|
+
field: z.ZodString;
|
|
82
|
+
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
83
|
+
modifier: z.ZodLiteral<"equals">;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
+
id: z.ZodString;
|
|
86
|
+
type: z.ZodLiteral<"time">;
|
|
87
|
+
field: z.ZodString;
|
|
88
|
+
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
89
|
+
modifier: z.ZodLiteral<"notEquals">;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
type: z.ZodLiteral<"time">;
|
|
93
|
+
field: z.ZodString;
|
|
94
|
+
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
95
|
+
modifier: z.ZodLiteral<"before">;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
id: z.ZodString;
|
|
98
|
+
type: z.ZodLiteral<"time">;
|
|
99
|
+
field: z.ZodString;
|
|
100
|
+
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
101
|
+
modifier: z.ZodLiteral<"after">;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
id: z.ZodString;
|
|
104
|
+
type: z.ZodLiteral<"time">;
|
|
105
|
+
field: z.ZodString;
|
|
106
|
+
value: z.ZodType<{
|
|
107
|
+
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
108
|
+
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
109
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
110
|
+
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
111
|
+
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
112
|
+
}, unknown>>;
|
|
113
|
+
modifier: z.ZodLiteral<"in">;
|
|
114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
+
id: z.ZodString;
|
|
116
|
+
type: z.ZodLiteral<"time">;
|
|
117
|
+
field: z.ZodString;
|
|
118
|
+
value: z.ZodType<{
|
|
119
|
+
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
120
|
+
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
121
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
122
|
+
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
123
|
+
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
124
|
+
}, unknown>>;
|
|
125
|
+
modifier: z.ZodLiteral<"notIn">;
|
|
126
|
+
}, z.core.$strip>], "modifier">;
|
|
19
127
|
export type JSONTimeConditionSchemaType = z.infer<typeof JSONTimeConditionSchema>;
|