Trevixal API
    Preparing search index...

    One stored document: its metadata and its body.

    interface DocumentRecord {
        createdAt: number;
        doc: NodeJSON;
        favorite: boolean;
        folder: string | null;
        id: string;
        lastOpenedAt: number | null;
        pinned: boolean;
        tags?: readonly string[];
        templateId?: string;
        title: string;
        updatedAt: number;
    }
    Index
    createdAt: number
    doc: NodeJSON
    favorite: boolean
    folder: string | null

    Folder path with / separators ('Work/Q3'); null for the root.

    id: string
    lastOpenedAt: number | null

    When the document was last opened in a tab; null if never.

    pinned: boolean
    tags?: readonly string[]
    templateId?: string

    The template the document was created from, if any.

    title: string
    updatedAt: number