Merge remote-tracking branch 'origin/main' into react/type_widgets

This commit is contained in:
Elian Doran
2025-09-25 11:12:28 +03:00
98 changed files with 3564 additions and 2104 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@triliumnext/commons",
"version": "0.98.1",
"version": "0.99.0",
"description": "Shared library between the clients (e.g. browser, Electron) and the server, mostly for type definitions and utility methods.",
"private": true,
"type": "module",

View File

@@ -100,6 +100,7 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
codeNoteTheme: string;
initialized: boolean;
databaseReadonly: boolean;
isPasswordSet: boolean;
overrideThemeFonts: boolean;
spellCheckEnabled: boolean;
@@ -127,6 +128,8 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
textNoteEmojiCompletionEnabled: boolean;
/** Whether keyboard auto-completion for notes is triggered when typing `@` in text notes (attribute editing is not affected). */
textNoteCompletionEnabled: boolean;
/** Whether keyboard auto-completion for editing commands is triggered when typing `/`. */
textNoteSlashCommandsEnabled: boolean;
backgroundEffects: boolean;
// Share settings
@@ -136,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;