Configuration
for the UCAN invocation. An object with issuer
, with
and proofs
.
The issuer
is the signing authority that is issuing the UCAN
invocation(s). It is typically the user agent.
The with
is the resource the invocation applies to. It is typically the
DID of a space.
The proofs
are a set of capability delegations that prove the issuer
has the capability to perform the action.
The issuer needs the store/add
and upload/add
delegated capability.
Files that should be in the directory.
To ensure determinism in the IPLD encoding, files are automatically sorted by file.name
.
To retain the order of the files as passed in the array, set customOrder
option to true
.
Optional
options: UploadDirectoryOptions = {}Generated using TypeDoc
Uploads a directory of files to the service and returns the root data CID for the generated DAG. All files are added to a container directory, with paths in file names preserved.
Required delegated capability proofs:
store/add
,upload/add