1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-01 17:26:05 +02:00

refactor(frontend): アカウント情報はstore管理に

This commit is contained in:
syuilo
2025-04-16 09:25:13 +09:00
parent de19d9a4d4
commit 75267f87d5
5 changed files with 61 additions and 44 deletions

View File

@@ -108,6 +108,10 @@ export const store = markRaw(new Pizzax('base', {
where: 'device',
default: {} as Record<string, string>, // host/userId, token
},
accountInfos: {
where: 'device',
default: {} as Record<string, Misskey.entities.User>, // host/userId, user
},
enablePreferencesAutoCloudBackup: {
where: 'device',