@mocanvas/editor · interface

AssetUploadResult

interface AssetUploadResult

What AssetStore.upload resolves to: where the bytes ended up, plus anything to remember.


Properties · 2

meta?: JsonObject

Extra data to merge into the asset's meta.

src: string

The URL to write into the asset record. Should be stable: it is synced to every peer.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.