Github
Preparing search index...
The search index is not available
Documentation
Documentation
@web3-storage/access
Schema
LiteralSchema
Interface LiteralSchema<T, I>
Type Parameters
T
extends
string
|
number
|
boolean
|
null
I
=
unknown
Hierarchy
Schema
.
Schema
<
T
>
LiteralSchema
Index
Properties
value
Methods
and
array
brand
default
from
is
nullable
optional
or
read
refine
Properties
Readonly
value
value
:
T
Methods
and
and
<
T
>
(
other
)
:
Schema
.
Schema
<
T
&
T
,
unknown
>
Type Parameters
T
Parameters
other
:
Schema
.
Reader
<
T
,
unknown
,
Schema
.
Error
>
Returns
Schema
.
Schema
<
T
&
T
,
unknown
>
array
array
(
)
:
Schema
.
Schema
<
T
[]
,
unknown
>
Returns
Schema
.
Schema
<
T
[]
,
unknown
>
brand
brand
<
K
>
(
kind
?
)
:
Schema
.
Schema
<
Schema
.
Branded
<
T
,
K
>
,
unknown
>
Type Parameters
K
extends
string
Parameters
Optional
kind
:
K
Returns
Schema
.
Schema
<
Schema
.
Branded
<
T
,
K
>
,
unknown
>
default
default
(
value
?
)
:
Schema
.
DefaultSchema
<
T
&
Exclude
<
T
,
undefined
>
,
I
>
Parameters
Optional
value
:
T
Returns
Schema
.
DefaultSchema
<
T
&
Exclude
<
T
,
undefined
>
,
I
>
from
from
(
value
)
:
T
Parameters
value
:
unknown
Returns
T
is
is
(
value
)
:
value
is
T
Parameters
value
:
unknown
Returns
value
is
T
nullable
nullable
(
)
:
Schema
.
Schema
<
null
|
T
,
unknown
>
Returns
Schema
.
Schema
<
null
|
T
,
unknown
>
optional
optional
(
)
:
Schema
.
Schema
<
undefined
|
T
,
unknown
>
Returns
Schema
.
Schema
<
undefined
|
T
,
unknown
>
or
or
<
T
>
(
other
)
:
Schema
.
Schema
<
T
|
T
,
unknown
>
Type Parameters
T
Parameters
other
:
Schema
.
Reader
<
T
,
unknown
,
Schema
.
Error
>
Returns
Schema
.
Schema
<
T
|
T
,
unknown
>
read
read
(
input
)
:
Schema
.
Result
<
T
,
Schema
.
Error
>
Parameters
input
:
unknown
Returns
Schema
.
Result
<
T
,
Schema
.
Error
>
refine
refine
<
T
>
(
schema
)
:
Schema
.
Schema
<
T
,
unknown
>
Type Parameters
T
extends
null
|
string
|
number
|
boolean
Parameters
schema
:
Schema
.
Reader
<
T
&
T
,
T
,
Schema
.
Error
>
Returns
Schema
.
Schema
<
T
,
unknown
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
value
and
array
brand
default
from
is
nullable
optional
or
read
refine
Documentation
@web3-storage/access
@web3-storage/capabilities
@web3-storage/upload-client
@web3-storage/filecoin-client
@web3-storage/w3up-client
Generated using
TypeDoc