crossnote
    Preparing search index...

    Interface WikiFileEntry

    interface WikiFileEntry {
        html: string;
        mtimeMs: number;
        path: string;
        root: string;
        title: string;
        update: {
            class: string;
            html: string;
            id: string;
            jsAndCssFiles: string[];
            markdown: string;
            sourceScheme: string;
            sourceUri: string;
            tocHTML: string;
            totalLineCount: number;
        };
    }
    Index

    Properties

    html: string

    The complete preview page document for the note — the exact page the serve server would render at /preview?file=… — with shared assets referenced as crossnote-wiki-asset:<id> tokens.

    mtimeMs: number

    Modification time of the source note (picker ordering).

    path: string

    Identity of the note inside the wiki: its path relative to its root (posix separators), prefixed with the root's folder name when the wiki packs several roots. Deliberately not an absolute path — the wiki file must not carry the exporting machine's directory layout.

    root: string

    Folder name of the served root the note belongs to.

    title: string

    Document title (front-matter title or file basename).

    update: {
        class: string;
        html: string;
        id: string;
        jsAndCssFiles: string[];
        markdown: string;
        sourceScheme: string;
        sourceUri: string;
        tocHTML: string;
        totalLineCount: number;
    }

    The updateHtml payload the shell replays into the page when it finishes loading (same message the serve server would broadcast), so the preview app initializes exactly like in crossnote serve.