@nahkies/typescript-express-runtime
Version:
Runtime package for code generated by @nahkies/openapi-code-generator using the typescript-express template
11 lines (10 loc) • 673 B
text/typescript
import { n as RequestInputType } from "./errors-wfy_EOcy.mjs";
import { r as ResponseValidator } from "./server-Uf1vEiiL.mjs";
import { z } from "zod/v3";
//#region src/zod-v3.d.ts
declare function parseRequestInput<Schema extends z.ZodTypeAny>(schema: Schema, input: unknown, type: RequestInputType): z.infer<Schema>;
declare function parseRequestInput(schema: undefined, input: unknown, type: RequestInputType): undefined;
declare function responseValidationFactory(possibleResponses: [string, z.ZodTypeAny][], defaultResponse?: z.ZodTypeAny): ResponseValidator;
//#endregion
export { parseRequestInput, responseValidationFactory };
//# sourceMappingURL=zod-v3.d.mts.map