trilium
    Preparing search index...
    type EventMappings = {
        activeContextChanged: { noteContext: NoteContext };
        activeNoteChanged: {};
        activeScreenChanged: { activeScreen: Screen };
        addNewLabel: CommandData;
        addNewRelation: CommandData;
        apiLogMessages: { messages: string[]; noteId: string };
        beforeNoteContextRemove: { ntxIds: string[] };
        beforeNoteSwitch: { noteContext: NoteContext };
        cloneNoteIdsTo: { noteIds: string[] };
        contextsReopened: {
            afterNtxId?: string;
            mainNtxId: string | null;
            ntxId?: string;
            tabPosition: number;
        };
        entitiesReloaded: { loadResults: default };
        exportPng: { ntxId: string | null | undefined };
        exportSvg: { ntxId: string | null | undefined };
        frocaReloaded: {};
        geoMapCreateChildNote: { ntxId: string | null | undefined };
        hoistedNoteChanged: { noteId: string; ntxId: string | null };
        initialRenderComplete: {};
        newNoteContextCreated: { noteContext: NoteContext };
        noteContextRemoved: { ntxIds: string[] };
        noteContextReorder: {
            newMainNtxId: string;
            ntxIdsInOrder: string[];
            oldMainNtxId: string;
        };
        noteDetailRefreshed: { ntxId?: string
        | null };
        notesReloaded: { noteIds: string[] };
        noteSwitched: NoteSwitchedContext;
        noteSwitchedAndActivated: NoteSwitchedContext;
        noteTypeMimeChanged: { noteId: string };
        openBulkActionsDialog: { selectedOrActiveNoteIds: string[] };
        protectedSessionStarted: {};
        readOnlyTemporarilyDisabled: { noteContext: NoteContext };
        reEvaluateHighlightsListWidgetVisibility: { noteId: string | undefined };
        reEvaluateTocWidgetVisibility: { noteId: string | undefined };
        refreshData: { ntxId: string | null | undefined };
        refreshIncludedNote: { noteId: string };
        refreshNoteList: { noteId: string };
        relationMapCreateChildNote: { ntxId: string | null | undefined };
        relationMapResetPanZoom: { ntxId: string | null | undefined };
        relationMapResetZoomIn: { ntxId: string | null | undefined };
        relationMapResetZoomOut: { ntxId: string | null | undefined };
        searchRefreshed: { ntxId?: string | null };
        setNoteContext: { noteContext: NoteContext };
        showAddLinkDialog: { text: string; textTypeWidget: default };
        showHighlightsListWidget: { noteId: string };
        showIncludeDialog: { textTypeWidget: default };
        showSearchError: { error: string };
        showTocWidget: { noteId: string };
        sqlQueryResults: CommandData & { results: SqlExecuteResults };
        tabReorder: { ntxIdsInOrder: string[] };
        zenModeChanged: { isEnabled: boolean };
    }
    Index

    Properties

    activeContextChanged: { noteContext: NoteContext }
    activeNoteChanged: {}
    activeScreenChanged: { activeScreen: Screen }

    Triggered when the CommandMappings.setActiveScreen command is invoked.

    addNewLabel: CommandData
    addNewRelation: CommandData
    apiLogMessages: { messages: string[]; noteId: string }
    beforeNoteContextRemove: { ntxIds: string[] }
    beforeNoteSwitch: { noteContext: NoteContext }
    cloneNoteIdsTo: { noteIds: string[] }
    contextsReopened: {
        afterNtxId?: string;
        mainNtxId: string | null;
        ntxId?: string;
        tabPosition: number;
    }
    entitiesReloaded: { loadResults: default }
    exportPng: { ntxId: string | null | undefined }
    exportSvg: { ntxId: string | null | undefined }
    frocaReloaded: {}
    geoMapCreateChildNote: { ntxId: string | null | undefined }
    hoistedNoteChanged: { noteId: string; ntxId: string | null }
    initialRenderComplete: {}
    newNoteContextCreated: { noteContext: NoteContext }
    noteContextRemoved: { ntxIds: string[] }
    noteContextReorder: {
        newMainNtxId: string;
        ntxIdsInOrder: string[];
        oldMainNtxId: string;
    }
    noteDetailRefreshed: { ntxId?: string | null }
    notesReloaded: { noteIds: string[] }
    noteSwitched: NoteSwitchedContext
    noteSwitchedAndActivated: NoteSwitchedContext
    noteTypeMimeChanged: { noteId: string }
    openBulkActionsDialog: { selectedOrActiveNoteIds: string[] }
    protectedSessionStarted: {}
    readOnlyTemporarilyDisabled: { noteContext: NoteContext }
    reEvaluateHighlightsListWidgetVisibility: { noteId: string | undefined }
    reEvaluateTocWidgetVisibility: { noteId: string | undefined }
    refreshData: { ntxId: string | null | undefined }
    refreshIncludedNote: { noteId: string }
    refreshNoteList: { noteId: string }
    relationMapCreateChildNote: { ntxId: string | null | undefined }
    relationMapResetPanZoom: { ntxId: string | null | undefined }
    relationMapResetZoomIn: { ntxId: string | null | undefined }
    relationMapResetZoomOut: { ntxId: string | null | undefined }
    searchRefreshed: { ntxId?: string | null }
    setNoteContext: { noteContext: NoteContext }
    showAddLinkDialog: { text: string; textTypeWidget: default }
    showHighlightsListWidget: { noteId: string }
    showIncludeDialog: { textTypeWidget: default }
    showSearchError: { error: string }
    showTocWidget: { noteId: string }
    sqlQueryResults: CommandData & { results: SqlExecuteResults }
    tabReorder: { ntxIdsInOrder: string[] }
    zenModeChanged: { isEnabled: boolean }