Canonical, provider-neutral domain model β the single source of truth for
the appβs core data shapes, shared with the frontend via generated bindings.
Cached thumbnails are handed to the webview as asset-protocol URLs by
convertFileSrc (asset://localhost/β¦ on Linux/macOS,
http://asset.localhost/β¦ on Windows/Android). Tauri only answers that
origin when the protocol-asset cargo feature is compiled in andapp.security.assetProtocol.enable is set in tauri.conf.json. Both are
required together: with either missing the URL resolves to nothing and the
webview reports NETWORK_NO_SOURCE, which is how offline video came to fail
silently.
Construct the tauri-specta command builder. Shared by run() and the
bindings-export test so the TypeScript bindings always match the handler.
What the engine built for this platform can do.