Skip to content

BlockSuite API Documentation / @blocksuite/store / BlobManager

Interface: BlobManager

Properties

delete

delete: (key) => void | Promise<void>

Parameters

key: string

Returns

void | Promise<void>

Source

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


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:9


list

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

Returns

string[] | Promise<string[]>

Source

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


set

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

Parameters

value: Blob

key?: string

Returns

string | Promise<string>

Source

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