Commit Graph

9 Commits

Author SHA1 Message Date
Lucas Nogueira 8a8bdcac23 rename createOrLoad to newOrExisting 2024-10-15 10:28:22 -03:00
Lucas Nogueira afbb5aae05 fmt 2024-10-15 08:08:52 -03:00
Tony dc5be009b7 Add create or existing 2024-10-05 16:21:27 +08:00
Tony 4f13a03401 Fix js get and close store 2024-10-03 20:10:15 +08:00
Tony 42c5a1cb56 try get first 2024-10-03 13:56:43 +08:00
Tony 3acf66ee57 Revert "Add get-or-create-store"
This reverts commit 7ffd769240.
2024-10-03 13:53:59 +08:00
Tony 7ffd769240 Add get-or-create-store 2024-10-03 13:34:38 +08:00
Tony f12d35609a feat(store)!: fully rework and add auto save (#1550)
* Add auto save to store plugin

* Put jsdoc at constructor instead of class level

* Clippy

* Use enum instead of bool

* Some(AutoSaveMessage::Cancel) | None

* from_millis

* u64

* Add change file

* Rename to emit_on_change

* should use Duration in `with_store`

* Add breaking change notice to change file

* Emit change event for inserts by reset

* Update readme example

* Update example

* Remove extra line

* Make description clear it only works with managed

* Fix links in docstring

* Fix doc string closing

* get_mut

* Proof of concept

* fmt

* Load store on create

* cargo fmt

* Fix merge conflits

* Format

* small cleanup

* update docs, use `impl Into<JsonValue>`

* fix doctests, further simplification of api

* add store options

---------

Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-01 15:10:40 -03:00
Tillmann 0cb1baf09a Feat: Add default permissions to most plugins (#1460)
* Add default permissions to most plugins.

Co-authored-by: chippers <chip@chip.sh>
Co-authored-by: fabianlars <fabianlars@fabianlars.de>

* updated default description

* mobile plugin relevant changes

---------

Co-authored-by: chippers <chip@chip.sh>
Co-authored-by: fabianlars <fabianlars@fabianlars.de>
2024-06-26 08:35:08 +03:00