Commit Graph

80 Commits (975129695ede477b6fe52cf715abf3bd672fe7a4)

Author SHA1 Message Date
Tony bf5a19120f
Clippy
8 months ago
Tony 99cafa6d73
Fix description and create_new logic
8 months ago
Lucas Nogueira 150e030c12
rename builder fn to build()
8 months ago
Lucas Nogueira 983bd82212
rename newOrExisting to load, load to reload
8 months ago
Tony 44016a480f
Remove R: Runtime from Builder
8 months ago
Tony 985059a1f0
Don't make StoreState public
8 months ago
Tony 5f2de5e4ea
Missed if load
8 months ago
Tony fbc7149d60
Remove load
8 months ago
Lucas Nogueira a7af6612f2
keep store lock throughout whole new_or_existing_inner
8 months ago
Lucas Nogueira 8a8bdcac23
rename createOrLoad to newOrExisting
8 months ago
Lucas Nogueira 028d6661ca
reintroduce "get existing store" behavior for create_or_load
8 months ago
Lucas Nogueira ff9bddd95c
make api consistent with the JS implementation, add examples
8 months ago
Lucas Nogueira 083c165543
rename createOrExistingStore to createOrLoad
8 months ago
Tony 99321ddbfa
Remove StoreInner from pub and expose is_empty
8 months ago
Tony 02d077ea3b
Remove with_store
8 months ago
Tony 1498eb5404
Expose resolve_store_path
8 months ago
Tony a020ae38e2
Remove unused pub(crate)
8 months ago
Tony 3f470a7a67
Clean up
8 months ago
Tony 39dec5d5b4
Change to close_resource and take &self
8 months ago
Tony d88fcb5c8a
Return result in resolve_store_path
8 months ago
Tony 3413d2a0f7
Use close instead
8 months ago
Tony a00cb15224
Rename inner store's inset method to set
8 months ago
Tony dc5be009b7
Add create or existing
8 months ago
Tony 7faf8c31e0
Differentiate json null from no value for events
8 months ago
Tony 831105d7a8
Use `undefined` for empty value in get
8 months ago
Tony 1ef9f6a487
Use pretty json by default
8 months ago
Tony 4037589000
Add default (de)serialize fn
8 months ago
Tony fc51b3d132
More docs for StoreBuilder::build
8 months ago
Tony 73f365d3f0
Show case how to use pretty json
8 months ago
Tony 4f13a03401
Fix js get and close store
8 months ago
Tony 718f5dc90d
Allow js to use pre-stored (de)serialize functions
8 months ago
Tony d22de0257d
Use absolute path for store
8 months ago
Tony 45b2af4cfe
Docs
8 months ago
Tony 42c5a1cb56
try get first
8 months ago
Tony 3acf66ee57
Revert "Add get-or-create-store"
8 months ago
Tony 7ffd769240
Add get-or-create-store
8 months ago
Tony 79bc8d08f4
Add lazy store
8 months ago
Tony 6cdaa31959
Add store function
8 months ago
Tony 4cb9d8de5e
Add close store
8 months ago
Tony 8975d10bb7
Clean up
8 months ago
Tony 98d4fc4e9b
Remove share store
8 months ago
Tony ea9c101da8
Store to resource table by default
8 months ago
Tony 35b439f70f
Enable auto save by default
8 months ago
Tony 9811756e6c
refactor(store): more reworks
8 months ago
Tony 7e5e34420b
Cancel auto save on save (#1859)
8 months ago
Tony f12d35609a
feat(store)!: fully rework and add auto save (#1550)
8 months ago
Lucas Fernandes Nogueira 0c040bcc9a
fix(store): remove Android and iOS plugins, closes #1256 (#1695)
10 months ago
Lucas Fernandes Nogueira 22a17980ff
feat: update to tauri beta.24 (#1537)
11 months ago
Fabian-Lars 0d4d029011
build: Update pnpm to v9 (#1309)
1 year ago
Fabian-Lars bb51a41d67
feat: Remove UNC prefix in paths returned to the frontend (#1168)
1 year ago