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

x/netzo/components/blocks/form/utils.ts>getBaseSchema

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function getBaseSchema
import { getBaseSchema } from "https://deno.land/x/netzo@0.4.40/components/blocks/form/utils.ts";

Get the lowest level Zod type. This will unpack optionals, refinements, etc.

Type Parameters

optional
ChildType extends z.ZodAny | z.AnyZodObject = z.ZodAny

Parameters

schema: ChildType | z.ZodEffects<ChildType>