diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-13 22:12:23 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-13 22:12:23 +0900 |
| commit | 8c9ec5827fa2040c8d705d2a01329da593d19fa3 (patch) | |
| tree | 59f90cc0aeb39f7366c24aea20441d17508997dd /packages/frontend/src/store.ts | |
| parent | enhance(frontend): improve preferences (diff) | |
| download | sharkey-8c9ec5827fa2040c8d705d2a01329da593d19fa3.tar.gz sharkey-8c9ec5827fa2040c8d705d2a01329da593d19fa3.tar.bz2 sharkey-8c9ec5827fa2040c8d705d2a01329da593d19fa3.zip | |
enhance(frontend): improve accounts management
Diffstat (limited to 'packages/frontend/src/store.ts')
| -rw-r--r-- | packages/frontend/src/store.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index 9a61e63d0e..ffbd8d10ef 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -104,6 +104,10 @@ export const store = markRaw(new Storage('base', { where: 'deviceAccount', default: {} as Record<string, string>, // plugin id, token }, + accountTokens: { + where: 'device', + default: {} as Record<string, string>, // host/userId, token + }, enablePreferencesAutoCloudBackup: { where: 'device', |