Module

x/zod/types.ts>ZodStringCheck

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
type alias ZodStringCheck
import { type ZodStringCheck } from "https://dotland.deno.dev/x/zod@v3.20/types.ts";
definition:
| { kind: "min"; value: number; message?: string; }
| { kind: "max"; value: number; message?: string; }
| { kind: "length"; value: number; message?: string; }
| { kind: "email"; message?: string; }
| { kind: "url"; message?: string; }
| { kind: "uuid"; message?: string; }
| { kind: "cuid"; message?: string; }
| { kind: "startsWith"; value: string; message?: string; }
| { kind: "endsWith"; value: string; message?: string; }
| { kind: "regex"; regex: RegExp; message?: string; }
| { kind: "trim"; message?: string; }
| { kind: "datetime"; offset: boolean; precision: number | null; message?: string; }