mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	fix(build): re-align option definitions
This commit is contained in:
		
							parent
							
								
									de8370831c
								
							
						
					
					
						commit
						26e7476f0f
					
				@ -47,7 +47,78 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
 | 
				
			|||||||
    passwordDerivedKeySalt: string;
 | 
					    passwordDerivedKeySalt: string;
 | 
				
			||||||
    encryptedDataKey: string;
 | 
					    encryptedDataKey: string;
 | 
				
			||||||
    hoistedNoteId: string;
 | 
					    hoistedNoteId: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Multi-Factor Authentication
 | 
				
			||||||
 | 
					    mfaEnabled: boolean;
 | 
				
			||||||
 | 
					    mfaMethod: string;
 | 
				
			||||||
 | 
					    totpEncryptionSalt: string;
 | 
				
			||||||
 | 
					    totpEncryptedSecret: string;
 | 
				
			||||||
 | 
					    totpVerificationHash: string;
 | 
				
			||||||
 | 
					    encryptedRecoveryCodes: boolean;
 | 
				
			||||||
 | 
					    userSubjectIdentifierSaved: boolean;
 | 
				
			||||||
 | 
					    recoveryCodeInitialVector: string;
 | 
				
			||||||
 | 
					    recoveryCodeSecurityKey: string;
 | 
				
			||||||
 | 
					    recoveryCodesEncrypted: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    lastSyncedPull: number;
 | 
				
			||||||
 | 
					    lastSyncedPush: number;
 | 
				
			||||||
 | 
					    revisionSnapshotTimeInterval: number;
 | 
				
			||||||
 | 
					    revisionSnapshotTimeIntervalTimeScale: number;
 | 
				
			||||||
 | 
					    revisionSnapshotNumberLimit: number;
 | 
				
			||||||
 | 
					    protectedSessionTimeout: number;
 | 
				
			||||||
 | 
					    protectedSessionTimeoutTimeScale: number;
 | 
				
			||||||
 | 
					    zoomFactor: number;
 | 
				
			||||||
 | 
					    mainFontSize: number;
 | 
				
			||||||
 | 
					    treeFontSize: number;
 | 
				
			||||||
 | 
					    detailFontSize: number;
 | 
				
			||||||
 | 
					    monospaceFontSize: number;
 | 
				
			||||||
 | 
					    imageMaxWidthHeight: number;
 | 
				
			||||||
 | 
					    imageJpegQuality: number;
 | 
				
			||||||
 | 
					    leftPaneWidth: number;
 | 
				
			||||||
 | 
					    rightPaneWidth: number;
 | 
				
			||||||
 | 
					    eraseEntitiesAfterTimeInSeconds: number;
 | 
				
			||||||
 | 
					    eraseEntitiesAfterTimeScale: number;
 | 
				
			||||||
 | 
					    autoReadonlySizeText: number;
 | 
				
			||||||
 | 
					    autoReadonlySizeCode: number;
 | 
				
			||||||
 | 
					    maxContentWidth: number;
 | 
				
			||||||
 | 
					    minTocHeadings: number;
 | 
				
			||||||
 | 
					    eraseUnusedAttachmentsAfterSeconds: number;
 | 
				
			||||||
 | 
					    eraseUnusedAttachmentsAfterTimeScale: number;
 | 
				
			||||||
 | 
					    firstDayOfWeek: number;
 | 
				
			||||||
 | 
					    languages: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Appearance
 | 
				
			||||||
 | 
					    splitEditorOrientation: "horziontal" | "vertical";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    initialized: boolean;
 | 
				
			||||||
    isPasswordSet: boolean;
 | 
					    isPasswordSet: boolean;
 | 
				
			||||||
 | 
					    overrideThemeFonts: boolean;
 | 
				
			||||||
 | 
					    spellCheckEnabled: boolean;
 | 
				
			||||||
 | 
					    autoFixConsistencyIssues: boolean;
 | 
				
			||||||
 | 
					    vimKeymapEnabled: boolean;
 | 
				
			||||||
 | 
					    codeLineWrapEnabled: boolean;
 | 
				
			||||||
 | 
					    leftPaneVisible: boolean;
 | 
				
			||||||
 | 
					    rightPaneVisible: boolean;
 | 
				
			||||||
 | 
					    nativeTitleBarVisible: boolean;
 | 
				
			||||||
 | 
					    hideArchivedNotes_main: boolean;
 | 
				
			||||||
 | 
					    debugModeEnabled: boolean;
 | 
				
			||||||
 | 
					    autoCollapseNoteTree: boolean;
 | 
				
			||||||
 | 
					    dailyBackupEnabled: boolean;
 | 
				
			||||||
 | 
					    weeklyBackupEnabled: boolean;
 | 
				
			||||||
 | 
					    monthlyBackupEnabled: boolean;
 | 
				
			||||||
 | 
					    compressImages: boolean;
 | 
				
			||||||
 | 
					    downloadImagesAutomatically: boolean;
 | 
				
			||||||
 | 
					    checkForUpdates: boolean;
 | 
				
			||||||
 | 
					    disableTray: boolean;
 | 
				
			||||||
 | 
					    promotedAttributesOpenInRibbon: boolean;
 | 
				
			||||||
 | 
					    editedNotesOpenInRibbon: boolean;
 | 
				
			||||||
 | 
					    codeBlockWordWrap: boolean;
 | 
				
			||||||
 | 
					    textNoteEditorMultilineToolbar: boolean;
 | 
				
			||||||
 | 
					    backgroundEffects: boolean;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Share settings
 | 
				
			||||||
 | 
					    redirectBareDomain: boolean;
 | 
				
			||||||
 | 
					    showLoginInShareTheme: boolean;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // AI/LLM integration options
 | 
					    // AI/LLM integration options
 | 
				
			||||||
    aiEnabled: boolean;
 | 
					    aiEnabled: boolean;
 | 
				
			||||||
@ -82,73 +153,6 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
 | 
				
			|||||||
    embeddingDimensionStrategy: string;
 | 
					    embeddingDimensionStrategy: string;
 | 
				
			||||||
    embeddingSimilarityThreshold: number;
 | 
					    embeddingSimilarityThreshold: number;
 | 
				
			||||||
    maxNotesPerLlmQuery: number;
 | 
					    maxNotesPerLlmQuery: number;
 | 
				
			||||||
    splitEditorOrientation: string;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    // MFA options
 | 
					 | 
				
			||||||
    mfaEnabled: boolean;
 | 
					 | 
				
			||||||
    mfaMethod: string;
 | 
					 | 
				
			||||||
    totpEncryptionSalt: string;
 | 
					 | 
				
			||||||
    totpEncryptedSecret: string;
 | 
					 | 
				
			||||||
    totpVerificationHash: string;
 | 
					 | 
				
			||||||
    encryptedRecoveryCodes: boolean;
 | 
					 | 
				
			||||||
    userSubjectIdentifierSaved: boolean;
 | 
					 | 
				
			||||||
    recoveryCodeInitialVector: string;
 | 
					 | 
				
			||||||
    recoveryCodeSecurityKey: string;
 | 
					 | 
				
			||||||
    recoveryCodesEncrypted: string;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    // Additional options
 | 
					 | 
				
			||||||
    eraseEntitiesAfterTimeInSeconds: number;
 | 
					 | 
				
			||||||
    eraseEntitiesAfterTimeScale: string;
 | 
					 | 
				
			||||||
    protectedSessionTimeout: number;
 | 
					 | 
				
			||||||
    protectedSessionTimeoutTimeScale: string;
 | 
					 | 
				
			||||||
    revisionSnapshotTimeInterval: number;
 | 
					 | 
				
			||||||
    revisionSnapshotTimeIntervalTimeScale: string;
 | 
					 | 
				
			||||||
    revisionSnapshotNumberLimit: number;
 | 
					 | 
				
			||||||
    zoomFactor: number;
 | 
					 | 
				
			||||||
    codeBlockWordWrap: boolean;
 | 
					 | 
				
			||||||
    mainFontSize: number;
 | 
					 | 
				
			||||||
    treeFontSize: number;
 | 
					 | 
				
			||||||
    detailFontSize: number;
 | 
					 | 
				
			||||||
    monospaceFontSize: number;
 | 
					 | 
				
			||||||
    vimKeymapEnabled: boolean;
 | 
					 | 
				
			||||||
    codeLineWrapEnabled: boolean;
 | 
					 | 
				
			||||||
    spellCheckEnabled: boolean;
 | 
					 | 
				
			||||||
    imageMaxWidthHeight: number;
 | 
					 | 
				
			||||||
    imageJpegQuality: number;
 | 
					 | 
				
			||||||
    leftPaneWidth: number;
 | 
					 | 
				
			||||||
    rightPaneWidth: number;
 | 
					 | 
				
			||||||
    leftPaneVisible: boolean;
 | 
					 | 
				
			||||||
    rightPaneVisible: boolean;
 | 
					 | 
				
			||||||
    nativeTitleBarVisible: boolean;
 | 
					 | 
				
			||||||
    autoCollapseNoteTree: boolean;
 | 
					 | 
				
			||||||
    autoReadonlySizeText: number;
 | 
					 | 
				
			||||||
    autoReadonlySizeCode: number;
 | 
					 | 
				
			||||||
    overrideThemeFonts: boolean;
 | 
					 | 
				
			||||||
    dailyBackupEnabled: boolean;
 | 
					 | 
				
			||||||
    weeklyBackupEnabled: boolean;
 | 
					 | 
				
			||||||
    monthlyBackupEnabled: boolean;
 | 
					 | 
				
			||||||
    maxContentWidth: number;
 | 
					 | 
				
			||||||
    compressImages: boolean;
 | 
					 | 
				
			||||||
    downloadImagesAutomatically: boolean;
 | 
					 | 
				
			||||||
    minTocHeadings: number;
 | 
					 | 
				
			||||||
    checkForUpdates: boolean;
 | 
					 | 
				
			||||||
    disableTray: boolean;
 | 
					 | 
				
			||||||
    eraseUnusedAttachmentsAfterSeconds: number;
 | 
					 | 
				
			||||||
    eraseUnusedAttachmentsAfterTimeScale: string;
 | 
					 | 
				
			||||||
    promotedAttributesOpenInRibbon: boolean;
 | 
					 | 
				
			||||||
    editedNotesOpenInRibbon: boolean;
 | 
					 | 
				
			||||||
    firstDayOfWeek: number;
 | 
					 | 
				
			||||||
    languages: string;
 | 
					 | 
				
			||||||
    textNoteEditorMultilineToolbar: boolean;
 | 
					 | 
				
			||||||
    backgroundEffects: boolean;
 | 
					 | 
				
			||||||
    redirectBareDomain: boolean;
 | 
					 | 
				
			||||||
    showLoginInShareTheme: boolean;
 | 
					 | 
				
			||||||
    initialized: string;
 | 
					 | 
				
			||||||
    lastSyncedPull: string;
 | 
					 | 
				
			||||||
    lastSyncedPush: string;
 | 
					 | 
				
			||||||
    autoFixConsistencyIssues: boolean;
 | 
					 | 
				
			||||||
    hideArchivedNotes_main: boolean;
 | 
					 | 
				
			||||||
    debugModeEnabled: boolean;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export type OptionNames = keyof OptionDefinitions;
 | 
					export type OptionNames = keyof OptionDefinitions;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user