mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 00:36:33 +01:00
refactor(client): use type safety for option names
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user