interface SearchSummaryState {
    firstProduct: number;
    firstRequestExecuted: boolean;
    hasError: boolean;
    hasProducts: boolean;
    isLoading: boolean;
    lastProduct: number;
    query: string;
    totalNumberOfProducts: number;
}

Hierarchy (View Summary)

Properties

firstProduct: number

The position of the first product on the current page.

firstRequestExecuted: boolean

Whether the first request has been executed.

hasError: boolean

Whether the request has returned an error.

hasProducts: boolean

Whether the request has returned any products.

isLoading: boolean

Whether the request is currently loading.

lastProduct: number

The position of the last product on the current page.

query: string

The search query.

totalNumberOfProducts: number

The total number of products available.