@coveo/headless
    Preparing search index...

    Interface ProductListingState

    A scoped and simplified part of the headless state that is relevant to the ProductListing controller.

    interface ProductListingState {
        error: null | CommerceAPIErrorStatusResponse;
        isLoading: boolean;
        products: Product[];
        responseId: string;
    }
    Index

    Properties

    error: null | CommerceAPIErrorStatusResponse
    isLoading: boolean
    products: Product[]
    responseId: string