Cell API
Docs
GitHub
Preparing search index...
@celljs/kit
StandardSchema
Interface StandardSchema<T>
A schema in the Standard Schema form (zod, valibot, arktype implement it).
interface
StandardSchema
<
T
=
unknown
>
{
"~standard"
:
{
vendor
:
string
;
version
:
1
;
validate
(
value
:
unknown
,
)
:
|
Promise
<
unknown
>
|
{
issues
?:
undefined
;
value
:
T
}
|
{
issues
:
readonly
{
message
:
string
;
path
?:
readonly
(
PropertyKey
|
{
key
:
PropertyKey
}
)
[]
;
}
[]
;
}
;
}
;
}
Type Parameters
T
=
unknown
Index
Properties
~standard
Properties
Readonly
~standard
"~standard"
:
{
vendor
:
string
;
version
:
1
;
validate
(
value
:
unknown
,
)
:
|
Promise
<
unknown
>
|
{
issues
?:
undefined
;
value
:
T
}
|
{
issues
:
readonly
{
message
:
string
;
path
?:
readonly
(
PropertyKey
|
{
key
:
PropertyKey
}
)
[]
;
}
[]
;
}
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
~standard
Docs
GitHub
Cell API
Loading...
A schema in the Standard Schema form (zod, valibot, arktype implement it).