@valon-technologies/gestalt
Preparing search index...
schema
Schema
Interface Schema<T>
Runtime schema that validates operation input and output values.
interface
Schema
<
T
>
{
catalogType
:
CatalogType
;
description
:
string
;
required
:
boolean
;
defaultValue
:
T
|
undefined
;
fields
?:
Record
<
string
,
Schema
<
unknown
>
>
;
item
?:
Schema
<
unknown
>
;
parse
(
value
:
unknown
,
path
?:
string
)
:
T
;
}
Type Parameters
T
Index
Properties
catalog
Type
description
required
default
Value
fields?
item?
Methods
parse
Properties
Readonly
catalog
Type
catalogType
:
CatalogType
Readonly
description
description
:
string
Readonly
required
required
:
boolean
Readonly
default
Value
defaultValue
:
T
|
undefined
Optional
Readonly
fields
fields
?:
Record
<
string
,
Schema
<
unknown
>
>
Optional
Readonly
item
item
?:
Schema
<
unknown
>
Methods
parse
parse
(
value
:
unknown
,
path
?:
string
)
:
T
Parameters
value
:
unknown
Optional
path
:
string
Returns
T
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
catalog
Type
description
required
default
Value
fields
item
Methods
parse
@valon-technologies/gestalt
Loading...
Runtime schema that validates operation input and output values.