Skip to content

BlockSuite API Documentation / @blocksuite/store / BlobCRUD

Interface: BlobCRUD

Defined in: packages/framework/store/src/transformer/type.ts:70

Properties

delete()

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

Defined in: packages/framework/store/src/transformer/type.ts:73

Parameters

key

string

Returns

void | Promise<void>


get()

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

Defined in: packages/framework/store/src/transformer/type.ts:71

Parameters

key

string

Returns

null | Blob | Promise<null | Blob>


list()

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

Defined in: packages/framework/store/src/transformer/type.ts:74

Returns

string[] | Promise<string[]>


set()

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

Defined in: packages/framework/store/src/transformer/type.ts:72

Parameters

key

string

value

Blob

Returns

string | Promise<string>