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

    Interface ProductHistoryEntry

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

    const productHistoryEntry: ProductHistoryEntry = {
    timestamp: Date.now(),
    type: "product",
    data: {
    title: "Sodium Chloride",
    url: "https://example.com/sodium-chloride"
    price: 100,
    currencyCode: "USD",
    currencySymbol: "$",
    quantity: 1,
    uom: "g"
    }
    };
    interface ProductHistoryEntry {
        timestamp?: number;
        type: "product";
        data: Omit<Product, "variants">;
    }
    Index

    Properties

    Properties

    timestamp?: number
    type: "product"
    data: Omit<Product, "variants">