@gnosticdev/hono-actions 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions.d.mts +380 -0
- package/dist/actions.mjs +132 -0
- package/dist/{index.d.ts → index.d.mts} +10 -9
- package/dist/index.mjs +418 -0
- package/package.json +14 -13
- package/dist/actions.d.ts +0 -1371
- package/dist/actions.js +0 -87
- package/dist/index.js +0 -436
package/dist/actions.d.ts
DELETED
|
@@ -1,1371 +0,0 @@
|
|
|
1
|
-
import * as hono_hono_base from 'hono/hono-base';
|
|
2
|
-
import * as hono_utils_types from 'hono/utils/types';
|
|
3
|
-
import * as zod_v3 from 'zod/v3';
|
|
4
|
-
import { z } from 'astro/zod';
|
|
5
|
-
import { Hono, Context } from 'hono';
|
|
6
|
-
import { MergeSchemaPath } from 'hono/types';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Standard error codes for actions
|
|
10
|
-
*/
|
|
11
|
-
type ActionErrorCode = 'INPUT_VALIDATION_ERROR' | 'EXTERNAL_API_ERROR' | 'INTERNAL_SERVER_ERROR' | 'UNKNOWN_ERROR' | 'LOCATION_NOT_FOUND' | 'SESSION_NOT_FOUND' | (string & {});
|
|
12
|
-
declare class HonoActionError<TMessage extends string, TCode extends ActionErrorCode, TIssue = any> extends Error {
|
|
13
|
-
code: TCode;
|
|
14
|
-
issue?: TIssue;
|
|
15
|
-
constructor({ message, code, issue, }: {
|
|
16
|
-
message: TMessage;
|
|
17
|
-
code: TCode;
|
|
18
|
-
issue?: TIssue;
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface Bindings {
|
|
23
|
-
}
|
|
24
|
-
interface Variables {
|
|
25
|
-
/** Variables */
|
|
26
|
-
[key: string]: unknown;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* HonoEnv is passed to the Hono context to provide types on `ctx.env`.
|
|
30
|
-
*
|
|
31
|
-
* We are using `HonoEnv` to avoid confusion with the Cloudflare types on `Env` -> which cooresponds to `Bindings`
|
|
32
|
-
*
|
|
33
|
-
* * **NOTE** For Cloudflare users, you can declare this in your src/env.d.ts file to get strong
|
|
34
|
-
* typing for `ctx.env`.
|
|
35
|
-
*
|
|
36
|
-
* ```ts
|
|
37
|
-
* declare namespace App {
|
|
38
|
-
* interface Locals extends Runtime {}
|
|
39
|
-
* }
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
interface HonoEnv {
|
|
43
|
-
Bindings: Bindings;
|
|
44
|
-
Variables: Variables;
|
|
45
|
-
}
|
|
46
|
-
type HonoActionSchema = z.ZodType;
|
|
47
|
-
/**
|
|
48
|
-
* Merge each action key into its route path.
|
|
49
|
-
*
|
|
50
|
-
* Given a map of actions where each `Hono` app defines handlers at `"/"`, this
|
|
51
|
-
* transforms the schema so each action's path becomes `"/${key}"`.
|
|
52
|
-
*
|
|
53
|
-
* Example:
|
|
54
|
-
* ```ts
|
|
55
|
-
* const honoActions: {
|
|
56
|
-
* myAction: Hono<HonoEnv, { '/': { $post: any } }, '/'>
|
|
57
|
-
* anotherAction: Hono<HonoEnv, { '/': { $post: any } }, '/'>
|
|
58
|
-
* }
|
|
59
|
-
*
|
|
60
|
-
* type ActionsWithKeyedPaths = MergeActionKeyIntoPath<typeof honoActions>
|
|
61
|
-
* // => {
|
|
62
|
-
* // myAction: Hono<HonoEnv, { '/myAction': { $post: any } }, '/'>
|
|
63
|
-
* // anotherAction: Hono<HonoEnv, { '/anotherAction': { $post: any } }, '/'>
|
|
64
|
-
* // }
|
|
65
|
-
* ```
|
|
66
|
-
*/
|
|
67
|
-
type MergeActionKeyIntoPath<TActions extends Record<string, Hono<any, any, any>>> = {
|
|
68
|
-
[K in keyof TActions]: TActions[K] extends Hono<infer TEnv, infer TSchema, infer TBase> ? Hono<TEnv, MergeSchemaPath<TSchema, `/${Extract<K, string>}`>, TBase> : never;
|
|
69
|
-
};
|
|
70
|
-
type HonoActionParams<TSchema extends HonoActionSchema, TReturn, TEnv extends HonoEnv, TContext extends Context<TEnv, any, any>> = {
|
|
71
|
-
schema?: TSchema;
|
|
72
|
-
handler: (params: z.output<TSchema>, context: TContext extends infer Ctx ? Ctx : never) => Promise<TReturn>;
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Defines a POST route with Zod validation for the request body.
|
|
76
|
-
*
|
|
77
|
-
* @param schema - The Zod schema for validation (optional).
|
|
78
|
-
* @param handler - The handler function for the action.
|
|
79
|
-
* @returns A Hono app instance with the defined route
|
|
80
|
-
*/
|
|
81
|
-
declare function defineHonoAction<TEnv extends HonoEnv, TSchema extends HonoActionSchema, TReturn, TContext extends Context<TEnv, any, any>>({ schema, handler }: HonoActionParams<TSchema, TReturn, TEnv, TContext>): hono_hono_base.HonoBase<TEnv, {
|
|
82
|
-
"/": {
|
|
83
|
-
$post: {
|
|
84
|
-
input: unknown extends ((undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? true : false) extends true ? {
|
|
85
|
-
json?: ([TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_2 ? { [K_2 in keyof T_2]: ([Exclude<T_2[K_2], undefined>] extends [string] ? [string & Exclude<T_2[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_2[K_2], undefined>>] ? false : true : false) extends true ? T_2[K_2] : ([unknown] extends [T_2[K_2]] ? false : undefined extends T_2[K_2] ? true : false) extends true ? T_2[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_1 ? { [K_1 in keyof T_1]: T_1[K_1]; } : never) extends infer T ? { [K in keyof T]: T[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_5 ? { [K_5 in keyof T_5]: ([Exclude<T_5[K_5], undefined>] extends [string] ? [string & Exclude<T_5[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_5[K_5], undefined>>] ? false : true : false) extends true ? T_5[K_5] : ([unknown] extends [T_5[K_5]] ? false : undefined extends T_5[K_5] ? true : false) extends true ? T_5[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_4 ? { [K_4 in keyof T_4]: T_4[K_4]; } : never) extends infer T_3 ? { [K_3 in keyof T_3]: T_3[K_3]; } : never : {}) | undefined;
|
|
86
|
-
} : {
|
|
87
|
-
json: [TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_8 ? { [K_2 in keyof T_8]: ([Exclude<T_8[K_2], undefined>] extends [string] ? [string & Exclude<T_8[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_8[K_2], undefined>>] ? false : true : false) extends true ? T_8[K_2] : ([unknown] extends [T_8[K_2]] ? false : undefined extends T_8[K_2] ? true : false) extends true ? T_8[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_7 ? { [K_1 in keyof T_7]: T_7[K_1]; } : never) extends infer T_6 ? { [K in keyof T_6]: T_6[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_11 ? { [K_5 in keyof T_11]: ([Exclude<T_11[K_5], undefined>] extends [string] ? [string & Exclude<T_11[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_11[K_5], undefined>>] ? false : true : false) extends true ? T_11[K_5] : ([unknown] extends [T_11[K_5]] ? false : undefined extends T_11[K_5] ? true : false) extends true ? T_11[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_10 ? { [K_4 in keyof T_10]: T_10[K_4]; } : never) extends infer T_9 ? { [K_3 in keyof T_9]: T_9[K_3]; } : never : {};
|
|
88
|
-
}) ? {} : (undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? true : false) extends true ? {
|
|
89
|
-
json?: ([TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_14 ? { [K_2 in keyof T_14]: ([Exclude<T_14[K_2], undefined>] extends [string] ? [string & Exclude<T_14[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_14[K_2], undefined>>] ? false : true : false) extends true ? T_14[K_2] : ([unknown] extends [T_14[K_2]] ? false : undefined extends T_14[K_2] ? true : false) extends true ? T_14[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_13 ? { [K_1 in keyof T_13]: T_13[K_1]; } : never) extends infer T_12 ? { [K in keyof T_12]: T_12[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_17 ? { [K_5 in keyof T_17]: ([Exclude<T_17[K_5], undefined>] extends [string] ? [string & Exclude<T_17[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_17[K_5], undefined>>] ? false : true : false) extends true ? T_17[K_5] : ([unknown] extends [T_17[K_5]] ? false : undefined extends T_17[K_5] ? true : false) extends true ? T_17[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_16 ? { [K_4 in keyof T_16]: T_16[K_4]; } : never) extends infer T_15 ? { [K_3 in keyof T_15]: T_15[K_3]; } : never : {}) | undefined;
|
|
90
|
-
} : {
|
|
91
|
-
json: [TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_20 ? { [K_2 in keyof T_20]: ([Exclude<T_20[K_2], undefined>] extends [string] ? [string & Exclude<T_20[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_20[K_2], undefined>>] ? false : true : false) extends true ? T_20[K_2] : ([unknown] extends [T_20[K_2]] ? false : undefined extends T_20[K_2] ? true : false) extends true ? T_20[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_19 ? { [K_1 in keyof T_19]: T_19[K_1]; } : never) extends infer T_18 ? { [K in keyof T_18]: T_18[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_23 ? { [K_5 in keyof T_23]: ([Exclude<T_23[K_5], undefined>] extends [string] ? [string & Exclude<T_23[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_23[K_5], undefined>>] ? false : true : false) extends true ? T_23[K_5] : ([unknown] extends [T_23[K_5]] ? false : undefined extends T_23[K_5] ? true : false) extends true ? T_23[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_22 ? { [K_4 in keyof T_22]: T_22[K_4]; } : never) extends infer T_21 ? { [K_3 in keyof T_21]: T_21[K_3]; } : never : {};
|
|
92
|
-
};
|
|
93
|
-
output: {
|
|
94
|
-
data: null;
|
|
95
|
-
error: {
|
|
96
|
-
code: "INPUT_VALIDATION_ERROR";
|
|
97
|
-
issue?: {
|
|
98
|
-
readonly code: "invalid_type";
|
|
99
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
100
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
101
|
-
readonly path: (string | number | null)[];
|
|
102
|
-
readonly message: string;
|
|
103
|
-
} | {
|
|
104
|
-
readonly code: "too_big";
|
|
105
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
106
|
-
readonly maximum: number;
|
|
107
|
-
readonly inclusive?: boolean | undefined;
|
|
108
|
-
readonly exact?: boolean | undefined;
|
|
109
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
110
|
-
readonly path: (string | number | null)[];
|
|
111
|
-
readonly message: string;
|
|
112
|
-
} | {
|
|
113
|
-
readonly code: "too_small";
|
|
114
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
115
|
-
readonly minimum: number;
|
|
116
|
-
readonly inclusive?: boolean | undefined;
|
|
117
|
-
readonly exact?: boolean | undefined;
|
|
118
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
119
|
-
readonly path: (string | number | null)[];
|
|
120
|
-
readonly message: string;
|
|
121
|
-
} | {
|
|
122
|
-
readonly code: "invalid_format";
|
|
123
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
124
|
-
readonly pattern?: string | undefined;
|
|
125
|
-
readonly input?: string | undefined;
|
|
126
|
-
readonly path: (string | number | null)[];
|
|
127
|
-
readonly message: string;
|
|
128
|
-
} | {
|
|
129
|
-
readonly code: "not_multiple_of";
|
|
130
|
-
readonly divisor: number;
|
|
131
|
-
readonly input?: number | undefined;
|
|
132
|
-
readonly path: (string | number | null)[];
|
|
133
|
-
readonly message: string;
|
|
134
|
-
} | {
|
|
135
|
-
readonly code: "unrecognized_keys";
|
|
136
|
-
readonly keys: string[];
|
|
137
|
-
readonly input?: {
|
|
138
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
139
|
-
} | undefined;
|
|
140
|
-
readonly path: (string | number | null)[];
|
|
141
|
-
readonly message: string;
|
|
142
|
-
} | {
|
|
143
|
-
readonly code: "invalid_union";
|
|
144
|
-
readonly errors: ({
|
|
145
|
-
readonly code: "invalid_type";
|
|
146
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
147
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
148
|
-
readonly path: (string | number | null)[];
|
|
149
|
-
readonly message: string;
|
|
150
|
-
} | {
|
|
151
|
-
readonly code: "too_big";
|
|
152
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
153
|
-
readonly maximum: number;
|
|
154
|
-
readonly inclusive?: boolean | undefined;
|
|
155
|
-
readonly exact?: boolean | undefined;
|
|
156
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
157
|
-
readonly path: (string | number | null)[];
|
|
158
|
-
readonly message: string;
|
|
159
|
-
} | {
|
|
160
|
-
readonly code: "too_small";
|
|
161
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
162
|
-
readonly minimum: number;
|
|
163
|
-
readonly inclusive?: boolean | undefined;
|
|
164
|
-
readonly exact?: boolean | undefined;
|
|
165
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
166
|
-
readonly path: (string | number | null)[];
|
|
167
|
-
readonly message: string;
|
|
168
|
-
} | {
|
|
169
|
-
readonly code: "invalid_format";
|
|
170
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
171
|
-
readonly pattern?: string | undefined;
|
|
172
|
-
readonly input?: string | undefined;
|
|
173
|
-
readonly path: (string | number | null)[];
|
|
174
|
-
readonly message: string;
|
|
175
|
-
} | {
|
|
176
|
-
readonly code: "not_multiple_of";
|
|
177
|
-
readonly divisor: number;
|
|
178
|
-
readonly input?: number | undefined;
|
|
179
|
-
readonly path: (string | number | null)[];
|
|
180
|
-
readonly message: string;
|
|
181
|
-
} | {
|
|
182
|
-
readonly code: "unrecognized_keys";
|
|
183
|
-
readonly keys: string[];
|
|
184
|
-
readonly input?: {
|
|
185
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
186
|
-
} | undefined;
|
|
187
|
-
readonly path: (string | number | null)[];
|
|
188
|
-
readonly message: string;
|
|
189
|
-
} | /*elided*/ any | {
|
|
190
|
-
readonly code: "invalid_union";
|
|
191
|
-
readonly errors: [];
|
|
192
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
193
|
-
readonly discriminator?: string | undefined | undefined;
|
|
194
|
-
readonly inclusive: false;
|
|
195
|
-
readonly path: (string | number | null)[];
|
|
196
|
-
readonly message: string;
|
|
197
|
-
} | {
|
|
198
|
-
readonly code: "invalid_key";
|
|
199
|
-
readonly origin: "map" | "record";
|
|
200
|
-
readonly issues: ({
|
|
201
|
-
readonly code: "invalid_type";
|
|
202
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
203
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
204
|
-
readonly path: (string | number | null)[];
|
|
205
|
-
readonly message: string;
|
|
206
|
-
} | {
|
|
207
|
-
readonly code: "too_big";
|
|
208
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
209
|
-
readonly maximum: number;
|
|
210
|
-
readonly inclusive?: boolean | undefined;
|
|
211
|
-
readonly exact?: boolean | undefined;
|
|
212
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
213
|
-
readonly path: (string | number | null)[];
|
|
214
|
-
readonly message: string;
|
|
215
|
-
} | {
|
|
216
|
-
readonly code: "too_small";
|
|
217
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
218
|
-
readonly minimum: number;
|
|
219
|
-
readonly inclusive?: boolean | undefined;
|
|
220
|
-
readonly exact?: boolean | undefined;
|
|
221
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
222
|
-
readonly path: (string | number | null)[];
|
|
223
|
-
readonly message: string;
|
|
224
|
-
} | {
|
|
225
|
-
readonly code: "invalid_format";
|
|
226
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
227
|
-
readonly pattern?: string | undefined;
|
|
228
|
-
readonly input?: string | undefined;
|
|
229
|
-
readonly path: (string | number | null)[];
|
|
230
|
-
readonly message: string;
|
|
231
|
-
} | {
|
|
232
|
-
readonly code: "not_multiple_of";
|
|
233
|
-
readonly divisor: number;
|
|
234
|
-
readonly input?: number | undefined;
|
|
235
|
-
readonly path: (string | number | null)[];
|
|
236
|
-
readonly message: string;
|
|
237
|
-
} | {
|
|
238
|
-
readonly code: "unrecognized_keys";
|
|
239
|
-
readonly keys: string[];
|
|
240
|
-
readonly input?: {
|
|
241
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
242
|
-
} | undefined;
|
|
243
|
-
readonly path: (string | number | null)[];
|
|
244
|
-
readonly message: string;
|
|
245
|
-
} | /*elided*/ any | {
|
|
246
|
-
readonly code: "invalid_union";
|
|
247
|
-
readonly errors: [];
|
|
248
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
249
|
-
readonly discriminator?: string | undefined | undefined;
|
|
250
|
-
readonly inclusive: false;
|
|
251
|
-
readonly path: (string | number | null)[];
|
|
252
|
-
readonly message: string;
|
|
253
|
-
} | /*elided*/ any | {
|
|
254
|
-
readonly code: "invalid_element";
|
|
255
|
-
readonly origin: "map" | "set";
|
|
256
|
-
readonly key: hono_utils_types.JSONValue;
|
|
257
|
-
readonly issues: ({
|
|
258
|
-
readonly code: "invalid_type";
|
|
259
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
260
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
261
|
-
readonly path: (string | number | null)[];
|
|
262
|
-
readonly message: string;
|
|
263
|
-
} | {
|
|
264
|
-
readonly code: "too_big";
|
|
265
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
266
|
-
readonly maximum: number;
|
|
267
|
-
readonly inclusive?: boolean | undefined;
|
|
268
|
-
readonly exact?: boolean | undefined;
|
|
269
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
270
|
-
readonly path: (string | number | null)[];
|
|
271
|
-
readonly message: string;
|
|
272
|
-
} | {
|
|
273
|
-
readonly code: "too_small";
|
|
274
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
275
|
-
readonly minimum: number;
|
|
276
|
-
readonly inclusive?: boolean | undefined;
|
|
277
|
-
readonly exact?: boolean | undefined;
|
|
278
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
279
|
-
readonly path: (string | number | null)[];
|
|
280
|
-
readonly message: string;
|
|
281
|
-
} | {
|
|
282
|
-
readonly code: "invalid_format";
|
|
283
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
284
|
-
readonly pattern?: string | undefined;
|
|
285
|
-
readonly input?: string | undefined;
|
|
286
|
-
readonly path: (string | number | null)[];
|
|
287
|
-
readonly message: string;
|
|
288
|
-
} | {
|
|
289
|
-
readonly code: "not_multiple_of";
|
|
290
|
-
readonly divisor: number;
|
|
291
|
-
readonly input?: number | undefined;
|
|
292
|
-
readonly path: (string | number | null)[];
|
|
293
|
-
readonly message: string;
|
|
294
|
-
} | {
|
|
295
|
-
readonly code: "unrecognized_keys";
|
|
296
|
-
readonly keys: string[];
|
|
297
|
-
readonly input?: {
|
|
298
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
299
|
-
} | undefined;
|
|
300
|
-
readonly path: (string | number | null)[];
|
|
301
|
-
readonly message: string;
|
|
302
|
-
} | /*elided*/ any | {
|
|
303
|
-
readonly code: "invalid_union";
|
|
304
|
-
readonly errors: [];
|
|
305
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
306
|
-
readonly discriminator?: string | undefined | undefined;
|
|
307
|
-
readonly inclusive: false;
|
|
308
|
-
readonly path: (string | number | null)[];
|
|
309
|
-
readonly message: string;
|
|
310
|
-
} | /*elided*/ any | /*elided*/ any | {
|
|
311
|
-
readonly code: "invalid_value";
|
|
312
|
-
readonly values: (string | number | boolean | null)[];
|
|
313
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
314
|
-
readonly path: (string | number | null)[];
|
|
315
|
-
readonly message: string;
|
|
316
|
-
} | {
|
|
317
|
-
readonly code: "custom";
|
|
318
|
-
readonly params?: {
|
|
319
|
-
[x: string]: any;
|
|
320
|
-
} | undefined;
|
|
321
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
322
|
-
readonly path: (string | number | null)[];
|
|
323
|
-
readonly message: string;
|
|
324
|
-
})[];
|
|
325
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
326
|
-
readonly path: (string | number | null)[];
|
|
327
|
-
readonly message: string;
|
|
328
|
-
} | {
|
|
329
|
-
readonly code: "invalid_value";
|
|
330
|
-
readonly values: (string | number | boolean | null)[];
|
|
331
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
332
|
-
readonly path: (string | number | null)[];
|
|
333
|
-
readonly message: string;
|
|
334
|
-
} | {
|
|
335
|
-
readonly code: "custom";
|
|
336
|
-
readonly params?: {
|
|
337
|
-
[x: string]: any;
|
|
338
|
-
} | undefined;
|
|
339
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
340
|
-
readonly path: (string | number | null)[];
|
|
341
|
-
readonly message: string;
|
|
342
|
-
})[];
|
|
343
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
344
|
-
readonly path: (string | number | null)[];
|
|
345
|
-
readonly message: string;
|
|
346
|
-
} | {
|
|
347
|
-
readonly code: "invalid_element";
|
|
348
|
-
readonly origin: "map" | "set";
|
|
349
|
-
readonly key: hono_utils_types.JSONValue;
|
|
350
|
-
readonly issues: ({
|
|
351
|
-
readonly code: "invalid_type";
|
|
352
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
353
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
354
|
-
readonly path: (string | number | null)[];
|
|
355
|
-
readonly message: string;
|
|
356
|
-
} | {
|
|
357
|
-
readonly code: "too_big";
|
|
358
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
359
|
-
readonly maximum: number;
|
|
360
|
-
readonly inclusive?: boolean | undefined;
|
|
361
|
-
readonly exact?: boolean | undefined;
|
|
362
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
363
|
-
readonly path: (string | number | null)[];
|
|
364
|
-
readonly message: string;
|
|
365
|
-
} | {
|
|
366
|
-
readonly code: "too_small";
|
|
367
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
368
|
-
readonly minimum: number;
|
|
369
|
-
readonly inclusive?: boolean | undefined;
|
|
370
|
-
readonly exact?: boolean | undefined;
|
|
371
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
372
|
-
readonly path: (string | number | null)[];
|
|
373
|
-
readonly message: string;
|
|
374
|
-
} | {
|
|
375
|
-
readonly code: "invalid_format";
|
|
376
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
377
|
-
readonly pattern?: string | undefined;
|
|
378
|
-
readonly input?: string | undefined;
|
|
379
|
-
readonly path: (string | number | null)[];
|
|
380
|
-
readonly message: string;
|
|
381
|
-
} | {
|
|
382
|
-
readonly code: "not_multiple_of";
|
|
383
|
-
readonly divisor: number;
|
|
384
|
-
readonly input?: number | undefined;
|
|
385
|
-
readonly path: (string | number | null)[];
|
|
386
|
-
readonly message: string;
|
|
387
|
-
} | {
|
|
388
|
-
readonly code: "unrecognized_keys";
|
|
389
|
-
readonly keys: string[];
|
|
390
|
-
readonly input?: {
|
|
391
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
392
|
-
} | undefined;
|
|
393
|
-
readonly path: (string | number | null)[];
|
|
394
|
-
readonly message: string;
|
|
395
|
-
} | /*elided*/ any | {
|
|
396
|
-
readonly code: "invalid_union";
|
|
397
|
-
readonly errors: [];
|
|
398
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
399
|
-
readonly discriminator?: string | undefined | undefined;
|
|
400
|
-
readonly inclusive: false;
|
|
401
|
-
readonly path: (string | number | null)[];
|
|
402
|
-
readonly message: string;
|
|
403
|
-
} | {
|
|
404
|
-
readonly code: "invalid_key";
|
|
405
|
-
readonly origin: "map" | "record";
|
|
406
|
-
readonly issues: ({
|
|
407
|
-
readonly code: "invalid_type";
|
|
408
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
409
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
410
|
-
readonly path: (string | number | null)[];
|
|
411
|
-
readonly message: string;
|
|
412
|
-
} | {
|
|
413
|
-
readonly code: "too_big";
|
|
414
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
415
|
-
readonly maximum: number;
|
|
416
|
-
readonly inclusive?: boolean | undefined;
|
|
417
|
-
readonly exact?: boolean | undefined;
|
|
418
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
419
|
-
readonly path: (string | number | null)[];
|
|
420
|
-
readonly message: string;
|
|
421
|
-
} | {
|
|
422
|
-
readonly code: "too_small";
|
|
423
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
424
|
-
readonly minimum: number;
|
|
425
|
-
readonly inclusive?: boolean | undefined;
|
|
426
|
-
readonly exact?: boolean | undefined;
|
|
427
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
428
|
-
readonly path: (string | number | null)[];
|
|
429
|
-
readonly message: string;
|
|
430
|
-
} | {
|
|
431
|
-
readonly code: "invalid_format";
|
|
432
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
433
|
-
readonly pattern?: string | undefined;
|
|
434
|
-
readonly input?: string | undefined;
|
|
435
|
-
readonly path: (string | number | null)[];
|
|
436
|
-
readonly message: string;
|
|
437
|
-
} | {
|
|
438
|
-
readonly code: "not_multiple_of";
|
|
439
|
-
readonly divisor: number;
|
|
440
|
-
readonly input?: number | undefined;
|
|
441
|
-
readonly path: (string | number | null)[];
|
|
442
|
-
readonly message: string;
|
|
443
|
-
} | {
|
|
444
|
-
readonly code: "unrecognized_keys";
|
|
445
|
-
readonly keys: string[];
|
|
446
|
-
readonly input?: {
|
|
447
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
448
|
-
} | undefined;
|
|
449
|
-
readonly path: (string | number | null)[];
|
|
450
|
-
readonly message: string;
|
|
451
|
-
} | /*elided*/ any | {
|
|
452
|
-
readonly code: "invalid_union";
|
|
453
|
-
readonly errors: [];
|
|
454
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
455
|
-
readonly discriminator?: string | undefined | undefined;
|
|
456
|
-
readonly inclusive: false;
|
|
457
|
-
readonly path: (string | number | null)[];
|
|
458
|
-
readonly message: string;
|
|
459
|
-
} | /*elided*/ any | /*elided*/ any | {
|
|
460
|
-
readonly code: "invalid_value";
|
|
461
|
-
readonly values: (string | number | boolean | null)[];
|
|
462
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
463
|
-
readonly path: (string | number | null)[];
|
|
464
|
-
readonly message: string;
|
|
465
|
-
} | {
|
|
466
|
-
readonly code: "custom";
|
|
467
|
-
readonly params?: {
|
|
468
|
-
[x: string]: any;
|
|
469
|
-
} | undefined;
|
|
470
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
471
|
-
readonly path: (string | number | null)[];
|
|
472
|
-
readonly message: string;
|
|
473
|
-
})[];
|
|
474
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
475
|
-
readonly path: (string | number | null)[];
|
|
476
|
-
readonly message: string;
|
|
477
|
-
} | /*elided*/ any | {
|
|
478
|
-
readonly code: "invalid_value";
|
|
479
|
-
readonly values: (string | number | boolean | null)[];
|
|
480
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
481
|
-
readonly path: (string | number | null)[];
|
|
482
|
-
readonly message: string;
|
|
483
|
-
} | {
|
|
484
|
-
readonly code: "custom";
|
|
485
|
-
readonly params?: {
|
|
486
|
-
[x: string]: any;
|
|
487
|
-
} | undefined;
|
|
488
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
489
|
-
readonly path: (string | number | null)[];
|
|
490
|
-
readonly message: string;
|
|
491
|
-
})[];
|
|
492
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
493
|
-
readonly path: (string | number | null)[];
|
|
494
|
-
readonly message: string;
|
|
495
|
-
} | {
|
|
496
|
-
readonly code: "invalid_value";
|
|
497
|
-
readonly values: (string | number | boolean | null)[];
|
|
498
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
499
|
-
readonly path: (string | number | null)[];
|
|
500
|
-
readonly message: string;
|
|
501
|
-
} | {
|
|
502
|
-
readonly code: "custom";
|
|
503
|
-
readonly params?: {
|
|
504
|
-
[x: string]: any;
|
|
505
|
-
} | undefined;
|
|
506
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
507
|
-
readonly path: (string | number | null)[];
|
|
508
|
-
readonly message: string;
|
|
509
|
-
})[][];
|
|
510
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
511
|
-
readonly discriminator?: string | undefined | undefined;
|
|
512
|
-
readonly inclusive?: true | undefined;
|
|
513
|
-
readonly path: (string | number | null)[];
|
|
514
|
-
readonly message: string;
|
|
515
|
-
} | {
|
|
516
|
-
readonly code: "invalid_union";
|
|
517
|
-
readonly errors: [];
|
|
518
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
519
|
-
readonly discriminator?: string | undefined | undefined;
|
|
520
|
-
readonly inclusive: false;
|
|
521
|
-
readonly path: (string | number | null)[];
|
|
522
|
-
readonly message: string;
|
|
523
|
-
} | {
|
|
524
|
-
readonly code: "invalid_key";
|
|
525
|
-
readonly origin: "map" | "record";
|
|
526
|
-
readonly issues: ({
|
|
527
|
-
readonly code: "invalid_type";
|
|
528
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
529
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
530
|
-
readonly path: (string | number | null)[];
|
|
531
|
-
readonly message: string;
|
|
532
|
-
} | {
|
|
533
|
-
readonly code: "too_big";
|
|
534
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
535
|
-
readonly maximum: number;
|
|
536
|
-
readonly inclusive?: boolean | undefined;
|
|
537
|
-
readonly exact?: boolean | undefined;
|
|
538
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
539
|
-
readonly path: (string | number | null)[];
|
|
540
|
-
readonly message: string;
|
|
541
|
-
} | {
|
|
542
|
-
readonly code: "too_small";
|
|
543
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
544
|
-
readonly minimum: number;
|
|
545
|
-
readonly inclusive?: boolean | undefined;
|
|
546
|
-
readonly exact?: boolean | undefined;
|
|
547
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
548
|
-
readonly path: (string | number | null)[];
|
|
549
|
-
readonly message: string;
|
|
550
|
-
} | {
|
|
551
|
-
readonly code: "invalid_format";
|
|
552
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
553
|
-
readonly pattern?: string | undefined;
|
|
554
|
-
readonly input?: string | undefined;
|
|
555
|
-
readonly path: (string | number | null)[];
|
|
556
|
-
readonly message: string;
|
|
557
|
-
} | {
|
|
558
|
-
readonly code: "not_multiple_of";
|
|
559
|
-
readonly divisor: number;
|
|
560
|
-
readonly input?: number | undefined;
|
|
561
|
-
readonly path: (string | number | null)[];
|
|
562
|
-
readonly message: string;
|
|
563
|
-
} | {
|
|
564
|
-
readonly code: "unrecognized_keys";
|
|
565
|
-
readonly keys: string[];
|
|
566
|
-
readonly input?: {
|
|
567
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
568
|
-
} | undefined;
|
|
569
|
-
readonly path: (string | number | null)[];
|
|
570
|
-
readonly message: string;
|
|
571
|
-
} | {
|
|
572
|
-
readonly code: "invalid_union";
|
|
573
|
-
readonly errors: ({
|
|
574
|
-
readonly code: "invalid_type";
|
|
575
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
576
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
577
|
-
readonly path: (string | number | null)[];
|
|
578
|
-
readonly message: string;
|
|
579
|
-
} | {
|
|
580
|
-
readonly code: "too_big";
|
|
581
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
582
|
-
readonly maximum: number;
|
|
583
|
-
readonly inclusive?: boolean | undefined;
|
|
584
|
-
readonly exact?: boolean | undefined;
|
|
585
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
586
|
-
readonly path: (string | number | null)[];
|
|
587
|
-
readonly message: string;
|
|
588
|
-
} | {
|
|
589
|
-
readonly code: "too_small";
|
|
590
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
591
|
-
readonly minimum: number;
|
|
592
|
-
readonly inclusive?: boolean | undefined;
|
|
593
|
-
readonly exact?: boolean | undefined;
|
|
594
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
595
|
-
readonly path: (string | number | null)[];
|
|
596
|
-
readonly message: string;
|
|
597
|
-
} | {
|
|
598
|
-
readonly code: "invalid_format";
|
|
599
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
600
|
-
readonly pattern?: string | undefined;
|
|
601
|
-
readonly input?: string | undefined;
|
|
602
|
-
readonly path: (string | number | null)[];
|
|
603
|
-
readonly message: string;
|
|
604
|
-
} | {
|
|
605
|
-
readonly code: "not_multiple_of";
|
|
606
|
-
readonly divisor: number;
|
|
607
|
-
readonly input?: number | undefined;
|
|
608
|
-
readonly path: (string | number | null)[];
|
|
609
|
-
readonly message: string;
|
|
610
|
-
} | {
|
|
611
|
-
readonly code: "unrecognized_keys";
|
|
612
|
-
readonly keys: string[];
|
|
613
|
-
readonly input?: {
|
|
614
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
615
|
-
} | undefined;
|
|
616
|
-
readonly path: (string | number | null)[];
|
|
617
|
-
readonly message: string;
|
|
618
|
-
} | /*elided*/ any | {
|
|
619
|
-
readonly code: "invalid_union";
|
|
620
|
-
readonly errors: [];
|
|
621
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
622
|
-
readonly discriminator?: string | undefined | undefined;
|
|
623
|
-
readonly inclusive: false;
|
|
624
|
-
readonly path: (string | number | null)[];
|
|
625
|
-
readonly message: string;
|
|
626
|
-
} | /*elided*/ any | {
|
|
627
|
-
readonly code: "invalid_element";
|
|
628
|
-
readonly origin: "map" | "set";
|
|
629
|
-
readonly key: hono_utils_types.JSONValue;
|
|
630
|
-
readonly issues: ({
|
|
631
|
-
readonly code: "invalid_type";
|
|
632
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
633
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
634
|
-
readonly path: (string | number | null)[];
|
|
635
|
-
readonly message: string;
|
|
636
|
-
} | {
|
|
637
|
-
readonly code: "too_big";
|
|
638
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
639
|
-
readonly maximum: number;
|
|
640
|
-
readonly inclusive?: boolean | undefined;
|
|
641
|
-
readonly exact?: boolean | undefined;
|
|
642
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
643
|
-
readonly path: (string | number | null)[];
|
|
644
|
-
readonly message: string;
|
|
645
|
-
} | {
|
|
646
|
-
readonly code: "too_small";
|
|
647
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
648
|
-
readonly minimum: number;
|
|
649
|
-
readonly inclusive?: boolean | undefined;
|
|
650
|
-
readonly exact?: boolean | undefined;
|
|
651
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
652
|
-
readonly path: (string | number | null)[];
|
|
653
|
-
readonly message: string;
|
|
654
|
-
} | {
|
|
655
|
-
readonly code: "invalid_format";
|
|
656
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
657
|
-
readonly pattern?: string | undefined;
|
|
658
|
-
readonly input?: string | undefined;
|
|
659
|
-
readonly path: (string | number | null)[];
|
|
660
|
-
readonly message: string;
|
|
661
|
-
} | {
|
|
662
|
-
readonly code: "not_multiple_of";
|
|
663
|
-
readonly divisor: number;
|
|
664
|
-
readonly input?: number | undefined;
|
|
665
|
-
readonly path: (string | number | null)[];
|
|
666
|
-
readonly message: string;
|
|
667
|
-
} | {
|
|
668
|
-
readonly code: "unrecognized_keys";
|
|
669
|
-
readonly keys: string[];
|
|
670
|
-
readonly input?: {
|
|
671
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
672
|
-
} | undefined;
|
|
673
|
-
readonly path: (string | number | null)[];
|
|
674
|
-
readonly message: string;
|
|
675
|
-
} | /*elided*/ any | {
|
|
676
|
-
readonly code: "invalid_union";
|
|
677
|
-
readonly errors: [];
|
|
678
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
679
|
-
readonly discriminator?: string | undefined | undefined;
|
|
680
|
-
readonly inclusive: false;
|
|
681
|
-
readonly path: (string | number | null)[];
|
|
682
|
-
readonly message: string;
|
|
683
|
-
} | /*elided*/ any | /*elided*/ any | {
|
|
684
|
-
readonly code: "invalid_value";
|
|
685
|
-
readonly values: (string | number | boolean | null)[];
|
|
686
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
687
|
-
readonly path: (string | number | null)[];
|
|
688
|
-
readonly message: string;
|
|
689
|
-
} | {
|
|
690
|
-
readonly code: "custom";
|
|
691
|
-
readonly params?: {
|
|
692
|
-
[x: string]: any;
|
|
693
|
-
} | undefined;
|
|
694
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
695
|
-
readonly path: (string | number | null)[];
|
|
696
|
-
readonly message: string;
|
|
697
|
-
})[];
|
|
698
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
699
|
-
readonly path: (string | number | null)[];
|
|
700
|
-
readonly message: string;
|
|
701
|
-
} | {
|
|
702
|
-
readonly code: "invalid_value";
|
|
703
|
-
readonly values: (string | number | boolean | null)[];
|
|
704
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
705
|
-
readonly path: (string | number | null)[];
|
|
706
|
-
readonly message: string;
|
|
707
|
-
} | {
|
|
708
|
-
readonly code: "custom";
|
|
709
|
-
readonly params?: {
|
|
710
|
-
[x: string]: any;
|
|
711
|
-
} | undefined;
|
|
712
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
713
|
-
readonly path: (string | number | null)[];
|
|
714
|
-
readonly message: string;
|
|
715
|
-
})[][];
|
|
716
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
717
|
-
readonly discriminator?: string | undefined | undefined;
|
|
718
|
-
readonly inclusive?: true | undefined;
|
|
719
|
-
readonly path: (string | number | null)[];
|
|
720
|
-
readonly message: string;
|
|
721
|
-
} | {
|
|
722
|
-
readonly code: "invalid_union";
|
|
723
|
-
readonly errors: [];
|
|
724
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
725
|
-
readonly discriminator?: string | undefined | undefined;
|
|
726
|
-
readonly inclusive: false;
|
|
727
|
-
readonly path: (string | number | null)[];
|
|
728
|
-
readonly message: string;
|
|
729
|
-
} | /*elided*/ any | {
|
|
730
|
-
readonly code: "invalid_element";
|
|
731
|
-
readonly origin: "map" | "set";
|
|
732
|
-
readonly key: hono_utils_types.JSONValue;
|
|
733
|
-
readonly issues: ({
|
|
734
|
-
readonly code: "invalid_type";
|
|
735
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
736
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
737
|
-
readonly path: (string | number | null)[];
|
|
738
|
-
readonly message: string;
|
|
739
|
-
} | {
|
|
740
|
-
readonly code: "too_big";
|
|
741
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
742
|
-
readonly maximum: number;
|
|
743
|
-
readonly inclusive?: boolean | undefined;
|
|
744
|
-
readonly exact?: boolean | undefined;
|
|
745
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
746
|
-
readonly path: (string | number | null)[];
|
|
747
|
-
readonly message: string;
|
|
748
|
-
} | {
|
|
749
|
-
readonly code: "too_small";
|
|
750
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
751
|
-
readonly minimum: number;
|
|
752
|
-
readonly inclusive?: boolean | undefined;
|
|
753
|
-
readonly exact?: boolean | undefined;
|
|
754
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
755
|
-
readonly path: (string | number | null)[];
|
|
756
|
-
readonly message: string;
|
|
757
|
-
} | {
|
|
758
|
-
readonly code: "invalid_format";
|
|
759
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
760
|
-
readonly pattern?: string | undefined;
|
|
761
|
-
readonly input?: string | undefined;
|
|
762
|
-
readonly path: (string | number | null)[];
|
|
763
|
-
readonly message: string;
|
|
764
|
-
} | {
|
|
765
|
-
readonly code: "not_multiple_of";
|
|
766
|
-
readonly divisor: number;
|
|
767
|
-
readonly input?: number | undefined;
|
|
768
|
-
readonly path: (string | number | null)[];
|
|
769
|
-
readonly message: string;
|
|
770
|
-
} | {
|
|
771
|
-
readonly code: "unrecognized_keys";
|
|
772
|
-
readonly keys: string[];
|
|
773
|
-
readonly input?: {
|
|
774
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
775
|
-
} | undefined;
|
|
776
|
-
readonly path: (string | number | null)[];
|
|
777
|
-
readonly message: string;
|
|
778
|
-
} | {
|
|
779
|
-
readonly code: "invalid_union";
|
|
780
|
-
readonly errors: ({
|
|
781
|
-
readonly code: "invalid_type";
|
|
782
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
783
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
784
|
-
readonly path: (string | number | null)[];
|
|
785
|
-
readonly message: string;
|
|
786
|
-
} | {
|
|
787
|
-
readonly code: "too_big";
|
|
788
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
789
|
-
readonly maximum: number;
|
|
790
|
-
readonly inclusive?: boolean | undefined;
|
|
791
|
-
readonly exact?: boolean | undefined;
|
|
792
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
793
|
-
readonly path: (string | number | null)[];
|
|
794
|
-
readonly message: string;
|
|
795
|
-
} | {
|
|
796
|
-
readonly code: "too_small";
|
|
797
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
798
|
-
readonly minimum: number;
|
|
799
|
-
readonly inclusive?: boolean | undefined;
|
|
800
|
-
readonly exact?: boolean | undefined;
|
|
801
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
802
|
-
readonly path: (string | number | null)[];
|
|
803
|
-
readonly message: string;
|
|
804
|
-
} | {
|
|
805
|
-
readonly code: "invalid_format";
|
|
806
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
807
|
-
readonly pattern?: string | undefined;
|
|
808
|
-
readonly input?: string | undefined;
|
|
809
|
-
readonly path: (string | number | null)[];
|
|
810
|
-
readonly message: string;
|
|
811
|
-
} | {
|
|
812
|
-
readonly code: "not_multiple_of";
|
|
813
|
-
readonly divisor: number;
|
|
814
|
-
readonly input?: number | undefined;
|
|
815
|
-
readonly path: (string | number | null)[];
|
|
816
|
-
readonly message: string;
|
|
817
|
-
} | {
|
|
818
|
-
readonly code: "unrecognized_keys";
|
|
819
|
-
readonly keys: string[];
|
|
820
|
-
readonly input?: {
|
|
821
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
822
|
-
} | undefined;
|
|
823
|
-
readonly path: (string | number | null)[];
|
|
824
|
-
readonly message: string;
|
|
825
|
-
} | /*elided*/ any | {
|
|
826
|
-
readonly code: "invalid_union";
|
|
827
|
-
readonly errors: [];
|
|
828
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
829
|
-
readonly discriminator?: string | undefined | undefined;
|
|
830
|
-
readonly inclusive: false;
|
|
831
|
-
readonly path: (string | number | null)[];
|
|
832
|
-
readonly message: string;
|
|
833
|
-
} | /*elided*/ any | /*elided*/ any | {
|
|
834
|
-
readonly code: "invalid_value";
|
|
835
|
-
readonly values: (string | number | boolean | null)[];
|
|
836
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
837
|
-
readonly path: (string | number | null)[];
|
|
838
|
-
readonly message: string;
|
|
839
|
-
} | {
|
|
840
|
-
readonly code: "custom";
|
|
841
|
-
readonly params?: {
|
|
842
|
-
[x: string]: any;
|
|
843
|
-
} | undefined;
|
|
844
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
845
|
-
readonly path: (string | number | null)[];
|
|
846
|
-
readonly message: string;
|
|
847
|
-
})[][];
|
|
848
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
849
|
-
readonly discriminator?: string | undefined | undefined;
|
|
850
|
-
readonly inclusive?: true | undefined;
|
|
851
|
-
readonly path: (string | number | null)[];
|
|
852
|
-
readonly message: string;
|
|
853
|
-
} | {
|
|
854
|
-
readonly code: "invalid_union";
|
|
855
|
-
readonly errors: [];
|
|
856
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
857
|
-
readonly discriminator?: string | undefined | undefined;
|
|
858
|
-
readonly inclusive: false;
|
|
859
|
-
readonly path: (string | number | null)[];
|
|
860
|
-
readonly message: string;
|
|
861
|
-
} | /*elided*/ any | /*elided*/ any | {
|
|
862
|
-
readonly code: "invalid_value";
|
|
863
|
-
readonly values: (string | number | boolean | null)[];
|
|
864
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
865
|
-
readonly path: (string | number | null)[];
|
|
866
|
-
readonly message: string;
|
|
867
|
-
} | {
|
|
868
|
-
readonly code: "custom";
|
|
869
|
-
readonly params?: {
|
|
870
|
-
[x: string]: any;
|
|
871
|
-
} | undefined;
|
|
872
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
873
|
-
readonly path: (string | number | null)[];
|
|
874
|
-
readonly message: string;
|
|
875
|
-
})[];
|
|
876
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
877
|
-
readonly path: (string | number | null)[];
|
|
878
|
-
readonly message: string;
|
|
879
|
-
} | {
|
|
880
|
-
readonly code: "invalid_value";
|
|
881
|
-
readonly values: (string | number | boolean | null)[];
|
|
882
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
883
|
-
readonly path: (string | number | null)[];
|
|
884
|
-
readonly message: string;
|
|
885
|
-
} | {
|
|
886
|
-
readonly code: "custom";
|
|
887
|
-
readonly params?: {
|
|
888
|
-
[x: string]: any;
|
|
889
|
-
} | undefined;
|
|
890
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
891
|
-
readonly path: (string | number | null)[];
|
|
892
|
-
readonly message: string;
|
|
893
|
-
})[];
|
|
894
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
895
|
-
readonly path: (string | number | null)[];
|
|
896
|
-
readonly message: string;
|
|
897
|
-
} | {
|
|
898
|
-
readonly code: "invalid_element";
|
|
899
|
-
readonly origin: "map" | "set";
|
|
900
|
-
readonly key: hono_utils_types.JSONValue;
|
|
901
|
-
readonly issues: ({
|
|
902
|
-
readonly code: "invalid_type";
|
|
903
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
904
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
905
|
-
readonly path: (string | number | null)[];
|
|
906
|
-
readonly message: string;
|
|
907
|
-
} | {
|
|
908
|
-
readonly code: "too_big";
|
|
909
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
910
|
-
readonly maximum: number;
|
|
911
|
-
readonly inclusive?: boolean | undefined;
|
|
912
|
-
readonly exact?: boolean | undefined;
|
|
913
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
914
|
-
readonly path: (string | number | null)[];
|
|
915
|
-
readonly message: string;
|
|
916
|
-
} | {
|
|
917
|
-
readonly code: "too_small";
|
|
918
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
919
|
-
readonly minimum: number;
|
|
920
|
-
readonly inclusive?: boolean | undefined;
|
|
921
|
-
readonly exact?: boolean | undefined;
|
|
922
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
923
|
-
readonly path: (string | number | null)[];
|
|
924
|
-
readonly message: string;
|
|
925
|
-
} | {
|
|
926
|
-
readonly code: "invalid_format";
|
|
927
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
928
|
-
readonly pattern?: string | undefined;
|
|
929
|
-
readonly input?: string | undefined;
|
|
930
|
-
readonly path: (string | number | null)[];
|
|
931
|
-
readonly message: string;
|
|
932
|
-
} | {
|
|
933
|
-
readonly code: "not_multiple_of";
|
|
934
|
-
readonly divisor: number;
|
|
935
|
-
readonly input?: number | undefined;
|
|
936
|
-
readonly path: (string | number | null)[];
|
|
937
|
-
readonly message: string;
|
|
938
|
-
} | {
|
|
939
|
-
readonly code: "unrecognized_keys";
|
|
940
|
-
readonly keys: string[];
|
|
941
|
-
readonly input?: {
|
|
942
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
943
|
-
} | undefined;
|
|
944
|
-
readonly path: (string | number | null)[];
|
|
945
|
-
readonly message: string;
|
|
946
|
-
} | {
|
|
947
|
-
readonly code: "invalid_union";
|
|
948
|
-
readonly errors: ({
|
|
949
|
-
readonly code: "invalid_type";
|
|
950
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
951
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
952
|
-
readonly path: (string | number | null)[];
|
|
953
|
-
readonly message: string;
|
|
954
|
-
} | {
|
|
955
|
-
readonly code: "too_big";
|
|
956
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
957
|
-
readonly maximum: number;
|
|
958
|
-
readonly inclusive?: boolean | undefined;
|
|
959
|
-
readonly exact?: boolean | undefined;
|
|
960
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
961
|
-
readonly path: (string | number | null)[];
|
|
962
|
-
readonly message: string;
|
|
963
|
-
} | {
|
|
964
|
-
readonly code: "too_small";
|
|
965
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
966
|
-
readonly minimum: number;
|
|
967
|
-
readonly inclusive?: boolean | undefined;
|
|
968
|
-
readonly exact?: boolean | undefined;
|
|
969
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
970
|
-
readonly path: (string | number | null)[];
|
|
971
|
-
readonly message: string;
|
|
972
|
-
} | {
|
|
973
|
-
readonly code: "invalid_format";
|
|
974
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
975
|
-
readonly pattern?: string | undefined;
|
|
976
|
-
readonly input?: string | undefined;
|
|
977
|
-
readonly path: (string | number | null)[];
|
|
978
|
-
readonly message: string;
|
|
979
|
-
} | {
|
|
980
|
-
readonly code: "not_multiple_of";
|
|
981
|
-
readonly divisor: number;
|
|
982
|
-
readonly input?: number | undefined;
|
|
983
|
-
readonly path: (string | number | null)[];
|
|
984
|
-
readonly message: string;
|
|
985
|
-
} | {
|
|
986
|
-
readonly code: "unrecognized_keys";
|
|
987
|
-
readonly keys: string[];
|
|
988
|
-
readonly input?: {
|
|
989
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
990
|
-
} | undefined;
|
|
991
|
-
readonly path: (string | number | null)[];
|
|
992
|
-
readonly message: string;
|
|
993
|
-
} | /*elided*/ any | {
|
|
994
|
-
readonly code: "invalid_union";
|
|
995
|
-
readonly errors: [];
|
|
996
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
997
|
-
readonly discriminator?: string | undefined | undefined;
|
|
998
|
-
readonly inclusive: false;
|
|
999
|
-
readonly path: (string | number | null)[];
|
|
1000
|
-
readonly message: string;
|
|
1001
|
-
} | {
|
|
1002
|
-
readonly code: "invalid_key";
|
|
1003
|
-
readonly origin: "map" | "record";
|
|
1004
|
-
readonly issues: ({
|
|
1005
|
-
readonly code: "invalid_type";
|
|
1006
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
1007
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1008
|
-
readonly path: (string | number | null)[];
|
|
1009
|
-
readonly message: string;
|
|
1010
|
-
} | {
|
|
1011
|
-
readonly code: "too_big";
|
|
1012
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
1013
|
-
readonly maximum: number;
|
|
1014
|
-
readonly inclusive?: boolean | undefined;
|
|
1015
|
-
readonly exact?: boolean | undefined;
|
|
1016
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1017
|
-
readonly path: (string | number | null)[];
|
|
1018
|
-
readonly message: string;
|
|
1019
|
-
} | {
|
|
1020
|
-
readonly code: "too_small";
|
|
1021
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
1022
|
-
readonly minimum: number;
|
|
1023
|
-
readonly inclusive?: boolean | undefined;
|
|
1024
|
-
readonly exact?: boolean | undefined;
|
|
1025
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1026
|
-
readonly path: (string | number | null)[];
|
|
1027
|
-
readonly message: string;
|
|
1028
|
-
} | {
|
|
1029
|
-
readonly code: "invalid_format";
|
|
1030
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
1031
|
-
readonly pattern?: string | undefined;
|
|
1032
|
-
readonly input?: string | undefined;
|
|
1033
|
-
readonly path: (string | number | null)[];
|
|
1034
|
-
readonly message: string;
|
|
1035
|
-
} | {
|
|
1036
|
-
readonly code: "not_multiple_of";
|
|
1037
|
-
readonly divisor: number;
|
|
1038
|
-
readonly input?: number | undefined;
|
|
1039
|
-
readonly path: (string | number | null)[];
|
|
1040
|
-
readonly message: string;
|
|
1041
|
-
} | {
|
|
1042
|
-
readonly code: "unrecognized_keys";
|
|
1043
|
-
readonly keys: string[];
|
|
1044
|
-
readonly input?: {
|
|
1045
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
1046
|
-
} | undefined;
|
|
1047
|
-
readonly path: (string | number | null)[];
|
|
1048
|
-
readonly message: string;
|
|
1049
|
-
} | /*elided*/ any | {
|
|
1050
|
-
readonly code: "invalid_union";
|
|
1051
|
-
readonly errors: [];
|
|
1052
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1053
|
-
readonly discriminator?: string | undefined | undefined;
|
|
1054
|
-
readonly inclusive: false;
|
|
1055
|
-
readonly path: (string | number | null)[];
|
|
1056
|
-
readonly message: string;
|
|
1057
|
-
} | /*elided*/ any | /*elided*/ any | {
|
|
1058
|
-
readonly code: "invalid_value";
|
|
1059
|
-
readonly values: (string | number | boolean | null)[];
|
|
1060
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1061
|
-
readonly path: (string | number | null)[];
|
|
1062
|
-
readonly message: string;
|
|
1063
|
-
} | {
|
|
1064
|
-
readonly code: "custom";
|
|
1065
|
-
readonly params?: {
|
|
1066
|
-
[x: string]: any;
|
|
1067
|
-
} | undefined;
|
|
1068
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1069
|
-
readonly path: (string | number | null)[];
|
|
1070
|
-
readonly message: string;
|
|
1071
|
-
})[];
|
|
1072
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1073
|
-
readonly path: (string | number | null)[];
|
|
1074
|
-
readonly message: string;
|
|
1075
|
-
} | /*elided*/ any | {
|
|
1076
|
-
readonly code: "invalid_value";
|
|
1077
|
-
readonly values: (string | number | boolean | null)[];
|
|
1078
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1079
|
-
readonly path: (string | number | null)[];
|
|
1080
|
-
readonly message: string;
|
|
1081
|
-
} | {
|
|
1082
|
-
readonly code: "custom";
|
|
1083
|
-
readonly params?: {
|
|
1084
|
-
[x: string]: any;
|
|
1085
|
-
} | undefined;
|
|
1086
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1087
|
-
readonly path: (string | number | null)[];
|
|
1088
|
-
readonly message: string;
|
|
1089
|
-
})[][];
|
|
1090
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1091
|
-
readonly discriminator?: string | undefined | undefined;
|
|
1092
|
-
readonly inclusive?: true | undefined;
|
|
1093
|
-
readonly path: (string | number | null)[];
|
|
1094
|
-
readonly message: string;
|
|
1095
|
-
} | {
|
|
1096
|
-
readonly code: "invalid_union";
|
|
1097
|
-
readonly errors: [];
|
|
1098
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1099
|
-
readonly discriminator?: string | undefined | undefined;
|
|
1100
|
-
readonly inclusive: false;
|
|
1101
|
-
readonly path: (string | number | null)[];
|
|
1102
|
-
readonly message: string;
|
|
1103
|
-
} | {
|
|
1104
|
-
readonly code: "invalid_key";
|
|
1105
|
-
readonly origin: "map" | "record";
|
|
1106
|
-
readonly issues: ({
|
|
1107
|
-
readonly code: "invalid_type";
|
|
1108
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
1109
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1110
|
-
readonly path: (string | number | null)[];
|
|
1111
|
-
readonly message: string;
|
|
1112
|
-
} | {
|
|
1113
|
-
readonly code: "too_big";
|
|
1114
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
1115
|
-
readonly maximum: number;
|
|
1116
|
-
readonly inclusive?: boolean | undefined;
|
|
1117
|
-
readonly exact?: boolean | undefined;
|
|
1118
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1119
|
-
readonly path: (string | number | null)[];
|
|
1120
|
-
readonly message: string;
|
|
1121
|
-
} | {
|
|
1122
|
-
readonly code: "too_small";
|
|
1123
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
1124
|
-
readonly minimum: number;
|
|
1125
|
-
readonly inclusive?: boolean | undefined;
|
|
1126
|
-
readonly exact?: boolean | undefined;
|
|
1127
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1128
|
-
readonly path: (string | number | null)[];
|
|
1129
|
-
readonly message: string;
|
|
1130
|
-
} | {
|
|
1131
|
-
readonly code: "invalid_format";
|
|
1132
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
1133
|
-
readonly pattern?: string | undefined;
|
|
1134
|
-
readonly input?: string | undefined;
|
|
1135
|
-
readonly path: (string | number | null)[];
|
|
1136
|
-
readonly message: string;
|
|
1137
|
-
} | {
|
|
1138
|
-
readonly code: "not_multiple_of";
|
|
1139
|
-
readonly divisor: number;
|
|
1140
|
-
readonly input?: number | undefined;
|
|
1141
|
-
readonly path: (string | number | null)[];
|
|
1142
|
-
readonly message: string;
|
|
1143
|
-
} | {
|
|
1144
|
-
readonly code: "unrecognized_keys";
|
|
1145
|
-
readonly keys: string[];
|
|
1146
|
-
readonly input?: {
|
|
1147
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
1148
|
-
} | undefined;
|
|
1149
|
-
readonly path: (string | number | null)[];
|
|
1150
|
-
readonly message: string;
|
|
1151
|
-
} | {
|
|
1152
|
-
readonly code: "invalid_union";
|
|
1153
|
-
readonly errors: ({
|
|
1154
|
-
readonly code: "invalid_type";
|
|
1155
|
-
readonly expected: z.core.$ZodInvalidTypeExpected;
|
|
1156
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1157
|
-
readonly path: (string | number | null)[];
|
|
1158
|
-
readonly message: string;
|
|
1159
|
-
} | {
|
|
1160
|
-
readonly code: "too_big";
|
|
1161
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
1162
|
-
readonly maximum: number;
|
|
1163
|
-
readonly inclusive?: boolean | undefined;
|
|
1164
|
-
readonly exact?: boolean | undefined;
|
|
1165
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1166
|
-
readonly path: (string | number | null)[];
|
|
1167
|
-
readonly message: string;
|
|
1168
|
-
} | {
|
|
1169
|
-
readonly code: "too_small";
|
|
1170
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
1171
|
-
readonly minimum: number;
|
|
1172
|
-
readonly inclusive?: boolean | undefined;
|
|
1173
|
-
readonly exact?: boolean | undefined;
|
|
1174
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1175
|
-
readonly path: (string | number | null)[];
|
|
1176
|
-
readonly message: string;
|
|
1177
|
-
} | {
|
|
1178
|
-
readonly code: "invalid_format";
|
|
1179
|
-
readonly format: z.core.$ZodStringFormats | (string & {});
|
|
1180
|
-
readonly pattern?: string | undefined;
|
|
1181
|
-
readonly input?: string | undefined;
|
|
1182
|
-
readonly path: (string | number | null)[];
|
|
1183
|
-
readonly message: string;
|
|
1184
|
-
} | {
|
|
1185
|
-
readonly code: "not_multiple_of";
|
|
1186
|
-
readonly divisor: number;
|
|
1187
|
-
readonly input?: number | undefined;
|
|
1188
|
-
readonly path: (string | number | null)[];
|
|
1189
|
-
readonly message: string;
|
|
1190
|
-
} | {
|
|
1191
|
-
readonly code: "unrecognized_keys";
|
|
1192
|
-
readonly keys: string[];
|
|
1193
|
-
readonly input?: {
|
|
1194
|
-
[x: string]: hono_utils_types.JSONValue;
|
|
1195
|
-
} | undefined;
|
|
1196
|
-
readonly path: (string | number | null)[];
|
|
1197
|
-
readonly message: string;
|
|
1198
|
-
} | /*elided*/ any | {
|
|
1199
|
-
readonly code: "invalid_union";
|
|
1200
|
-
readonly errors: [];
|
|
1201
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1202
|
-
readonly discriminator?: string | undefined | undefined;
|
|
1203
|
-
readonly inclusive: false;
|
|
1204
|
-
readonly path: (string | number | null)[];
|
|
1205
|
-
readonly message: string;
|
|
1206
|
-
} | /*elided*/ any | /*elided*/ any | {
|
|
1207
|
-
readonly code: "invalid_value";
|
|
1208
|
-
readonly values: (string | number | boolean | null)[];
|
|
1209
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1210
|
-
readonly path: (string | number | null)[];
|
|
1211
|
-
readonly message: string;
|
|
1212
|
-
} | {
|
|
1213
|
-
readonly code: "custom";
|
|
1214
|
-
readonly params?: {
|
|
1215
|
-
[x: string]: any;
|
|
1216
|
-
} | undefined;
|
|
1217
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1218
|
-
readonly path: (string | number | null)[];
|
|
1219
|
-
readonly message: string;
|
|
1220
|
-
})[][];
|
|
1221
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1222
|
-
readonly discriminator?: string | undefined | undefined;
|
|
1223
|
-
readonly inclusive?: true | undefined;
|
|
1224
|
-
readonly path: (string | number | null)[];
|
|
1225
|
-
readonly message: string;
|
|
1226
|
-
} | {
|
|
1227
|
-
readonly code: "invalid_union";
|
|
1228
|
-
readonly errors: [];
|
|
1229
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1230
|
-
readonly discriminator?: string | undefined | undefined;
|
|
1231
|
-
readonly inclusive: false;
|
|
1232
|
-
readonly path: (string | number | null)[];
|
|
1233
|
-
readonly message: string;
|
|
1234
|
-
} | /*elided*/ any | /*elided*/ any | {
|
|
1235
|
-
readonly code: "invalid_value";
|
|
1236
|
-
readonly values: (string | number | boolean | null)[];
|
|
1237
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1238
|
-
readonly path: (string | number | null)[];
|
|
1239
|
-
readonly message: string;
|
|
1240
|
-
} | {
|
|
1241
|
-
readonly code: "custom";
|
|
1242
|
-
readonly params?: {
|
|
1243
|
-
[x: string]: any;
|
|
1244
|
-
} | undefined;
|
|
1245
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1246
|
-
readonly path: (string | number | null)[];
|
|
1247
|
-
readonly message: string;
|
|
1248
|
-
})[];
|
|
1249
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1250
|
-
readonly path: (string | number | null)[];
|
|
1251
|
-
readonly message: string;
|
|
1252
|
-
} | /*elided*/ any | {
|
|
1253
|
-
readonly code: "invalid_value";
|
|
1254
|
-
readonly values: (string | number | boolean | null)[];
|
|
1255
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1256
|
-
readonly path: (string | number | null)[];
|
|
1257
|
-
readonly message: string;
|
|
1258
|
-
} | {
|
|
1259
|
-
readonly code: "custom";
|
|
1260
|
-
readonly params?: {
|
|
1261
|
-
[x: string]: any;
|
|
1262
|
-
} | undefined;
|
|
1263
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1264
|
-
readonly path: (string | number | null)[];
|
|
1265
|
-
readonly message: string;
|
|
1266
|
-
})[];
|
|
1267
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1268
|
-
readonly path: (string | number | null)[];
|
|
1269
|
-
readonly message: string;
|
|
1270
|
-
} | {
|
|
1271
|
-
readonly code: "invalid_value";
|
|
1272
|
-
readonly values: (string | number | boolean | null)[];
|
|
1273
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1274
|
-
readonly path: (string | number | null)[];
|
|
1275
|
-
readonly message: string;
|
|
1276
|
-
} | {
|
|
1277
|
-
readonly code: "custom";
|
|
1278
|
-
readonly params?: {
|
|
1279
|
-
[x: string]: any;
|
|
1280
|
-
} | undefined;
|
|
1281
|
-
readonly input?: hono_utils_types.JSONValue | undefined;
|
|
1282
|
-
readonly path: (string | number | null)[];
|
|
1283
|
-
readonly message: string;
|
|
1284
|
-
} | undefined;
|
|
1285
|
-
name: string;
|
|
1286
|
-
message: string;
|
|
1287
|
-
stack?: string | undefined;
|
|
1288
|
-
cause?: hono_utils_types.JSONValue | undefined;
|
|
1289
|
-
};
|
|
1290
|
-
};
|
|
1291
|
-
outputFormat: "json";
|
|
1292
|
-
status: 400;
|
|
1293
|
-
} | {
|
|
1294
|
-
input: unknown extends ((undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? true : false) extends true ? {
|
|
1295
|
-
json?: ([TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_26 ? { [K_2 in keyof T_26]: ([Exclude<T_26[K_2], undefined>] extends [string] ? [string & Exclude<T_26[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_26[K_2], undefined>>] ? false : true : false) extends true ? T_26[K_2] : ([unknown] extends [T_26[K_2]] ? false : undefined extends T_26[K_2] ? true : false) extends true ? T_26[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_25 ? { [K_1 in keyof T_25]: T_25[K_1]; } : never) extends infer T_24 ? { [K in keyof T_24]: T_24[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_29 ? { [K_5 in keyof T_29]: ([Exclude<T_29[K_5], undefined>] extends [string] ? [string & Exclude<T_29[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_29[K_5], undefined>>] ? false : true : false) extends true ? T_29[K_5] : ([unknown] extends [T_29[K_5]] ? false : undefined extends T_29[K_5] ? true : false) extends true ? T_29[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_28 ? { [K_4 in keyof T_28]: T_28[K_4]; } : never) extends infer T_27 ? { [K_3 in keyof T_27]: T_27[K_3]; } : never : {}) | undefined;
|
|
1296
|
-
} : {
|
|
1297
|
-
json: [TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_32 ? { [K_2 in keyof T_32]: ([Exclude<T_32[K_2], undefined>] extends [string] ? [string & Exclude<T_32[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_32[K_2], undefined>>] ? false : true : false) extends true ? T_32[K_2] : ([unknown] extends [T_32[K_2]] ? false : undefined extends T_32[K_2] ? true : false) extends true ? T_32[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_31 ? { [K_1 in keyof T_31]: T_31[K_1]; } : never) extends infer T_30 ? { [K in keyof T_30]: T_30[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_35 ? { [K_5 in keyof T_35]: ([Exclude<T_35[K_5], undefined>] extends [string] ? [string & Exclude<T_35[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_35[K_5], undefined>>] ? false : true : false) extends true ? T_35[K_5] : ([unknown] extends [T_35[K_5]] ? false : undefined extends T_35[K_5] ? true : false) extends true ? T_35[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_34 ? { [K_4 in keyof T_34]: T_34[K_4]; } : never) extends infer T_33 ? { [K_3 in keyof T_33]: T_33[K_3]; } : never : {};
|
|
1298
|
-
}) ? {} : (undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? true : false) extends true ? {
|
|
1299
|
-
json?: ([TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_38 ? { [K_2 in keyof T_38]: ([Exclude<T_38[K_2], undefined>] extends [string] ? [string & Exclude<T_38[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_38[K_2], undefined>>] ? false : true : false) extends true ? T_38[K_2] : ([unknown] extends [T_38[K_2]] ? false : undefined extends T_38[K_2] ? true : false) extends true ? T_38[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_37 ? { [K_1 in keyof T_37]: T_37[K_1]; } : never) extends infer T_36 ? { [K in keyof T_36]: T_36[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_41 ? { [K_5 in keyof T_41]: ([Exclude<T_41[K_5], undefined>] extends [string] ? [string & Exclude<T_41[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_41[K_5], undefined>>] ? false : true : false) extends true ? T_41[K_5] : ([unknown] extends [T_41[K_5]] ? false : undefined extends T_41[K_5] ? true : false) extends true ? T_41[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_40 ? { [K_4 in keyof T_40]: T_40[K_4]; } : never) extends infer T_39 ? { [K_3 in keyof T_39]: T_39[K_3]; } : never : {}) | undefined;
|
|
1300
|
-
} : {
|
|
1301
|
-
json: [TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_44 ? { [K_2 in keyof T_44]: ([Exclude<T_44[K_2], undefined>] extends [string] ? [string & Exclude<T_44[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_44[K_2], undefined>>] ? false : true : false) extends true ? T_44[K_2] : ([unknown] extends [T_44[K_2]] ? false : undefined extends T_44[K_2] ? true : false) extends true ? T_44[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_43 ? { [K_1 in keyof T_43]: T_43[K_1]; } : never) extends infer T_42 ? { [K in keyof T_42]: T_42[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_47 ? { [K_5 in keyof T_47]: ([Exclude<T_47[K_5], undefined>] extends [string] ? [string & Exclude<T_47[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_47[K_5], undefined>>] ? false : true : false) extends true ? T_47[K_5] : ([unknown] extends [T_47[K_5]] ? false : undefined extends T_47[K_5] ? true : false) extends true ? T_47[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_46 ? { [K_4 in keyof T_46]: T_46[K_4]; } : never) extends infer T_45 ? { [K_3 in keyof T_45]: T_45[K_3]; } : never : {};
|
|
1302
|
-
};
|
|
1303
|
-
output: {
|
|
1304
|
-
data: null;
|
|
1305
|
-
error: {
|
|
1306
|
-
message: string;
|
|
1307
|
-
code: string;
|
|
1308
|
-
};
|
|
1309
|
-
};
|
|
1310
|
-
outputFormat: "json";
|
|
1311
|
-
status: 500;
|
|
1312
|
-
} | {
|
|
1313
|
-
input: unknown extends ((undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? true : false) extends true ? {
|
|
1314
|
-
json?: ([TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_50 ? { [K_2 in keyof T_50]: ([Exclude<T_50[K_2], undefined>] extends [string] ? [string & Exclude<T_50[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_50[K_2], undefined>>] ? false : true : false) extends true ? T_50[K_2] : ([unknown] extends [T_50[K_2]] ? false : undefined extends T_50[K_2] ? true : false) extends true ? T_50[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_49 ? { [K_1 in keyof T_49]: T_49[K_1]; } : never) extends infer T_48 ? { [K in keyof T_48]: T_48[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_53 ? { [K_5 in keyof T_53]: ([Exclude<T_53[K_5], undefined>] extends [string] ? [string & Exclude<T_53[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_53[K_5], undefined>>] ? false : true : false) extends true ? T_53[K_5] : ([unknown] extends [T_53[K_5]] ? false : undefined extends T_53[K_5] ? true : false) extends true ? T_53[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_52 ? { [K_4 in keyof T_52]: T_52[K_4]; } : never) extends infer T_51 ? { [K_3 in keyof T_51]: T_51[K_3]; } : never : {}) | undefined;
|
|
1315
|
-
} : {
|
|
1316
|
-
json: [TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_56 ? { [K_2 in keyof T_56]: ([Exclude<T_56[K_2], undefined>] extends [string] ? [string & Exclude<T_56[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_56[K_2], undefined>>] ? false : true : false) extends true ? T_56[K_2] : ([unknown] extends [T_56[K_2]] ? false : undefined extends T_56[K_2] ? true : false) extends true ? T_56[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_55 ? { [K_1 in keyof T_55]: T_55[K_1]; } : never) extends infer T_54 ? { [K in keyof T_54]: T_54[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_59 ? { [K_5 in keyof T_59]: ([Exclude<T_59[K_5], undefined>] extends [string] ? [string & Exclude<T_59[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_59[K_5], undefined>>] ? false : true : false) extends true ? T_59[K_5] : ([unknown] extends [T_59[K_5]] ? false : undefined extends T_59[K_5] ? true : false) extends true ? T_59[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_58 ? { [K_4 in keyof T_58]: T_58[K_4]; } : never) extends infer T_57 ? { [K_3 in keyof T_57]: T_57[K_3]; } : never : {};
|
|
1317
|
-
}) ? {} : (undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? true : false) extends true ? {
|
|
1318
|
-
json?: ([TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_62 ? { [K_2 in keyof T_62]: ([Exclude<T_62[K_2], undefined>] extends [string] ? [string & Exclude<T_62[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_62[K_2], undefined>>] ? false : true : false) extends true ? T_62[K_2] : ([unknown] extends [T_62[K_2]] ? false : undefined extends T_62[K_2] ? true : false) extends true ? T_62[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_61 ? { [K_1 in keyof T_61]: T_61[K_1]; } : never) extends infer T_60 ? { [K in keyof T_60]: T_60[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_65 ? { [K_5 in keyof T_65]: ([Exclude<T_65[K_5], undefined>] extends [string] ? [string & Exclude<T_65[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_65[K_5], undefined>>] ? false : true : false) extends true ? T_65[K_5] : ([unknown] extends [T_65[K_5]] ? false : undefined extends T_65[K_5] ? true : false) extends true ? T_65[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_64 ? { [K_4 in keyof T_64]: T_64[K_4]; } : never) extends infer T_63 ? { [K_3 in keyof T_63]: T_63[K_3]; } : never : {}) | undefined;
|
|
1319
|
-
} : {
|
|
1320
|
-
json: [TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [any] ? TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [never] ? {} : [Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, undefined>] extends [object] ? undefined extends (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? ((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined) | (((Exclude<TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, (TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) & undefined> extends infer T_68 ? { [K_2 in keyof T_68]: ([Exclude<T_68[K_2], undefined>] extends [string] ? [string & Exclude<T_68[K_2], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_68[K_2], undefined>>] ? false : true : false) extends true ? T_68[K_2] : ([unknown] extends [T_68[K_2]] ? false : undefined extends T_68[K_2] ? true : false) extends true ? T_68[K_2] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_67 ? { [K_1 in keyof T_67]: T_67[K_1]; } : never) extends infer T_66 ? { [K in keyof T_66]: T_66[K]; } : never) : (((TSchema extends zod_v3.ZodType<any, zod_v3.ZodTypeDef, any> ? zod_v3.input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) extends infer T_71 ? { [K_5 in keyof T_71]: ([Exclude<T_71[K_5], undefined>] extends [string] ? [string & Exclude<T_71[K_5], undefined>] extends [hono_utils_types.UnionToIntersection<string & Exclude<T_71[K_5], undefined>>] ? false : true : false) extends true ? T_71[K_5] : ([unknown] extends [T_71[K_5]] ? false : undefined extends T_71[K_5] ? true : false) extends true ? T_71[K_5] : Target extends "form" ? T$1 | T$1[] : Target extends "query" ? string | string[] : Target extends "param" ? string : Target extends "header" ? string : Target extends "cookie" ? string : unknown; } : never) extends infer T_70 ? { [K_4 in keyof T_70]: T_70[K_4]; } : never) extends infer T_69 ? { [K_3 in keyof T_69]: T_69[K_3]; } : never : {};
|
|
1321
|
-
};
|
|
1322
|
-
output: unknown extends (Awaited<TReturn> | null extends bigint | readonly bigint[] ? never : { [K_6 in keyof {
|
|
1323
|
-
data: Awaited<TReturn>;
|
|
1324
|
-
error: null;
|
|
1325
|
-
} as ({
|
|
1326
|
-
data: Awaited<TReturn>;
|
|
1327
|
-
error: null;
|
|
1328
|
-
}[K_6] extends infer T_72 ? T_72 extends {
|
|
1329
|
-
data: Awaited<TReturn>;
|
|
1330
|
-
error: null;
|
|
1331
|
-
}[K_6] ? T_72 extends hono_utils_types.InvalidJSONValue ? true : false : never : never) extends true ? never : K_6]: boolean extends ({
|
|
1332
|
-
data: Awaited<TReturn>;
|
|
1333
|
-
error: null;
|
|
1334
|
-
}[K_6] extends infer T_73 ? T_73 extends {
|
|
1335
|
-
data: Awaited<TReturn>;
|
|
1336
|
-
error: null;
|
|
1337
|
-
}[K_6] ? T_73 extends hono_utils_types.InvalidJSONValue ? true : false : never : never) ? hono_utils_types.JSONParsed<{
|
|
1338
|
-
data: Awaited<TReturn>;
|
|
1339
|
-
error: null;
|
|
1340
|
-
}[K_6], bigint | readonly bigint[]> | undefined : hono_utils_types.JSONParsed<{
|
|
1341
|
-
data: Awaited<TReturn>;
|
|
1342
|
-
error: null;
|
|
1343
|
-
}[K_6], bigint | readonly bigint[]>; }) ? {} : Awaited<TReturn> | null extends bigint | readonly bigint[] ? never : { [K_6 in keyof {
|
|
1344
|
-
data: Awaited<TReturn>;
|
|
1345
|
-
error: null;
|
|
1346
|
-
} as ({
|
|
1347
|
-
data: Awaited<TReturn>;
|
|
1348
|
-
error: null;
|
|
1349
|
-
}[K_6] extends infer T_72 ? T_72 extends {
|
|
1350
|
-
data: Awaited<TReturn>;
|
|
1351
|
-
error: null;
|
|
1352
|
-
}[K_6] ? T_72 extends hono_utils_types.InvalidJSONValue ? true : false : never : never) extends true ? never : K_6]: boolean extends ({
|
|
1353
|
-
data: Awaited<TReturn>;
|
|
1354
|
-
error: null;
|
|
1355
|
-
}[K_6] extends infer T_73 ? T_73 extends {
|
|
1356
|
-
data: Awaited<TReturn>;
|
|
1357
|
-
error: null;
|
|
1358
|
-
}[K_6] ? T_73 extends hono_utils_types.InvalidJSONValue ? true : false : never : never) ? hono_utils_types.JSONParsed<{
|
|
1359
|
-
data: Awaited<TReturn>;
|
|
1360
|
-
error: null;
|
|
1361
|
-
}[K_6], bigint | readonly bigint[]> | undefined : hono_utils_types.JSONParsed<{
|
|
1362
|
-
data: Awaited<TReturn>;
|
|
1363
|
-
error: null;
|
|
1364
|
-
}[K_6], bigint | readonly bigint[]>; };
|
|
1365
|
-
outputFormat: "json";
|
|
1366
|
-
status: 200;
|
|
1367
|
-
};
|
|
1368
|
-
};
|
|
1369
|
-
}, "/", "/">;
|
|
1370
|
-
|
|
1371
|
-
export { type Bindings, HonoActionError, type HonoEnv, type MergeActionKeyIntoPath, type Variables, defineHonoAction };
|