Skip to main content

Module commands

Module commands 

Source
Expand description

The platform IPC surface.

Commands are the only way the frontend causes anything to happen. They are thin: they resolve state, call the domain, and translate errors — no logic lives here.

Structs§

CommandError
Error payload for IPC.

Functions§

origin_account_disconnect
Remove an account and its credentials.
origin_accounts
Every connected account, across all connectors.
origin_app_info
origin_connectors
What this build can connect to.
origin_health
Overall health across every registered sync target.
origin_job_cancel
Ask a job to stop.
origin_jobs
Jobs the application knows about, newest first.
origin_open_url
Open an external URL.
origin_setting_get
origin_setting_set
origin_settings_customised
origin_sync_now
Refresh one target now.
origin_sync_status