changes.mady.by.user Jordan Kasper
Saved on Aug 18, 2022
Saved on Aug 31, 2022
...
interface SearchResponse { contentZones?: ContentZones; facets?: Array<Facet>; modifiedQuery?: string; pagination?: Pagination; query?: string; querySuggestions?: Array<string>; redirect?: Redirect; results?: Array<SearchResultsItem>; selectedFacets?: Array<SelectedFacet>; sorting?: Sorting; success: boolean; trackingId: string; }
For more information on Content Zones, see Content Models.
type SelectedFacets = { [key: string]: Array<string> | undefined; };
interface SearchRequest { disableSpellcheck?: boolean; facets?: SelectedFacets; newRequest: boolean; pageSize?: number; page?: number; query?: string; searchWithin?: string; sort?: string; }