Skip to content

API > @blocksuite/store > BlobManager

Interface: BlobManager ​

Properties ​

decreaseRef ​

decreaseRef: function

Parameters ​

ParameterType
blobIdstring

Returns ​

void

Defined In ​

packages/store/src/persistence/blob/types.ts:16


delete ​

delete: function

Parameters ​

ParameterType
keystring

Returns ​

Promise< void >

Defined In ​

packages/store/src/persistence/blob/types.ts:11


gc ​

gc: function

Returns ​

Promise< void >

Defined In ​

packages/store/src/persistence/blob/types.ts:14


get ​

get: function

Parameters ​

ParameterType
keystring

Returns ​

Promise< null | Blob >

Defined In ​

packages/store/src/persistence/blob/types.ts:9


increaseRef ​

increaseRef: function

Parameters ​

ParameterType
blobIdstring

Returns ​

void

Defined In ​

packages/store/src/persistence/blob/types.ts:15


list ​

list: function

Returns ​

Promise< string[] >

Defined In ​

packages/store/src/persistence/blob/types.ts:12


set ​

set: function

Parameters ​

ParameterType
valueBlob
key?string

Returns ​

Promise< string >

Defined In ​

packages/store/src/persistence/blob/types.ts:10