Interface RecommendationsActionCreator
interface RecommendationsActionCreator { fetchMoreRecommendations( payload: FetchRecommendationsPayload, ): AsyncThunkAction< null | QueryRecommendationsCommerceAPIThunkReturn, FetchRecommendationsPayload, AsyncThunkCommerceOptions<StateNeededByFetchRecommendations>, >; fetchRecommendations( payload: FetchRecommendationsPayload, ): AsyncThunkAction< QueryRecommendationsCommerceAPIThunkReturn, FetchRecommendationsPayload, AsyncThunkCommerceOptions<StateNeededByFetchRecommendations>, >; promoteChildToParent( payload: PromoteChildToParentPayload, ): { payload: PromoteChildToParentPayload; type: string }; registerRecommendationsSlot( payload: SlotIdPayload, ): { payload: SlotIdPayload; type: string };} Methods
fetchMoreRecommendations
- fetchMoreRecommendations(
payload: FetchRecommendationsPayload,
): AsyncThunkAction<
null
| QueryRecommendationsCommerceAPIThunkReturn,
FetchRecommendationsPayload,
AsyncThunkCommerceOptions<StateNeededByFetchRecommendations>,
> Returns AsyncThunkAction<
null
| QueryRecommendationsCommerceAPIThunkReturn,
FetchRecommendationsPayload,
AsyncThunkCommerceOptions<StateNeededByFetchRecommendations>,
>
A dispatchable action.
fetchRecommendations
- fetchRecommendations(
payload: FetchRecommendationsPayload,
): AsyncThunkAction<
QueryRecommendationsCommerceAPIThunkReturn,
FetchRecommendationsPayload,
AsyncThunkCommerceOptions<StateNeededByFetchRecommendations>,
> Returns AsyncThunkAction<
QueryRecommendationsCommerceAPIThunkReturn,
FetchRecommendationsPayload,
AsyncThunkCommerceOptions<StateNeededByFetchRecommendations>,
>
A dispatchable action.
promoteChildToParent
- promoteChildToParent(
payload: PromoteChildToParentPayload,
): { payload: PromoteChildToParentPayload; type: string } Parameters
- payload: PromoteChildToParentPayload
Returns { payload: PromoteChildToParentPayload; type: string }
A dispatchable action.
registerRecommendationsSlot
- registerRecommendationsSlot(
payload: SlotIdPayload,
): { payload: SlotIdPayload; type: string } Returns { payload: SlotIdPayload; type: string }
A dispatchable action.
The recommendations action creators.