Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/flowsafe
artifacts
ArtifactBucket
Interface ArtifactBucket
Structural subset of a Cloudflare R2Bucket binding.
interface
ArtifactBucket
{
delete
(
key
:
string
)
:
Promise
<
void
>
;
get
(
key
:
string
)
:
Promise
<
ArtifactBucketObjectBody
|
null
>
;
list
(
options
?:
{
cursor
?:
string
;
prefix
?:
string
}
,
)
:
Promise
<
ArtifactBucketListResult
>
;
put
(
key
:
string
,
value
:
ArtifactBody
,
options
?:
{
customMetadata
?:
Record
<
string
,
string
>
;
httpMetadata
?:
{
contentType
?:
string
}
;
}
,
)
:
Promise
<
ArtifactBucketObject
|
null
>
;
}
Implemented by
InMemoryArtifactBucket
Index
Methods
delete
get
list
put
Methods
delete
delete
(
key
:
string
)
:
Promise
<
void
>
Parameters
key
:
string
Returns
Promise
<
void
>
get
get
(
key
:
string
)
:
Promise
<
ArtifactBucketObjectBody
|
null
>
Parameters
key
:
string
Returns
Promise
<
ArtifactBucketObjectBody
|
null
>
list
list
(
options
?:
{
cursor
?:
string
;
prefix
?:
string
}
,
)
:
Promise
<
ArtifactBucketListResult
>
Parameters
Optional
options
:
{
cursor
?:
string
;
prefix
?:
string
}
Returns
Promise
<
ArtifactBucketListResult
>
put
put
(
key
:
string
,
value
:
ArtifactBody
,
options
?:
{
customMetadata
?:
Record
<
string
,
string
>
;
httpMetadata
?:
{
contentType
?:
string
}
;
}
,
)
:
Promise
<
ArtifactBucketObject
|
null
>
Parameters
key
:
string
value
:
ArtifactBody
Optional
options
:
{
customMetadata
?:
Record
<
string
,
string
>
;
httpMetadata
?:
{
contentType
?:
string
}
;
}
Returns
Promise
<
ArtifactBucketObject
|
null
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
delete
get
list
put
Documentation
GitHub
Anchorage API reference
Loading...
Structural subset of a Cloudflare R2Bucket binding.