Skip to main content

Crate picoframe_core

Crate picoframe_core 

Source
Expand description

Core types and the base frame plugin for picoframe Tauri apps.

Every picoframe plugin command returns a CliResult — a small, uniform envelope the frontend’s typed defineCommand bindings unwrap. This mirrors the engineer-assist CliResult pattern but trimmed to the essentials.

Structs§

CliResult
Uniform result envelope returned by picoframe plugin commands.

Constants§

STORE_PATH
The single disk store file picoframe apps share, in the app data dir. Both the JS side (@picoframe/store’s createTauriStore) and Rust plugins open this file, so no plugin needs to own “the” store. Namespace keys by convention, e.g. "hello.draft".

Functions§

init
The base frame plugin. Registered first in every picoframe app’s builder.
store
Handle to the shared picoframe store for the Rust side. Requires the app to register tauri_plugin_store::Builder::default().build() (the CLI app template does this).