BlockSuite API Documentation / @blocksuite/store / BlobStorageCRUD
Interface: BlobStorageCRUD
Properties
delete
delete: (
key
) =>void
|Promise
<void
>
Parameters
• key: string
Returns
void
| Promise
<void
>
Source
packages/framework/store/src/persistence/blob/types.ts:4
get
get: (
key
) =>null
|Blob
|Promise
<null
|Blob
>
Parameters
• key: string
Returns
null
| Blob
| Promise
<null
| Blob
>
Source
packages/framework/store/src/persistence/blob/types.ts:2
list
list: () =>
string
[] |Promise
<string
[]>
Returns
string
[] | Promise
<string
[]>
Source
packages/framework/store/src/persistence/blob/types.ts:5
set
set: (
key
,value
) =>string
|Promise
<string
>
Parameters
• key: string
• value: Blob
Returns
string
| Promise
<string
>
Source
packages/framework/store/src/persistence/blob/types.ts:3