Skip to content

@burnmark-io/designer-core


@burnmark-io/designer-core / AssetStore

Interface: AssetStore

Defined in: packages/core/src/storage.ts:29

Storage for binary assets (images). Mirrors the AssetLoader interface but sits at the application persistence layer rather than the render loader. A single implementation often satisfies both interfaces.

Methods

delete()

delete(key): Promise<void>

Defined in: packages/core/src/storage.ts:32

Parameters

key

string

Returns

Promise<void>


load()

load(key): Promise<Uint8Array>

Defined in: packages/core/src/storage.ts:31

Parameters

key

string

Returns

Promise<Uint8Array>


store()

store(data, mimeType): Promise<string>

Defined in: packages/core/src/storage.ts:30

Parameters

data

Uint8Array | ArrayBuffer

mimeType

string

Returns

Promise<string>

Not affiliated with Dymo, Brother, Avery, or any hardware vendor.