refacto: type mutu

This commit is contained in:
Julien Froidefond
2025-02-26 13:33:40 +01:00
parent 1a0e4d2422
commit 3b2d4cb0d5
7 changed files with 29 additions and 48 deletions

13
src/types/preferences.ts Normal file
View File

@@ -0,0 +1,13 @@
export interface UserPreferences {
showThumbnails: boolean;
cacheMode: "memory" | "file";
showOnlyUnread: boolean;
debug: boolean;
}
export const defaultPreferences: UserPreferences = {
showThumbnails: true,
cacheMode: "memory",
showOnlyUnread: false,
debug: false,
} as const;