ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface SearchHistoryEntry

    Interface defining the required properties for a history entry. Used to store the history of results that were clicked on.

    const historyEntry: HistoryEntry = {
    timestamp: Date.now(),
    type: "search",
    data: {
    suppliers: ["supplier1", "supplier2"],
    query: "sodium chloride",
    resultCount: 10
    }
    };
    interface SearchHistoryEntry {
        timestamp?: number;
        type: "search";
        data?: { suppliers: string[]; query: string; resultCount: number };
    }
    Index

    Properties

    Properties

    timestamp?: number
    type: "search"
    data?: { suppliers: string[]; query: string; resultCount: number }