InsightInterfaceActions (Deprecated)
InsightInterfaceActions (Deprecated)
In this article
|
Headless v1 has been deprecated. We recommend using the latest version of the Coveo Headless library. |
The Insight interface action creators.
See Dispatch Actions.
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.