Optional
Readonly
debounceOptional
Readonly
deepWhether the store should be deeply watched for changes.
Optional
Readonly
filterKeys the plugin should save or ignore.
The behavior depends on the value of TauriPluginPiniaStoreOptions.filterKeysStrategy.
Optional
Readonly
filterStrategy to use when filtering keys.
pick
: Only the specified keys will be synced and saved.omit
: All keys will be synced and saved except the ones specified.You can also provide a custom function that will be called for each key.
If the function returns true
, the key will be saved and synced.
Optional
Readonly
ignoreKeys the plugin should ignore. Those won't be saved nor synced.
Use TauriPluginPiniaStoreOptions.filterKeys instead.
Optional
Readonly
onCustom error handler.
Default