feat: add auto migration

This commit is contained in:
SethBurkart123
2025-03-31 18:27:53 +11:00
parent a4033862c9
commit e928399066
4 changed files with 54 additions and 9 deletions
+7 -4
View File
@@ -1,8 +1,6 @@
export interface SettingsState {
DarkMode: boolean;
selectedTheme: string;
animatedbk: boolean;
bksliderinput: string;
customshortcuts: CustomShortcut[];
defaultmenuorder: any[];
lessonalert: boolean;
@@ -37,9 +35,14 @@ export interface SettingsState {
defaultPage: string;
devMode?: boolean;
originalDarkMode?: boolean;
assessmentsAverage?: boolean;
lettergrade: boolean;
newsSource?: string;
// depreciated keys
animatedbk: boolean;
bksliderinput: string;
lettergrade: boolean;
assessmentsAverage?: boolean;
notificationCollector?: boolean;
}
interface ToggleItem {