Skip to content

BlockSuite API Documentation / @blocksuite/store / BlobStorageCRUD

Interface: BlobStorageCRUD ​

Contents ​

Properties ​

delete ​

delete: (key) => Promise<void>

Parameters ​

• key: string

Returns ​

Promise<void>

Source ​

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


get ​

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

Parameters ​

• key: string

Returns ​

Promise<null | Blob>

Source ​

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


list ​

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

Returns ​

Promise<string[]>

Source ​

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


set ​

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

Parameters ​

• key: string

• value: Blob

Returns ​

Promise<string>

Source ​

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


Generated using typedoc-plugin-markdown and TypeDoc