feat: add content cache for memo editor

This commit is contained in:
Steven
2023-09-13 21:32:21 +08:00
parent d63715d4d9
commit 36209eaef1
3 changed files with 13 additions and 10 deletions

View File

@ -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;