BlockSuite API Documentation / @blocksuite/store / BlobManager
Interface: BlobManager
Properties
decreaseRef
decreaseRef: (
blobId
) =>void
Parameters
• blobId: string
Returns
void
Source
packages/framework/store/src/persistence/blob/types.ts:16
delete
delete: (
key
) =>Promise
<void
>
Parameters
• key: string
Returns
Promise
<void
>
Source
packages/framework/store/src/persistence/blob/types.ts:11
gc
gc: () =>
Promise
<void
>
Returns
Promise
<void
>
Source
packages/framework/store/src/persistence/blob/types.ts:14
get
get: (
key
) =>Promise
<null
|Blob
>
Parameters
• key: string
Returns
Promise
<null
| Blob
>
Source
packages/framework/store/src/persistence/blob/types.ts:9
increaseRef
increaseRef: (
blobId
) =>void
Parameters
• blobId: string
Returns
void
Source
packages/framework/store/src/persistence/blob/types.ts:15
list
list: () =>
Promise
<string
[]>
Returns
Promise
<string
[]>
Source
packages/framework/store/src/persistence/blob/types.ts:12
set
set: (
value
,key
?) =>Promise
<string
>
Parameters
• value: Blob
• key?: string
Returns
Promise
<string
>
Source
packages/framework/store/src/persistence/blob/types.ts:10
Generated using TypeDoc and typedoc-plugin-markdown.