chore: store authenticator devices labels in preferences instead of server (#2252)

This commit is contained in:
Karol Sójko
2023-03-09 11:05:15 +01:00
committed by GitHub
parent aeab3fed0d
commit 54f1e618de
5 changed files with 48 additions and 5 deletions

View File

@@ -44,6 +44,7 @@ export enum PrefKey {
MomentsDefaultTagUuid = 'momentsDefaultTagUuid',
SystemViewPreferences = 'systemViewPreferences',
SuperNoteExportFormat = 'superNoteExportFormat',
AuthenticatorNames = 'authenticatorNames',
}
export enum NewNoteTitleFormat {
@@ -111,4 +112,5 @@ export type PrefValue = {
[PrefKey.MomentsDefaultTagUuid]: string | undefined
[PrefKey.SystemViewPreferences]: Partial<Record<SystemViewId, TagPreferences>>
[PrefKey.SuperNoteExportFormat]: 'json' | 'md' | 'html'
[PrefKey.AuthenticatorNames]: string
}