mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add content cache for memo editor
This commit is contained in:
@ -2,18 +2,12 @@
|
||||
* Define storage data type
|
||||
*/
|
||||
interface StorageData {
|
||||
// Editor content cache
|
||||
editorContentCache: string;
|
||||
// Editing memo id cache
|
||||
editingMemoIdCache: MemoId;
|
||||
// locale
|
||||
locale: Locale;
|
||||
// appearance
|
||||
appearance: Appearance;
|
||||
// local setting
|
||||
localSetting: LocalSetting;
|
||||
// skipped version
|
||||
skippedVersion: string;
|
||||
}
|
||||
|
||||
type StorageKey = keyof StorageData;
|
||||
|
Reference in New Issue
Block a user