mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-08 16:07:50 +02:00
Allow js to use pre-stored (de)serialize functions
This commit is contained in:
@@ -21,6 +21,14 @@ export type StoreOptions = {
|
||||
* Auto save on modification with debounce duration in milliseconds, it's 100ms by default, pass in `false` to disable it
|
||||
*/
|
||||
autoSave?: boolean | number
|
||||
/**
|
||||
* Name of a serialize function registered in the rust side plugin builder
|
||||
*/
|
||||
serializeFnName?: string
|
||||
/**
|
||||
* Name of a deserialize function registered in the rust side plugin builder
|
||||
*/
|
||||
deserializeFnName?: string
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user