Skip to main content

Module settings

Module settings 

Source
Expand description

The durable settings document and the explorer record, stored as rightkit-app-settings envelopes under <data_dir>/<namespace>/ (or directly in the app’s own folder, in_app_folder).

Structs§

SettingsStore
The settings document (<data_dir>/<namespace>/settings.json) and the explorer sidebar’s record (explorer.json, an object of key to text). The TypeScript side owns the settings shape, so the store keeps one opaque JSON object. Only a successful open is cached; a failed open is reported on every call and retried.
SettingsWrite
The outcome of SettingsStore::set.

Constants§

SETTINGS_KEY
The settings key the frontend stores its document under.