import { ZodString } from "https://dotland.deno.dev/x/zod@v3.21.2/mod.ts";
Properties
Methods
_addCheck(check: ZodStringCheck)
_parse(input: ParseInput): ParseReturnType<string>
cuid(message?: errorUtil.ErrMessage)
cuid2(message?: errorUtil.ErrMessage)
datetime(options?: string | { message?: string | undefined; precision?: number | null; offset?: boolean; })
email(message?: errorUtil.ErrMessage)
emoji(message?: errorUtil.ErrMessage)
endsWith(value: string, message?: errorUtil.ErrMessage)
includes(value: string, options?: { message?: string; position?: number; })
ip(options?: string | { version?: "v4" | "v6"; message?: string; })
length(len: number, message?: errorUtil.ErrMessage)
max(maxLength: number, message?: errorUtil.ErrMessage)
min(minLength: number, message?: errorUtil.ErrMessage)
regex(regex: RegExp, message?: errorUtil.ErrMessage)
startsWith(value: string, message?: errorUtil.ErrMessage)
ulid(message?: errorUtil.ErrMessage)
url(message?: errorUtil.ErrMessage)
uuid(message?: errorUtil.ErrMessage)
Static Properties
create: (params?: RawCreateParams & { coerce?: true; }) => ZodString