changes.mady.by.user Jordan Kasper (Deactivated)
Saved on Aug 01, 2022
Saved on Aug 31, 2022
...
interface AutocompleteCategory { title: string; field: string; value: string; url: string; }
interface AutocompleteCategories { title: string; results: Array<AutocompleteCategory>; }
interface AutocompleteContentResult { id: string; title: string; url: string; pinned: boolean; score: number; attributes?: { [key: string]: Array<string>; }; }
interface AutocompleteContent { title: string; results: Array<AutocompleteContentResult>; totalRecords: number; }
interface AutocompleteProductResult { id: string; title: string; sku?: string; imageUrl?: string; url: string; pinned: boolean; score: number; attributes?: { [key: string]: Array<string>; }; }
interface AutocompleteProducts { title: string; results: Array<AutocompleteProductResult>; totalRecords: number; }
interface AutocompleteQuery { query: string; url: string; }
interface AutocompleteQueries { title: string; results: Array<AutocompleteQuery>; }
enum AutocompleteItemType { Search = 1, Category = 2, Product = 3, Content = 4 }