Skip to content
Shapemetry

@huukhanhnguyen/model / schema/store

schema/store

AssetFailure

AssetFailure = { message: string; name?: string; type: "font" | "image"; url: string; }

One failed fetch/decode from the async pre-load phase. The sync graph stays fail-soft on its own (a missing font falls back, the texture image op reports at resolve) — this record exists so a HOST can surface "asset X didn't load" instead of degrading silently.

message

message: string

name?

optional name?: string

The registration key — for a font, its url (fonts are keyed by URL, same as images).

type

type: "font" | "image"

url

url: string

Last updated: 📖 1 min readEdit on GitHub