InsightInterfaceActions (Deprecated)

This is for:

Developer
Warning

Headless v1 has been deprecated. We recommend using the latest version of the Coveo Headless library.

The Insight interface action creators.

Loader Function

loadInsightInterfaceActions

Loads the insightInterface reducer and returns possible action creators.

Parameters

  • engine: InsightEngine

    The headless engine.

Returns InsightInterfaceActionCreators: The Insight interface action creators.

InsightInterfaceActionCreators

fetch

Fetches the Insight interface configuration.

Returns AsyncThunkAction<FetchInterfaceThunkReturn, void, AsyncThunkInsightOptions<StateNeededByFetchInterface>>: A dispatchable action.