@redocly/redoc-reef 0.140.0-next.6 → 0.140.0-next.7
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/CHANGELOG.md +42 -0
- package/dist/api-schemas/mcp-fetch-count.d.ts +2 -18
- package/dist/api-schemas/otel-traces.d.ts +7 -1345
- package/dist/api-schemas/otel-traces.js +1 -1
- package/dist/api-schemas/search-facets.d.ts +3 -31
- package/dist/api-schemas/search.d.ts +6 -52
- package/dist/cli/build/index.js +1 -1
- package/dist/cli/eject/resolveEjectParams.js +1 -1
- package/dist/client/app/markdoc/custom-components/openapi/openapi-code-sample.d.ts +2 -0
- package/dist/client/app/markdoc/custom-components/openapi/openapi-code-sample.js +1 -1
- package/dist/compiled/@redocly/pii/index.mjs +1 -0
- package/dist/compiled/@redocly/pii/package.json +1 -1
- package/dist/markdoc/tags/openapi-code-sample.js +1 -1
- package/dist/server/api-routes/execute-api-route.js +1 -1
- package/dist/server/api-routes/run-api-routes-worker.js +1 -1
- package/dist/server/config/env-config.d.ts +24 -24
- package/dist/server/config/env-schema.d.ts +83 -326
- package/dist/server/config/env-schemas/api-urls.d.ts +2 -14
- package/dist/server/config/env-schemas/auth.d.ts +10 -32
- package/dist/server/config/env-schemas/catalog.d.ts +6 -9
- package/dist/server/config/env-schemas/database.d.ts +2 -8
- package/dist/server/config/env-schemas/environment-detection.d.ts +20 -18
- package/dist/server/config/env-schemas/feature-flags.d.ts +25 -33
- package/dist/server/config/env-schemas/organization-project.d.ts +3 -21
- package/dist/server/config/env-schemas/scorecards.d.ts +2 -6
- package/dist/server/config/env-schemas/search.d.ts +9 -15
- package/dist/server/config/env-schemas/server-config.d.ts +6 -31
- package/dist/server/config/env-schemas/site.d.ts +1 -5
- package/dist/server/config/env-schemas/ssr.d.ts +7 -12
- package/dist/server/config/env-schemas/telemetry.d.ts +1 -7
- package/dist/server/esbuild/plugins/themes-resolver.js +3 -3
- package/dist/server/external-plugins/resolve-external-plugins.js +1 -1
- package/dist/server/node-bundle-entry.js +1 -1
- package/dist/server/plugins/api-docs/index.js +1 -1
- package/dist/server/plugins/api-docs/spec-download.api.js +1 -1
- package/dist/server/plugins/api-docs/store-definition-bundles.d.ts +6 -0
- package/dist/server/plugins/api-docs/store-definition-bundles.js +1 -1
- package/dist/server/plugins/config-parser/index.js +1 -1
- package/dist/server/plugins/markdown/attribute-resolvers/resolve-openapi-code-samples.js +1 -1
- package/dist/server/plugins/mcp/codemode/tools/describe-tools.d.ts +1 -1
- package/dist/server/plugins/mcp/codemode/tools/describe-tools.js +1 -3
- package/dist/server/plugins/mcp/handlers/docs-mcp-handler.js +1 -1
- package/dist/server/plugins/mcp/handlers/handle-mcp-request.js +1 -1
- package/dist/server/plugins/mcp/servers/docs-server.js +1 -1
- package/dist/server/plugins/mcp/servers/mcp-server.js +2 -2
- package/dist/server/plugins/mcp/types.d.ts +10 -0
- package/dist/server/plugins/mcp/utils/available-tools.d.ts +5 -0
- package/dist/server/plugins/mcp/utils/available-tools.js +1 -0
- package/dist/server/plugins/mcp/workers/worker-context.d.ts +4 -0
- package/dist/server/plugins/mcp/workers/worker-context.js +1 -0
- package/dist/server/plugins/scorecard-classic/template/Grid/GridHeader.js +3 -3
- package/dist/server/store-config.d.ts +33 -0
- package/dist/server/store-config.js +1 -0
- package/dist/server/store.d.ts +10 -15
- package/dist/server/store.js +1 -1
- package/dist/server/tools/notifiers/formatter.js +1 -1
- package/dist/server/types/plugins/api-routes.d.ts +4 -1
- package/dist/server/utils/envs/env-boolean-string.d.ts +9 -3
- package/dist/server/utils/envs/get-api-route-allowed-env-variables.d.ts +2 -0
- package/dist/server/utils/envs/get-api-route-allowed-env-variables.js +1 -1
- package/dist/server/utils/envs/interpolate-env-variables.d.ts +5 -1
- package/dist/server/utils/envs/interpolate-env-variables.js +1 -1
- package/dist/server/utils/envs/replace-env-variables-deep.d.ts +17 -9
- package/dist/server/utils/envs/replace-env-variables-deep.js +1 -1
- package/dist/server/web-server/middleware/jsonValidatorMiddleware.d.ts +556 -287
- package/dist/server/workers/mcp-tool-worker-methods.d.ts +7 -0
- package/dist/server/workers/mcp-tool-worker-methods.js +1 -0
- package/dist/server/workers/mcp-tool-worker-pool.d.ts +0 -1
- package/dist/server/workers/mcp-tool-worker-pool.js +1 -1
- package/dist/server/workers/mcp-tool-worker.js +1 -1
- package/dist/server/workers/types.d.ts +4 -8
- package/dist/server/workers/worker-config.d.ts +33 -0
- package/dist/server/workers/worker-config.js +1 -0
- package/package.json +8 -8
- package/dist/compiled/@redocly/pii/index.js +0 -1
- package/dist/server/plugins/mcp/utils/available-sandbox-tools.d.ts +0 -4
- package/dist/server/plugins/mcp/utils/available-sandbox-tools.js +0 -1
|
@@ -4,333 +4,602 @@ import type { ZodSchema } from 'zod';
|
|
|
4
4
|
* in the 400 response only in develop mode.
|
|
5
5
|
*/
|
|
6
6
|
export declare function jsonValidatorMiddleware<T extends ZodSchema>(schema: T): import("hono").MiddlewareHandler<import("hono").Env, string, {
|
|
7
|
-
in: (undefined extends (T extends
|
|
8
|
-
json?: ([T extends
|
|
7
|
+
in: (undefined extends (T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never) ? true : false) extends true ? {
|
|
8
|
+
json?: ([T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never] extends [any] ? T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never : [Exclude<T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never, undefined>] extends [never] ? {} : [Exclude<T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never, undefined>] extends [object] ? undefined extends (T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never) ? (((Exclude<T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never, (T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never) & undefined> extends infer T_3 ? { [K in keyof T_3]: ([Exclude<T_3[K], undefined>] extends [string] ? [string & Exclude<T_3[K], undefined>] extends [import("hono/utils/types").UnionToIntersection<string & Exclude<T_3[K], undefined>>] ? false : true : false) extends true ? T_3[K] : ([unknown] extends [T_3[K]] ? false : undefined extends T_3[K] ? true : false) extends true ? T_3[K] : 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_2 ? { [K in keyof T_2]: T_2[K]; } : never) extends infer T_1 ? { [K in keyof T_1]: T_1[K]; } : never) | ((T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never) & undefined) : (((T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never) extends infer T_6 ? { [K in keyof T_6]: ([Exclude<T_6[K], undefined>] extends [string] ? [string & Exclude<T_6[K], undefined>] extends [import("hono/utils/types").UnionToIntersection<string & Exclude<T_6[K], undefined>>] ? false : true : false) extends true ? T_6[K] : ([unknown] extends [T_6[K]] ? false : undefined extends T_6[K] ? true : false) extends true ? T_6[K] : 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_5 ? { [K in keyof T_5]: T_5[K]; } : never) extends infer T_4 ? { [K in keyof T_4]: T_4[K]; } : never : {}) | undefined;
|
|
9
9
|
} : {
|
|
10
|
-
json: [T extends
|
|
10
|
+
json: [T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never] extends [any] ? T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never : [Exclude<T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never, undefined>] extends [never] ? {} : [Exclude<T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never, undefined>] extends [object] ? undefined extends (T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never) ? (((Exclude<T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never, (T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never) & undefined> extends infer T_3 ? { [K in keyof T_3]: ([Exclude<T_3[K], undefined>] extends [string] ? [string & Exclude<T_3[K], undefined>] extends [import("hono/utils/types").UnionToIntersection<string & Exclude<T_3[K], undefined>>] ? false : true : false) extends true ? T_3[K] : ([unknown] extends [T_3[K]] ? false : undefined extends T_3[K] ? true : false) extends true ? T_3[K] : 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_2 ? { [K in keyof T_2]: T_2[K]; } : never) extends infer T_1 ? { [K in keyof T_1]: T_1[K]; } : never) | ((T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never) & undefined) : (((T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod/v4/core").input<T> : never) extends infer T_6 ? { [K in keyof T_6]: ([Exclude<T_6[K], undefined>] extends [string] ? [string & Exclude<T_6[K], undefined>] extends [import("hono/utils/types").UnionToIntersection<string & Exclude<T_6[K], undefined>>] ? false : true : false) extends true ? T_6[K] : ([unknown] extends [T_6[K]] ? false : undefined extends T_6[K] ? true : false) extends true ? T_6[K] : 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_5 ? { [K in keyof T_5]: T_5[K]; } : never) extends infer T_4 ? { [K in keyof T_4]: T_4[K]; } : never : {};
|
|
11
11
|
};
|
|
12
12
|
out: {
|
|
13
|
-
json: T extends
|
|
13
|
+
json: T extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").output<T> : T extends import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<T> : never;
|
|
14
14
|
};
|
|
15
15
|
}, (Response & import("hono").TypedResponse<"Bad Request", 400, "text">) | (Response & import("hono").TypedResponse<{
|
|
16
16
|
success: boolean;
|
|
17
17
|
error: ({
|
|
18
|
-
path: (string | number)[];
|
|
19
|
-
message: string;
|
|
20
|
-
code: "custom";
|
|
21
|
-
params?:
|
|
22
|
-
|
|
23
|
-
} | undefined;
|
|
24
|
-
fatal?: boolean | undefined;
|
|
18
|
+
readonly path: (string | number | null)[];
|
|
19
|
+
readonly message: string;
|
|
20
|
+
readonly code: "custom";
|
|
21
|
+
readonly params?: Record<string, any> | undefined;
|
|
22
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
25
23
|
} | {
|
|
26
|
-
path: (string | number)[];
|
|
27
|
-
message: string;
|
|
28
|
-
code: "
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
message: string;
|
|
56
|
-
code: "invalid_intersection_types";
|
|
57
|
-
fatal?: boolean | undefined;
|
|
58
|
-
} | {
|
|
59
|
-
path: (string | number)[];
|
|
60
|
-
message: string;
|
|
61
|
-
code: "invalid_literal";
|
|
62
|
-
expected: import("hono/utils/types").JSONValue;
|
|
63
|
-
received: import("hono/utils/types").JSONValue;
|
|
64
|
-
fatal?: boolean | undefined;
|
|
65
|
-
} | {
|
|
66
|
-
path: (string | number)[];
|
|
67
|
-
message: string;
|
|
68
|
-
code: "invalid_return_type";
|
|
69
|
-
returnTypeError: /*elided*/ any;
|
|
70
|
-
fatal?: boolean | undefined;
|
|
71
|
-
} | {
|
|
72
|
-
path: (string | number)[];
|
|
73
|
-
message: string;
|
|
74
|
-
code: "invalid_string";
|
|
75
|
-
validation: import("zod").StringValidation;
|
|
76
|
-
fatal?: boolean | undefined;
|
|
24
|
+
readonly path: (string | number | null)[];
|
|
25
|
+
readonly message: string;
|
|
26
|
+
readonly code: "invalid_element";
|
|
27
|
+
readonly origin: "map" | "set";
|
|
28
|
+
readonly key: import("hono/utils/types").JSONValue;
|
|
29
|
+
readonly issues: ({
|
|
30
|
+
readonly path: (string | number | null)[];
|
|
31
|
+
readonly message: string;
|
|
32
|
+
readonly code: "custom";
|
|
33
|
+
readonly params?: Record<string, any> | undefined;
|
|
34
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
35
|
+
} | /*elided*/ any | {
|
|
36
|
+
readonly path: (string | number | null)[];
|
|
37
|
+
readonly message: string;
|
|
38
|
+
readonly code: "invalid_key";
|
|
39
|
+
readonly origin: "map" | "record";
|
|
40
|
+
readonly issues: ({
|
|
41
|
+
readonly path: (string | number | null)[];
|
|
42
|
+
readonly message: string;
|
|
43
|
+
readonly code: "custom";
|
|
44
|
+
readonly params?: Record<string, any> | undefined;
|
|
45
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
46
|
+
} | /*elided*/ any | /*elided*/ any | {
|
|
47
|
+
readonly path: (string | number | null)[];
|
|
48
|
+
readonly message: string;
|
|
49
|
+
readonly code: "invalid_format";
|
|
50
|
+
readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
|
|
51
|
+
readonly pattern?: string;
|
|
52
|
+
readonly input?: string;
|
|
77
53
|
} | {
|
|
78
|
-
path: (string | number)[];
|
|
79
|
-
message: string;
|
|
80
|
-
code: "invalid_type";
|
|
81
|
-
expected: import("zod")
|
|
82
|
-
|
|
83
|
-
fatal?: boolean | undefined;
|
|
54
|
+
readonly path: (string | number | null)[];
|
|
55
|
+
readonly message: string;
|
|
56
|
+
readonly code: "invalid_type";
|
|
57
|
+
readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
|
|
58
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
84
59
|
} | {
|
|
85
|
-
path: (string | number)[];
|
|
86
|
-
message: string;
|
|
87
|
-
code: "
|
|
88
|
-
|
|
89
|
-
|
|
60
|
+
readonly path: (string | number | null)[];
|
|
61
|
+
readonly message: string;
|
|
62
|
+
readonly code: "invalid_value";
|
|
63
|
+
readonly values: (string | number | boolean | null)[];
|
|
64
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
90
65
|
} | {
|
|
91
|
-
path: (string | number)[];
|
|
92
|
-
message: string;
|
|
93
|
-
code: "
|
|
94
|
-
|
|
95
|
-
|
|
66
|
+
readonly path: (string | number | null)[];
|
|
67
|
+
readonly message: string;
|
|
68
|
+
readonly code: "not_multiple_of";
|
|
69
|
+
readonly divisor: number;
|
|
70
|
+
readonly input?: number | undefined;
|
|
96
71
|
} | {
|
|
97
|
-
path: (string | number)[];
|
|
98
|
-
message: string;
|
|
99
|
-
code: "
|
|
100
|
-
|
|
72
|
+
readonly path: (string | number | null)[];
|
|
73
|
+
readonly message: string;
|
|
74
|
+
readonly code: "too_big";
|
|
75
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
76
|
+
readonly maximum: number;
|
|
77
|
+
readonly inclusive?: boolean;
|
|
78
|
+
readonly exact?: boolean;
|
|
79
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
101
80
|
} | {
|
|
102
|
-
path: (string | number)[];
|
|
103
|
-
message: string;
|
|
104
|
-
code: "
|
|
105
|
-
|
|
106
|
-
|
|
81
|
+
readonly path: (string | number | null)[];
|
|
82
|
+
readonly message: string;
|
|
83
|
+
readonly code: "too_small";
|
|
84
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
85
|
+
readonly minimum: number;
|
|
86
|
+
readonly inclusive?: boolean;
|
|
87
|
+
readonly exact?: boolean;
|
|
88
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
107
89
|
} | {
|
|
108
|
-
path: (string | number)[];
|
|
109
|
-
message: string;
|
|
110
|
-
code: "
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
fatal?: boolean | undefined;
|
|
90
|
+
readonly path: (string | number | null)[];
|
|
91
|
+
readonly message: string;
|
|
92
|
+
readonly code: "unrecognized_keys";
|
|
93
|
+
readonly keys: string[];
|
|
94
|
+
readonly input?: {
|
|
95
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
96
|
+
} | undefined;
|
|
116
97
|
} | {
|
|
117
|
-
path: (string | number)[];
|
|
118
|
-
message: string;
|
|
119
|
-
code: "
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
98
|
+
readonly path: (string | number | null)[];
|
|
99
|
+
readonly message: string;
|
|
100
|
+
readonly code: "invalid_union";
|
|
101
|
+
readonly errors: [];
|
|
102
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
103
|
+
readonly discriminator?: string | undefined;
|
|
104
|
+
readonly inclusive: false;
|
|
105
|
+
readonly matches: number[];
|
|
125
106
|
} | {
|
|
126
|
-
path: (string | number)[];
|
|
127
|
-
message: string;
|
|
128
|
-
code: "
|
|
129
|
-
|
|
130
|
-
|
|
107
|
+
readonly path: (string | number | null)[];
|
|
108
|
+
readonly message: string;
|
|
109
|
+
readonly code: "invalid_union";
|
|
110
|
+
readonly errors: ({
|
|
111
|
+
readonly path: (string | number | null)[];
|
|
112
|
+
readonly message: string;
|
|
113
|
+
readonly code: "custom";
|
|
114
|
+
readonly params?: Record<string, any> | undefined;
|
|
115
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
116
|
+
} | /*elided*/ any | /*elided*/ any | {
|
|
117
|
+
readonly path: (string | number | null)[];
|
|
118
|
+
readonly message: string;
|
|
119
|
+
readonly code: "invalid_format";
|
|
120
|
+
readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
|
|
121
|
+
readonly pattern?: string;
|
|
122
|
+
readonly input?: string;
|
|
123
|
+
} | {
|
|
124
|
+
readonly path: (string | number | null)[];
|
|
125
|
+
readonly message: string;
|
|
126
|
+
readonly code: "invalid_type";
|
|
127
|
+
readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
|
|
128
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
129
|
+
} | {
|
|
130
|
+
readonly path: (string | number | null)[];
|
|
131
|
+
readonly message: string;
|
|
132
|
+
readonly code: "invalid_value";
|
|
133
|
+
readonly values: (string | number | boolean | null)[];
|
|
134
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
135
|
+
} | {
|
|
136
|
+
readonly path: (string | number | null)[];
|
|
137
|
+
readonly message: string;
|
|
138
|
+
readonly code: "not_multiple_of";
|
|
139
|
+
readonly divisor: number;
|
|
140
|
+
readonly input?: number | undefined;
|
|
141
|
+
} | {
|
|
142
|
+
readonly path: (string | number | null)[];
|
|
143
|
+
readonly message: string;
|
|
144
|
+
readonly code: "too_big";
|
|
145
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
146
|
+
readonly maximum: number;
|
|
147
|
+
readonly inclusive?: boolean;
|
|
148
|
+
readonly exact?: boolean;
|
|
149
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
150
|
+
} | {
|
|
151
|
+
readonly path: (string | number | null)[];
|
|
152
|
+
readonly message: string;
|
|
153
|
+
readonly code: "too_small";
|
|
154
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
155
|
+
readonly minimum: number;
|
|
156
|
+
readonly inclusive?: boolean;
|
|
157
|
+
readonly exact?: boolean;
|
|
158
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
159
|
+
} | {
|
|
160
|
+
readonly path: (string | number | null)[];
|
|
161
|
+
readonly message: string;
|
|
162
|
+
readonly code: "unrecognized_keys";
|
|
163
|
+
readonly keys: string[];
|
|
164
|
+
readonly input?: {
|
|
165
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
166
|
+
} | undefined;
|
|
167
|
+
} | {
|
|
168
|
+
readonly path: (string | number | null)[];
|
|
169
|
+
readonly message: string;
|
|
170
|
+
readonly code: "invalid_union";
|
|
171
|
+
readonly errors: [];
|
|
172
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
173
|
+
readonly discriminator?: string | undefined;
|
|
174
|
+
readonly inclusive: false;
|
|
175
|
+
readonly matches: number[];
|
|
176
|
+
} | /*elided*/ any)[][];
|
|
177
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
178
|
+
readonly discriminator?: string | undefined;
|
|
179
|
+
readonly options?: (string | number | boolean | null)[] | undefined;
|
|
180
|
+
readonly inclusive?: true;
|
|
131
181
|
})[];
|
|
182
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
183
|
+
} | {
|
|
184
|
+
readonly path: (string | number | null)[];
|
|
185
|
+
readonly message: string;
|
|
186
|
+
readonly code: "invalid_format";
|
|
187
|
+
readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
|
|
188
|
+
readonly pattern?: string;
|
|
189
|
+
readonly input?: string;
|
|
190
|
+
} | {
|
|
191
|
+
readonly path: (string | number | null)[];
|
|
192
|
+
readonly message: string;
|
|
193
|
+
readonly code: "invalid_type";
|
|
194
|
+
readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
|
|
195
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
196
|
+
} | {
|
|
197
|
+
readonly path: (string | number | null)[];
|
|
198
|
+
readonly message: string;
|
|
199
|
+
readonly code: "invalid_value";
|
|
200
|
+
readonly values: (string | number | boolean | null)[];
|
|
201
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
202
|
+
} | {
|
|
203
|
+
readonly path: (string | number | null)[];
|
|
204
|
+
readonly message: string;
|
|
205
|
+
readonly code: "not_multiple_of";
|
|
206
|
+
readonly divisor: number;
|
|
207
|
+
readonly input?: number | undefined;
|
|
208
|
+
} | {
|
|
209
|
+
readonly path: (string | number | null)[];
|
|
210
|
+
readonly message: string;
|
|
211
|
+
readonly code: "too_big";
|
|
212
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
213
|
+
readonly maximum: number;
|
|
214
|
+
readonly inclusive?: boolean;
|
|
215
|
+
readonly exact?: boolean;
|
|
216
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
217
|
+
} | {
|
|
218
|
+
readonly path: (string | number | null)[];
|
|
219
|
+
readonly message: string;
|
|
220
|
+
readonly code: "too_small";
|
|
221
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
222
|
+
readonly minimum: number;
|
|
223
|
+
readonly inclusive?: boolean;
|
|
224
|
+
readonly exact?: boolean;
|
|
225
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
226
|
+
} | {
|
|
227
|
+
readonly path: (string | number | null)[];
|
|
228
|
+
readonly message: string;
|
|
229
|
+
readonly code: "unrecognized_keys";
|
|
230
|
+
readonly keys: string[];
|
|
231
|
+
readonly input?: {
|
|
232
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
233
|
+
} | undefined;
|
|
234
|
+
} | {
|
|
235
|
+
readonly path: (string | number | null)[];
|
|
236
|
+
readonly message: string;
|
|
237
|
+
readonly code: "invalid_union";
|
|
238
|
+
readonly errors: [];
|
|
239
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
240
|
+
readonly discriminator?: string | undefined;
|
|
241
|
+
readonly inclusive: false;
|
|
242
|
+
readonly matches: number[];
|
|
243
|
+
} | {
|
|
244
|
+
readonly path: (string | number | null)[];
|
|
245
|
+
readonly message: string;
|
|
246
|
+
readonly code: "invalid_union";
|
|
132
247
|
readonly errors: ({
|
|
133
|
-
path: (string | number)[];
|
|
134
|
-
message: string;
|
|
135
|
-
code: "custom";
|
|
136
|
-
params?:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
248
|
+
readonly path: (string | number | null)[];
|
|
249
|
+
readonly message: string;
|
|
250
|
+
readonly code: "custom";
|
|
251
|
+
readonly params?: Record<string, any> | undefined;
|
|
252
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
253
|
+
} | any | any | {
|
|
254
|
+
readonly path: (string | number | null)[];
|
|
255
|
+
readonly message: string;
|
|
256
|
+
readonly code: "invalid_format";
|
|
257
|
+
readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
|
|
258
|
+
readonly pattern?: string;
|
|
259
|
+
readonly input?: string;
|
|
145
260
|
} | {
|
|
146
|
-
path: (string | number)[];
|
|
147
|
-
message: string;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
fatal?: boolean | undefined;
|
|
261
|
+
readonly path: (string | number | null)[];
|
|
262
|
+
readonly message: string;
|
|
263
|
+
readonly code: "invalid_type";
|
|
264
|
+
readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
|
|
265
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
152
266
|
} | {
|
|
153
|
-
path: (string | number)[];
|
|
154
|
-
message: string;
|
|
155
|
-
code: "
|
|
156
|
-
|
|
267
|
+
readonly path: (string | number | null)[];
|
|
268
|
+
readonly message: string;
|
|
269
|
+
readonly code: "invalid_value";
|
|
270
|
+
readonly values: (string | number | boolean | null)[];
|
|
271
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
157
272
|
} | {
|
|
158
|
-
path: (string | number)[];
|
|
159
|
-
message: string;
|
|
160
|
-
code: "
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
fatal?: boolean | undefined;
|
|
273
|
+
readonly path: (string | number | null)[];
|
|
274
|
+
readonly message: string;
|
|
275
|
+
readonly code: "not_multiple_of";
|
|
276
|
+
readonly divisor: number;
|
|
277
|
+
readonly input?: number | undefined;
|
|
164
278
|
} | {
|
|
165
|
-
path: (string | number)[];
|
|
166
|
-
message: string;
|
|
167
|
-
code: "
|
|
168
|
-
|
|
169
|
-
|
|
279
|
+
readonly path: (string | number | null)[];
|
|
280
|
+
readonly message: string;
|
|
281
|
+
readonly code: "too_big";
|
|
282
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
283
|
+
readonly maximum: number;
|
|
284
|
+
readonly inclusive?: boolean;
|
|
285
|
+
readonly exact?: boolean;
|
|
286
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
170
287
|
} | {
|
|
171
|
-
path: (string | number)[];
|
|
172
|
-
message: string;
|
|
173
|
-
code: "
|
|
174
|
-
|
|
175
|
-
|
|
288
|
+
readonly path: (string | number | null)[];
|
|
289
|
+
readonly message: string;
|
|
290
|
+
readonly code: "too_small";
|
|
291
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
292
|
+
readonly minimum: number;
|
|
293
|
+
readonly inclusive?: boolean;
|
|
294
|
+
readonly exact?: boolean;
|
|
295
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
176
296
|
} | {
|
|
177
|
-
path: (string | number)[];
|
|
178
|
-
message: string;
|
|
179
|
-
code: "
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
297
|
+
readonly path: (string | number | null)[];
|
|
298
|
+
readonly message: string;
|
|
299
|
+
readonly code: "unrecognized_keys";
|
|
300
|
+
readonly keys: string[];
|
|
301
|
+
readonly input?: {
|
|
302
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
303
|
+
} | undefined;
|
|
304
|
+
} | {
|
|
305
|
+
readonly path: (string | number | null)[];
|
|
306
|
+
readonly message: string;
|
|
307
|
+
readonly code: "invalid_union";
|
|
308
|
+
readonly errors: [];
|
|
309
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
310
|
+
readonly discriminator?: string | undefined;
|
|
311
|
+
readonly inclusive: false;
|
|
312
|
+
readonly matches: number[];
|
|
313
|
+
} | any)[][];
|
|
314
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
315
|
+
readonly discriminator?: string | undefined;
|
|
316
|
+
readonly options?: (string | number | boolean | null)[] | undefined;
|
|
317
|
+
readonly inclusive?: true;
|
|
318
|
+
})[];
|
|
319
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
320
|
+
} | {
|
|
321
|
+
readonly path: (string | number | null)[];
|
|
322
|
+
readonly message: string;
|
|
323
|
+
readonly code: "invalid_key";
|
|
324
|
+
readonly origin: "map" | "record";
|
|
325
|
+
readonly issues: ({
|
|
326
|
+
readonly path: (string | number | null)[];
|
|
327
|
+
readonly message: string;
|
|
328
|
+
readonly code: "custom";
|
|
329
|
+
readonly params?: Record<string, any> | undefined;
|
|
330
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
331
|
+
} | any | any | {
|
|
332
|
+
readonly path: (string | number | null)[];
|
|
333
|
+
readonly message: string;
|
|
334
|
+
readonly code: "invalid_format";
|
|
335
|
+
readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
|
|
336
|
+
readonly pattern?: string;
|
|
337
|
+
readonly input?: string;
|
|
338
|
+
} | {
|
|
339
|
+
readonly path: (string | number | null)[];
|
|
340
|
+
readonly message: string;
|
|
341
|
+
readonly code: "invalid_type";
|
|
342
|
+
readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
|
|
343
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
344
|
+
} | {
|
|
345
|
+
readonly path: (string | number | null)[];
|
|
346
|
+
readonly message: string;
|
|
347
|
+
readonly code: "invalid_value";
|
|
348
|
+
readonly values: (string | number | boolean | null)[];
|
|
349
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
350
|
+
} | {
|
|
351
|
+
readonly path: (string | number | null)[];
|
|
352
|
+
readonly message: string;
|
|
353
|
+
readonly code: "not_multiple_of";
|
|
354
|
+
readonly divisor: number;
|
|
355
|
+
readonly input?: number | undefined;
|
|
356
|
+
} | {
|
|
357
|
+
readonly path: (string | number | null)[];
|
|
358
|
+
readonly message: string;
|
|
359
|
+
readonly code: "too_big";
|
|
360
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
361
|
+
readonly maximum: number;
|
|
362
|
+
readonly inclusive?: boolean;
|
|
363
|
+
readonly exact?: boolean;
|
|
364
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
365
|
+
} | {
|
|
366
|
+
readonly path: (string | number | null)[];
|
|
367
|
+
readonly message: string;
|
|
368
|
+
readonly code: "too_small";
|
|
369
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
370
|
+
readonly minimum: number;
|
|
371
|
+
readonly inclusive?: boolean;
|
|
372
|
+
readonly exact?: boolean;
|
|
373
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
374
|
+
} | {
|
|
375
|
+
readonly path: (string | number | null)[];
|
|
376
|
+
readonly message: string;
|
|
377
|
+
readonly code: "unrecognized_keys";
|
|
378
|
+
readonly keys: string[];
|
|
379
|
+
readonly input?: {
|
|
380
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
381
|
+
} | undefined;
|
|
382
|
+
} | {
|
|
383
|
+
readonly path: (string | number | null)[];
|
|
384
|
+
readonly message: string;
|
|
385
|
+
readonly code: "invalid_union";
|
|
386
|
+
readonly errors: [];
|
|
387
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
388
|
+
readonly discriminator?: string | undefined;
|
|
389
|
+
readonly inclusive: false;
|
|
390
|
+
readonly matches: number[];
|
|
391
|
+
} | {
|
|
392
|
+
readonly path: (string | number | null)[];
|
|
393
|
+
readonly message: string;
|
|
394
|
+
readonly code: "invalid_union";
|
|
395
|
+
readonly errors: ({
|
|
396
|
+
readonly path: (string | number | null)[];
|
|
397
|
+
readonly message: string;
|
|
398
|
+
readonly code: "custom";
|
|
399
|
+
readonly params?: Record<string, any> | undefined;
|
|
400
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
401
|
+
} | any | any | {
|
|
402
|
+
readonly path: (string | number | null)[];
|
|
403
|
+
readonly message: string;
|
|
404
|
+
readonly code: "invalid_format";
|
|
405
|
+
readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
|
|
406
|
+
readonly pattern?: string;
|
|
407
|
+
readonly input?: string;
|
|
183
408
|
} | {
|
|
184
|
-
path: (string | number)[];
|
|
185
|
-
message: string;
|
|
186
|
-
code: "
|
|
187
|
-
|
|
188
|
-
|
|
409
|
+
readonly path: (string | number | null)[];
|
|
410
|
+
readonly message: string;
|
|
411
|
+
readonly code: "invalid_type";
|
|
412
|
+
readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
|
|
413
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
189
414
|
} | {
|
|
190
|
-
path: (string | number)[];
|
|
191
|
-
message: string;
|
|
192
|
-
code: "
|
|
193
|
-
|
|
194
|
-
|
|
415
|
+
readonly path: (string | number | null)[];
|
|
416
|
+
readonly message: string;
|
|
417
|
+
readonly code: "invalid_value";
|
|
418
|
+
readonly values: (string | number | boolean | null)[];
|
|
419
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
195
420
|
} | {
|
|
196
|
-
path: (string | number)[];
|
|
197
|
-
message: string;
|
|
198
|
-
code: "
|
|
199
|
-
|
|
421
|
+
readonly path: (string | number | null)[];
|
|
422
|
+
readonly message: string;
|
|
423
|
+
readonly code: "not_multiple_of";
|
|
424
|
+
readonly divisor: number;
|
|
425
|
+
readonly input?: number | undefined;
|
|
200
426
|
} | {
|
|
201
|
-
path: (string | number)[];
|
|
202
|
-
message: string;
|
|
203
|
-
code: "
|
|
204
|
-
|
|
205
|
-
|
|
427
|
+
readonly path: (string | number | null)[];
|
|
428
|
+
readonly message: string;
|
|
429
|
+
readonly code: "too_big";
|
|
430
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
431
|
+
readonly maximum: number;
|
|
432
|
+
readonly inclusive?: boolean;
|
|
433
|
+
readonly exact?: boolean;
|
|
434
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
206
435
|
} | {
|
|
207
|
-
path: (string | number)[];
|
|
208
|
-
message: string;
|
|
209
|
-
code: "
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
436
|
+
readonly path: (string | number | null)[];
|
|
437
|
+
readonly message: string;
|
|
438
|
+
readonly code: "too_small";
|
|
439
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
440
|
+
readonly minimum: number;
|
|
441
|
+
readonly inclusive?: boolean;
|
|
442
|
+
readonly exact?: boolean;
|
|
443
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
215
444
|
} | {
|
|
216
|
-
path: (string | number)[];
|
|
217
|
-
message: string;
|
|
218
|
-
code: "
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
fatal?: boolean | undefined;
|
|
445
|
+
readonly path: (string | number | null)[];
|
|
446
|
+
readonly message: string;
|
|
447
|
+
readonly code: "unrecognized_keys";
|
|
448
|
+
readonly keys: string[];
|
|
449
|
+
readonly input?: {
|
|
450
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
451
|
+
} | undefined;
|
|
224
452
|
} | {
|
|
225
|
-
path: (string | number)[];
|
|
226
|
-
message: string;
|
|
227
|
-
code: "
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
readonly
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
fatal?: boolean | undefined;
|
|
244
|
-
} | {
|
|
245
|
-
path: (string | number)[];
|
|
246
|
-
message: string;
|
|
247
|
-
code: "invalid_date";
|
|
248
|
-
fatal?: boolean | undefined;
|
|
249
|
-
} | {
|
|
250
|
-
path: (string | number)[];
|
|
251
|
-
message: string;
|
|
252
|
-
received: string | number;
|
|
253
|
-
code: "invalid_enum_value";
|
|
254
|
-
options: (string | number)[];
|
|
255
|
-
fatal?: boolean | undefined;
|
|
453
|
+
readonly path: (string | number | null)[];
|
|
454
|
+
readonly message: string;
|
|
455
|
+
readonly code: "invalid_union";
|
|
456
|
+
readonly errors: [];
|
|
457
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
458
|
+
readonly discriminator?: string | undefined;
|
|
459
|
+
readonly inclusive: false;
|
|
460
|
+
readonly matches: number[];
|
|
461
|
+
} | any)[][];
|
|
462
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
463
|
+
readonly discriminator?: string | undefined;
|
|
464
|
+
readonly options?: (string | number | boolean | null)[] | undefined;
|
|
465
|
+
readonly inclusive?: true;
|
|
466
|
+
})[];
|
|
467
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
256
468
|
} | {
|
|
257
|
-
path: (string | number)[];
|
|
258
|
-
message: string;
|
|
259
|
-
code: "
|
|
260
|
-
|
|
469
|
+
readonly path: (string | number | null)[];
|
|
470
|
+
readonly message: string;
|
|
471
|
+
readonly code: "invalid_format";
|
|
472
|
+
readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
|
|
473
|
+
readonly pattern?: string;
|
|
474
|
+
readonly input?: string;
|
|
261
475
|
} | {
|
|
262
|
-
path: (string | number)[];
|
|
263
|
-
message: string;
|
|
264
|
-
code: "
|
|
265
|
-
expected: import("
|
|
266
|
-
|
|
267
|
-
fatal?: boolean | undefined;
|
|
476
|
+
readonly path: (string | number | null)[];
|
|
477
|
+
readonly message: string;
|
|
478
|
+
readonly code: "invalid_type";
|
|
479
|
+
readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
|
|
480
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
268
481
|
} | {
|
|
269
|
-
path: (string | number)[];
|
|
270
|
-
message: string;
|
|
271
|
-
code: "
|
|
272
|
-
|
|
273
|
-
|
|
482
|
+
readonly path: (string | number | null)[];
|
|
483
|
+
readonly message: string;
|
|
484
|
+
readonly code: "invalid_value";
|
|
485
|
+
readonly values: (string | number | boolean | null)[];
|
|
486
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
274
487
|
} | {
|
|
275
|
-
path: (string | number)[];
|
|
276
|
-
message: string;
|
|
277
|
-
code: "
|
|
278
|
-
|
|
279
|
-
|
|
488
|
+
readonly path: (string | number | null)[];
|
|
489
|
+
readonly message: string;
|
|
490
|
+
readonly code: "not_multiple_of";
|
|
491
|
+
readonly divisor: number;
|
|
492
|
+
readonly input?: number | undefined;
|
|
280
493
|
} | {
|
|
281
|
-
path: (string | number)[];
|
|
282
|
-
message: string;
|
|
283
|
-
code: "
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
494
|
+
readonly path: (string | number | null)[];
|
|
495
|
+
readonly message: string;
|
|
496
|
+
readonly code: "too_big";
|
|
497
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
498
|
+
readonly maximum: number;
|
|
499
|
+
readonly inclusive?: boolean;
|
|
500
|
+
readonly exact?: boolean;
|
|
501
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
287
502
|
} | {
|
|
288
|
-
path: (string | number)[];
|
|
289
|
-
message: string;
|
|
290
|
-
code: "
|
|
291
|
-
|
|
292
|
-
|
|
503
|
+
readonly path: (string | number | null)[];
|
|
504
|
+
readonly message: string;
|
|
505
|
+
readonly code: "too_small";
|
|
506
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
507
|
+
readonly minimum: number;
|
|
508
|
+
readonly inclusive?: boolean;
|
|
509
|
+
readonly exact?: boolean;
|
|
510
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
293
511
|
} | {
|
|
294
|
-
path: (string | number)[];
|
|
295
|
-
message: string;
|
|
296
|
-
code: "
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
message: string;
|
|
302
|
-
code: "not_finite";
|
|
303
|
-
fatal?: boolean | undefined;
|
|
304
|
-
} | {
|
|
305
|
-
path: (string | number)[];
|
|
306
|
-
message: string;
|
|
307
|
-
code: "not_multiple_of";
|
|
308
|
-
multipleOf: number;
|
|
309
|
-
fatal?: boolean | undefined;
|
|
310
|
-
} | {
|
|
311
|
-
path: (string | number)[];
|
|
312
|
-
message: string;
|
|
313
|
-
code: "too_big";
|
|
314
|
-
maximum: number;
|
|
315
|
-
inclusive: boolean;
|
|
316
|
-
exact?: boolean;
|
|
317
|
-
type: "array" | "string" | "number" | "set" | "date" | "bigint";
|
|
318
|
-
fatal?: boolean | undefined;
|
|
512
|
+
readonly path: (string | number | null)[];
|
|
513
|
+
readonly message: string;
|
|
514
|
+
readonly code: "unrecognized_keys";
|
|
515
|
+
readonly keys: string[];
|
|
516
|
+
readonly input?: {
|
|
517
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
518
|
+
} | undefined;
|
|
319
519
|
} | {
|
|
320
|
-
path: (string | number)[];
|
|
321
|
-
message: string;
|
|
322
|
-
code: "
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
520
|
+
readonly path: (string | number | null)[];
|
|
521
|
+
readonly message: string;
|
|
522
|
+
readonly code: "invalid_union";
|
|
523
|
+
readonly errors: [];
|
|
524
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
525
|
+
readonly discriminator?: string | undefined;
|
|
526
|
+
readonly inclusive: false;
|
|
527
|
+
readonly matches: number[];
|
|
328
528
|
} | {
|
|
329
|
-
path: (string | number)[];
|
|
330
|
-
message: string;
|
|
331
|
-
code: "
|
|
332
|
-
|
|
333
|
-
|
|
529
|
+
readonly path: (string | number | null)[];
|
|
530
|
+
readonly message: string;
|
|
531
|
+
readonly code: "invalid_union";
|
|
532
|
+
readonly errors: ({
|
|
533
|
+
readonly path: (string | number | null)[];
|
|
534
|
+
readonly message: string;
|
|
535
|
+
readonly code: "custom";
|
|
536
|
+
readonly params?: Record<string, any> | undefined;
|
|
537
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
538
|
+
} | any | any | {
|
|
539
|
+
readonly path: (string | number | null)[];
|
|
540
|
+
readonly message: string;
|
|
541
|
+
readonly code: "invalid_format";
|
|
542
|
+
readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
|
|
543
|
+
readonly pattern?: string;
|
|
544
|
+
readonly input?: string;
|
|
545
|
+
} | {
|
|
546
|
+
readonly path: (string | number | null)[];
|
|
547
|
+
readonly message: string;
|
|
548
|
+
readonly code: "invalid_type";
|
|
549
|
+
readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
|
|
550
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
551
|
+
} | {
|
|
552
|
+
readonly path: (string | number | null)[];
|
|
553
|
+
readonly message: string;
|
|
554
|
+
readonly code: "invalid_value";
|
|
555
|
+
readonly values: (string | number | boolean | null)[];
|
|
556
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
557
|
+
} | {
|
|
558
|
+
readonly path: (string | number | null)[];
|
|
559
|
+
readonly message: string;
|
|
560
|
+
readonly code: "not_multiple_of";
|
|
561
|
+
readonly divisor: number;
|
|
562
|
+
readonly input?: number | undefined;
|
|
563
|
+
} | {
|
|
564
|
+
readonly path: (string | number | null)[];
|
|
565
|
+
readonly message: string;
|
|
566
|
+
readonly code: "too_big";
|
|
567
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
568
|
+
readonly maximum: number;
|
|
569
|
+
readonly inclusive?: boolean;
|
|
570
|
+
readonly exact?: boolean;
|
|
571
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
572
|
+
} | {
|
|
573
|
+
readonly path: (string | number | null)[];
|
|
574
|
+
readonly message: string;
|
|
575
|
+
readonly code: "too_small";
|
|
576
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
577
|
+
readonly minimum: number;
|
|
578
|
+
readonly inclusive?: boolean;
|
|
579
|
+
readonly exact?: boolean;
|
|
580
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
581
|
+
} | {
|
|
582
|
+
readonly path: (string | number | null)[];
|
|
583
|
+
readonly message: string;
|
|
584
|
+
readonly code: "unrecognized_keys";
|
|
585
|
+
readonly keys: string[];
|
|
586
|
+
readonly input?: {
|
|
587
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
588
|
+
} | undefined;
|
|
589
|
+
} | {
|
|
590
|
+
readonly path: (string | number | null)[];
|
|
591
|
+
readonly message: string;
|
|
592
|
+
readonly code: "invalid_union";
|
|
593
|
+
readonly errors: [];
|
|
594
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
595
|
+
readonly discriminator?: string | undefined;
|
|
596
|
+
readonly inclusive: false;
|
|
597
|
+
readonly matches: number[];
|
|
598
|
+
} | any)[][];
|
|
599
|
+
readonly input?: import("hono/utils/types").JSONValue | undefined;
|
|
600
|
+
readonly discriminator?: string | undefined;
|
|
601
|
+
readonly options?: (string | number | boolean | null)[] | undefined;
|
|
602
|
+
readonly inclusive?: true;
|
|
334
603
|
})[];
|
|
335
604
|
}, 400, "json">)>;
|
|
336
605
|
//# sourceMappingURL=jsonValidatorMiddleware.d.ts.map
|