export interface Suggestion { /** * a reference to the specific object that a suggestion is for * * example: if this is a product suggestion, the id is a "productId". * * real life example: click on a suggestion. Id is what lets the app know what product to load */ id: string; /** * * the text to be shown for search autocomplete */ value: string; /** * an arbritrary value to compare popularity between suggestions */ rank?: number; }