@pcontext/api 0.0.1 → 0.0.3

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.
@@ -1,8 +1,8 @@
1
1
  import { AppBindings } from "../../../shared/types.mjs";
2
2
  import * as hono_utils_types0 from "hono/utils/types";
3
3
  import * as hono_utils_http_status0 from "hono/utils/http-status";
4
- import * as zod_v30 from "zod/v3";
5
4
  import * as zod_v4_core0 from "zod/v4/core";
5
+ import * as zod_v30 from "zod/v3";
6
6
  import * as hono_hono_base0 from "hono/hono-base";
7
7
 
8
8
  //#region src/modules/user/interfaces/user.route.d.ts
@@ -16,845 +16,810 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
16
16
  code: number;
17
17
  message: string;
18
18
  data: ({
19
- code: "custom";
20
- params?: {
21
- [x: string]: any;
22
- } | undefined;
23
- path: (string | number)[];
24
- message: string;
25
- fatal?: boolean | undefined | undefined;
19
+ readonly code: "invalid_type";
20
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
21
+ readonly input?: hono_utils_types0.JSONValue | undefined;
22
+ readonly path: (string | number | null)[];
23
+ readonly message: string;
26
24
  } | {
27
- code: "invalid_type";
28
- expected: zod_v30.ZodParsedType;
29
- received: zod_v30.ZodParsedType;
30
- path: (string | number)[];
31
- message: string;
32
- fatal?: boolean | undefined | undefined;
25
+ readonly code: "too_big";
26
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
27
+ readonly maximum: number;
28
+ readonly inclusive?: boolean | undefined;
29
+ readonly exact?: boolean | undefined;
30
+ readonly input?: hono_utils_types0.JSONValue | undefined;
31
+ readonly path: (string | number | null)[];
32
+ readonly message: string;
33
33
  } | {
34
- code: "invalid_literal";
35
- expected: hono_utils_types0.JSONValue;
36
- received: hono_utils_types0.JSONValue;
37
- path: (string | number)[];
38
- message: string;
39
- fatal?: boolean | undefined | undefined;
34
+ readonly code: "too_small";
35
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
36
+ readonly minimum: number;
37
+ readonly inclusive?: boolean | undefined;
38
+ readonly exact?: boolean | undefined;
39
+ readonly input?: hono_utils_types0.JSONValue | undefined;
40
+ readonly path: (string | number | null)[];
41
+ readonly message: string;
40
42
  } | {
41
- code: "unrecognized_keys";
42
- keys: string[];
43
- path: (string | number)[];
44
- message: string;
45
- fatal?: boolean | undefined | undefined;
43
+ readonly code: "invalid_format";
44
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
45
+ readonly pattern?: string | undefined;
46
+ readonly input?: string | undefined;
47
+ readonly path: (string | number | null)[];
48
+ readonly message: string;
46
49
  } | {
47
- code: "invalid_union";
48
- unionErrors: {
49
- issues: ({
50
- code: "custom";
51
- params?: {
52
- [x: string]: any;
53
- } | undefined;
54
- path: (string | number)[];
55
- message: string;
56
- fatal?: boolean | undefined | undefined;
57
- } | {
58
- code: "invalid_type";
59
- expected: zod_v30.ZodParsedType;
60
- received: zod_v30.ZodParsedType;
61
- path: (string | number)[];
62
- message: string;
63
- fatal?: boolean | undefined | undefined;
64
- } | {
65
- code: "invalid_literal";
66
- expected: hono_utils_types0.JSONValue;
67
- received: hono_utils_types0.JSONValue;
68
- path: (string | number)[];
69
- message: string;
70
- fatal?: boolean | undefined | undefined;
71
- } | {
72
- code: "unrecognized_keys";
73
- keys: string[];
74
- path: (string | number)[];
75
- message: string;
76
- fatal?: boolean | undefined | undefined;
77
- } | /*elided*/any | {
78
- code: "invalid_union_discriminator";
79
- options: (string | number | boolean | null)[];
80
- path: (string | number)[];
81
- message: string;
82
- fatal?: boolean | undefined | undefined;
50
+ readonly code: "not_multiple_of";
51
+ readonly divisor: number;
52
+ readonly input?: number | undefined;
53
+ readonly path: (string | number | null)[];
54
+ readonly message: string;
55
+ } | {
56
+ readonly code: "unrecognized_keys";
57
+ readonly keys: string[];
58
+ readonly input?: {
59
+ [x: string]: hono_utils_types0.JSONValue;
60
+ } | undefined;
61
+ readonly path: (string | number | null)[];
62
+ readonly message: string;
63
+ } | {
64
+ readonly code: "invalid_union";
65
+ readonly errors: ({
66
+ readonly code: "invalid_type";
67
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
68
+ readonly input?: hono_utils_types0.JSONValue | undefined;
69
+ readonly path: (string | number | null)[];
70
+ readonly message: string;
71
+ } | {
72
+ readonly code: "too_big";
73
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
74
+ readonly maximum: number;
75
+ readonly inclusive?: boolean | undefined;
76
+ readonly exact?: boolean | undefined;
77
+ readonly input?: hono_utils_types0.JSONValue | undefined;
78
+ readonly path: (string | number | null)[];
79
+ readonly message: string;
80
+ } | {
81
+ readonly code: "too_small";
82
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
83
+ readonly minimum: number;
84
+ readonly inclusive?: boolean | undefined;
85
+ readonly exact?: boolean | undefined;
86
+ readonly input?: hono_utils_types0.JSONValue | undefined;
87
+ readonly path: (string | number | null)[];
88
+ readonly message: string;
89
+ } | {
90
+ readonly code: "invalid_format";
91
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
92
+ readonly pattern?: string | undefined;
93
+ readonly input?: string | undefined;
94
+ readonly path: (string | number | null)[];
95
+ readonly message: string;
96
+ } | {
97
+ readonly code: "not_multiple_of";
98
+ readonly divisor: number;
99
+ readonly input?: number | undefined;
100
+ readonly path: (string | number | null)[];
101
+ readonly message: string;
102
+ } | {
103
+ readonly code: "unrecognized_keys";
104
+ readonly keys: string[];
105
+ readonly input?: {
106
+ [x: string]: hono_utils_types0.JSONValue;
107
+ } | undefined;
108
+ readonly path: (string | number | null)[];
109
+ readonly message: string;
110
+ } | /*elided*/any | {
111
+ readonly code: "invalid_union";
112
+ readonly errors: [];
113
+ readonly input?: hono_utils_types0.JSONValue | undefined;
114
+ readonly discriminator?: string | undefined | undefined;
115
+ readonly inclusive: false;
116
+ readonly path: (string | number | null)[];
117
+ readonly message: string;
118
+ } | {
119
+ readonly code: "invalid_key";
120
+ readonly origin: "map" | "record";
121
+ readonly issues: ({
122
+ readonly code: "invalid_type";
123
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
124
+ readonly input?: hono_utils_types0.JSONValue | undefined;
125
+ readonly path: (string | number | null)[];
126
+ readonly message: string;
83
127
  } | {
84
- received: string | number;
85
- code: "invalid_enum_value";
86
- options: (string | number)[];
87
- path: (string | number)[];
88
- message: string;
89
- fatal?: boolean | undefined | undefined;
128
+ readonly code: "too_big";
129
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
130
+ readonly maximum: number;
131
+ readonly inclusive?: boolean | undefined;
132
+ readonly exact?: boolean | undefined;
133
+ readonly input?: hono_utils_types0.JSONValue | undefined;
134
+ readonly path: (string | number | null)[];
135
+ readonly message: string;
90
136
  } | {
91
- code: "invalid_arguments";
92
- argumentsError: /*elided*/any;
93
- path: (string | number)[];
94
- message: string;
95
- fatal?: boolean | undefined | undefined;
137
+ readonly code: "too_small";
138
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
139
+ readonly minimum: number;
140
+ readonly inclusive?: boolean | undefined;
141
+ readonly exact?: boolean | undefined;
142
+ readonly input?: hono_utils_types0.JSONValue | undefined;
143
+ readonly path: (string | number | null)[];
144
+ readonly message: string;
96
145
  } | {
97
- code: "invalid_return_type";
98
- returnTypeError: /*elided*/any;
99
- path: (string | number)[];
100
- message: string;
101
- fatal?: boolean | undefined | undefined;
146
+ readonly code: "invalid_format";
147
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
148
+ readonly pattern?: string | undefined;
149
+ readonly input?: string | undefined;
150
+ readonly path: (string | number | null)[];
151
+ readonly message: string;
102
152
  } | {
103
- code: "invalid_date";
104
- path: (string | number)[];
105
- message: string;
106
- fatal?: boolean | undefined | undefined;
153
+ readonly code: "not_multiple_of";
154
+ readonly divisor: number;
155
+ readonly input?: number | undefined;
156
+ readonly path: (string | number | null)[];
157
+ readonly message: string;
107
158
  } | {
108
- code: "invalid_string";
109
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "regex" | "datetime" | "ip" | "cidr" | {
110
- includes: string;
111
- position?: number | undefined | undefined;
159
+ readonly code: "unrecognized_keys";
160
+ readonly keys: string[];
161
+ readonly input?: {
162
+ [x: string]: hono_utils_types0.JSONValue;
163
+ } | undefined;
164
+ readonly path: (string | number | null)[];
165
+ readonly message: string;
166
+ } | /*elided*/any | {
167
+ readonly code: "invalid_union";
168
+ readonly errors: [];
169
+ readonly input?: hono_utils_types0.JSONValue | undefined;
170
+ readonly discriminator?: string | undefined | undefined;
171
+ readonly inclusive: false;
172
+ readonly path: (string | number | null)[];
173
+ readonly message: string;
174
+ } | /*elided*/any | {
175
+ readonly code: "invalid_element";
176
+ readonly origin: "map" | "set";
177
+ readonly key: hono_utils_types0.JSONValue;
178
+ readonly issues: ({
179
+ readonly code: "invalid_type";
180
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
181
+ readonly input?: hono_utils_types0.JSONValue | undefined;
182
+ readonly path: (string | number | null)[];
183
+ readonly message: string;
112
184
  } | {
113
- startsWith: string;
185
+ readonly code: "too_big";
186
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
187
+ readonly maximum: number;
188
+ readonly inclusive?: boolean | undefined;
189
+ readonly exact?: boolean | undefined;
190
+ readonly input?: hono_utils_types0.JSONValue | undefined;
191
+ readonly path: (string | number | null)[];
192
+ readonly message: string;
114
193
  } | {
115
- endsWith: string;
116
- };
117
- path: (string | number)[];
118
- message: string;
119
- fatal?: boolean | undefined | undefined;
120
- } | {
121
- code: "too_small";
122
- minimum: number;
123
- inclusive: boolean;
124
- exact?: boolean | undefined;
125
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
126
- path: (string | number)[];
127
- message: string;
128
- fatal?: boolean | undefined | undefined;
129
- } | {
130
- code: "too_big";
131
- maximum: number;
132
- inclusive: boolean;
133
- exact?: boolean | undefined;
134
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
135
- path: (string | number)[];
136
- message: string;
137
- fatal?: boolean | undefined | undefined;
138
- } | {
139
- code: "invalid_intersection_types";
140
- path: (string | number)[];
141
- message: string;
142
- fatal?: boolean | undefined | undefined;
194
+ readonly code: "too_small";
195
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
196
+ readonly minimum: number;
197
+ readonly inclusive?: boolean | undefined;
198
+ readonly exact?: boolean | undefined;
199
+ readonly input?: hono_utils_types0.JSONValue | undefined;
200
+ readonly path: (string | number | null)[];
201
+ readonly message: string;
202
+ } | {
203
+ readonly code: "invalid_format";
204
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
205
+ readonly pattern?: string | undefined;
206
+ readonly input?: string | undefined;
207
+ readonly path: (string | number | null)[];
208
+ readonly message: string;
209
+ } | {
210
+ readonly code: "not_multiple_of";
211
+ readonly divisor: number;
212
+ readonly input?: number | undefined;
213
+ readonly path: (string | number | null)[];
214
+ readonly message: string;
215
+ } | {
216
+ readonly code: "unrecognized_keys";
217
+ readonly keys: string[];
218
+ readonly input?: {
219
+ [x: string]: hono_utils_types0.JSONValue;
220
+ } | undefined;
221
+ readonly path: (string | number | null)[];
222
+ readonly message: string;
223
+ } | /*elided*/any | {
224
+ readonly code: "invalid_union";
225
+ readonly errors: [];
226
+ readonly input?: hono_utils_types0.JSONValue | undefined;
227
+ readonly discriminator?: string | undefined | undefined;
228
+ readonly inclusive: false;
229
+ readonly path: (string | number | null)[];
230
+ readonly message: string;
231
+ } | /*elided*/any | /*elided*/any | {
232
+ readonly code: "invalid_value";
233
+ readonly values: (string | number | boolean | null)[];
234
+ readonly input?: hono_utils_types0.JSONValue | undefined;
235
+ readonly path: (string | number | null)[];
236
+ readonly message: string;
237
+ } | {
238
+ readonly code: "custom";
239
+ readonly params?: {
240
+ [x: string]: any;
241
+ } | undefined;
242
+ readonly input?: hono_utils_types0.JSONValue | undefined;
243
+ readonly path: (string | number | null)[];
244
+ readonly message: string;
245
+ })[];
246
+ readonly input?: hono_utils_types0.JSONValue | undefined;
247
+ readonly path: (string | number | null)[];
248
+ readonly message: string;
143
249
  } | {
144
- code: "not_multiple_of";
145
- multipleOf: number;
146
- path: (string | number)[];
147
- message: string;
148
- fatal?: boolean | undefined | undefined;
250
+ readonly code: "invalid_value";
251
+ readonly values: (string | number | boolean | null)[];
252
+ readonly input?: hono_utils_types0.JSONValue | undefined;
253
+ readonly path: (string | number | null)[];
254
+ readonly message: string;
149
255
  } | {
150
- code: "not_finite";
151
- path: (string | number)[];
152
- message: string;
153
- fatal?: boolean | undefined | undefined;
154
- })[];
155
- readonly errors: ({
156
- code: "custom";
157
- params?: {
256
+ readonly code: "custom";
257
+ readonly params?: {
158
258
  [x: string]: any;
159
259
  } | undefined;
160
- path: (string | number)[];
161
- message: string;
162
- fatal?: boolean | undefined | undefined;
163
- } | {
164
- code: "invalid_type";
165
- expected: zod_v30.ZodParsedType;
166
- received: zod_v30.ZodParsedType;
167
- path: (string | number)[];
168
- message: string;
169
- fatal?: boolean | undefined | undefined;
170
- } | {
171
- code: "invalid_literal";
172
- expected: hono_utils_types0.JSONValue;
173
- received: hono_utils_types0.JSONValue;
174
- path: (string | number)[];
175
- message: string;
176
- fatal?: boolean | undefined | undefined;
260
+ readonly input?: hono_utils_types0.JSONValue | undefined;
261
+ readonly path: (string | number | null)[];
262
+ readonly message: string;
263
+ })[];
264
+ readonly input?: hono_utils_types0.JSONValue | undefined;
265
+ readonly path: (string | number | null)[];
266
+ readonly message: string;
267
+ } | {
268
+ readonly code: "invalid_element";
269
+ readonly origin: "map" | "set";
270
+ readonly key: hono_utils_types0.JSONValue;
271
+ readonly issues: ({
272
+ readonly code: "invalid_type";
273
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
274
+ readonly input?: hono_utils_types0.JSONValue | undefined;
275
+ readonly path: (string | number | null)[];
276
+ readonly message: string;
177
277
  } | {
178
- code: "unrecognized_keys";
179
- keys: string[];
180
- path: (string | number)[];
181
- message: string;
182
- fatal?: boolean | undefined | undefined;
183
- } | /*elided*/any | {
184
- code: "invalid_union_discriminator";
185
- options: (string | number | boolean | null)[];
186
- path: (string | number)[];
187
- message: string;
188
- fatal?: boolean | undefined | undefined;
278
+ readonly code: "too_big";
279
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
280
+ readonly maximum: number;
281
+ readonly inclusive?: boolean | undefined;
282
+ readonly exact?: boolean | undefined;
283
+ readonly input?: hono_utils_types0.JSONValue | undefined;
284
+ readonly path: (string | number | null)[];
285
+ readonly message: string;
189
286
  } | {
190
- received: string | number;
191
- code: "invalid_enum_value";
192
- options: (string | number)[];
193
- path: (string | number)[];
194
- message: string;
195
- fatal?: boolean | undefined | undefined;
287
+ readonly code: "too_small";
288
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
289
+ readonly minimum: number;
290
+ readonly inclusive?: boolean | undefined;
291
+ readonly exact?: boolean | undefined;
292
+ readonly input?: hono_utils_types0.JSONValue | undefined;
293
+ readonly path: (string | number | null)[];
294
+ readonly message: string;
196
295
  } | {
197
- code: "invalid_arguments";
198
- argumentsError: /*elided*/any;
199
- path: (string | number)[];
200
- message: string;
201
- fatal?: boolean | undefined | undefined;
296
+ readonly code: "invalid_format";
297
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
298
+ readonly pattern?: string | undefined;
299
+ readonly input?: string | undefined;
300
+ readonly path: (string | number | null)[];
301
+ readonly message: string;
202
302
  } | {
203
- code: "invalid_return_type";
204
- returnTypeError: /*elided*/any;
205
- path: (string | number)[];
206
- message: string;
207
- fatal?: boolean | undefined | undefined;
303
+ readonly code: "not_multiple_of";
304
+ readonly divisor: number;
305
+ readonly input?: number | undefined;
306
+ readonly path: (string | number | null)[];
307
+ readonly message: string;
208
308
  } | {
209
- code: "invalid_date";
210
- path: (string | number)[];
211
- message: string;
212
- fatal?: boolean | undefined | undefined;
309
+ readonly code: "unrecognized_keys";
310
+ readonly keys: string[];
311
+ readonly input?: {
312
+ [x: string]: hono_utils_types0.JSONValue;
313
+ } | undefined;
314
+ readonly path: (string | number | null)[];
315
+ readonly message: string;
316
+ } | /*elided*/any | {
317
+ readonly code: "invalid_union";
318
+ readonly errors: [];
319
+ readonly input?: hono_utils_types0.JSONValue | undefined;
320
+ readonly discriminator?: string | undefined | undefined;
321
+ readonly inclusive: false;
322
+ readonly path: (string | number | null)[];
323
+ readonly message: string;
213
324
  } | {
214
- code: "invalid_string";
215
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "regex" | "datetime" | "ip" | "cidr" | {
216
- includes: string;
217
- position?: number | undefined | undefined;
325
+ readonly code: "invalid_key";
326
+ readonly origin: "map" | "record";
327
+ readonly issues: ({
328
+ readonly code: "invalid_type";
329
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
330
+ readonly input?: hono_utils_types0.JSONValue | undefined;
331
+ readonly path: (string | number | null)[];
332
+ readonly message: string;
218
333
  } | {
219
- startsWith: string;
334
+ readonly code: "too_big";
335
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
336
+ readonly maximum: number;
337
+ readonly inclusive?: boolean | undefined;
338
+ readonly exact?: boolean | undefined;
339
+ readonly input?: hono_utils_types0.JSONValue | undefined;
340
+ readonly path: (string | number | null)[];
341
+ readonly message: string;
220
342
  } | {
221
- endsWith: string;
222
- };
223
- path: (string | number)[];
224
- message: string;
225
- fatal?: boolean | undefined | undefined;
226
- } | {
227
- code: "too_small";
228
- minimum: number;
229
- inclusive: boolean;
230
- exact?: boolean | undefined;
231
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
232
- path: (string | number)[];
233
- message: string;
234
- fatal?: boolean | undefined | undefined;
235
- } | {
236
- code: "too_big";
237
- maximum: number;
238
- inclusive: boolean;
239
- exact?: boolean | undefined;
240
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
241
- path: (string | number)[];
242
- message: string;
243
- fatal?: boolean | undefined | undefined;
244
- } | {
245
- code: "invalid_intersection_types";
246
- path: (string | number)[];
247
- message: string;
248
- fatal?: boolean | undefined | undefined;
249
- } | {
250
- code: "not_multiple_of";
251
- multipleOf: number;
252
- path: (string | number)[];
253
- message: string;
254
- fatal?: boolean | undefined | undefined;
343
+ readonly code: "too_small";
344
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
345
+ readonly minimum: number;
346
+ readonly inclusive?: boolean | undefined;
347
+ readonly exact?: boolean | undefined;
348
+ readonly input?: hono_utils_types0.JSONValue | undefined;
349
+ readonly path: (string | number | null)[];
350
+ readonly message: string;
351
+ } | {
352
+ readonly code: "invalid_format";
353
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
354
+ readonly pattern?: string | undefined;
355
+ readonly input?: string | undefined;
356
+ readonly path: (string | number | null)[];
357
+ readonly message: string;
358
+ } | {
359
+ readonly code: "not_multiple_of";
360
+ readonly divisor: number;
361
+ readonly input?: number | undefined;
362
+ readonly path: (string | number | null)[];
363
+ readonly message: string;
364
+ } | {
365
+ readonly code: "unrecognized_keys";
366
+ readonly keys: string[];
367
+ readonly input?: {
368
+ [x: string]: hono_utils_types0.JSONValue;
369
+ } | undefined;
370
+ readonly path: (string | number | null)[];
371
+ readonly message: string;
372
+ } | /*elided*/any | {
373
+ readonly code: "invalid_union";
374
+ readonly errors: [];
375
+ readonly input?: hono_utils_types0.JSONValue | undefined;
376
+ readonly discriminator?: string | undefined | undefined;
377
+ readonly inclusive: false;
378
+ readonly path: (string | number | null)[];
379
+ readonly message: string;
380
+ } | /*elided*/any | /*elided*/any | {
381
+ readonly code: "invalid_value";
382
+ readonly values: (string | number | boolean | null)[];
383
+ readonly input?: hono_utils_types0.JSONValue | undefined;
384
+ readonly path: (string | number | null)[];
385
+ readonly message: string;
386
+ } | {
387
+ readonly code: "custom";
388
+ readonly params?: {
389
+ [x: string]: any;
390
+ } | undefined;
391
+ readonly input?: hono_utils_types0.JSONValue | undefined;
392
+ readonly path: (string | number | null)[];
393
+ readonly message: string;
394
+ })[];
395
+ readonly input?: hono_utils_types0.JSONValue | undefined;
396
+ readonly path: (string | number | null)[];
397
+ readonly message: string;
398
+ } | /*elided*/any | {
399
+ readonly code: "invalid_value";
400
+ readonly values: (string | number | boolean | null)[];
401
+ readonly input?: hono_utils_types0.JSONValue | undefined;
402
+ readonly path: (string | number | null)[];
403
+ readonly message: string;
255
404
  } | {
256
- code: "not_finite";
257
- path: (string | number)[];
258
- message: string;
259
- fatal?: boolean | undefined | undefined;
405
+ readonly code: "custom";
406
+ readonly params?: {
407
+ [x: string]: any;
408
+ } | undefined;
409
+ readonly input?: hono_utils_types0.JSONValue | undefined;
410
+ readonly path: (string | number | null)[];
411
+ readonly message: string;
260
412
  })[];
413
+ readonly input?: hono_utils_types0.JSONValue | undefined;
414
+ readonly path: (string | number | null)[];
261
415
  readonly message: string;
262
- readonly isEmpty: boolean;
263
- addIssue: never;
264
- addIssues: never;
265
- readonly formErrors: {
266
- formErrors: string[];
267
- fieldErrors: {
268
- [x: string]: string[] | undefined;
269
- [x: number]: string[] | undefined;
270
- };
271
- };
272
- name: string;
273
- stack?: string | undefined;
274
- cause?: hono_utils_types0.JSONValue | undefined;
275
- }[];
276
- path: (string | number)[];
277
- message: string;
278
- fatal?: boolean | undefined | undefined;
279
- } | {
280
- code: "invalid_union_discriminator";
281
- options: (string | number | boolean | null)[];
282
- path: (string | number)[];
283
- message: string;
284
- fatal?: boolean | undefined | undefined;
416
+ } | {
417
+ readonly code: "invalid_value";
418
+ readonly values: (string | number | boolean | null)[];
419
+ readonly input?: hono_utils_types0.JSONValue | undefined;
420
+ readonly path: (string | number | null)[];
421
+ readonly message: string;
422
+ } | {
423
+ readonly code: "custom";
424
+ readonly params?: {
425
+ [x: string]: any;
426
+ } | undefined;
427
+ readonly input?: hono_utils_types0.JSONValue | undefined;
428
+ readonly path: (string | number | null)[];
429
+ readonly message: string;
430
+ })[][];
431
+ readonly input?: hono_utils_types0.JSONValue | undefined;
432
+ readonly discriminator?: string | undefined | undefined;
433
+ readonly inclusive?: true | undefined;
434
+ readonly path: (string | number | null)[];
435
+ readonly message: string;
285
436
  } | {
286
- received: string | number;
287
- code: "invalid_enum_value";
288
- options: (string | number)[];
289
- path: (string | number)[];
290
- message: string;
291
- fatal?: boolean | undefined | undefined;
437
+ readonly code: "invalid_union";
438
+ readonly errors: [];
439
+ readonly input?: hono_utils_types0.JSONValue | undefined;
440
+ readonly discriminator?: string | undefined | undefined;
441
+ readonly inclusive: false;
442
+ readonly path: (string | number | null)[];
443
+ readonly message: string;
292
444
  } | {
293
- code: "invalid_arguments";
294
- argumentsError: {
295
- issues: ({
296
- code: "custom";
297
- params?: {
298
- [x: string]: any;
299
- } | undefined;
300
- path: (string | number)[];
301
- message: string;
302
- fatal?: boolean | undefined | undefined;
303
- } | {
304
- code: "invalid_type";
305
- expected: zod_v30.ZodParsedType;
306
- received: zod_v30.ZodParsedType;
307
- path: (string | number)[];
308
- message: string;
309
- fatal?: boolean | undefined | undefined;
445
+ readonly code: "invalid_key";
446
+ readonly origin: "map" | "record";
447
+ readonly issues: ({
448
+ readonly code: "invalid_type";
449
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
450
+ readonly input?: hono_utils_types0.JSONValue | undefined;
451
+ readonly path: (string | number | null)[];
452
+ readonly message: string;
453
+ } | {
454
+ readonly code: "too_big";
455
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
456
+ readonly maximum: number;
457
+ readonly inclusive?: boolean | undefined;
458
+ readonly exact?: boolean | undefined;
459
+ readonly input?: hono_utils_types0.JSONValue | undefined;
460
+ readonly path: (string | number | null)[];
461
+ readonly message: string;
462
+ } | {
463
+ readonly code: "too_small";
464
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
465
+ readonly minimum: number;
466
+ readonly inclusive?: boolean | undefined;
467
+ readonly exact?: boolean | undefined;
468
+ readonly input?: hono_utils_types0.JSONValue | undefined;
469
+ readonly path: (string | number | null)[];
470
+ readonly message: string;
471
+ } | {
472
+ readonly code: "invalid_format";
473
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
474
+ readonly pattern?: string | undefined;
475
+ readonly input?: string | undefined;
476
+ readonly path: (string | number | null)[];
477
+ readonly message: string;
478
+ } | {
479
+ readonly code: "not_multiple_of";
480
+ readonly divisor: number;
481
+ readonly input?: number | undefined;
482
+ readonly path: (string | number | null)[];
483
+ readonly message: string;
484
+ } | {
485
+ readonly code: "unrecognized_keys";
486
+ readonly keys: string[];
487
+ readonly input?: {
488
+ [x: string]: hono_utils_types0.JSONValue;
489
+ } | undefined;
490
+ readonly path: (string | number | null)[];
491
+ readonly message: string;
492
+ } | {
493
+ readonly code: "invalid_union";
494
+ readonly errors: ({
495
+ readonly code: "invalid_type";
496
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
497
+ readonly input?: hono_utils_types0.JSONValue | undefined;
498
+ readonly path: (string | number | null)[];
499
+ readonly message: string;
310
500
  } | {
311
- code: "invalid_literal";
312
- expected: hono_utils_types0.JSONValue;
313
- received: hono_utils_types0.JSONValue;
314
- path: (string | number)[];
315
- message: string;
316
- fatal?: boolean | undefined | undefined;
501
+ readonly code: "too_big";
502
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
503
+ readonly maximum: number;
504
+ readonly inclusive?: boolean | undefined;
505
+ readonly exact?: boolean | undefined;
506
+ readonly input?: hono_utils_types0.JSONValue | undefined;
507
+ readonly path: (string | number | null)[];
508
+ readonly message: string;
317
509
  } | {
318
- code: "unrecognized_keys";
319
- keys: string[];
320
- path: (string | number)[];
321
- message: string;
322
- fatal?: boolean | undefined | undefined;
510
+ readonly code: "too_small";
511
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
512
+ readonly minimum: number;
513
+ readonly inclusive?: boolean | undefined;
514
+ readonly exact?: boolean | undefined;
515
+ readonly input?: hono_utils_types0.JSONValue | undefined;
516
+ readonly path: (string | number | null)[];
517
+ readonly message: string;
323
518
  } | {
324
- code: "invalid_union";
325
- unionErrors: /*elided*/any[];
326
- path: (string | number)[];
327
- message: string;
328
- fatal?: boolean | undefined | undefined;
519
+ readonly code: "invalid_format";
520
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
521
+ readonly pattern?: string | undefined;
522
+ readonly input?: string | undefined;
523
+ readonly path: (string | number | null)[];
524
+ readonly message: string;
329
525
  } | {
330
- code: "invalid_union_discriminator";
331
- options: (string | number | boolean | null)[];
332
- path: (string | number)[];
333
- message: string;
334
- fatal?: boolean | undefined | undefined;
526
+ readonly code: "not_multiple_of";
527
+ readonly divisor: number;
528
+ readonly input?: number | undefined;
529
+ readonly path: (string | number | null)[];
530
+ readonly message: string;
335
531
  } | {
336
- received: string | number;
337
- code: "invalid_enum_value";
338
- options: (string | number)[];
339
- path: (string | number)[];
340
- message: string;
341
- fatal?: boolean | undefined | undefined;
532
+ readonly code: "unrecognized_keys";
533
+ readonly keys: string[];
534
+ readonly input?: {
535
+ [x: string]: hono_utils_types0.JSONValue;
536
+ } | undefined;
537
+ readonly path: (string | number | null)[];
538
+ readonly message: string;
342
539
  } | /*elided*/any | {
343
- code: "invalid_return_type";
344
- returnTypeError: /*elided*/any;
345
- path: (string | number)[];
346
- message: string;
347
- fatal?: boolean | undefined | undefined;
348
- } | {
349
- code: "invalid_date";
350
- path: (string | number)[];
351
- message: string;
352
- fatal?: boolean | undefined | undefined;
353
- } | {
354
- code: "invalid_string";
355
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "regex" | "datetime" | "ip" | "cidr" | {
356
- includes: string;
357
- position?: number | undefined | undefined;
540
+ readonly code: "invalid_union";
541
+ readonly errors: [];
542
+ readonly input?: hono_utils_types0.JSONValue | undefined;
543
+ readonly discriminator?: string | undefined | undefined;
544
+ readonly inclusive: false;
545
+ readonly path: (string | number | null)[];
546
+ readonly message: string;
547
+ } | /*elided*/any | {
548
+ readonly code: "invalid_element";
549
+ readonly origin: "map" | "set";
550
+ readonly key: hono_utils_types0.JSONValue;
551
+ readonly issues: ({
552
+ readonly code: "invalid_type";
553
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
554
+ readonly input?: hono_utils_types0.JSONValue | undefined;
555
+ readonly path: (string | number | null)[];
556
+ readonly message: string;
358
557
  } | {
359
- startsWith: string;
558
+ readonly code: "too_big";
559
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
560
+ readonly maximum: number;
561
+ readonly inclusive?: boolean | undefined;
562
+ readonly exact?: boolean | undefined;
563
+ readonly input?: hono_utils_types0.JSONValue | undefined;
564
+ readonly path: (string | number | null)[];
565
+ readonly message: string;
360
566
  } | {
361
- endsWith: string;
362
- };
363
- path: (string | number)[];
364
- message: string;
365
- fatal?: boolean | undefined | undefined;
366
- } | {
367
- code: "too_small";
368
- minimum: number;
369
- inclusive: boolean;
370
- exact?: boolean | undefined;
371
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
372
- path: (string | number)[];
373
- message: string;
374
- fatal?: boolean | undefined | undefined;
375
- } | {
376
- code: "too_big";
377
- maximum: number;
378
- inclusive: boolean;
379
- exact?: boolean | undefined;
380
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
381
- path: (string | number)[];
382
- message: string;
383
- fatal?: boolean | undefined | undefined;
384
- } | {
385
- code: "invalid_intersection_types";
386
- path: (string | number)[];
387
- message: string;
388
- fatal?: boolean | undefined | undefined;
567
+ readonly code: "too_small";
568
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
569
+ readonly minimum: number;
570
+ readonly inclusive?: boolean | undefined;
571
+ readonly exact?: boolean | undefined;
572
+ readonly input?: hono_utils_types0.JSONValue | undefined;
573
+ readonly path: (string | number | null)[];
574
+ readonly message: string;
575
+ } | {
576
+ readonly code: "invalid_format";
577
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
578
+ readonly pattern?: string | undefined;
579
+ readonly input?: string | undefined;
580
+ readonly path: (string | number | null)[];
581
+ readonly message: string;
582
+ } | {
583
+ readonly code: "not_multiple_of";
584
+ readonly divisor: number;
585
+ readonly input?: number | undefined;
586
+ readonly path: (string | number | null)[];
587
+ readonly message: string;
588
+ } | {
589
+ readonly code: "unrecognized_keys";
590
+ readonly keys: string[];
591
+ readonly input?: {
592
+ [x: string]: hono_utils_types0.JSONValue;
593
+ } | undefined;
594
+ readonly path: (string | number | null)[];
595
+ readonly message: string;
596
+ } | /*elided*/any | {
597
+ readonly code: "invalid_union";
598
+ readonly errors: [];
599
+ readonly input?: hono_utils_types0.JSONValue | undefined;
600
+ readonly discriminator?: string | undefined | undefined;
601
+ readonly inclusive: false;
602
+ readonly path: (string | number | null)[];
603
+ readonly message: string;
604
+ } | /*elided*/any | /*elided*/any | {
605
+ readonly code: "invalid_value";
606
+ readonly values: (string | number | boolean | null)[];
607
+ readonly input?: hono_utils_types0.JSONValue | undefined;
608
+ readonly path: (string | number | null)[];
609
+ readonly message: string;
610
+ } | {
611
+ readonly code: "custom";
612
+ readonly params?: {
613
+ [x: string]: any;
614
+ } | undefined;
615
+ readonly input?: hono_utils_types0.JSONValue | undefined;
616
+ readonly path: (string | number | null)[];
617
+ readonly message: string;
618
+ })[];
619
+ readonly input?: hono_utils_types0.JSONValue | undefined;
620
+ readonly path: (string | number | null)[];
621
+ readonly message: string;
389
622
  } | {
390
- code: "not_multiple_of";
391
- multipleOf: number;
392
- path: (string | number)[];
393
- message: string;
394
- fatal?: boolean | undefined | undefined;
623
+ readonly code: "invalid_value";
624
+ readonly values: (string | number | boolean | null)[];
625
+ readonly input?: hono_utils_types0.JSONValue | undefined;
626
+ readonly path: (string | number | null)[];
627
+ readonly message: string;
395
628
  } | {
396
- code: "not_finite";
397
- path: (string | number)[];
398
- message: string;
399
- fatal?: boolean | undefined | undefined;
400
- })[];
401
- readonly errors: ({
402
- code: "custom";
403
- params?: {
629
+ readonly code: "custom";
630
+ readonly params?: {
404
631
  [x: string]: any;
405
632
  } | undefined;
406
- path: (string | number)[];
407
- message: string;
408
- fatal?: boolean | undefined | undefined;
409
- } | {
410
- code: "invalid_type";
411
- expected: zod_v30.ZodParsedType;
412
- received: zod_v30.ZodParsedType;
413
- path: (string | number)[];
414
- message: string;
415
- fatal?: boolean | undefined | undefined;
633
+ readonly input?: hono_utils_types0.JSONValue | undefined;
634
+ readonly path: (string | number | null)[];
635
+ readonly message: string;
636
+ })[][];
637
+ readonly input?: hono_utils_types0.JSONValue | undefined;
638
+ readonly discriminator?: string | undefined | undefined;
639
+ readonly inclusive?: true | undefined;
640
+ readonly path: (string | number | null)[];
641
+ readonly message: string;
642
+ } | {
643
+ readonly code: "invalid_union";
644
+ readonly errors: [];
645
+ readonly input?: hono_utils_types0.JSONValue | undefined;
646
+ readonly discriminator?: string | undefined | undefined;
647
+ readonly inclusive: false;
648
+ readonly path: (string | number | null)[];
649
+ readonly message: string;
650
+ } | /*elided*/any | {
651
+ readonly code: "invalid_element";
652
+ readonly origin: "map" | "set";
653
+ readonly key: hono_utils_types0.JSONValue;
654
+ readonly issues: ({
655
+ readonly code: "invalid_type";
656
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
657
+ readonly input?: hono_utils_types0.JSONValue | undefined;
658
+ readonly path: (string | number | null)[];
659
+ readonly message: string;
416
660
  } | {
417
- code: "invalid_literal";
418
- expected: hono_utils_types0.JSONValue;
419
- received: hono_utils_types0.JSONValue;
420
- path: (string | number)[];
421
- message: string;
422
- fatal?: boolean | undefined | undefined;
661
+ readonly code: "too_big";
662
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
663
+ readonly maximum: number;
664
+ readonly inclusive?: boolean | undefined;
665
+ readonly exact?: boolean | undefined;
666
+ readonly input?: hono_utils_types0.JSONValue | undefined;
667
+ readonly path: (string | number | null)[];
668
+ readonly message: string;
423
669
  } | {
424
- code: "unrecognized_keys";
425
- keys: string[];
426
- path: (string | number)[];
427
- message: string;
428
- fatal?: boolean | undefined | undefined;
670
+ readonly code: "too_small";
671
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
672
+ readonly minimum: number;
673
+ readonly inclusive?: boolean | undefined;
674
+ readonly exact?: boolean | undefined;
675
+ readonly input?: hono_utils_types0.JSONValue | undefined;
676
+ readonly path: (string | number | null)[];
677
+ readonly message: string;
429
678
  } | {
430
- code: "invalid_union";
431
- unionErrors: /*elided*/any[];
432
- path: (string | number)[];
433
- message: string;
434
- fatal?: boolean | undefined | undefined;
679
+ readonly code: "invalid_format";
680
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
681
+ readonly pattern?: string | undefined;
682
+ readonly input?: string | undefined;
683
+ readonly path: (string | number | null)[];
684
+ readonly message: string;
435
685
  } | {
436
- code: "invalid_union_discriminator";
437
- options: (string | number | boolean | null)[];
438
- path: (string | number)[];
439
- message: string;
440
- fatal?: boolean | undefined | undefined;
686
+ readonly code: "not_multiple_of";
687
+ readonly divisor: number;
688
+ readonly input?: number | undefined;
689
+ readonly path: (string | number | null)[];
690
+ readonly message: string;
441
691
  } | {
442
- received: string | number;
443
- code: "invalid_enum_value";
444
- options: (string | number)[];
445
- path: (string | number)[];
446
- message: string;
447
- fatal?: boolean | undefined | undefined;
448
- } | /*elided*/any | {
449
- code: "invalid_return_type";
450
- returnTypeError: /*elided*/any;
451
- path: (string | number)[];
452
- message: string;
453
- fatal?: boolean | undefined | undefined;
692
+ readonly code: "unrecognized_keys";
693
+ readonly keys: string[];
694
+ readonly input?: {
695
+ [x: string]: hono_utils_types0.JSONValue;
696
+ } | undefined;
697
+ readonly path: (string | number | null)[];
698
+ readonly message: string;
454
699
  } | {
455
- code: "invalid_date";
456
- path: (string | number)[];
457
- message: string;
458
- fatal?: boolean | undefined | undefined;
459
- } | {
460
- code: "invalid_string";
461
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "regex" | "datetime" | "ip" | "cidr" | {
462
- includes: string;
463
- position?: number | undefined | undefined;
700
+ readonly code: "invalid_union";
701
+ readonly errors: ({
702
+ readonly code: "invalid_type";
703
+ readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
704
+ readonly input?: hono_utils_types0.JSONValue | undefined;
705
+ readonly path: (string | number | null)[];
706
+ readonly message: string;
464
707
  } | {
465
- startsWith: string;
708
+ readonly code: "too_big";
709
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
710
+ readonly maximum: number;
711
+ readonly inclusive?: boolean | undefined;
712
+ readonly exact?: boolean | undefined;
713
+ readonly input?: hono_utils_types0.JSONValue | undefined;
714
+ readonly path: (string | number | null)[];
715
+ readonly message: string;
466
716
  } | {
467
- endsWith: string;
468
- };
469
- path: (string | number)[];
470
- message: string;
471
- fatal?: boolean | undefined | undefined;
472
- } | {
473
- code: "too_small";
474
- minimum: number;
475
- inclusive: boolean;
476
- exact?: boolean | undefined;
477
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
478
- path: (string | number)[];
479
- message: string;
480
- fatal?: boolean | undefined | undefined;
481
- } | {
482
- code: "too_big";
483
- maximum: number;
484
- inclusive: boolean;
485
- exact?: boolean | undefined;
486
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
487
- path: (string | number)[];
488
- message: string;
489
- fatal?: boolean | undefined | undefined;
490
- } | {
491
- code: "invalid_intersection_types";
492
- path: (string | number)[];
493
- message: string;
494
- fatal?: boolean | undefined | undefined;
495
- } | {
496
- code: "not_multiple_of";
497
- multipleOf: number;
498
- path: (string | number)[];
499
- message: string;
500
- fatal?: boolean | undefined | undefined;
501
- } | {
502
- code: "not_finite";
503
- path: (string | number)[];
504
- message: string;
505
- fatal?: boolean | undefined | undefined;
506
- })[];
507
- readonly message: string;
508
- readonly isEmpty: boolean;
509
- addIssue: never;
510
- addIssues: never;
511
- readonly formErrors: {
512
- formErrors: string[];
513
- fieldErrors: {
514
- [x: string]: string[] | undefined;
515
- [x: number]: string[] | undefined;
516
- };
517
- };
518
- name: string;
519
- stack?: string | undefined;
520
- cause?: hono_utils_types0.JSONValue | undefined;
521
- };
522
- path: (string | number)[];
523
- message: string;
524
- fatal?: boolean | undefined | undefined;
525
- } | {
526
- code: "invalid_return_type";
527
- returnTypeError: {
528
- issues: ({
529
- code: "custom";
530
- params?: {
531
- [x: string]: any;
532
- } | undefined;
533
- path: (string | number)[];
534
- message: string;
535
- fatal?: boolean | undefined | undefined;
536
- } | {
537
- code: "invalid_type";
538
- expected: zod_v30.ZodParsedType;
539
- received: zod_v30.ZodParsedType;
540
- path: (string | number)[];
541
- message: string;
542
- fatal?: boolean | undefined | undefined;
543
- } | {
544
- code: "invalid_literal";
545
- expected: hono_utils_types0.JSONValue;
546
- received: hono_utils_types0.JSONValue;
547
- path: (string | number)[];
548
- message: string;
549
- fatal?: boolean | undefined | undefined;
550
- } | {
551
- code: "unrecognized_keys";
552
- keys: string[];
553
- path: (string | number)[];
554
- message: string;
555
- fatal?: boolean | undefined | undefined;
556
- } | {
557
- code: "invalid_union";
558
- unionErrors: /*elided*/any[];
559
- path: (string | number)[];
560
- message: string;
561
- fatal?: boolean | undefined | undefined;
562
- } | {
563
- code: "invalid_union_discriminator";
564
- options: (string | number | boolean | null)[];
565
- path: (string | number)[];
566
- message: string;
567
- fatal?: boolean | undefined | undefined;
568
- } | {
569
- received: string | number;
570
- code: "invalid_enum_value";
571
- options: (string | number)[];
572
- path: (string | number)[];
573
- message: string;
574
- fatal?: boolean | undefined | undefined;
575
- } | {
576
- code: "invalid_arguments";
577
- argumentsError: /*elided*/any;
578
- path: (string | number)[];
579
- message: string;
580
- fatal?: boolean | undefined | undefined;
581
- } | /*elided*/any | {
582
- code: "invalid_date";
583
- path: (string | number)[];
584
- message: string;
585
- fatal?: boolean | undefined | undefined;
586
- } | {
587
- code: "invalid_string";
588
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "regex" | "datetime" | "ip" | "cidr" | {
589
- includes: string;
590
- position?: number | undefined | undefined;
717
+ readonly code: "too_small";
718
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
719
+ readonly minimum: number;
720
+ readonly inclusive?: boolean | undefined;
721
+ readonly exact?: boolean | undefined;
722
+ readonly input?: hono_utils_types0.JSONValue | undefined;
723
+ readonly path: (string | number | null)[];
724
+ readonly message: string;
591
725
  } | {
592
- startsWith: string;
726
+ readonly code: "invalid_format";
727
+ readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
728
+ readonly pattern?: string | undefined;
729
+ readonly input?: string | undefined;
730
+ readonly path: (string | number | null)[];
731
+ readonly message: string;
593
732
  } | {
594
- endsWith: string;
595
- };
596
- path: (string | number)[];
597
- message: string;
598
- fatal?: boolean | undefined | undefined;
599
- } | {
600
- code: "too_small";
601
- minimum: number;
602
- inclusive: boolean;
603
- exact?: boolean | undefined;
604
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
605
- path: (string | number)[];
606
- message: string;
607
- fatal?: boolean | undefined | undefined;
608
- } | {
609
- code: "too_big";
610
- maximum: number;
611
- inclusive: boolean;
612
- exact?: boolean | undefined;
613
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
614
- path: (string | number)[];
615
- message: string;
616
- fatal?: boolean | undefined | undefined;
617
- } | {
618
- code: "invalid_intersection_types";
619
- path: (string | number)[];
620
- message: string;
621
- fatal?: boolean | undefined | undefined;
622
- } | {
623
- code: "not_multiple_of";
624
- multipleOf: number;
625
- path: (string | number)[];
626
- message: string;
627
- fatal?: boolean | undefined | undefined;
628
- } | {
629
- code: "not_finite";
630
- path: (string | number)[];
631
- message: string;
632
- fatal?: boolean | undefined | undefined;
633
- })[];
634
- readonly errors: ({
635
- code: "custom";
636
- params?: {
637
- [x: string]: any;
638
- } | undefined;
639
- path: (string | number)[];
640
- message: string;
641
- fatal?: boolean | undefined | undefined;
642
- } | {
643
- code: "invalid_type";
644
- expected: zod_v30.ZodParsedType;
645
- received: zod_v30.ZodParsedType;
646
- path: (string | number)[];
647
- message: string;
648
- fatal?: boolean | undefined | undefined;
649
- } | {
650
- code: "invalid_literal";
651
- expected: hono_utils_types0.JSONValue;
652
- received: hono_utils_types0.JSONValue;
653
- path: (string | number)[];
654
- message: string;
655
- fatal?: boolean | undefined | undefined;
656
- } | {
657
- code: "unrecognized_keys";
658
- keys: string[];
659
- path: (string | number)[];
660
- message: string;
661
- fatal?: boolean | undefined | undefined;
662
- } | {
663
- code: "invalid_union";
664
- unionErrors: /*elided*/any[];
665
- path: (string | number)[];
666
- message: string;
667
- fatal?: boolean | undefined | undefined;
668
- } | {
669
- code: "invalid_union_discriminator";
670
- options: (string | number | boolean | null)[];
671
- path: (string | number)[];
672
- message: string;
673
- fatal?: boolean | undefined | undefined;
674
- } | {
675
- received: string | number;
676
- code: "invalid_enum_value";
677
- options: (string | number)[];
678
- path: (string | number)[];
679
- message: string;
680
- fatal?: boolean | undefined | undefined;
681
- } | {
682
- code: "invalid_arguments";
683
- argumentsError: /*elided*/any;
684
- path: (string | number)[];
685
- message: string;
686
- fatal?: boolean | undefined | undefined;
687
- } | /*elided*/any | {
688
- code: "invalid_date";
689
- path: (string | number)[];
690
- message: string;
691
- fatal?: boolean | undefined | undefined;
692
- } | {
693
- code: "invalid_string";
694
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "regex" | "datetime" | "ip" | "cidr" | {
695
- includes: string;
696
- position?: number | undefined | undefined;
733
+ readonly code: "not_multiple_of";
734
+ readonly divisor: number;
735
+ readonly input?: number | undefined;
736
+ readonly path: (string | number | null)[];
737
+ readonly message: string;
697
738
  } | {
698
- startsWith: string;
739
+ readonly code: "unrecognized_keys";
740
+ readonly keys: string[];
741
+ readonly input?: {
742
+ [x: string]: hono_utils_types0.JSONValue;
743
+ } | undefined;
744
+ readonly path: (string | number | null)[];
745
+ readonly message: string;
746
+ } | /*elided*/any | {
747
+ readonly code: "invalid_union";
748
+ readonly errors: [];
749
+ readonly input?: hono_utils_types0.JSONValue | undefined;
750
+ readonly discriminator?: string | undefined | undefined;
751
+ readonly inclusive: false;
752
+ readonly path: (string | number | null)[];
753
+ readonly message: string;
754
+ } | /*elided*/any | /*elided*/any | {
755
+ readonly code: "invalid_value";
756
+ readonly values: (string | number | boolean | null)[];
757
+ readonly input?: hono_utils_types0.JSONValue | undefined;
758
+ readonly path: (string | number | null)[];
759
+ readonly message: string;
699
760
  } | {
700
- endsWith: string;
701
- };
702
- path: (string | number)[];
703
- message: string;
704
- fatal?: boolean | undefined | undefined;
705
- } | {
706
- code: "too_small";
707
- minimum: number;
708
- inclusive: boolean;
709
- exact?: boolean | undefined;
710
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
711
- path: (string | number)[];
712
- message: string;
713
- fatal?: boolean | undefined | undefined;
714
- } | {
715
- code: "too_big";
716
- maximum: number;
717
- inclusive: boolean;
718
- exact?: boolean | undefined;
719
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
720
- path: (string | number)[];
721
- message: string;
722
- fatal?: boolean | undefined | undefined;
723
- } | {
724
- code: "invalid_intersection_types";
725
- path: (string | number)[];
726
- message: string;
727
- fatal?: boolean | undefined | undefined;
761
+ readonly code: "custom";
762
+ readonly params?: {
763
+ [x: string]: any;
764
+ } | undefined;
765
+ readonly input?: hono_utils_types0.JSONValue | undefined;
766
+ readonly path: (string | number | null)[];
767
+ readonly message: string;
768
+ })[][];
769
+ readonly input?: hono_utils_types0.JSONValue | undefined;
770
+ readonly discriminator?: string | undefined | undefined;
771
+ readonly inclusive?: true | undefined;
772
+ readonly path: (string | number | null)[];
773
+ readonly message: string;
728
774
  } | {
729
- code: "not_multiple_of";
730
- multipleOf: number;
731
- path: (string | number)[];
732
- message: string;
733
- fatal?: boolean | undefined | undefined;
775
+ readonly code: "invalid_union";
776
+ readonly errors: [];
777
+ readonly input?: hono_utils_types0.JSONValue | undefined;
778
+ readonly discriminator?: string | undefined | undefined;
779
+ readonly inclusive: false;
780
+ readonly path: (string | number | null)[];
781
+ readonly message: string;
782
+ } | /*elided*/any | /*elided*/any | {
783
+ readonly code: "invalid_value";
784
+ readonly values: (string | number | boolean | null)[];
785
+ readonly input?: hono_utils_types0.JSONValue | undefined;
786
+ readonly path: (string | number | null)[];
787
+ readonly message: string;
734
788
  } | {
735
- code: "not_finite";
736
- path: (string | number)[];
737
- message: string;
738
- fatal?: boolean | undefined | undefined;
789
+ readonly code: "custom";
790
+ readonly params?: {
791
+ [x: string]: any;
792
+ } | undefined;
793
+ readonly input?: hono_utils_types0.JSONValue | undefined;
794
+ readonly path: (string | number | null)[];
795
+ readonly message: string;
739
796
  })[];
740
- readonly message: string;
741
- readonly isEmpty: boolean;
742
- addIssue: never;
743
- addIssues: never;
744
- readonly formErrors: {
745
- formErrors: string[];
746
- fieldErrors: {
747
- [x: string]: string[] | undefined;
748
- [x: number]: string[] | undefined;
749
- };
750
- };
751
- name: string;
752
- stack?: string | undefined;
753
- cause?: hono_utils_types0.JSONValue | undefined;
754
- };
755
- path: (string | number)[];
756
- message: string;
757
- fatal?: boolean | undefined | undefined;
758
- } | {
759
- code: "invalid_date";
760
- path: (string | number)[];
761
- message: string;
762
- fatal?: boolean | undefined | undefined;
763
- } | {
764
- code: "invalid_string";
765
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "regex" | "datetime" | "ip" | "cidr" | {
766
- includes: string;
767
- position?: number | undefined | undefined;
768
- } | {
769
- startsWith: string;
770
- } | {
771
- endsWith: string;
772
- };
773
- path: (string | number)[];
774
- message: string;
775
- fatal?: boolean | undefined | undefined;
776
- } | {
777
- code: "too_small";
778
- minimum: number;
779
- inclusive: boolean;
780
- exact?: boolean | undefined;
781
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
782
- path: (string | number)[];
783
- message: string;
784
- fatal?: boolean | undefined | undefined;
785
- } | {
786
- code: "too_big";
787
- maximum: number;
788
- inclusive: boolean;
789
- exact?: boolean | undefined;
790
- type: "array" | "string" | "number" | "set" | "date" | "bigint";
791
- path: (string | number)[];
792
- message: string;
793
- fatal?: boolean | undefined | undefined;
794
- } | {
795
- code: "invalid_intersection_types";
796
- path: (string | number)[];
797
- message: string;
798
- fatal?: boolean | undefined | undefined;
799
- } | {
800
- code: "not_multiple_of";
801
- multipleOf: number;
802
- path: (string | number)[];
803
- message: string;
804
- fatal?: boolean | undefined | undefined;
805
- } | {
806
- code: "not_finite";
807
- path: (string | number)[];
808
- message: string;
809
- fatal?: boolean | undefined | undefined;
810
- })[] | ({
811
- readonly code: "invalid_type";
812
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
813
- readonly input?: hono_utils_types0.JSONValue | undefined;
814
- readonly path: (string | number | null)[];
815
- readonly message: string;
816
- } | {
817
- readonly code: "too_big";
818
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
819
- readonly maximum: number;
820
- readonly inclusive?: boolean | undefined;
821
- readonly exact?: boolean | undefined;
822
- readonly input?: hono_utils_types0.JSONValue | undefined;
823
- readonly path: (string | number | null)[];
824
- readonly message: string;
825
- } | {
826
- readonly code: "too_small";
827
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
828
- readonly minimum: number;
829
- readonly inclusive?: boolean | undefined;
830
- readonly exact?: boolean | undefined;
831
- readonly input?: hono_utils_types0.JSONValue | undefined;
832
- readonly path: (string | number | null)[];
833
- readonly message: string;
834
- } | {
835
- readonly code: "invalid_format";
836
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
837
- readonly pattern?: string | undefined;
838
- readonly input?: string | undefined;
839
- readonly path: (string | number | null)[];
840
- readonly message: string;
841
- } | {
842
- readonly code: "not_multiple_of";
843
- readonly divisor: number;
844
- readonly input?: number | undefined;
845
- readonly path: (string | number | null)[];
846
- readonly message: string;
847
- } | {
848
- readonly code: "unrecognized_keys";
849
- readonly keys: string[];
850
- readonly input?: {
851
- [x: string]: hono_utils_types0.JSONValue;
852
- } | undefined;
797
+ readonly input?: hono_utils_types0.JSONValue | undefined;
798
+ readonly path: (string | number | null)[];
799
+ readonly message: string;
800
+ } | {
801
+ readonly code: "invalid_value";
802
+ readonly values: (string | number | boolean | null)[];
803
+ readonly input?: hono_utils_types0.JSONValue | undefined;
804
+ readonly path: (string | number | null)[];
805
+ readonly message: string;
806
+ } | {
807
+ readonly code: "custom";
808
+ readonly params?: {
809
+ [x: string]: any;
810
+ } | undefined;
811
+ readonly input?: hono_utils_types0.JSONValue | undefined;
812
+ readonly path: (string | number | null)[];
813
+ readonly message: string;
814
+ })[];
815
+ readonly input?: hono_utils_types0.JSONValue | undefined;
853
816
  readonly path: (string | number | null)[];
854
817
  readonly message: string;
855
818
  } | {
856
- readonly code: "invalid_union";
857
- readonly errors: ({
819
+ readonly code: "invalid_element";
820
+ readonly origin: "map" | "set";
821
+ readonly key: hono_utils_types0.JSONValue;
822
+ readonly issues: ({
858
823
  readonly code: "invalid_type";
859
824
  readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
860
825
  readonly input?: hono_utils_types0.JSONValue | undefined;
@@ -899,18 +864,9 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
899
864
  } | undefined;
900
865
  readonly path: (string | number | null)[];
901
866
  readonly message: string;
902
- } | /*elided*/any | {
903
- readonly code: "invalid_union";
904
- readonly errors: [];
905
- readonly input?: hono_utils_types0.JSONValue | undefined;
906
- readonly discriminator?: string | undefined | undefined;
907
- readonly inclusive: false;
908
- readonly path: (string | number | null)[];
909
- readonly message: string;
910
867
  } | {
911
- readonly code: "invalid_key";
912
- readonly origin: "map" | "record";
913
- readonly issues: ({
868
+ readonly code: "invalid_union";
869
+ readonly errors: ({
914
870
  readonly code: "invalid_type";
915
871
  readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
916
872
  readonly input?: hono_utils_types0.JSONValue | undefined;
@@ -963,10 +919,9 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
963
919
  readonly inclusive: false;
964
920
  readonly path: (string | number | null)[];
965
921
  readonly message: string;
966
- } | /*elided*/any | {
967
- readonly code: "invalid_element";
968
- readonly origin: "map" | "set";
969
- readonly key: hono_utils_types0.JSONValue;
922
+ } | {
923
+ readonly code: "invalid_key";
924
+ readonly origin: "map" | "record";
970
925
  readonly issues: ({
971
926
  readonly code: "invalid_type";
972
927
  readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
@@ -1038,7 +993,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1038
993
  readonly input?: hono_utils_types0.JSONValue | undefined;
1039
994
  readonly path: (string | number | null)[];
1040
995
  readonly message: string;
1041
- } | {
996
+ } | /*elided*/any | {
1042
997
  readonly code: "invalid_value";
1043
998
  readonly values: (string | number | boolean | null)[];
1044
999
  readonly input?: hono_utils_types0.JSONValue | undefined;
@@ -1052,14 +1007,23 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1052
1007
  readonly input?: hono_utils_types0.JSONValue | undefined;
1053
1008
  readonly path: (string | number | null)[];
1054
1009
  readonly message: string;
1055
- })[];
1010
+ })[][];
1056
1011
  readonly input?: hono_utils_types0.JSONValue | undefined;
1012
+ readonly discriminator?: string | undefined | undefined;
1013
+ readonly inclusive?: true | undefined;
1057
1014
  readonly path: (string | number | null)[];
1058
1015
  readonly message: string;
1059
1016
  } | {
1060
- readonly code: "invalid_element";
1061
- readonly origin: "map" | "set";
1062
- readonly key: hono_utils_types0.JSONValue;
1017
+ readonly code: "invalid_union";
1018
+ readonly errors: [];
1019
+ readonly input?: hono_utils_types0.JSONValue | undefined;
1020
+ readonly discriminator?: string | undefined | undefined;
1021
+ readonly inclusive: false;
1022
+ readonly path: (string | number | null)[];
1023
+ readonly message: string;
1024
+ } | {
1025
+ readonly code: "invalid_key";
1026
+ readonly origin: "map" | "record";
1063
1027
  readonly issues: ({
1064
1028
  readonly code: "invalid_type";
1065
1029
  readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
@@ -1105,18 +1069,9 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1105
1069
  } | undefined;
1106
1070
  readonly path: (string | number | null)[];
1107
1071
  readonly message: string;
1108
- } | /*elided*/any | {
1109
- readonly code: "invalid_union";
1110
- readonly errors: [];
1111
- readonly input?: hono_utils_types0.JSONValue | undefined;
1112
- readonly discriminator?: string | undefined | undefined;
1113
- readonly inclusive: false;
1114
- readonly path: (string | number | null)[];
1115
- readonly message: string;
1116
1072
  } | {
1117
- readonly code: "invalid_key";
1118
- readonly origin: "map" | "record";
1119
- readonly issues: ({
1073
+ readonly code: "invalid_union";
1074
+ readonly errors: ({
1120
1075
  readonly code: "invalid_type";
1121
1076
  readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1122
1077
  readonly input?: hono_utils_types0.JSONValue | undefined;
@@ -1183,11 +1138,21 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1183
1138
  readonly input?: hono_utils_types0.JSONValue | undefined;
1184
1139
  readonly path: (string | number | null)[];
1185
1140
  readonly message: string;
1186
- })[];
1141
+ })[][];
1142
+ readonly input?: hono_utils_types0.JSONValue | undefined;
1143
+ readonly discriminator?: string | undefined | undefined;
1144
+ readonly inclusive?: true | undefined;
1145
+ readonly path: (string | number | null)[];
1146
+ readonly message: string;
1147
+ } | {
1148
+ readonly code: "invalid_union";
1149
+ readonly errors: [];
1187
1150
  readonly input?: hono_utils_types0.JSONValue | undefined;
1151
+ readonly discriminator?: string | undefined | undefined;
1152
+ readonly inclusive: false;
1188
1153
  readonly path: (string | number | null)[];
1189
1154
  readonly message: string;
1190
- } | /*elided*/any | {
1155
+ } | /*elided*/any | /*elided*/any | {
1191
1156
  readonly code: "invalid_value";
1192
1157
  readonly values: (string | number | boolean | null)[];
1193
1158
  readonly input?: hono_utils_types0.JSONValue | undefined;
@@ -1205,7 +1170,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1205
1170
  readonly input?: hono_utils_types0.JSONValue | undefined;
1206
1171
  readonly path: (string | number | null)[];
1207
1172
  readonly message: string;
1208
- } | {
1173
+ } | /*elided*/any | {
1209
1174
  readonly code: "invalid_value";
1210
1175
  readonly values: (string | number | boolean | null)[];
1211
1176
  readonly input?: hono_utils_types0.JSONValue | undefined;
@@ -1219,781 +1184,816 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1219
1184
  readonly input?: hono_utils_types0.JSONValue | undefined;
1220
1185
  readonly path: (string | number | null)[];
1221
1186
  readonly message: string;
1222
- })[][];
1187
+ })[];
1223
1188
  readonly input?: hono_utils_types0.JSONValue | undefined;
1224
- readonly discriminator?: string | undefined | undefined;
1225
- readonly inclusive?: true | undefined;
1226
1189
  readonly path: (string | number | null)[];
1227
1190
  readonly message: string;
1228
1191
  } | {
1229
- readonly code: "invalid_union";
1230
- readonly errors: [];
1192
+ readonly code: "invalid_value";
1193
+ readonly values: (string | number | boolean | null)[];
1231
1194
  readonly input?: hono_utils_types0.JSONValue | undefined;
1232
- readonly discriminator?: string | undefined | undefined;
1233
- readonly inclusive: false;
1234
1195
  readonly path: (string | number | null)[];
1235
1196
  readonly message: string;
1236
1197
  } | {
1237
- readonly code: "invalid_key";
1238
- readonly origin: "map" | "record";
1239
- readonly issues: ({
1240
- readonly code: "invalid_type";
1241
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1242
- readonly input?: hono_utils_types0.JSONValue | undefined;
1243
- readonly path: (string | number | null)[];
1244
- readonly message: string;
1245
- } | {
1246
- readonly code: "too_big";
1247
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1248
- readonly maximum: number;
1249
- readonly inclusive?: boolean | undefined;
1250
- readonly exact?: boolean | undefined;
1251
- readonly input?: hono_utils_types0.JSONValue | undefined;
1252
- readonly path: (string | number | null)[];
1253
- readonly message: string;
1254
- } | {
1255
- readonly code: "too_small";
1256
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1257
- readonly minimum: number;
1258
- readonly inclusive?: boolean | undefined;
1259
- readonly exact?: boolean | undefined;
1260
- readonly input?: hono_utils_types0.JSONValue | undefined;
1261
- readonly path: (string | number | null)[];
1262
- readonly message: string;
1263
- } | {
1264
- readonly code: "invalid_format";
1265
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1266
- readonly pattern?: string | undefined;
1267
- readonly input?: string | undefined;
1268
- readonly path: (string | number | null)[];
1269
- readonly message: string;
1270
- } | {
1271
- readonly code: "not_multiple_of";
1272
- readonly divisor: number;
1273
- readonly input?: number | undefined;
1274
- readonly path: (string | number | null)[];
1275
- readonly message: string;
1276
- } | {
1277
- readonly code: "unrecognized_keys";
1278
- readonly keys: string[];
1279
- readonly input?: {
1280
- [x: string]: hono_utils_types0.JSONValue;
1281
- } | undefined;
1282
- readonly path: (string | number | null)[];
1283
- readonly message: string;
1284
- } | {
1285
- readonly code: "invalid_union";
1286
- readonly errors: ({
1287
- readonly code: "invalid_type";
1288
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1289
- readonly input?: hono_utils_types0.JSONValue | undefined;
1290
- readonly path: (string | number | null)[];
1291
- readonly message: string;
1198
+ readonly code: "custom";
1199
+ readonly params?: {
1200
+ [x: string]: any;
1201
+ } | undefined;
1202
+ readonly input?: hono_utils_types0.JSONValue | undefined;
1203
+ readonly path: (string | number | null)[];
1204
+ readonly message: string;
1205
+ })[] | ({
1206
+ code: "invalid_type";
1207
+ expected: zod_v30.ZodParsedType;
1208
+ received: zod_v30.ZodParsedType;
1209
+ path: (string | number)[];
1210
+ message: string;
1211
+ fatal?: boolean | undefined | undefined;
1212
+ } | {
1213
+ code: "invalid_literal";
1214
+ expected: hono_utils_types0.JSONValue;
1215
+ received: hono_utils_types0.JSONValue;
1216
+ path: (string | number)[];
1217
+ message: string;
1218
+ fatal?: boolean | undefined | undefined;
1219
+ } | {
1220
+ code: "unrecognized_keys";
1221
+ keys: string[];
1222
+ path: (string | number)[];
1223
+ message: string;
1224
+ fatal?: boolean | undefined | undefined;
1225
+ } | {
1226
+ code: "invalid_union";
1227
+ unionErrors: {
1228
+ issues: ({
1229
+ code: "invalid_type";
1230
+ expected: zod_v30.ZodParsedType;
1231
+ received: zod_v30.ZodParsedType;
1232
+ path: (string | number)[];
1233
+ message: string;
1234
+ fatal?: boolean | undefined | undefined;
1235
+ } | {
1236
+ code: "invalid_literal";
1237
+ expected: hono_utils_types0.JSONValue;
1238
+ received: hono_utils_types0.JSONValue;
1239
+ path: (string | number)[];
1240
+ message: string;
1241
+ fatal?: boolean | undefined | undefined;
1242
+ } | {
1243
+ code: "unrecognized_keys";
1244
+ keys: string[];
1245
+ path: (string | number)[];
1246
+ message: string;
1247
+ fatal?: boolean | undefined | undefined;
1248
+ } | /*elided*/any | {
1249
+ code: "invalid_union_discriminator";
1250
+ options: (string | number | boolean | null)[];
1251
+ path: (string | number)[];
1252
+ message: string;
1253
+ fatal?: boolean | undefined | undefined;
1254
+ } | {
1255
+ received: string | number;
1256
+ code: "invalid_enum_value";
1257
+ options: (string | number)[];
1258
+ path: (string | number)[];
1259
+ message: string;
1260
+ fatal?: boolean | undefined | undefined;
1261
+ } | {
1262
+ code: "invalid_arguments";
1263
+ argumentsError: /*elided*/any;
1264
+ path: (string | number)[];
1265
+ message: string;
1266
+ fatal?: boolean | undefined | undefined;
1267
+ } | {
1268
+ code: "invalid_return_type";
1269
+ returnTypeError: /*elided*/any;
1270
+ path: (string | number)[];
1271
+ message: string;
1272
+ fatal?: boolean | undefined | undefined;
1273
+ } | {
1274
+ code: "invalid_date";
1275
+ path: (string | number)[];
1276
+ message: string;
1277
+ fatal?: boolean | undefined | undefined;
1278
+ } | {
1279
+ code: "invalid_string";
1280
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1281
+ includes: string;
1282
+ position?: number | undefined | undefined;
1283
+ } | {
1284
+ startsWith: string;
1285
+ } | {
1286
+ endsWith: string;
1287
+ };
1288
+ path: (string | number)[];
1289
+ message: string;
1290
+ fatal?: boolean | undefined | undefined;
1291
+ } | {
1292
+ code: "too_small";
1293
+ minimum: number;
1294
+ inclusive: boolean;
1295
+ exact?: boolean | undefined;
1296
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1297
+ path: (string | number)[];
1298
+ message: string;
1299
+ fatal?: boolean | undefined | undefined;
1292
1300
  } | {
1293
- readonly code: "too_big";
1294
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1295
- readonly maximum: number;
1296
- readonly inclusive?: boolean | undefined;
1297
- readonly exact?: boolean | undefined;
1298
- readonly input?: hono_utils_types0.JSONValue | undefined;
1299
- readonly path: (string | number | null)[];
1300
- readonly message: string;
1301
+ code: "too_big";
1302
+ maximum: number;
1303
+ inclusive: boolean;
1304
+ exact?: boolean | undefined;
1305
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1306
+ path: (string | number)[];
1307
+ message: string;
1308
+ fatal?: boolean | undefined | undefined;
1301
1309
  } | {
1302
- readonly code: "too_small";
1303
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1304
- readonly minimum: number;
1305
- readonly inclusive?: boolean | undefined;
1306
- readonly exact?: boolean | undefined;
1307
- readonly input?: hono_utils_types0.JSONValue | undefined;
1308
- readonly path: (string | number | null)[];
1309
- readonly message: string;
1310
+ code: "invalid_intersection_types";
1311
+ path: (string | number)[];
1312
+ message: string;
1313
+ fatal?: boolean | undefined | undefined;
1310
1314
  } | {
1311
- readonly code: "invalid_format";
1312
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1313
- readonly pattern?: string | undefined;
1314
- readonly input?: string | undefined;
1315
- readonly path: (string | number | null)[];
1316
- readonly message: string;
1315
+ code: "not_multiple_of";
1316
+ multipleOf: number;
1317
+ path: (string | number)[];
1318
+ message: string;
1319
+ fatal?: boolean | undefined | undefined;
1317
1320
  } | {
1318
- readonly code: "not_multiple_of";
1319
- readonly divisor: number;
1320
- readonly input?: number | undefined;
1321
- readonly path: (string | number | null)[];
1322
- readonly message: string;
1321
+ code: "not_finite";
1322
+ path: (string | number)[];
1323
+ message: string;
1324
+ fatal?: boolean | undefined | undefined;
1323
1325
  } | {
1324
- readonly code: "unrecognized_keys";
1325
- readonly keys: string[];
1326
- readonly input?: {
1327
- [x: string]: hono_utils_types0.JSONValue;
1326
+ code: "custom";
1327
+ params?: {
1328
+ [x: string]: any;
1328
1329
  } | undefined;
1329
- readonly path: (string | number | null)[];
1330
- readonly message: string;
1331
- } | /*elided*/any | {
1332
- readonly code: "invalid_union";
1333
- readonly errors: [];
1334
- readonly input?: hono_utils_types0.JSONValue | undefined;
1335
- readonly discriminator?: string | undefined | undefined;
1336
- readonly inclusive: false;
1337
- readonly path: (string | number | null)[];
1338
- readonly message: string;
1330
+ path: (string | number)[];
1331
+ message: string;
1332
+ fatal?: boolean | undefined | undefined;
1333
+ })[];
1334
+ readonly errors: ({
1335
+ code: "invalid_type";
1336
+ expected: zod_v30.ZodParsedType;
1337
+ received: zod_v30.ZodParsedType;
1338
+ path: (string | number)[];
1339
+ message: string;
1340
+ fatal?: boolean | undefined | undefined;
1341
+ } | {
1342
+ code: "invalid_literal";
1343
+ expected: hono_utils_types0.JSONValue;
1344
+ received: hono_utils_types0.JSONValue;
1345
+ path: (string | number)[];
1346
+ message: string;
1347
+ fatal?: boolean | undefined | undefined;
1348
+ } | {
1349
+ code: "unrecognized_keys";
1350
+ keys: string[];
1351
+ path: (string | number)[];
1352
+ message: string;
1353
+ fatal?: boolean | undefined | undefined;
1339
1354
  } | /*elided*/any | {
1340
- readonly code: "invalid_element";
1341
- readonly origin: "map" | "set";
1342
- readonly key: hono_utils_types0.JSONValue;
1343
- readonly issues: ({
1344
- readonly code: "invalid_type";
1345
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1346
- readonly input?: hono_utils_types0.JSONValue | undefined;
1347
- readonly path: (string | number | null)[];
1348
- readonly message: string;
1349
- } | {
1350
- readonly code: "too_big";
1351
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1352
- readonly maximum: number;
1353
- readonly inclusive?: boolean | undefined;
1354
- readonly exact?: boolean | undefined;
1355
- readonly input?: hono_utils_types0.JSONValue | undefined;
1356
- readonly path: (string | number | null)[];
1357
- readonly message: string;
1358
- } | {
1359
- readonly code: "too_small";
1360
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1361
- readonly minimum: number;
1362
- readonly inclusive?: boolean | undefined;
1363
- readonly exact?: boolean | undefined;
1364
- readonly input?: hono_utils_types0.JSONValue | undefined;
1365
- readonly path: (string | number | null)[];
1366
- readonly message: string;
1355
+ code: "invalid_union_discriminator";
1356
+ options: (string | number | boolean | null)[];
1357
+ path: (string | number)[];
1358
+ message: string;
1359
+ fatal?: boolean | undefined | undefined;
1360
+ } | {
1361
+ received: string | number;
1362
+ code: "invalid_enum_value";
1363
+ options: (string | number)[];
1364
+ path: (string | number)[];
1365
+ message: string;
1366
+ fatal?: boolean | undefined | undefined;
1367
+ } | {
1368
+ code: "invalid_arguments";
1369
+ argumentsError: /*elided*/any;
1370
+ path: (string | number)[];
1371
+ message: string;
1372
+ fatal?: boolean | undefined | undefined;
1373
+ } | {
1374
+ code: "invalid_return_type";
1375
+ returnTypeError: /*elided*/any;
1376
+ path: (string | number)[];
1377
+ message: string;
1378
+ fatal?: boolean | undefined | undefined;
1379
+ } | {
1380
+ code: "invalid_date";
1381
+ path: (string | number)[];
1382
+ message: string;
1383
+ fatal?: boolean | undefined | undefined;
1384
+ } | {
1385
+ code: "invalid_string";
1386
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1387
+ includes: string;
1388
+ position?: number | undefined | undefined;
1367
1389
  } | {
1368
- readonly code: "invalid_format";
1369
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1370
- readonly pattern?: string | undefined;
1371
- readonly input?: string | undefined;
1372
- readonly path: (string | number | null)[];
1373
- readonly message: string;
1390
+ startsWith: string;
1374
1391
  } | {
1375
- readonly code: "not_multiple_of";
1376
- readonly divisor: number;
1377
- readonly input?: number | undefined;
1378
- readonly path: (string | number | null)[];
1379
- readonly message: string;
1392
+ endsWith: string;
1393
+ };
1394
+ path: (string | number)[];
1395
+ message: string;
1396
+ fatal?: boolean | undefined | undefined;
1397
+ } | {
1398
+ code: "too_small";
1399
+ minimum: number;
1400
+ inclusive: boolean;
1401
+ exact?: boolean | undefined;
1402
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1403
+ path: (string | number)[];
1404
+ message: string;
1405
+ fatal?: boolean | undefined | undefined;
1406
+ } | {
1407
+ code: "too_big";
1408
+ maximum: number;
1409
+ inclusive: boolean;
1410
+ exact?: boolean | undefined;
1411
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1412
+ path: (string | number)[];
1413
+ message: string;
1414
+ fatal?: boolean | undefined | undefined;
1415
+ } | {
1416
+ code: "invalid_intersection_types";
1417
+ path: (string | number)[];
1418
+ message: string;
1419
+ fatal?: boolean | undefined | undefined;
1420
+ } | {
1421
+ code: "not_multiple_of";
1422
+ multipleOf: number;
1423
+ path: (string | number)[];
1424
+ message: string;
1425
+ fatal?: boolean | undefined | undefined;
1426
+ } | {
1427
+ code: "not_finite";
1428
+ path: (string | number)[];
1429
+ message: string;
1430
+ fatal?: boolean | undefined | undefined;
1431
+ } | {
1432
+ code: "custom";
1433
+ params?: {
1434
+ [x: string]: any;
1435
+ } | undefined;
1436
+ path: (string | number)[];
1437
+ message: string;
1438
+ fatal?: boolean | undefined | undefined;
1439
+ })[];
1440
+ readonly message: string;
1441
+ readonly isEmpty: boolean;
1442
+ addIssue: never;
1443
+ addIssues: never;
1444
+ readonly formErrors: {
1445
+ formErrors: string[];
1446
+ fieldErrors: {
1447
+ [x: string]: string[] | undefined;
1448
+ [x: number]: string[] | undefined;
1449
+ };
1450
+ };
1451
+ name: string;
1452
+ stack?: string | undefined;
1453
+ cause?: hono_utils_types0.JSONValue | undefined;
1454
+ }[];
1455
+ path: (string | number)[];
1456
+ message: string;
1457
+ fatal?: boolean | undefined | undefined;
1458
+ } | {
1459
+ code: "invalid_union_discriminator";
1460
+ options: (string | number | boolean | null)[];
1461
+ path: (string | number)[];
1462
+ message: string;
1463
+ fatal?: boolean | undefined | undefined;
1464
+ } | {
1465
+ received: string | number;
1466
+ code: "invalid_enum_value";
1467
+ options: (string | number)[];
1468
+ path: (string | number)[];
1469
+ message: string;
1470
+ fatal?: boolean | undefined | undefined;
1471
+ } | {
1472
+ code: "invalid_arguments";
1473
+ argumentsError: {
1474
+ issues: ({
1475
+ code: "invalid_type";
1476
+ expected: zod_v30.ZodParsedType;
1477
+ received: zod_v30.ZodParsedType;
1478
+ path: (string | number)[];
1479
+ message: string;
1480
+ fatal?: boolean | undefined | undefined;
1481
+ } | {
1482
+ code: "invalid_literal";
1483
+ expected: hono_utils_types0.JSONValue;
1484
+ received: hono_utils_types0.JSONValue;
1485
+ path: (string | number)[];
1486
+ message: string;
1487
+ fatal?: boolean | undefined | undefined;
1488
+ } | {
1489
+ code: "unrecognized_keys";
1490
+ keys: string[];
1491
+ path: (string | number)[];
1492
+ message: string;
1493
+ fatal?: boolean | undefined | undefined;
1494
+ } | {
1495
+ code: "invalid_union";
1496
+ unionErrors: /*elided*/any[];
1497
+ path: (string | number)[];
1498
+ message: string;
1499
+ fatal?: boolean | undefined | undefined;
1500
+ } | {
1501
+ code: "invalid_union_discriminator";
1502
+ options: (string | number | boolean | null)[];
1503
+ path: (string | number)[];
1504
+ message: string;
1505
+ fatal?: boolean | undefined | undefined;
1506
+ } | {
1507
+ received: string | number;
1508
+ code: "invalid_enum_value";
1509
+ options: (string | number)[];
1510
+ path: (string | number)[];
1511
+ message: string;
1512
+ fatal?: boolean | undefined | undefined;
1513
+ } | /*elided*/any | {
1514
+ code: "invalid_return_type";
1515
+ returnTypeError: /*elided*/any;
1516
+ path: (string | number)[];
1517
+ message: string;
1518
+ fatal?: boolean | undefined | undefined;
1519
+ } | {
1520
+ code: "invalid_date";
1521
+ path: (string | number)[];
1522
+ message: string;
1523
+ fatal?: boolean | undefined | undefined;
1524
+ } | {
1525
+ code: "invalid_string";
1526
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1527
+ includes: string;
1528
+ position?: number | undefined | undefined;
1380
1529
  } | {
1381
- readonly code: "unrecognized_keys";
1382
- readonly keys: string[];
1383
- readonly input?: {
1384
- [x: string]: hono_utils_types0.JSONValue;
1385
- } | undefined;
1386
- readonly path: (string | number | null)[];
1387
- readonly message: string;
1388
- } | /*elided*/any | {
1389
- readonly code: "invalid_union";
1390
- readonly errors: [];
1391
- readonly input?: hono_utils_types0.JSONValue | undefined;
1392
- readonly discriminator?: string | undefined | undefined;
1393
- readonly inclusive: false;
1394
- readonly path: (string | number | null)[];
1395
- readonly message: string;
1396
- } | /*elided*/any | /*elided*/any | {
1397
- readonly code: "invalid_value";
1398
- readonly values: (string | number | boolean | null)[];
1399
- readonly input?: hono_utils_types0.JSONValue | undefined;
1400
- readonly path: (string | number | null)[];
1401
- readonly message: string;
1530
+ startsWith: string;
1402
1531
  } | {
1403
- readonly code: "custom";
1404
- readonly params?: {
1405
- [x: string]: any;
1406
- } | undefined;
1407
- readonly input?: hono_utils_types0.JSONValue | undefined;
1408
- readonly path: (string | number | null)[];
1409
- readonly message: string;
1410
- })[];
1411
- readonly input?: hono_utils_types0.JSONValue | undefined;
1412
- readonly path: (string | number | null)[];
1413
- readonly message: string;
1414
- } | {
1415
- readonly code: "invalid_value";
1416
- readonly values: (string | number | boolean | null)[];
1417
- readonly input?: hono_utils_types0.JSONValue | undefined;
1418
- readonly path: (string | number | null)[];
1419
- readonly message: string;
1532
+ endsWith: string;
1533
+ };
1534
+ path: (string | number)[];
1535
+ message: string;
1536
+ fatal?: boolean | undefined | undefined;
1420
1537
  } | {
1421
- readonly code: "custom";
1422
- readonly params?: {
1423
- [x: string]: any;
1424
- } | undefined;
1425
- readonly input?: hono_utils_types0.JSONValue | undefined;
1426
- readonly path: (string | number | null)[];
1427
- readonly message: string;
1428
- })[][];
1429
- readonly input?: hono_utils_types0.JSONValue | undefined;
1430
- readonly discriminator?: string | undefined | undefined;
1431
- readonly inclusive?: true | undefined;
1432
- readonly path: (string | number | null)[];
1433
- readonly message: string;
1434
- } | {
1435
- readonly code: "invalid_union";
1436
- readonly errors: [];
1437
- readonly input?: hono_utils_types0.JSONValue | undefined;
1438
- readonly discriminator?: string | undefined | undefined;
1439
- readonly inclusive: false;
1440
- readonly path: (string | number | null)[];
1441
- readonly message: string;
1442
- } | /*elided*/any | {
1443
- readonly code: "invalid_element";
1444
- readonly origin: "map" | "set";
1445
- readonly key: hono_utils_types0.JSONValue;
1446
- readonly issues: ({
1447
- readonly code: "invalid_type";
1448
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1449
- readonly input?: hono_utils_types0.JSONValue | undefined;
1450
- readonly path: (string | number | null)[];
1451
- readonly message: string;
1538
+ code: "too_small";
1539
+ minimum: number;
1540
+ inclusive: boolean;
1541
+ exact?: boolean | undefined;
1542
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1543
+ path: (string | number)[];
1544
+ message: string;
1545
+ fatal?: boolean | undefined | undefined;
1452
1546
  } | {
1453
- readonly code: "too_big";
1454
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1455
- readonly maximum: number;
1456
- readonly inclusive?: boolean | undefined;
1457
- readonly exact?: boolean | undefined;
1458
- readonly input?: hono_utils_types0.JSONValue | undefined;
1459
- readonly path: (string | number | null)[];
1460
- readonly message: string;
1547
+ code: "too_big";
1548
+ maximum: number;
1549
+ inclusive: boolean;
1550
+ exact?: boolean | undefined;
1551
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1552
+ path: (string | number)[];
1553
+ message: string;
1554
+ fatal?: boolean | undefined | undefined;
1461
1555
  } | {
1462
- readonly code: "too_small";
1463
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1464
- readonly minimum: number;
1465
- readonly inclusive?: boolean | undefined;
1466
- readonly exact?: boolean | undefined;
1467
- readonly input?: hono_utils_types0.JSONValue | undefined;
1468
- readonly path: (string | number | null)[];
1469
- readonly message: string;
1556
+ code: "invalid_intersection_types";
1557
+ path: (string | number)[];
1558
+ message: string;
1559
+ fatal?: boolean | undefined | undefined;
1470
1560
  } | {
1471
- readonly code: "invalid_format";
1472
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1473
- readonly pattern?: string | undefined;
1474
- readonly input?: string | undefined;
1475
- readonly path: (string | number | null)[];
1476
- readonly message: string;
1561
+ code: "not_multiple_of";
1562
+ multipleOf: number;
1563
+ path: (string | number)[];
1564
+ message: string;
1565
+ fatal?: boolean | undefined | undefined;
1477
1566
  } | {
1478
- readonly code: "not_multiple_of";
1479
- readonly divisor: number;
1480
- readonly input?: number | undefined;
1481
- readonly path: (string | number | null)[];
1482
- readonly message: string;
1567
+ code: "not_finite";
1568
+ path: (string | number)[];
1569
+ message: string;
1570
+ fatal?: boolean | undefined | undefined;
1483
1571
  } | {
1484
- readonly code: "unrecognized_keys";
1485
- readonly keys: string[];
1486
- readonly input?: {
1487
- [x: string]: hono_utils_types0.JSONValue;
1572
+ code: "custom";
1573
+ params?: {
1574
+ [x: string]: any;
1488
1575
  } | undefined;
1489
- readonly path: (string | number | null)[];
1490
- readonly message: string;
1576
+ path: (string | number)[];
1577
+ message: string;
1578
+ fatal?: boolean | undefined | undefined;
1579
+ })[];
1580
+ readonly errors: ({
1581
+ code: "invalid_type";
1582
+ expected: zod_v30.ZodParsedType;
1583
+ received: zod_v30.ZodParsedType;
1584
+ path: (string | number)[];
1585
+ message: string;
1586
+ fatal?: boolean | undefined | undefined;
1491
1587
  } | {
1492
- readonly code: "invalid_union";
1493
- readonly errors: ({
1494
- readonly code: "invalid_type";
1495
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1496
- readonly input?: hono_utils_types0.JSONValue | undefined;
1497
- readonly path: (string | number | null)[];
1498
- readonly message: string;
1499
- } | {
1500
- readonly code: "too_big";
1501
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1502
- readonly maximum: number;
1503
- readonly inclusive?: boolean | undefined;
1504
- readonly exact?: boolean | undefined;
1505
- readonly input?: hono_utils_types0.JSONValue | undefined;
1506
- readonly path: (string | number | null)[];
1507
- readonly message: string;
1508
- } | {
1509
- readonly code: "too_small";
1510
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1511
- readonly minimum: number;
1512
- readonly inclusive?: boolean | undefined;
1513
- readonly exact?: boolean | undefined;
1514
- readonly input?: hono_utils_types0.JSONValue | undefined;
1515
- readonly path: (string | number | null)[];
1516
- readonly message: string;
1517
- } | {
1518
- readonly code: "invalid_format";
1519
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1520
- readonly pattern?: string | undefined;
1521
- readonly input?: string | undefined;
1522
- readonly path: (string | number | null)[];
1523
- readonly message: string;
1524
- } | {
1525
- readonly code: "not_multiple_of";
1526
- readonly divisor: number;
1527
- readonly input?: number | undefined;
1528
- readonly path: (string | number | null)[];
1529
- readonly message: string;
1588
+ code: "invalid_literal";
1589
+ expected: hono_utils_types0.JSONValue;
1590
+ received: hono_utils_types0.JSONValue;
1591
+ path: (string | number)[];
1592
+ message: string;
1593
+ fatal?: boolean | undefined | undefined;
1594
+ } | {
1595
+ code: "unrecognized_keys";
1596
+ keys: string[];
1597
+ path: (string | number)[];
1598
+ message: string;
1599
+ fatal?: boolean | undefined | undefined;
1600
+ } | {
1601
+ code: "invalid_union";
1602
+ unionErrors: /*elided*/any[];
1603
+ path: (string | number)[];
1604
+ message: string;
1605
+ fatal?: boolean | undefined | undefined;
1606
+ } | {
1607
+ code: "invalid_union_discriminator";
1608
+ options: (string | number | boolean | null)[];
1609
+ path: (string | number)[];
1610
+ message: string;
1611
+ fatal?: boolean | undefined | undefined;
1612
+ } | {
1613
+ received: string | number;
1614
+ code: "invalid_enum_value";
1615
+ options: (string | number)[];
1616
+ path: (string | number)[];
1617
+ message: string;
1618
+ fatal?: boolean | undefined | undefined;
1619
+ } | /*elided*/any | {
1620
+ code: "invalid_return_type";
1621
+ returnTypeError: /*elided*/any;
1622
+ path: (string | number)[];
1623
+ message: string;
1624
+ fatal?: boolean | undefined | undefined;
1625
+ } | {
1626
+ code: "invalid_date";
1627
+ path: (string | number)[];
1628
+ message: string;
1629
+ fatal?: boolean | undefined | undefined;
1630
+ } | {
1631
+ code: "invalid_string";
1632
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1633
+ includes: string;
1634
+ position?: number | undefined | undefined;
1530
1635
  } | {
1531
- readonly code: "unrecognized_keys";
1532
- readonly keys: string[];
1533
- readonly input?: {
1534
- [x: string]: hono_utils_types0.JSONValue;
1535
- } | undefined;
1536
- readonly path: (string | number | null)[];
1537
- readonly message: string;
1538
- } | /*elided*/any | {
1539
- readonly code: "invalid_union";
1540
- readonly errors: [];
1541
- readonly input?: hono_utils_types0.JSONValue | undefined;
1542
- readonly discriminator?: string | undefined | undefined;
1543
- readonly inclusive: false;
1544
- readonly path: (string | number | null)[];
1545
- readonly message: string;
1546
- } | /*elided*/any | /*elided*/any | {
1547
- readonly code: "invalid_value";
1548
- readonly values: (string | number | boolean | null)[];
1549
- readonly input?: hono_utils_types0.JSONValue | undefined;
1550
- readonly path: (string | number | null)[];
1551
- readonly message: string;
1636
+ startsWith: string;
1552
1637
  } | {
1553
- readonly code: "custom";
1554
- readonly params?: {
1555
- [x: string]: any;
1556
- } | undefined;
1557
- readonly input?: hono_utils_types0.JSONValue | undefined;
1558
- readonly path: (string | number | null)[];
1559
- readonly message: string;
1560
- })[][];
1561
- readonly input?: hono_utils_types0.JSONValue | undefined;
1562
- readonly discriminator?: string | undefined | undefined;
1563
- readonly inclusive?: true | undefined;
1564
- readonly path: (string | number | null)[];
1565
- readonly message: string;
1638
+ endsWith: string;
1639
+ };
1640
+ path: (string | number)[];
1641
+ message: string;
1642
+ fatal?: boolean | undefined | undefined;
1566
1643
  } | {
1567
- readonly code: "invalid_union";
1568
- readonly errors: [];
1569
- readonly input?: hono_utils_types0.JSONValue | undefined;
1570
- readonly discriminator?: string | undefined | undefined;
1571
- readonly inclusive: false;
1572
- readonly path: (string | number | null)[];
1573
- readonly message: string;
1574
- } | /*elided*/any | /*elided*/any | {
1575
- readonly code: "invalid_value";
1576
- readonly values: (string | number | boolean | null)[];
1577
- readonly input?: hono_utils_types0.JSONValue | undefined;
1578
- readonly path: (string | number | null)[];
1579
- readonly message: string;
1644
+ code: "too_small";
1645
+ minimum: number;
1646
+ inclusive: boolean;
1647
+ exact?: boolean | undefined;
1648
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1649
+ path: (string | number)[];
1650
+ message: string;
1651
+ fatal?: boolean | undefined | undefined;
1580
1652
  } | {
1581
- readonly code: "custom";
1582
- readonly params?: {
1653
+ code: "too_big";
1654
+ maximum: number;
1655
+ inclusive: boolean;
1656
+ exact?: boolean | undefined;
1657
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1658
+ path: (string | number)[];
1659
+ message: string;
1660
+ fatal?: boolean | undefined | undefined;
1661
+ } | {
1662
+ code: "invalid_intersection_types";
1663
+ path: (string | number)[];
1664
+ message: string;
1665
+ fatal?: boolean | undefined | undefined;
1666
+ } | {
1667
+ code: "not_multiple_of";
1668
+ multipleOf: number;
1669
+ path: (string | number)[];
1670
+ message: string;
1671
+ fatal?: boolean | undefined | undefined;
1672
+ } | {
1673
+ code: "not_finite";
1674
+ path: (string | number)[];
1675
+ message: string;
1676
+ fatal?: boolean | undefined | undefined;
1677
+ } | {
1678
+ code: "custom";
1679
+ params?: {
1583
1680
  [x: string]: any;
1584
1681
  } | undefined;
1585
- readonly input?: hono_utils_types0.JSONValue | undefined;
1586
- readonly path: (string | number | null)[];
1587
- readonly message: string;
1682
+ path: (string | number)[];
1683
+ message: string;
1684
+ fatal?: boolean | undefined | undefined;
1588
1685
  })[];
1589
- readonly input?: hono_utils_types0.JSONValue | undefined;
1590
- readonly path: (string | number | null)[];
1591
- readonly message: string;
1592
- } | {
1593
- readonly code: "invalid_value";
1594
- readonly values: (string | number | boolean | null)[];
1595
- readonly input?: hono_utils_types0.JSONValue | undefined;
1596
- readonly path: (string | number | null)[];
1597
- readonly message: string;
1598
- } | {
1599
- readonly code: "custom";
1600
- readonly params?: {
1601
- [x: string]: any;
1602
- } | undefined;
1603
- readonly input?: hono_utils_types0.JSONValue | undefined;
1604
- readonly path: (string | number | null)[];
1605
1686
  readonly message: string;
1606
- })[];
1607
- readonly input?: hono_utils_types0.JSONValue | undefined;
1608
- readonly path: (string | number | null)[];
1609
- readonly message: string;
1687
+ readonly isEmpty: boolean;
1688
+ addIssue: never;
1689
+ addIssues: never;
1690
+ readonly formErrors: {
1691
+ formErrors: string[];
1692
+ fieldErrors: {
1693
+ [x: string]: string[] | undefined;
1694
+ [x: number]: string[] | undefined;
1695
+ };
1696
+ };
1697
+ name: string;
1698
+ stack?: string | undefined;
1699
+ cause?: hono_utils_types0.JSONValue | undefined;
1700
+ };
1701
+ path: (string | number)[];
1702
+ message: string;
1703
+ fatal?: boolean | undefined | undefined;
1610
1704
  } | {
1611
- readonly code: "invalid_element";
1612
- readonly origin: "map" | "set";
1613
- readonly key: hono_utils_types0.JSONValue;
1614
- readonly issues: ({
1615
- readonly code: "invalid_type";
1616
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1617
- readonly input?: hono_utils_types0.JSONValue | undefined;
1618
- readonly path: (string | number | null)[];
1619
- readonly message: string;
1620
- } | {
1621
- readonly code: "too_big";
1622
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1623
- readonly maximum: number;
1624
- readonly inclusive?: boolean | undefined;
1625
- readonly exact?: boolean | undefined;
1626
- readonly input?: hono_utils_types0.JSONValue | undefined;
1627
- readonly path: (string | number | null)[];
1628
- readonly message: string;
1629
- } | {
1630
- readonly code: "too_small";
1631
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1632
- readonly minimum: number;
1633
- readonly inclusive?: boolean | undefined;
1634
- readonly exact?: boolean | undefined;
1635
- readonly input?: hono_utils_types0.JSONValue | undefined;
1636
- readonly path: (string | number | null)[];
1637
- readonly message: string;
1638
- } | {
1639
- readonly code: "invalid_format";
1640
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1641
- readonly pattern?: string | undefined;
1642
- readonly input?: string | undefined;
1643
- readonly path: (string | number | null)[];
1644
- readonly message: string;
1645
- } | {
1646
- readonly code: "not_multiple_of";
1647
- readonly divisor: number;
1648
- readonly input?: number | undefined;
1649
- readonly path: (string | number | null)[];
1650
- readonly message: string;
1651
- } | {
1652
- readonly code: "unrecognized_keys";
1653
- readonly keys: string[];
1654
- readonly input?: {
1655
- [x: string]: hono_utils_types0.JSONValue;
1656
- } | undefined;
1657
- readonly path: (string | number | null)[];
1658
- readonly message: string;
1659
- } | {
1660
- readonly code: "invalid_union";
1661
- readonly errors: ({
1662
- readonly code: "invalid_type";
1663
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1664
- readonly input?: hono_utils_types0.JSONValue | undefined;
1665
- readonly path: (string | number | null)[];
1666
- readonly message: string;
1705
+ code: "invalid_return_type";
1706
+ returnTypeError: {
1707
+ issues: ({
1708
+ code: "invalid_type";
1709
+ expected: zod_v30.ZodParsedType;
1710
+ received: zod_v30.ZodParsedType;
1711
+ path: (string | number)[];
1712
+ message: string;
1713
+ fatal?: boolean | undefined | undefined;
1667
1714
  } | {
1668
- readonly code: "too_big";
1669
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1670
- readonly maximum: number;
1671
- readonly inclusive?: boolean | undefined;
1672
- readonly exact?: boolean | undefined;
1673
- readonly input?: hono_utils_types0.JSONValue | undefined;
1674
- readonly path: (string | number | null)[];
1675
- readonly message: string;
1715
+ code: "invalid_literal";
1716
+ expected: hono_utils_types0.JSONValue;
1717
+ received: hono_utils_types0.JSONValue;
1718
+ path: (string | number)[];
1719
+ message: string;
1720
+ fatal?: boolean | undefined | undefined;
1676
1721
  } | {
1677
- readonly code: "too_small";
1678
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1679
- readonly minimum: number;
1680
- readonly inclusive?: boolean | undefined;
1681
- readonly exact?: boolean | undefined;
1682
- readonly input?: hono_utils_types0.JSONValue | undefined;
1683
- readonly path: (string | number | null)[];
1684
- readonly message: string;
1722
+ code: "unrecognized_keys";
1723
+ keys: string[];
1724
+ path: (string | number)[];
1725
+ message: string;
1726
+ fatal?: boolean | undefined | undefined;
1685
1727
  } | {
1686
- readonly code: "invalid_format";
1687
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1688
- readonly pattern?: string | undefined;
1689
- readonly input?: string | undefined;
1690
- readonly path: (string | number | null)[];
1691
- readonly message: string;
1728
+ code: "invalid_union";
1729
+ unionErrors: /*elided*/any[];
1730
+ path: (string | number)[];
1731
+ message: string;
1732
+ fatal?: boolean | undefined | undefined;
1692
1733
  } | {
1693
- readonly code: "not_multiple_of";
1694
- readonly divisor: number;
1695
- readonly input?: number | undefined;
1696
- readonly path: (string | number | null)[];
1697
- readonly message: string;
1734
+ code: "invalid_union_discriminator";
1735
+ options: (string | number | boolean | null)[];
1736
+ path: (string | number)[];
1737
+ message: string;
1738
+ fatal?: boolean | undefined | undefined;
1698
1739
  } | {
1699
- readonly code: "unrecognized_keys";
1700
- readonly keys: string[];
1701
- readonly input?: {
1702
- [x: string]: hono_utils_types0.JSONValue;
1703
- } | undefined;
1704
- readonly path: (string | number | null)[];
1705
- readonly message: string;
1740
+ received: string | number;
1741
+ code: "invalid_enum_value";
1742
+ options: (string | number)[];
1743
+ path: (string | number)[];
1744
+ message: string;
1745
+ fatal?: boolean | undefined | undefined;
1746
+ } | {
1747
+ code: "invalid_arguments";
1748
+ argumentsError: /*elided*/any;
1749
+ path: (string | number)[];
1750
+ message: string;
1751
+ fatal?: boolean | undefined | undefined;
1706
1752
  } | /*elided*/any | {
1707
- readonly code: "invalid_union";
1708
- readonly errors: [];
1709
- readonly input?: hono_utils_types0.JSONValue | undefined;
1710
- readonly discriminator?: string | undefined | undefined;
1711
- readonly inclusive: false;
1712
- readonly path: (string | number | null)[];
1713
- readonly message: string;
1753
+ code: "invalid_date";
1754
+ path: (string | number)[];
1755
+ message: string;
1756
+ fatal?: boolean | undefined | undefined;
1714
1757
  } | {
1715
- readonly code: "invalid_key";
1716
- readonly origin: "map" | "record";
1717
- readonly issues: ({
1718
- readonly code: "invalid_type";
1719
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1720
- readonly input?: hono_utils_types0.JSONValue | undefined;
1721
- readonly path: (string | number | null)[];
1722
- readonly message: string;
1723
- } | {
1724
- readonly code: "too_big";
1725
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1726
- readonly maximum: number;
1727
- readonly inclusive?: boolean | undefined;
1728
- readonly exact?: boolean | undefined;
1729
- readonly input?: hono_utils_types0.JSONValue | undefined;
1730
- readonly path: (string | number | null)[];
1731
- readonly message: string;
1732
- } | {
1733
- readonly code: "too_small";
1734
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1735
- readonly minimum: number;
1736
- readonly inclusive?: boolean | undefined;
1737
- readonly exact?: boolean | undefined;
1738
- readonly input?: hono_utils_types0.JSONValue | undefined;
1739
- readonly path: (string | number | null)[];
1740
- readonly message: string;
1741
- } | {
1742
- readonly code: "invalid_format";
1743
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1744
- readonly pattern?: string | undefined;
1745
- readonly input?: string | undefined;
1746
- readonly path: (string | number | null)[];
1747
- readonly message: string;
1748
- } | {
1749
- readonly code: "not_multiple_of";
1750
- readonly divisor: number;
1751
- readonly input?: number | undefined;
1752
- readonly path: (string | number | null)[];
1753
- readonly message: string;
1758
+ code: "invalid_string";
1759
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1760
+ includes: string;
1761
+ position?: number | undefined | undefined;
1754
1762
  } | {
1755
- readonly code: "unrecognized_keys";
1756
- readonly keys: string[];
1757
- readonly input?: {
1758
- [x: string]: hono_utils_types0.JSONValue;
1759
- } | undefined;
1760
- readonly path: (string | number | null)[];
1761
- readonly message: string;
1762
- } | /*elided*/any | {
1763
- readonly code: "invalid_union";
1764
- readonly errors: [];
1765
- readonly input?: hono_utils_types0.JSONValue | undefined;
1766
- readonly discriminator?: string | undefined | undefined;
1767
- readonly inclusive: false;
1768
- readonly path: (string | number | null)[];
1769
- readonly message: string;
1770
- } | /*elided*/any | /*elided*/any | {
1771
- readonly code: "invalid_value";
1772
- readonly values: (string | number | boolean | null)[];
1773
- readonly input?: hono_utils_types0.JSONValue | undefined;
1774
- readonly path: (string | number | null)[];
1775
- readonly message: string;
1763
+ startsWith: string;
1776
1764
  } | {
1777
- readonly code: "custom";
1778
- readonly params?: {
1779
- [x: string]: any;
1780
- } | undefined;
1781
- readonly input?: hono_utils_types0.JSONValue | undefined;
1782
- readonly path: (string | number | null)[];
1783
- readonly message: string;
1784
- })[];
1785
- readonly input?: hono_utils_types0.JSONValue | undefined;
1786
- readonly path: (string | number | null)[];
1787
- readonly message: string;
1788
- } | /*elided*/any | {
1789
- readonly code: "invalid_value";
1790
- readonly values: (string | number | boolean | null)[];
1791
- readonly input?: hono_utils_types0.JSONValue | undefined;
1792
- readonly path: (string | number | null)[];
1793
- readonly message: string;
1765
+ endsWith: string;
1766
+ };
1767
+ path: (string | number)[];
1768
+ message: string;
1769
+ fatal?: boolean | undefined | undefined;
1794
1770
  } | {
1795
- readonly code: "custom";
1796
- readonly params?: {
1771
+ code: "too_small";
1772
+ minimum: number;
1773
+ inclusive: boolean;
1774
+ exact?: boolean | undefined;
1775
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1776
+ path: (string | number)[];
1777
+ message: string;
1778
+ fatal?: boolean | undefined | undefined;
1779
+ } | {
1780
+ code: "too_big";
1781
+ maximum: number;
1782
+ inclusive: boolean;
1783
+ exact?: boolean | undefined;
1784
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1785
+ path: (string | number)[];
1786
+ message: string;
1787
+ fatal?: boolean | undefined | undefined;
1788
+ } | {
1789
+ code: "invalid_intersection_types";
1790
+ path: (string | number)[];
1791
+ message: string;
1792
+ fatal?: boolean | undefined | undefined;
1793
+ } | {
1794
+ code: "not_multiple_of";
1795
+ multipleOf: number;
1796
+ path: (string | number)[];
1797
+ message: string;
1798
+ fatal?: boolean | undefined | undefined;
1799
+ } | {
1800
+ code: "not_finite";
1801
+ path: (string | number)[];
1802
+ message: string;
1803
+ fatal?: boolean | undefined | undefined;
1804
+ } | {
1805
+ code: "custom";
1806
+ params?: {
1797
1807
  [x: string]: any;
1798
1808
  } | undefined;
1799
- readonly input?: hono_utils_types0.JSONValue | undefined;
1800
- readonly path: (string | number | null)[];
1801
- readonly message: string;
1802
- })[][];
1803
- readonly input?: hono_utils_types0.JSONValue | undefined;
1804
- readonly discriminator?: string | undefined | undefined;
1805
- readonly inclusive?: true | undefined;
1806
- readonly path: (string | number | null)[];
1807
- readonly message: string;
1808
- } | {
1809
- readonly code: "invalid_union";
1810
- readonly errors: [];
1811
- readonly input?: hono_utils_types0.JSONValue | undefined;
1812
- readonly discriminator?: string | undefined | undefined;
1813
- readonly inclusive: false;
1814
- readonly path: (string | number | null)[];
1815
- readonly message: string;
1816
- } | {
1817
- readonly code: "invalid_key";
1818
- readonly origin: "map" | "record";
1819
- readonly issues: ({
1820
- readonly code: "invalid_type";
1821
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1822
- readonly input?: hono_utils_types0.JSONValue | undefined;
1823
- readonly path: (string | number | null)[];
1824
- readonly message: string;
1809
+ path: (string | number)[];
1810
+ message: string;
1811
+ fatal?: boolean | undefined | undefined;
1812
+ })[];
1813
+ readonly errors: ({
1814
+ code: "invalid_type";
1815
+ expected: zod_v30.ZodParsedType;
1816
+ received: zod_v30.ZodParsedType;
1817
+ path: (string | number)[];
1818
+ message: string;
1819
+ fatal?: boolean | undefined | undefined;
1825
1820
  } | {
1826
- readonly code: "too_big";
1827
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1828
- readonly maximum: number;
1829
- readonly inclusive?: boolean | undefined;
1830
- readonly exact?: boolean | undefined;
1831
- readonly input?: hono_utils_types0.JSONValue | undefined;
1832
- readonly path: (string | number | null)[];
1833
- readonly message: string;
1821
+ code: "invalid_literal";
1822
+ expected: hono_utils_types0.JSONValue;
1823
+ received: hono_utils_types0.JSONValue;
1824
+ path: (string | number)[];
1825
+ message: string;
1826
+ fatal?: boolean | undefined | undefined;
1834
1827
  } | {
1835
- readonly code: "too_small";
1836
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1837
- readonly minimum: number;
1838
- readonly inclusive?: boolean | undefined;
1839
- readonly exact?: boolean | undefined;
1840
- readonly input?: hono_utils_types0.JSONValue | undefined;
1841
- readonly path: (string | number | null)[];
1842
- readonly message: string;
1828
+ code: "unrecognized_keys";
1829
+ keys: string[];
1830
+ path: (string | number)[];
1831
+ message: string;
1832
+ fatal?: boolean | undefined | undefined;
1843
1833
  } | {
1844
- readonly code: "invalid_format";
1845
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1846
- readonly pattern?: string | undefined;
1847
- readonly input?: string | undefined;
1848
- readonly path: (string | number | null)[];
1849
- readonly message: string;
1834
+ code: "invalid_union";
1835
+ unionErrors: /*elided*/any[];
1836
+ path: (string | number)[];
1837
+ message: string;
1838
+ fatal?: boolean | undefined | undefined;
1850
1839
  } | {
1851
- readonly code: "not_multiple_of";
1852
- readonly divisor: number;
1853
- readonly input?: number | undefined;
1854
- readonly path: (string | number | null)[];
1855
- readonly message: string;
1840
+ code: "invalid_union_discriminator";
1841
+ options: (string | number | boolean | null)[];
1842
+ path: (string | number)[];
1843
+ message: string;
1844
+ fatal?: boolean | undefined | undefined;
1845
+ } | {
1846
+ received: string | number;
1847
+ code: "invalid_enum_value";
1848
+ options: (string | number)[];
1849
+ path: (string | number)[];
1850
+ message: string;
1851
+ fatal?: boolean | undefined | undefined;
1856
1852
  } | {
1857
- readonly code: "unrecognized_keys";
1858
- readonly keys: string[];
1859
- readonly input?: {
1860
- [x: string]: hono_utils_types0.JSONValue;
1861
- } | undefined;
1862
- readonly path: (string | number | null)[];
1863
- readonly message: string;
1853
+ code: "invalid_arguments";
1854
+ argumentsError: /*elided*/any;
1855
+ path: (string | number)[];
1856
+ message: string;
1857
+ fatal?: boolean | undefined | undefined;
1858
+ } | /*elided*/any | {
1859
+ code: "invalid_date";
1860
+ path: (string | number)[];
1861
+ message: string;
1862
+ fatal?: boolean | undefined | undefined;
1864
1863
  } | {
1865
- readonly code: "invalid_union";
1866
- readonly errors: ({
1867
- readonly code: "invalid_type";
1868
- readonly expected: zod_v4_core0.$ZodInvalidTypeExpected;
1869
- readonly input?: hono_utils_types0.JSONValue | undefined;
1870
- readonly path: (string | number | null)[];
1871
- readonly message: string;
1872
- } | {
1873
- readonly code: "too_big";
1874
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1875
- readonly maximum: number;
1876
- readonly inclusive?: boolean | undefined;
1877
- readonly exact?: boolean | undefined;
1878
- readonly input?: hono_utils_types0.JSONValue | undefined;
1879
- readonly path: (string | number | null)[];
1880
- readonly message: string;
1881
- } | {
1882
- readonly code: "too_small";
1883
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1884
- readonly minimum: number;
1885
- readonly inclusive?: boolean | undefined;
1886
- readonly exact?: boolean | undefined;
1887
- readonly input?: hono_utils_types0.JSONValue | undefined;
1888
- readonly path: (string | number | null)[];
1889
- readonly message: string;
1890
- } | {
1891
- readonly code: "invalid_format";
1892
- readonly format: zod_v4_core0.$ZodStringFormats | (string & {});
1893
- readonly pattern?: string | undefined;
1894
- readonly input?: string | undefined;
1895
- readonly path: (string | number | null)[];
1896
- readonly message: string;
1897
- } | {
1898
- readonly code: "not_multiple_of";
1899
- readonly divisor: number;
1900
- readonly input?: number | undefined;
1901
- readonly path: (string | number | null)[];
1902
- readonly message: string;
1864
+ code: "invalid_string";
1865
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1866
+ includes: string;
1867
+ position?: number | undefined | undefined;
1903
1868
  } | {
1904
- readonly code: "unrecognized_keys";
1905
- readonly keys: string[];
1906
- readonly input?: {
1907
- [x: string]: hono_utils_types0.JSONValue;
1908
- } | undefined;
1909
- readonly path: (string | number | null)[];
1910
- readonly message: string;
1911
- } | /*elided*/any | {
1912
- readonly code: "invalid_union";
1913
- readonly errors: [];
1914
- readonly input?: hono_utils_types0.JSONValue | undefined;
1915
- readonly discriminator?: string | undefined | undefined;
1916
- readonly inclusive: false;
1917
- readonly path: (string | number | null)[];
1918
- readonly message: string;
1919
- } | /*elided*/any | /*elided*/any | {
1920
- readonly code: "invalid_value";
1921
- readonly values: (string | number | boolean | null)[];
1922
- readonly input?: hono_utils_types0.JSONValue | undefined;
1923
- readonly path: (string | number | null)[];
1924
- readonly message: string;
1869
+ startsWith: string;
1925
1870
  } | {
1926
- readonly code: "custom";
1927
- readonly params?: {
1928
- [x: string]: any;
1929
- } | undefined;
1930
- readonly input?: hono_utils_types0.JSONValue | undefined;
1931
- readonly path: (string | number | null)[];
1932
- readonly message: string;
1933
- })[][];
1934
- readonly input?: hono_utils_types0.JSONValue | undefined;
1935
- readonly discriminator?: string | undefined | undefined;
1936
- readonly inclusive?: true | undefined;
1937
- readonly path: (string | number | null)[];
1938
- readonly message: string;
1871
+ endsWith: string;
1872
+ };
1873
+ path: (string | number)[];
1874
+ message: string;
1875
+ fatal?: boolean | undefined | undefined;
1939
1876
  } | {
1940
- readonly code: "invalid_union";
1941
- readonly errors: [];
1942
- readonly input?: hono_utils_types0.JSONValue | undefined;
1943
- readonly discriminator?: string | undefined | undefined;
1944
- readonly inclusive: false;
1945
- readonly path: (string | number | null)[];
1946
- readonly message: string;
1947
- } | /*elided*/any | /*elided*/any | {
1948
- readonly code: "invalid_value";
1949
- readonly values: (string | number | boolean | null)[];
1950
- readonly input?: hono_utils_types0.JSONValue | undefined;
1951
- readonly path: (string | number | null)[];
1952
- readonly message: string;
1877
+ code: "too_small";
1878
+ minimum: number;
1879
+ inclusive: boolean;
1880
+ exact?: boolean | undefined;
1881
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1882
+ path: (string | number)[];
1883
+ message: string;
1884
+ fatal?: boolean | undefined | undefined;
1953
1885
  } | {
1954
- readonly code: "custom";
1955
- readonly params?: {
1886
+ code: "too_big";
1887
+ maximum: number;
1888
+ inclusive: boolean;
1889
+ exact?: boolean | undefined;
1890
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1891
+ path: (string | number)[];
1892
+ message: string;
1893
+ fatal?: boolean | undefined | undefined;
1894
+ } | {
1895
+ code: "invalid_intersection_types";
1896
+ path: (string | number)[];
1897
+ message: string;
1898
+ fatal?: boolean | undefined | undefined;
1899
+ } | {
1900
+ code: "not_multiple_of";
1901
+ multipleOf: number;
1902
+ path: (string | number)[];
1903
+ message: string;
1904
+ fatal?: boolean | undefined | undefined;
1905
+ } | {
1906
+ code: "not_finite";
1907
+ path: (string | number)[];
1908
+ message: string;
1909
+ fatal?: boolean | undefined | undefined;
1910
+ } | {
1911
+ code: "custom";
1912
+ params?: {
1956
1913
  [x: string]: any;
1957
1914
  } | undefined;
1958
- readonly input?: hono_utils_types0.JSONValue | undefined;
1959
- readonly path: (string | number | null)[];
1960
- readonly message: string;
1915
+ path: (string | number)[];
1916
+ message: string;
1917
+ fatal?: boolean | undefined | undefined;
1961
1918
  })[];
1962
- readonly input?: hono_utils_types0.JSONValue | undefined;
1963
- readonly path: (string | number | null)[];
1964
- readonly message: string;
1965
- } | /*elided*/any | {
1966
- readonly code: "invalid_value";
1967
- readonly values: (string | number | boolean | null)[];
1968
- readonly input?: hono_utils_types0.JSONValue | undefined;
1969
- readonly path: (string | number | null)[];
1970
1919
  readonly message: string;
1920
+ readonly isEmpty: boolean;
1921
+ addIssue: never;
1922
+ addIssues: never;
1923
+ readonly formErrors: {
1924
+ formErrors: string[];
1925
+ fieldErrors: {
1926
+ [x: string]: string[] | undefined;
1927
+ [x: number]: string[] | undefined;
1928
+ };
1929
+ };
1930
+ name: string;
1931
+ stack?: string | undefined;
1932
+ cause?: hono_utils_types0.JSONValue | undefined;
1933
+ };
1934
+ path: (string | number)[];
1935
+ message: string;
1936
+ fatal?: boolean | undefined | undefined;
1937
+ } | {
1938
+ code: "invalid_date";
1939
+ path: (string | number)[];
1940
+ message: string;
1941
+ fatal?: boolean | undefined | undefined;
1942
+ } | {
1943
+ code: "invalid_string";
1944
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1945
+ includes: string;
1946
+ position?: number | undefined | undefined;
1971
1947
  } | {
1972
- readonly code: "custom";
1973
- readonly params?: {
1974
- [x: string]: any;
1975
- } | undefined;
1976
- readonly input?: hono_utils_types0.JSONValue | undefined;
1977
- readonly path: (string | number | null)[];
1978
- readonly message: string;
1979
- })[];
1980
- readonly input?: hono_utils_types0.JSONValue | undefined;
1981
- readonly path: (string | number | null)[];
1982
- readonly message: string;
1948
+ startsWith: string;
1949
+ } | {
1950
+ endsWith: string;
1951
+ };
1952
+ path: (string | number)[];
1953
+ message: string;
1954
+ fatal?: boolean | undefined | undefined;
1983
1955
  } | {
1984
- readonly code: "invalid_value";
1985
- readonly values: (string | number | boolean | null)[];
1986
- readonly input?: hono_utils_types0.JSONValue | undefined;
1987
- readonly path: (string | number | null)[];
1988
- readonly message: string;
1956
+ code: "too_small";
1957
+ minimum: number;
1958
+ inclusive: boolean;
1959
+ exact?: boolean | undefined;
1960
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1961
+ path: (string | number)[];
1962
+ message: string;
1963
+ fatal?: boolean | undefined | undefined;
1989
1964
  } | {
1990
- readonly code: "custom";
1991
- readonly params?: {
1965
+ code: "too_big";
1966
+ maximum: number;
1967
+ inclusive: boolean;
1968
+ exact?: boolean | undefined;
1969
+ type: "array" | "string" | "number" | "set" | "date" | "bigint";
1970
+ path: (string | number)[];
1971
+ message: string;
1972
+ fatal?: boolean | undefined | undefined;
1973
+ } | {
1974
+ code: "invalid_intersection_types";
1975
+ path: (string | number)[];
1976
+ message: string;
1977
+ fatal?: boolean | undefined | undefined;
1978
+ } | {
1979
+ code: "not_multiple_of";
1980
+ multipleOf: number;
1981
+ path: (string | number)[];
1982
+ message: string;
1983
+ fatal?: boolean | undefined | undefined;
1984
+ } | {
1985
+ code: "not_finite";
1986
+ path: (string | number)[];
1987
+ message: string;
1988
+ fatal?: boolean | undefined | undefined;
1989
+ } | {
1990
+ code: "custom";
1991
+ params?: {
1992
1992
  [x: string]: any;
1993
1993
  } | undefined;
1994
- readonly input?: hono_utils_types0.JSONValue | undefined;
1995
- readonly path: (string | number | null)[];
1996
- readonly message: string;
1994
+ path: (string | number)[];
1995
+ message: string;
1996
+ fatal?: boolean | undefined | undefined;
1997
1997
  })[];
1998
1998
  };
1999
1999
  outputFormat: "json";