Trilium Electron API
    Preparing search index...

    Interface OneNoteLoginResult

    Outcome of a ElectronOneNoteApi.login attempt.

    interface OneNoteLoginResult {
        account?: { email: string; name: string };
        connected: boolean;
        error?: string;
    }
    Index

    Properties

    account?: { email: string; name: string }

    The connected Microsoft account, present when connected is true.

    connected: boolean

    True if sign-in completed and a Microsoft Graph token was stored.

    error?: string

    A human-readable failure reason when connected is false (absent on user cancellation).