Lucas Nogueira
8a8bdcac23
rename createOrLoad to newOrExisting
2024-10-15 10:28:22 -03:00
Lucas Nogueira
ff9bddd95c
make api consistent with the JS implementation, add examples
2024-10-15 08:06:27 -03:00
Lucas Nogueira
083c165543
rename createOrExistingStore to createOrLoad
2024-10-15 07:31:54 -03:00
Tony
dc5be009b7
Add create or existing
2024-10-05 16:21:27 +08:00
Tony
7faf8c31e0
Differentiate json null from no value for events
2024-10-04 17:09:41 +08:00
Tony
831105d7a8
Use undefined for empty value in get
2024-10-04 10:11:13 +08:00
Tony
4f13a03401
Fix js get and close store
2024-10-03 20:10:15 +08:00
Tony
a3bef84382
more docs
2024-10-03 16:22:07 +08:00
Tony
d22de0257d
Use absolute path for store
2024-10-03 16:11:53 +08:00
Tony
42c5a1cb56
try get first
2024-10-03 13:56:43 +08:00
Tony
bbd34b16f4
Add init to lazy store
2024-10-03 11:48:19 +08:00
Tony
79bc8d08f4
Add lazy store
2024-10-03 10:52:12 +08:00
Tony
8975d10bb7
Clean up
2024-10-03 09:44:46 +08:00
Tony
9811756e6c
refactor(store): more reworks
2024-10-02 18:02:44 +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
Lucas Fernandes Nogueira
22a17980ff
feat: update to tauri beta.24 ( #1537 )
...
* feat: update to tauri beta.24
* remove .tauri
* pnpm build
2024-07-12 17:59:17 -03:00
Naman Garg
17c42fd42a
fix(notification): Add permission commands for Actions ( #1459 )
...
* Add the permission commands
* Add changes file
2024-06-18 10:58:16 +02:00
renovate[bot]
bd1ed5903f
chore(deps): update tauri monorepo ( #1237 )
...
* fix(deps): update tauri monorepo
* rm 1.5 cli
* macos-latest is now arm
* changefile and rebuild iife [skip ci]
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fabianlars <fabianlars@fabianlars.de >
2024-05-01 14:01:24 +02:00
Amr Bashir
9c7eb35967
feat(global-shortcut): support pressed/released states ( #1244 )
...
closes #1243
2024-04-24 15:42:01 +02:00
renovate[bot]
faa89850d0
chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0 ( #1228 )
...
* chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0
* actually apply the rules lol
* rebuild
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2024-04-23 00:40:51 +02:00
Lucas Fernandes Nogueira
a04ea2f382
refactor: only inject API IIFE script when withGlobalTauri is true ( #1071 )
...
* refactor: only inject API IIFE script when withGlobalTauri is true
* fmt
* update tauri
2024-03-19 15:03:20 -03:00