refactor(frontend): アカウント情報はstore管理に
This commit is contained in:
parent
de19d9a4d4
commit
75267f87d5
5 changed files with 61 additions and 44 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue