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