update: persist store fullfiil + launchOptions validation

This commit is contained in:
Purp1e
2024-09-27 10:38:40 +08:00
parent 759cdbab98
commit 46c6dbfa61
7 changed files with 158 additions and 97 deletions

17
pnpm-lock.yaml generated
View File

@@ -47,6 +47,9 @@ importers:
'@tauri-apps/plugin-store':
specifier: ^2.0.0-rc
version: 2.0.0-rc.1
'@types/throttle-debounce':
specifier: ^5.0.2
version: 5.0.2
jotai:
specifier: ^2.10.0
version: 2.10.0(@types/react@18.3.8)(react@18.3.1)
@@ -59,6 +62,9 @@ importers:
react-dom:
specifier: ^18.3.1
version: 18.3.1(react@18.3.1)
throttle-debounce:
specifier: ^5.0.2
version: 5.0.2
zustand:
specifier: 5.0.0-rc.2
version: 5.0.0-rc.2(@types/react@18.3.8)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1))
@@ -584,6 +590,9 @@ packages:
'@types/stack-utils@2.0.3':
resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==}
'@types/throttle-debounce@5.0.2':
resolution: {integrity: sha512-pDzSNulqooSKvSNcksnV72nk8p7gRqN8As71Sp28nov1IgmPKWbOEIwAWvBME5pPTtaXJAvG3O4oc76HlQ4kqQ==}
'@types/yargs-parser@21.0.3':
resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==}
@@ -2421,6 +2430,10 @@ packages:
thenify@3.3.1:
resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}
throttle-debounce@5.0.2:
resolution: {integrity: sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==}
engines: {node: '>=12.22'}
to-regex-range@5.0.1:
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
engines: {node: '>=8.0'}
@@ -2937,6 +2950,8 @@ snapshots:
'@types/stack-utils@2.0.3': {}
'@types/throttle-debounce@5.0.2': {}
'@types/yargs-parser@21.0.3': {}
'@types/yargs@17.0.33':
@@ -5041,6 +5056,8 @@ snapshots:
dependencies:
any-promise: 1.3.0
throttle-debounce@5.0.2: {}
to-regex-range@5.0.1:
dependencies:
is-number: 7.0.0