ChemPal Documentation - v1.6.0
    Preparing search index...

    Interface ExportRecord

    A cached spreadsheet export: the generated .xlsx Blob plus the metadata the export-history list displays. Stored in the exports object store.

    interface ExportRecord {
        id: string;
        createdAt: number;
        filename: string;
        query?: string;
        scope: "all" | "filtered";
        rowCount: number;
        sizeBytes: number;
        blob: Blob;
    }
    Index

    Properties

    id: string

    Unique id; also the object-store key.

    createdAt: number

    Epoch milliseconds the export was created; drives newest-first order + eviction.

    filename: string

    Suggested download filename, e.g. chempal-export-acetone-2026-07-21-140322.xlsx.

    query?: string

    Originating search query, if any.

    scope: "all" | "filtered"

    Whether the export covered all results or only the filtered view.

    rowCount: number

    Number of top-level products exported (excludes variant subrows).

    sizeBytes: number

    Byte size of ExportRecord.blob; summed for the total-size cap.

    blob: Blob

    The generated .xlsx file.