Skip to content

BlockSuite API Documentation / @blocksuite/store / BlobManager

Interface: BlobManager ​

Contents ​

Properties ​

decreaseRef ​

decreaseRef: (blobId) => void

Parameters ​

• blobId: string

Returns ​

void

Source ​

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


delete ​

delete: (key) => Promise<void>

Parameters ​

• key: string

Returns ​

Promise<void>

Source ​

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


gc ​

gc: () => Promise<void>

Returns ​

Promise<void>

Source ​

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


get ​

get: (key) => Promise<null | Blob>

Parameters ​

• key: string

Returns ​

Promise<null | Blob>

Source ​

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


increaseRef ​

increaseRef: (blobId) => void

Parameters ​

• blobId: string

Returns ​

void

Source ​

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


list ​

list: () => Promise<string[]>

Returns ​

Promise<string[]>

Source ​

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


set ​

set: (value, key?) => Promise<string>

Parameters ​

• value: Blob

• key?: string

Returns ​

Promise<string>

Source ​

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


Generated using typedoc-plugin-markdown and TypeDoc