Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/zod/mod.ts>ZodTransformer

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
class ZodTransformer
import { ZodTransformer } from "https://deno.land/x/netzo@0.5.70/deps/zod/mod.ts";

Type Parameters

T extends ZodTypeAny
optional
Output = output<T>
optional
Input = input<T>

Static Properties

create: <I extends ZodTypeAny>(
schema: I,
effect: Effect<I["_output"]>,
params?: RawCreateParams,
) => ZodEffects<I, I["_output"]>
createWithPreprocess: <I extends ZodTypeAny>(
preprocess: (arg: unknown, ctx: RefinementCtx) => unknown,
schema: I,
params?: RawCreateParams,
) => ZodEffects<I, I["_output"], unknown>