Github
Preparing search index...
The search index is not available
Documentation
Documentation
@web3-storage/access
addSpacesFromDelegations
Function addSpacesFromDelegations
add
Spaces
From
Delegations
<
S
>
(
agent
,
delegations
)
:
Promise
<
void
>
Given a list of delegations, add to agent data spaces list.
Type Parameters
S
extends
Record
<
string
,
any
>
=
Service
Parameters
agent
:
Agent
<
S
>
delegations
:
Delegation
<
Capabilities
>
[]
Returns
Promise
<
void
>
Deprecated
trying to remove explicit space tracking from Agent/AgentData in favor of functions that derive the space set from access.delegations
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Documentation
@web3-storage/access
@web3-storage/capabilities
@web3-storage/upload-client
@web3-storage/filecoin-client
@web3-storage/w3up-client
Generated using
TypeDoc
Given a list of delegations, add to agent data spaces list.