@adrekic/zod-fieldsjson 1.0.0 → 1.0.1-compound-conditions.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 +13 -2
- package/dist/conditions/boolean.d.ts +7 -7
- package/dist/conditions/checkbox-list.d.ts +16 -16
- package/dist/conditions/date.d.ts +19 -19
- package/dist/conditions/index.d.ts +108 -99
- package/dist/conditions/multi-select.d.ts +16 -16
- package/dist/conditions/multi-string.d.ts +16 -16
- package/dist/conditions/number.d.ts +25 -25
- package/dist/conditions/operator.d.ts +95 -0
- package/dist/conditions/otp.d.ts +13 -13
- package/dist/conditions/pass-fail.d.ts +13 -13
- package/dist/conditions/radio.d.ts +13 -13
- package/dist/conditions/rating.d.ts +25 -25
- package/dist/conditions/scan.d.ts +13 -13
- package/dist/conditions/select.d.ts +13 -13
- package/dist/conditions/string.d.ts +13 -13
- package/dist/conditions/text.d.ts +13 -13
- package/dist/conditions/time.d.ts +19 -19
- package/dist/conditions/upload.d.ts +7 -7
- package/dist/conditions/url.d.ts +13 -13
- package/dist/elements/index.d.ts +6 -810
- package/dist/elements/section.d.ts +8 -1190
- package/dist/index.cjs +1 -1
- package/dist/index.js +325 -276
- package/dist/schema.d.ts +2 -670
- package/package.json +2 -2
|
@@ -4,48 +4,46 @@ export type JSONTimeConditionTypeSchemaType = z.infer<typeof JSONTimeConditionTy
|
|
|
4
4
|
export declare const JSONTimeConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
5
|
export type JSONTimeConditionEqualsModifierSchemaType = z.infer<typeof JSONTimeConditionEqualsModifierSchema>;
|
|
6
6
|
export declare const JSONTimeEqualsConditionSchema: z.ZodObject<{
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
type: z.ZodLiteral<"time">;
|
|
9
7
|
field: z.ZodString;
|
|
10
8
|
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
9
|
modifier: z.ZodLiteral<"equals">;
|
|
10
|
+
id: z.ZodString;
|
|
11
|
+
type: z.ZodLiteral<"time">;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export type JSONTimeEqualsConditionSchemaType = z.infer<typeof JSONTimeEqualsConditionSchema>;
|
|
14
14
|
export declare const JSONTimeConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
15
|
export type JSONTimeConditionNotEqualsModifierSchemaType = z.infer<typeof JSONTimeConditionNotEqualsModifierSchema>;
|
|
16
16
|
export declare const JSONTimeNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
-
id: z.ZodString;
|
|
18
|
-
type: z.ZodLiteral<"time">;
|
|
19
17
|
field: z.ZodString;
|
|
20
18
|
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
19
|
modifier: z.ZodLiteral<"notEquals">;
|
|
20
|
+
id: z.ZodString;
|
|
21
|
+
type: z.ZodLiteral<"time">;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
export type JSONTimeNotEqualsConditionSchemaType = z.infer<typeof JSONTimeNotEqualsConditionSchema>;
|
|
24
24
|
export declare const JSONTimeConditionBeforeModifierSchema: z.ZodLiteral<"before">;
|
|
25
25
|
export type JSONTimeConditionBeforeModifierSchemaType = z.infer<typeof JSONTimeConditionBeforeModifierSchema>;
|
|
26
26
|
export declare const JSONTimeBeforeConditionSchema: z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
type: z.ZodLiteral<"time">;
|
|
29
27
|
field: z.ZodString;
|
|
30
28
|
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
29
|
modifier: z.ZodLiteral<"before">;
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
type: z.ZodLiteral<"time">;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
33
|
export type JSONTimeBeforeConditionSchemaType = z.infer<typeof JSONTimeBeforeConditionSchema>;
|
|
34
34
|
export declare const JSONTimeConditionAfterModifierSchema: z.ZodLiteral<"after">;
|
|
35
35
|
export type JSONTimeConditionAfterModifierSchemaType = z.infer<typeof JSONTimeConditionAfterModifierSchema>;
|
|
36
36
|
export declare const JSONTimeAfterConditionSchema: z.ZodObject<{
|
|
37
|
-
id: z.ZodString;
|
|
38
|
-
type: z.ZodLiteral<"time">;
|
|
39
37
|
field: z.ZodString;
|
|
40
38
|
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
39
|
modifier: z.ZodLiteral<"after">;
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
type: z.ZodLiteral<"time">;
|
|
42
42
|
}, z.core.$strip>;
|
|
43
43
|
export type JSONTimeAfterConditionSchemaType = z.infer<typeof JSONTimeAfterConditionSchema>;
|
|
44
44
|
export declare const JSONTimeConditionInModifierSchema: z.ZodLiteral<"in">;
|
|
45
45
|
export type JSONTimeConditionInModifierSchemaType = z.infer<typeof JSONTimeConditionInModifierSchema>;
|
|
46
46
|
export declare const JSONTimeInConditionSchema: z.ZodObject<{
|
|
47
|
-
id: z.ZodString;
|
|
48
|
-
type: z.ZodLiteral<"time">;
|
|
49
47
|
field: z.ZodString;
|
|
50
48
|
value: z.ZodType<{
|
|
51
49
|
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
@@ -55,13 +53,13 @@ export declare const JSONTimeInConditionSchema: z.ZodObject<{
|
|
|
55
53
|
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
56
54
|
}, unknown>>;
|
|
57
55
|
modifier: z.ZodLiteral<"in">;
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
type: z.ZodLiteral<"time">;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
59
|
export type JSONTimeInConditionSchemaType = z.infer<typeof JSONTimeInConditionSchema>;
|
|
60
60
|
export declare const JSONTimeConditionNotInModifierSchema: z.ZodLiteral<"notIn">;
|
|
61
61
|
export type JSONTimeConditionNotInModifierSchemaType = z.infer<typeof JSONTimeConditionNotInModifierSchema>;
|
|
62
62
|
export declare const JSONTimeNotInConditionSchema: z.ZodObject<{
|
|
63
|
-
id: z.ZodString;
|
|
64
|
-
type: z.ZodLiteral<"time">;
|
|
65
63
|
field: z.ZodString;
|
|
66
64
|
value: z.ZodType<{
|
|
67
65
|
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
@@ -71,37 +69,37 @@ export declare const JSONTimeNotInConditionSchema: z.ZodObject<{
|
|
|
71
69
|
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
72
70
|
}, unknown>>;
|
|
73
71
|
modifier: z.ZodLiteral<"notIn">;
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
type: z.ZodLiteral<"time">;
|
|
74
74
|
}, z.core.$strip>;
|
|
75
75
|
export type JSONTimeNotInConditionSchemaType = z.infer<typeof JSONTimeNotInConditionSchema>;
|
|
76
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
77
|
export type JSONTimeConditionModifierSchemaType = z.infer<typeof JSONTimeConditionModifierSchema>;
|
|
78
78
|
export declare const JSONTimeConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
79
|
-
id: z.ZodString;
|
|
80
|
-
type: z.ZodLiteral<"time">;
|
|
81
79
|
field: z.ZodString;
|
|
82
80
|
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
81
|
modifier: z.ZodLiteral<"equals">;
|
|
84
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
85
82
|
id: z.ZodString;
|
|
86
83
|
type: z.ZodLiteral<"time">;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
87
85
|
field: z.ZodString;
|
|
88
86
|
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
87
|
modifier: z.ZodLiteral<"notEquals">;
|
|
90
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
91
88
|
id: z.ZodString;
|
|
92
89
|
type: z.ZodLiteral<"time">;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
93
91
|
field: z.ZodString;
|
|
94
92
|
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
93
|
modifier: z.ZodLiteral<"before">;
|
|
96
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
97
94
|
id: z.ZodString;
|
|
98
95
|
type: z.ZodLiteral<"time">;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
99
97
|
field: z.ZodString;
|
|
100
98
|
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
99
|
modifier: z.ZodLiteral<"after">;
|
|
102
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
103
100
|
id: z.ZodString;
|
|
104
101
|
type: z.ZodLiteral<"time">;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
105
103
|
field: z.ZodString;
|
|
106
104
|
value: z.ZodType<{
|
|
107
105
|
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
@@ -111,9 +109,9 @@ export declare const JSONTimeConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
111
109
|
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
112
110
|
}, unknown>>;
|
|
113
111
|
modifier: z.ZodLiteral<"in">;
|
|
114
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
115
112
|
id: z.ZodString;
|
|
116
113
|
type: z.ZodLiteral<"time">;
|
|
114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
115
|
field: z.ZodString;
|
|
118
116
|
value: z.ZodType<{
|
|
119
117
|
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
@@ -123,5 +121,7 @@ export declare const JSONTimeConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
123
121
|
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
124
122
|
}, unknown>>;
|
|
125
123
|
modifier: z.ZodLiteral<"notIn">;
|
|
124
|
+
id: z.ZodString;
|
|
125
|
+
type: z.ZodLiteral<"time">;
|
|
126
126
|
}, z.core.$strip>], "modifier">;
|
|
127
127
|
export type JSONTimeConditionSchemaType = z.infer<typeof JSONTimeConditionSchema>;
|
|
@@ -4,36 +4,36 @@ export type JSONUploadConditionTypeSchemaType = z.infer<typeof JSONUploadConditi
|
|
|
4
4
|
export declare const JSONUploadConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
5
|
export type JSONUploadConditionEqualsModifierSchemaType = z.infer<typeof JSONUploadConditionEqualsModifierSchema>;
|
|
6
6
|
export declare const JSONUploadEqualsConditionSchema: z.ZodObject<{
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
type: z.ZodLiteral<"upload">;
|
|
9
7
|
field: z.ZodString;
|
|
10
8
|
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
11
9
|
modifier: z.ZodLiteral<"equals">;
|
|
10
|
+
id: z.ZodString;
|
|
11
|
+
type: z.ZodLiteral<"upload">;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export type JSONUploadEqualsConditionSchemaType = z.infer<typeof JSONUploadEqualsConditionSchema>;
|
|
14
14
|
export declare const JSONUploadConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
15
|
export type JSONUploadConditionNotEqualsModifierSchemaType = z.infer<typeof JSONUploadConditionNotEqualsModifierSchema>;
|
|
16
16
|
export declare const JSONUploadNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
-
id: z.ZodString;
|
|
18
|
-
type: z.ZodLiteral<"upload">;
|
|
19
17
|
field: z.ZodString;
|
|
20
18
|
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
21
19
|
modifier: z.ZodLiteral<"notEquals">;
|
|
20
|
+
id: z.ZodString;
|
|
21
|
+
type: z.ZodLiteral<"upload">;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
export type JSONUploadNotEqualsConditionSchemaType = z.infer<typeof JSONUploadNotEqualsConditionSchema>;
|
|
24
24
|
export declare const JSONUploadConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">]>;
|
|
25
25
|
export type JSONUploadConditionModifierSchemaType = z.infer<typeof JSONUploadConditionModifierSchema>;
|
|
26
26
|
export declare const JSONUploadConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
type: z.ZodLiteral<"upload">;
|
|
29
27
|
field: z.ZodString;
|
|
30
28
|
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
31
29
|
modifier: z.ZodLiteral<"equals">;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
30
|
id: z.ZodString;
|
|
34
31
|
type: z.ZodLiteral<"upload">;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
33
|
field: z.ZodString;
|
|
36
34
|
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
37
35
|
modifier: z.ZodLiteral<"notEquals">;
|
|
36
|
+
id: z.ZodString;
|
|
37
|
+
type: z.ZodLiteral<"upload">;
|
|
38
38
|
}, z.core.$strip>], "modifier">;
|
|
39
39
|
export type JSONUploadConditionSchemaType = z.infer<typeof JSONUploadConditionSchema>;
|
package/dist/conditions/url.d.ts
CHANGED
|
@@ -4,68 +4,68 @@ export type JSONURLConditionTypeSchemaType = z.infer<typeof JSONURLConditionType
|
|
|
4
4
|
export declare const JSONURLConditionEqualsModifierSchema: z.ZodLiteral<"equals">;
|
|
5
5
|
export type JSONURLConditionEqualsModifierSchemaType = z.infer<typeof JSONURLConditionEqualsModifierSchema>;
|
|
6
6
|
export declare const JSONURLEqualsConditionSchema: z.ZodObject<{
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
type: z.ZodLiteral<"url">;
|
|
9
7
|
field: z.ZodString;
|
|
10
8
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
11
9
|
modifier: z.ZodLiteral<"equals">;
|
|
10
|
+
id: z.ZodString;
|
|
11
|
+
type: z.ZodLiteral<"url">;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export type JSONURLEqualsConditionSchemaType = z.infer<typeof JSONURLEqualsConditionSchema>;
|
|
14
14
|
export declare const JSONURLConditionNotEqualsModifierSchema: z.ZodLiteral<"notEquals">;
|
|
15
15
|
export type JSONURLConditionNotEqualsModifierSchemaType = z.infer<typeof JSONURLConditionNotEqualsModifierSchema>;
|
|
16
16
|
export declare const JSONURLNotEqualsConditionSchema: z.ZodObject<{
|
|
17
|
-
id: z.ZodString;
|
|
18
|
-
type: z.ZodLiteral<"url">;
|
|
19
17
|
field: z.ZodString;
|
|
20
18
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
21
19
|
modifier: z.ZodLiteral<"notEquals">;
|
|
20
|
+
id: z.ZodString;
|
|
21
|
+
type: z.ZodLiteral<"url">;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
export type JSONURLNotEqualsConditionSchemaType = z.infer<typeof JSONURLNotEqualsConditionSchema>;
|
|
24
24
|
export declare const JSONURLConditionIncludesModifierSchema: z.ZodLiteral<"includes">;
|
|
25
25
|
export type JSONURLConditionIncludesModifierSchemaType = z.infer<typeof JSONURLConditionIncludesModifierSchema>;
|
|
26
26
|
export declare const JSONURLIncludesConditionSchema: z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
type: z.ZodLiteral<"url">;
|
|
29
27
|
field: z.ZodString;
|
|
30
28
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
31
29
|
modifier: z.ZodLiteral<"includes">;
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
type: z.ZodLiteral<"url">;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
33
|
export type JSONURLIncludesConditionSchemaType = z.infer<typeof JSONURLIncludesConditionSchema>;
|
|
34
34
|
export declare const JSONURLConditionExcludesModifierSchema: z.ZodLiteral<"excludes">;
|
|
35
35
|
export type JSONURLConditionExcludesModifierSchemaType = z.infer<typeof JSONURLConditionExcludesModifierSchema>;
|
|
36
36
|
export declare const JSONURLExcludesConditionSchema: z.ZodObject<{
|
|
37
|
-
id: z.ZodString;
|
|
38
|
-
type: z.ZodLiteral<"url">;
|
|
39
37
|
field: z.ZodString;
|
|
40
38
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
41
39
|
modifier: z.ZodLiteral<"excludes">;
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
type: z.ZodLiteral<"url">;
|
|
42
42
|
}, z.core.$strip>;
|
|
43
43
|
export type JSONURLExcludesConditionSchemaType = z.infer<typeof JSONURLExcludesConditionSchema>;
|
|
44
44
|
export declare const JSONURLConditionModifierSchema: z.ZodUnion<readonly [z.ZodLiteral<"equals">, z.ZodLiteral<"notEquals">, z.ZodLiteral<"includes">, z.ZodLiteral<"excludes">]>;
|
|
45
45
|
export type JSONURLConditionModifierSchemaType = z.infer<typeof JSONURLConditionModifierSchema>;
|
|
46
46
|
export declare const JSONURLConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47
|
-
id: z.ZodString;
|
|
48
|
-
type: z.ZodLiteral<"url">;
|
|
49
47
|
field: z.ZodString;
|
|
50
48
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
51
49
|
modifier: z.ZodLiteral<"equals">;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
50
|
id: z.ZodString;
|
|
54
51
|
type: z.ZodLiteral<"url">;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
55
53
|
field: z.ZodString;
|
|
56
54
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
57
55
|
modifier: z.ZodLiteral<"notEquals">;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
56
|
id: z.ZodString;
|
|
60
57
|
type: z.ZodLiteral<"url">;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
59
|
field: z.ZodString;
|
|
62
60
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
63
61
|
modifier: z.ZodLiteral<"includes">;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
62
|
id: z.ZodString;
|
|
66
63
|
type: z.ZodLiteral<"url">;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
65
|
field: z.ZodString;
|
|
68
66
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
69
67
|
modifier: z.ZodLiteral<"excludes">;
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
type: z.ZodLiteral<"url">;
|
|
70
70
|
}, z.core.$strip>], "modifier">;
|
|
71
71
|
export type JSONURLConditionSchemaType = z.infer<typeof JSONURLConditionSchema>;
|