refactor(client): use type safety for option names

This commit is contained in:
Elian Doran
2025-09-23 20:24:40 +03:00
parent 23c2acaab7
commit 5a15024e59
6 changed files with 23 additions and 21 deletions

View File

@@ -100,6 +100,7 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
codeNoteTheme: string;
initialized: boolean;
databaseReadonly: boolean;
isPasswordSet: boolean;
overrideThemeFonts: boolean;
spellCheckEnabled: boolean;
@@ -138,6 +139,7 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
// AI/LLM integration options
aiEnabled: boolean;
aiProvider: string;
aiProviderPrecedence: string; // TODO: Is this still supported?
aiSystemPrompt: string;
aiTemperature: string;
openaiApiKey: string;