GitHub

PredictiveSearchResult

import { PredictiveSearchResult } from '@daffodil/driver/shopify'

A predictive search result represents a list of products, collections, pages, articles, and query suggestions that matches the predictive search query.

type PredictiveSearchResult = {
    __typename?: 'PredictiveSearchResult';
    articles: Array<Article>;
    collections: Array<Collection>;
    pages: Array<Page>;
    products: Array<Product>;
    queries: Array<SearchQuerySuggestion>;
}