Github
Preparing search index...
The search index is not available
Documentation
Documentation
@web3-storage/access
Schema
API
Class API<T, I, Settings>
Abstract
Implements
Type Parameters
T
=
unknown
I
=
unknown
Settings
=
void
Hierarchy
API
Implements
Schema
.
Schema
<
T
,
I
>
Index
Constructors
constructor
Properties
settings
Methods
and
array
brand
default
from
is
nullable
optional
or
read
read
With
refine
to
String
Constructors
constructor
new API
<
T
,
I
,
Settings
>
(
settings
)
:
Schema
.
API
<
T
,
I
,
Settings
>
Type Parameters
T
=
unknown
I
=
unknown
Settings
=
void
Parameters
settings
:
Settings
Returns
Schema
.
API
<
T
,
I
,
Settings
>
Properties
Protected
settings
settings
:
Settings
Methods
and
and
<
U_1
>
(
schema
)
:
Schema
.
Schema
<
T
&
U_1
,
I
>
Type Parameters
U_1
Parameters
schema
:
Schema
.
Reader
<
U_1
,
I
,
Schema
.
Error
>
Returns
Schema
.
Schema
<
T
&
U_1
,
I
>
array
array
(
)
:
Schema
.
Schema
<
T
[]
,
I
>
Returns
Schema
.
Schema
<
T
[]
,
I
>
brand
brand
<
Kind
>
(
kind
?
)
:
Schema
.
Schema
<
Schema
.
Branded
<
T
,
Kind
>
,
I
>
Type Parameters
Kind
extends
string
Parameters
Optional
kind
:
Kind
Returns
Schema
.
Schema
<
Schema
.
Branded
<
T
,
Kind
>
,
I
>
default
default
(
value
)
:
Schema
.
DefaultSchema
<
Exclude
<
T
,
undefined
>
,
I
>
Parameters
value
:
Exclude
<
T
,
undefined
>
Returns
Schema
.
DefaultSchema
<
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
,
I
>
Returns
Schema
.
Schema
<
null
|
T
,
I
>
optional
optional
(
)
:
Schema
.
Schema
<
undefined
|
T
,
I
>
Returns
Schema
.
Schema
<
undefined
|
T
,
I
>
or
or
<
U
>
(
schema
)
:
Schema
.
Schema
<
T
|
U
,
I
>
Type Parameters
U
Parameters
schema
:
Schema
.
Reader
<
U
,
I
,
Schema
.
Error
>
Returns
Schema
.
Schema
<
T
|
U
,
I
>
read
read
(
input
)
:
Schema
.
ReadResult
<
T
,
Schema
.
Error
>
Parameters
input
:
I
Returns
Schema
.
ReadResult
<
T
,
Schema
.
Error
>
read
With
read
With
(
input
,
settings
)
:
Schema
.
ReadResult
<
T
,
Schema
.
Error
>
Parameters
input
:
I
settings
:
Settings
Returns
Schema
.
ReadResult
<
T
,
Schema
.
Error
>
Abstract
refine
refine
<
U_2
>
(
schema
)
:
Schema
.
Schema
<
U_2
,
I
>
Type Parameters
U_2
Parameters
schema
:
Schema
.
Reader
<
U_2
,
T
,
Schema
.
Error
>
Returns
Schema
.
Schema
<
U_2
,
I
>
to
String
to
String
(
)
:
string
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
settings
and
array
brand
default
from
is
nullable
optional
or
read
read
With
refine
to
String
Documentation
@web3-storage/access
@web3-storage/capabilities
@web3-storage/upload-client
@web3-storage/filecoin-client
@web3-storage/w3up-client
Generated using
TypeDoc
Abstract
Implements