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 }}; Copy
const historyEntry: HistoryEntry = { timestamp: Date.now(), type: "search", data: { suppliers: ["supplier1", "supplier2"], query: "sodium chloride", resultCount: 10 }};
Optional
Interface defining the required properties for a history entry. Used to store the history of results that were clicked on.
Example