Skip to content

BlockSuite API Documentation / @blocksuite/sync / BlobSource

Interface: BlobSource

Defined in: blob/source.ts:1

Properties

delete()

delete: (key) => Promise<void>

Defined in: blob/source.ts:6

Parameters

key

string

Returns

Promise<void>


get()

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

Defined in: blob/source.ts:4

Parameters

key

string

Returns

Promise<null | Blob>


list()

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

Defined in: blob/source.ts:7

Returns

Promise<string[]>


name

name: string

Defined in: blob/source.ts:2


readonly

readonly: boolean

Defined in: blob/source.ts:3


set()

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

Defined in: blob/source.ts:5

Parameters

key

string

value

Blob

Returns

Promise<string>