Trilium Frontend API
    Preparing search index...

    Interface NoteDeletionTarget

    A note as it stands in the view asking about it: which note, and which of its placements the view is removing it from. Enough for planNoteDeletion to answer everything else, so a view that wants the offer made need know nothing about what the offer costs.

    interface NoteDeletionTarget {
        branchId?: string;
        noteId: string;
    }
    Index
    branchId?: string

    The note's branch under the view, where the view files it, and null where it does not.

    noteId: string