Interface RecommendationActionCreators

The recommendation action creators.

See Dispatch actions.

interface RecommendationActionCreators {
    getRecommendations(): AsyncThunkAction<
        GetRecommendationsThunkReturn,
        void,
        AsyncThunkSearchOptions<StateNeededByGetRecommendations>,
    >;
    setRecommendationId(
        payload: SetRecommendationIdActionCreatorPayload,
    ): { payload: SetRecommendationIdActionCreatorPayload; type: string };
}

Methods

  • Refreshes the recommendations.

    Returns AsyncThunkAction<
        GetRecommendationsThunkReturn,
        void,
        AsyncThunkSearchOptions<StateNeededByGetRecommendations>,
    >

    A dispatchable action.