@valon-technologies/gestalt
Preparing search index...
schema
s
Variable s
Const
s
:
{
string
:
(
options
?:
SchemaOptions
<
string
>
)
=>
Schema
<
string
>
;
integer
:
(
options
?:
SchemaOptions
<
number
>
)
=>
Schema
<
number
>
;
number
:
(
options
?:
SchemaOptions
<
number
>
)
=>
Schema
<
number
>
;
boolean
:
(
options
?:
SchemaOptions
<
boolean
>
)
=>
Schema
<
boolean
>
;
array
:
<
T
>
(
item
:
Schema
<
T
>
,
options
?:
SchemaOptions
<
T
[]
>
)
=>
Schema
<
T
[]
>
;
object
:
<
T
extends
Record
<
string
,
unknown
>
>
(
fields
:
{
[
K
in
string
|
number
|
symbol
]
:
Schema
<
T
[
K
]
>
}
,
options
?:
SchemaOptions
<
T
>
,
)
=>
Schema
<
T
>
;
optional
:
<
T
>
(
schema
:
Schema
<
T
>
)
=>
Schema
<
T
|
undefined
>
;
}
= ...
Namespace-style schema builder helpers.
Type Declaration
string
:
(
options
?:
SchemaOptions
<
string
>
)
=>
Schema
<
string
>
integer
:
(
options
?:
SchemaOptions
<
number
>
)
=>
Schema
<
number
>
number
:
(
options
?:
SchemaOptions
<
number
>
)
=>
Schema
<
number
>
boolean
:
(
options
?:
SchemaOptions
<
boolean
>
)
=>
Schema
<
boolean
>
array
:
<
T
>
(
item
:
Schema
<
T
>
,
options
?:
SchemaOptions
<
T
[]
>
)
=>
Schema
<
T
[]
>
object
:
<
T
extends
Record
<
string
,
unknown
>
>
(
fields
:
{
[
K
in
string
|
number
|
symbol
]
:
Schema
<
T
[
K
]
>
}
,
options
?:
SchemaOptions
<
T
>
,
)
=>
Schema
<
T
>
optional
:
<
T
>
(
schema
:
Schema
<
T
>
)
=>
Schema
<
T
|
undefined
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@valon-technologies/gestalt
Loading...
Namespace-style schema builder helpers.