@adrekic/zod-fieldsjson 0.0.1-schemas.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 +9 -0
- package/dist/conditions/boolean.d.ts +13 -0
- package/dist/conditions/checkbox-list.d.ts +13 -0
- package/dist/conditions/date.d.ts +19 -0
- package/dist/conditions/index.d.ts +149 -0
- package/dist/conditions/multi-select.d.ts +13 -0
- package/dist/conditions/multi-string.d.ts +13 -0
- package/dist/conditions/number.d.ts +19 -0
- package/dist/conditions/otp.d.ts +13 -0
- package/dist/conditions/pass-fail.d.ts +13 -0
- package/dist/conditions/radio.d.ts +13 -0
- package/dist/conditions/rating.d.ts +19 -0
- package/dist/conditions/scan.d.ts +13 -0
- package/dist/conditions/select.d.ts +13 -0
- package/dist/conditions/string.d.ts +13 -0
- package/dist/conditions/text.d.ts +13 -0
- package/dist/conditions/time.d.ts +19 -0
- package/dist/conditions/upload.d.ts +13 -0
- package/dist/conditions/url.d.ts +13 -0
- package/dist/elements/base.d.ts +6 -0
- package/dist/elements/index.d.ts +422 -0
- package/dist/elements/section.d.ts +407 -0
- package/dist/fields/base.d.ts +32 -0
- package/dist/fields/boolean.d.ts +13 -0
- package/dist/fields/checkbox-list.d.ts +17 -0
- package/dist/fields/date.d.ts +13 -0
- package/dist/fields/index.d.ts +176 -0
- package/dist/fields/multi-select.d.ts +18 -0
- package/dist/fields/multi-string.d.ts +16 -0
- package/dist/fields/number.d.ts +17 -0
- package/dist/fields/otp.d.ts +17 -0
- package/dist/fields/pass-fail.d.ts +20 -0
- package/dist/fields/radio.d.ts +17 -0
- package/dist/fields/rating.d.ts +14 -0
- package/dist/fields/scan.d.ts +13 -0
- package/dist/fields/select.d.ts +18 -0
- package/dist/fields/string.d.ts +16 -0
- package/dist/fields/text.d.ts +16 -0
- package/dist/fields/time.d.ts +13 -0
- package/dist/fields/upload.d.ts +16 -0
- package/dist/fields/url.d.ts +14 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +277 -0
- package/dist/misc.d.ts +29 -0
- package/dist/schema.d.ts +277 -0
- package/package.json +52 -0
package/dist/schema.d.ts
ADDED
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export declare const JSONFieldSchemaSchema: z.ZodArray<z.ZodObject<{
|
|
3
|
+
label: z.ZodNullable<z.ZodString>;
|
|
4
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
+
conditions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
type: z.ZodLiteral<"boolean">;
|
|
8
|
+
fieldId: z.ZodString;
|
|
9
|
+
conditionValue: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
10
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals">;
|
|
11
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
14
|
+
fieldId: z.ZodString;
|
|
15
|
+
conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
16
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
|
|
17
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
+
id: z.ZodString;
|
|
19
|
+
type: z.ZodLiteral<"date">;
|
|
20
|
+
fieldId: z.ZodString;
|
|
21
|
+
conditionValue: z.ZodType<string | {
|
|
22
|
+
from: string | null;
|
|
23
|
+
to: string | null;
|
|
24
|
+
}, unknown, z.core.$ZodTypeInternals<string | {
|
|
25
|
+
from: string | null;
|
|
26
|
+
to: string | null;
|
|
27
|
+
}, unknown>>;
|
|
28
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
type: z.ZodLiteral<"multi-select">;
|
|
32
|
+
fieldId: z.ZodString;
|
|
33
|
+
conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
34
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
id: z.ZodString;
|
|
37
|
+
type: z.ZodLiteral<"multi-string">;
|
|
38
|
+
fieldId: z.ZodString;
|
|
39
|
+
conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
40
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
type: z.ZodLiteral<"number">;
|
|
44
|
+
fieldId: z.ZodString;
|
|
45
|
+
conditionValue: z.ZodType<number | {
|
|
46
|
+
from: number | null;
|
|
47
|
+
to: number | null;
|
|
48
|
+
}, unknown, z.core.$ZodTypeInternals<number | {
|
|
49
|
+
from: number | null;
|
|
50
|
+
to: number | null;
|
|
51
|
+
}, unknown>>;
|
|
52
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
id: z.ZodString;
|
|
55
|
+
type: z.ZodLiteral<"otp">;
|
|
56
|
+
fieldId: z.ZodString;
|
|
57
|
+
conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
58
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
type: z.ZodLiteral<"pass-fail">;
|
|
62
|
+
fieldId: z.ZodString;
|
|
63
|
+
conditionValue: z.ZodType<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown>>;
|
|
64
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
|
|
65
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
type: z.ZodLiteral<"radio">;
|
|
68
|
+
fieldId: z.ZodString;
|
|
69
|
+
conditionValue: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
|
|
70
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
|
|
71
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
type: z.ZodLiteral<"rating">;
|
|
74
|
+
fieldId: z.ZodString;
|
|
75
|
+
conditionValue: z.ZodType<number | {
|
|
76
|
+
from: number | null;
|
|
77
|
+
to: number | null;
|
|
78
|
+
}, unknown, z.core.$ZodTypeInternals<number | {
|
|
79
|
+
from: number | null;
|
|
80
|
+
to: number | null;
|
|
81
|
+
}, unknown>>;
|
|
82
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
id: z.ZodString;
|
|
85
|
+
type: z.ZodLiteral<"qr">;
|
|
86
|
+
fieldId: z.ZodString;
|
|
87
|
+
conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
88
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
|
|
89
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
90
|
+
id: z.ZodString;
|
|
91
|
+
type: z.ZodLiteral<"select">;
|
|
92
|
+
fieldId: z.ZodString;
|
|
93
|
+
conditionValue: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
|
|
94
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
+
id: z.ZodString;
|
|
97
|
+
type: z.ZodLiteral<"string">;
|
|
98
|
+
fieldId: z.ZodString;
|
|
99
|
+
conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
100
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
id: z.ZodString;
|
|
103
|
+
type: z.ZodLiteral<"text">;
|
|
104
|
+
fieldId: z.ZodString;
|
|
105
|
+
conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
106
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
+
id: z.ZodString;
|
|
109
|
+
type: z.ZodLiteral<"time">;
|
|
110
|
+
fieldId: z.ZodString;
|
|
111
|
+
conditionValue: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
|
|
112
|
+
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
113
|
+
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
114
|
+
}, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
|
|
115
|
+
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
116
|
+
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
117
|
+
}, unknown>>;
|
|
118
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
120
|
+
id: z.ZodString;
|
|
121
|
+
type: z.ZodLiteral<"upload">;
|
|
122
|
+
fieldId: z.ZodString;
|
|
123
|
+
conditionValue: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
124
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals">;
|
|
125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
126
|
+
id: z.ZodString;
|
|
127
|
+
type: z.ZodLiteral<"url">;
|
|
128
|
+
fieldId: z.ZodString;
|
|
129
|
+
conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
130
|
+
conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
|
|
131
|
+
}, z.core.$strip>], "type">>>;
|
|
132
|
+
fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
133
|
+
label: z.ZodString;
|
|
134
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
+
required: z.ZodBoolean;
|
|
136
|
+
identifier: z.ZodString;
|
|
137
|
+
type: z.ZodLiteral<"boolean">;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
+
options: z.ZodArray<z.ZodObject<{
|
|
140
|
+
value: z.ZodString;
|
|
141
|
+
label: z.ZodString;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
label: z.ZodString;
|
|
144
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
|
+
required: z.ZodBoolean;
|
|
146
|
+
identifier: z.ZodString;
|
|
147
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
+
label: z.ZodString;
|
|
150
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
required: z.ZodBoolean;
|
|
152
|
+
identifier: z.ZodString;
|
|
153
|
+
type: z.ZodLiteral<"date">;
|
|
154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
156
|
+
options: z.ZodArray<z.ZodObject<{
|
|
157
|
+
value: z.ZodString;
|
|
158
|
+
label: z.ZodString;
|
|
159
|
+
}, z.core.$strip>>;
|
|
160
|
+
label: z.ZodString;
|
|
161
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
+
required: z.ZodBoolean;
|
|
163
|
+
identifier: z.ZodString;
|
|
164
|
+
type: z.ZodLiteral<"multi-select">;
|
|
165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
166
|
+
minimum_length: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
maximum_length: z.ZodNumber;
|
|
168
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
169
|
+
label: z.ZodString;
|
|
170
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
+
required: z.ZodBoolean;
|
|
172
|
+
identifier: z.ZodString;
|
|
173
|
+
type: z.ZodLiteral<"multi-string">;
|
|
174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
175
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
177
|
+
integers: z.ZodBoolean;
|
|
178
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
179
|
+
label: z.ZodString;
|
|
180
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
|
+
required: z.ZodBoolean;
|
|
182
|
+
identifier: z.ZodString;
|
|
183
|
+
type: z.ZodLiteral<"number">;
|
|
184
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
185
|
+
length: z.ZodNumber;
|
|
186
|
+
validationType: z.ZodLiteral<"none" | "alpha" | "numeric" | "alphanumeric">;
|
|
187
|
+
label: z.ZodString;
|
|
188
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
|
+
required: z.ZodBoolean;
|
|
190
|
+
identifier: z.ZodString;
|
|
191
|
+
type: z.ZodLiteral<"otp">;
|
|
192
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
193
|
+
showNotesAndFilesOn: z.ZodArray<z.ZodLiteral<"pass" | "fail" | "na">>;
|
|
194
|
+
label: z.ZodString;
|
|
195
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
|
+
required: z.ZodBoolean;
|
|
197
|
+
identifier: z.ZodString;
|
|
198
|
+
type: z.ZodLiteral<"pass-fail">;
|
|
199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
200
|
+
options: z.ZodArray<z.ZodObject<{
|
|
201
|
+
value: z.ZodString;
|
|
202
|
+
label: z.ZodString;
|
|
203
|
+
}, z.core.$strip>>;
|
|
204
|
+
label: z.ZodString;
|
|
205
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
|
+
required: z.ZodBoolean;
|
|
207
|
+
identifier: z.ZodString;
|
|
208
|
+
type: z.ZodLiteral<"radio">;
|
|
209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
210
|
+
maxRating: z.ZodNumber;
|
|
211
|
+
label: z.ZodString;
|
|
212
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
213
|
+
required: z.ZodBoolean;
|
|
214
|
+
identifier: z.ZodString;
|
|
215
|
+
type: z.ZodLiteral<"rating">;
|
|
216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
217
|
+
label: z.ZodString;
|
|
218
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
required: z.ZodBoolean;
|
|
220
|
+
identifier: z.ZodString;
|
|
221
|
+
type: z.ZodLiteral<"qr">;
|
|
222
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
223
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
224
|
+
options: z.ZodArray<z.ZodObject<{
|
|
225
|
+
value: z.ZodString;
|
|
226
|
+
label: z.ZodString;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
label: z.ZodString;
|
|
229
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
required: z.ZodBoolean;
|
|
231
|
+
identifier: z.ZodString;
|
|
232
|
+
type: z.ZodLiteral<"select">;
|
|
233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
234
|
+
minimum_length: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
maximum_length: z.ZodNumber;
|
|
236
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
237
|
+
label: z.ZodString;
|
|
238
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
239
|
+
required: z.ZodBoolean;
|
|
240
|
+
identifier: z.ZodString;
|
|
241
|
+
type: z.ZodLiteral<"string">;
|
|
242
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
243
|
+
minimum_length: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
maximum_length: z.ZodNumber;
|
|
245
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
246
|
+
label: z.ZodString;
|
|
247
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
|
+
required: z.ZodBoolean;
|
|
249
|
+
identifier: z.ZodString;
|
|
250
|
+
type: z.ZodLiteral<"text">;
|
|
251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
252
|
+
label: z.ZodString;
|
|
253
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
254
|
+
required: z.ZodBoolean;
|
|
255
|
+
identifier: z.ZodString;
|
|
256
|
+
type: z.ZodLiteral<"time">;
|
|
257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
258
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
259
|
+
maximum_size: z.ZodOptional<z.ZodNumber>;
|
|
260
|
+
maximum_files: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
label: z.ZodString;
|
|
262
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
|
+
required: z.ZodBoolean;
|
|
264
|
+
identifier: z.ZodString;
|
|
265
|
+
type: z.ZodLiteral<"upload">;
|
|
266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
267
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
268
|
+
label: z.ZodString;
|
|
269
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
270
|
+
required: z.ZodBoolean;
|
|
271
|
+
identifier: z.ZodString;
|
|
272
|
+
type: z.ZodLiteral<"url">;
|
|
273
|
+
}, z.core.$strip>], "type">>;
|
|
274
|
+
identifier: z.ZodString;
|
|
275
|
+
type: z.ZodLiteral<"section">;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
export type JSONFieldSchemaSchemaType = z.infer<typeof JSONFieldSchemaSchema>;
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@adrekic/zod-fieldsjson",
|
|
3
|
+
"version": "0.0.1-schemas.0",
|
|
4
|
+
"license": "UNLICENSED",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"type": "module",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"main": "./dist/index.cjs",
|
|
11
|
+
"module": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.cjs",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"preview": "vite preview",
|
|
25
|
+
"build": "vite build",
|
|
26
|
+
"type-check": "tsc --noEmit",
|
|
27
|
+
"lint": "oxlint --deny-warnings",
|
|
28
|
+
"lint:fix": "yarn lint --fix",
|
|
29
|
+
"format": "oxfmt",
|
|
30
|
+
"format:check": "yarn format --check",
|
|
31
|
+
"test": "vitest --typecheck --config ./vitest.config.ts"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@adrekic/fieldsjson": "0.0.2-types.1",
|
|
35
|
+
"@types/node": "24.1.0",
|
|
36
|
+
"oxfmt": "0.61.0",
|
|
37
|
+
"oxlint": "1.76.0",
|
|
38
|
+
"oxlint-tsgolint": "7.0.2001",
|
|
39
|
+
"typescript": "~6.0.2",
|
|
40
|
+
"vite": "^8.2.0",
|
|
41
|
+
"vite-plugin-dts": "5.0.3",
|
|
42
|
+
"vitest": "^4.1.10",
|
|
43
|
+
"zod": "4.4.3"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"zod": "^4.0.0"
|
|
47
|
+
},
|
|
48
|
+
"volta": {
|
|
49
|
+
"node": "24.11.0",
|
|
50
|
+
"yarn": "4.12.0"
|
|
51
|
+
}
|
|
52
|
+
}
|