Type alias ZodStringCheck
ZodStringCheck: { kind: "min"; message?: string; value: number; } | { kind: "max"; message?: string; value: number; } | { kind: "length"; message?: string; value: number; } | { kind: "email"; message?: string; } | { kind: "url"; message?: string; } | { kind: "emoji"; message?: string; } | { kind: "uuid"; message?: string; } | { kind: "cuid"; message?: string; } | { kind: "includes"; message?: string; position?: number; value: string; } | { kind: "cuid2"; message?: string; } | { kind: "ulid"; message?: string; } | { kind: "startsWith"; message?: string; value: string; } | { kind: "endsWith"; message?: string; value: string; } | { kind: "regex"; message?: string; regex: RegExp; } | { kind: "trim"; message?: string; } | { kind: "toLowerCase"; message?: string; } | { kind: "toUpperCase"; message?: string; } | { kind: "datetime"; message?: string; offset: boolean; precision: number | null; } | { kind: "ip"; message?: string; version?: IpVersion; } Type declaration
kind: "min"
Optional
message?: string
value: number
Type declaration
kind: "max"
Optional
message?: string
value: number
Type declaration
kind: "length"
Optional
message?: string
value: number
Type declaration
kind: "email"
Optional
message?: string
Type declaration
kind: "url"
Optional
message?: string
Type declaration
kind: "emoji"
Optional
message?: string
Type declaration
kind: "uuid"
Optional
message?: string
Type declaration
kind: "cuid"
Optional
message?: string
Type declaration
kind: "includes"
Optional
message?: string
Optional
position?: number
value: string
Type declaration
kind: "cuid2"
Optional
message?: string
Type declaration
kind: "ulid"
Optional
message?: string
Type declaration
kind: "startsWith"
Optional
message?: string
value: string
Type declaration
kind: "endsWith"
Optional
message?: string
value: string
Type declaration
kind: "regex"
Optional
message?: string
regex: RegExp
Type declaration
kind: "trim"
Optional
message?: string
Type declaration
kind: "toLowerCase"
Optional
message?: string
Type declaration
kind: "toUpperCase"
Optional
message?: string
Type declaration
kind: "datetime"
Optional
message?: string
offset: boolean
precision: number | null
Type declaration
kind: "ip"
Optional
message?: string
Optional
version?: IpVersion