Skip to content

API > @blocksuite/store > AdapterAssetsManager

Class: AdapterAssetsManager ​

Extends ​

  • AssetsManager

Constructors ​

constructor ​

new AdapterAssetsManager(): AdapterAssetsManager

Returns ​

AdapterAssetsManager

Overrides ​

AssetsManager.constructor

Defined In ​

packages/store/src/adapter/assets.ts:64

Methods ​

cleanup ​

cleanup(): void

Returns ​

void

Inherited from ​

AssetsManager.cleanup

Defined In ​

packages/store/src/transformer/assets.ts:21


getAssets ​

getAssets(): Map< string, Blob >

Returns ​

Map< string, Blob >

Inherited from ​

AssetsManager.getAssets

Defined In ​

packages/store/src/transformer/assets.ts:17


readFromBlob ​

readFromBlob(blobId): Promise< void >

Parameters ​

ParameterType
blobIdstring

Returns ​

Promise< void >

Inherited from ​

AssetsManager.readFromBlob

Defined In ​

packages/store/src/transformer/assets.ts:25


writeToBlob ​

writeToBlob(blobId): Promise< void >

Parameters ​

ParameterType
blobIdstring

Returns ​

Promise< void >

Inherited from ​

AssetsManager.writeToBlob

Defined In ​

packages/store/src/transformer/assets.ts:32