mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add user_setting
model (#145)
* feat: add `user_setting` model * chore: add global store * chore: update settings in web * chore: update `i18n` example
This commit is contained in:
@ -4,9 +4,8 @@
|
||||
interface StorageData {
|
||||
// Editor content cache
|
||||
editorContentCache: string;
|
||||
shouldSplitMemoWord: boolean;
|
||||
shouldHideImageUrl: boolean;
|
||||
shouldUseMarkdownParser: boolean;
|
||||
// locale
|
||||
locale: Locale;
|
||||
}
|
||||
|
||||
type StorageKey = keyof StorageData;
|
||||
|
Reference in New Issue
Block a user