Interface: ZodISODate
Defined in: packages/agentos/node_modules/zod/v4/classic/iso.d.cts:8
Extends
Properties
_def
_def:
$ZodStringFormatDef<string>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:10
Deprecated
Use .def instead.
Inherited from
_input
_input:
string
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:14
Deprecated
Use z.input<typeof schema> instead.
Inherited from
_output
_output:
string
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:12
Deprecated
Use z.output<typeof schema> instead.
Inherited from
_zod
_zod:
$ZodISODateInternals
Defined in: packages/agentos/node_modules/zod/v4/classic/iso.d.cts:9
Overrides
~standard
~standard:
ZodStandardSchemaWithJSON<ZodISODate>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:15
Inherited from
def
def:
$ZodStringFormatDef<string>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:7
Inherited from
description?
optionaldescription:string
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:60
Inherited from
format
format:
string|null
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:88
Inherited from
maxLength
maxLength:
number|null
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:90
Inherited from
minLength
minLength:
number|null
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:89
Inherited from
spa()
spa: (
data,params?) =>Promise<ZodSafeParseResult<string>>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:29
Parameters
data
unknown
params?
Returns
Promise<ZodSafeParseResult<string>>
Inherited from
type
type:
"string"
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:8
Inherited from
Methods
and()
and<
T>(incoming):ZodIntersection<ZodISODate,T>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:52
Type Parameters
T
T extends SomeType
Parameters
incoming
T
Returns
ZodIntersection<ZodISODate, T>
Inherited from
apply()
apply<
T>(fn):T
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:82
Type Parameters
T
T
Parameters
fn
(schema) => T
Returns
T
Inherited from
array()
array():
ZodArray<ZodISODate>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:50
Returns
ZodArray<ZodISODate>
Inherited from
brand()
brand<
T,Dir>(value?):PropertyKeyextendsT?ZodISODate:$ZodBranded<ZodISODate,T,Dir>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:24
Type Parameters
T
T extends PropertyKey = PropertyKey
Dir
Dir extends "inout" | "in" | "out" = "out"
Parameters
value?
T
Returns
PropertyKey extends T ? ZodISODate : $ZodBranded<ZodISODate, T, Dir>
Inherited from
catch()
Call Signature
catch(
def):ZodCatch<ZodISODate>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:54
Parameters
def
string
Returns
ZodCatch<ZodISODate>
Inherited from
Call Signature
catch(
def):ZodCatch<ZodISODate>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:55
Parameters
def
(ctx) => string
Returns
ZodCatch<ZodISODate>
Inherited from
check()
check(...
checks):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:18
Parameters
checks
...($ZodCheck<string> | CheckFn<string>)[]
Returns
this
Inherited from
clone()
clone(
def?,params?):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:20
Parameters
def?
$ZodStringFormatDef<string>
params?
parent
boolean
Returns
this
Inherited from
decode()
decode(
data,params?):string
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:31
Parameters
data
string
params?
Returns
string
Inherited from
decodeAsync()
decodeAsync(
data,params?):Promise<string>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:33
Parameters
data
string
params?
Returns
Promise<string>
Inherited from
default()
Call Signature
default(
def):ZodDefault<ZodISODate>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:46
Parameters
def
string
Returns
ZodDefault<ZodISODate>
Inherited from
Call Signature
default(
def):ZodDefault<ZodISODate>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:47
Parameters
def
() => string
Returns
ZodDefault<ZodISODate>
Inherited from
describe()
describe(
description):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:59
Returns a new instance that has been registered in z.globalRegistry with the specified description
Parameters
description
string
Returns
this
Inherited from
encode()
encode(
data,params?):string
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:30
Parameters
data
string
params?
Returns
string
Inherited from
encodeAsync()
encodeAsync(
data,params?):Promise<string>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:32
Parameters
data
string
params?
Returns
Promise<string>
Inherited from
endsWith()
endsWith(
value,params?):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:94
Parameters
value
string
params?
string |
{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueInvalidStringFormat>; message?: string; }
abort?
boolean
If true, no later checks will be executed if this check fails. Default false.
error?
string | $ZodErrorMap<$ZodIssueInvalidStringFormat>
message?
string
Deprecated
This parameter is deprecated. Use error instead.
Returns
this
Inherited from
exactOptional()
exactOptional():
ZodExactOptional<ZodISODate>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:42
Returns
ZodExactOptional<ZodISODate>
Inherited from
includes()
includes(
value,params?):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:92
Parameters
value
string
params?
string |
{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueInvalidStringFormat>; message?: string; position?: number; }
abort?
boolean
If true, no later checks will be executed if this check fails. Default false.
error?
string | $ZodErrorMap<$ZodIssueInvalidStringFormat>
message?
string
Deprecated
This parameter is deprecated. Use error instead.
position?
number
Returns
this
Inherited from
isNullable()
isNullable():
boolean
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:81
Returns
boolean
Deprecated
Try safe-parsing null (this is what isNullable does internally):
const schema = z.string().nullable();
const isNullable = schema.safeParse(null).success; // true
Inherited from
isOptional()
isOptional():
boolean
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:72
Returns
boolean
Deprecated
Try safe-parsing undefined (this is what isOptional does internally):
const schema = z.string().optional();
const isOptional = schema.safeParse(undefined).success; // true
Inherited from
length()
length(
len,params?):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:97
Parameters
len
number
params?
string |
{ abort?: boolean; error?: string | $ZodErrorMap<NonNullable<$ZodIssueTooSmall<HasLength> | $ZodIssueTooBig<HasLength>>>; message?: string; }
abort?
boolean
If true, no later checks will be executed if this check fails. Default false.
error?
string | $ZodErrorMap<NonNullable<$ZodIssueTooSmall<HasLength> | $ZodIssueTooBig<HasLength>>>
message?
string
Deprecated
This parameter is deprecated. Use error instead.
Returns
this
Inherited from
lowercase()
lowercase(
params?):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:99
Parameters
params?
string |
{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueInvalidStringFormat>; message?: string; pattern?: RegExp; }
abort?
boolean
If true, no later checks will be executed if this check fails. Default false.
error?
string | $ZodErrorMap<$ZodIssueInvalidStringFormat>
message?
string
Deprecated
This parameter is deprecated. Use error instead.
pattern?
RegExp
Returns
this
Inherited from
max()
max(
maxLength,params?):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:96
Parameters
maxLength
number
params?
string |
{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooBig<HasLength>>; message?: string; }
abort?
boolean
If true, no later checks will be executed if this check fails. Default false.
error?
string | $ZodErrorMap<$ZodIssueTooBig<HasLength>>
message?
string
Deprecated
This parameter is deprecated. Use error instead.
Returns
this
Inherited from
meta()
Call Signature
meta(): {[
key:string]:unknown;deprecated?:boolean;description?:string;id?:string;title?:string; } |undefined
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:62
Returns the metadata associated with this instance in z.globalRegistry
Returns
{[key: string]: unknown; deprecated?: boolean; description?: string; id?: string; title?: string; } | undefined
Inherited from
Call Signature
meta(
data):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:64
Returns a new instance that has been registered in z.globalRegistry with the specified metadata
Parameters
data
deprecated?
boolean
description?
string
id?
string
title?
string
Returns
this
Inherited from
min()
min(
minLength,params?):this
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:95
Parameters
minLength
number
params?
string |
{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooSmall<HasLength>>; message?: string; }
abort?
boolean
If true, no later checks will be executed if this check fails. Default false.
error?
string | $ZodErrorMap<$ZodIssueTooSmall<HasLength>>
message?
string
Deprecated
This parameter is deprecated. Use error instead.