Interface SearchActionCreators
interface SearchActionCreators { executeSearch(): AsyncThunkAction< QuerySearchCommerceAPIThunkReturn, void, AsyncThunkCommerceOptions<StateNeededByExecuteSearch>, >; fetchMoreProducts(): AsyncThunkAction< null | QuerySearchCommerceAPIThunkReturn, void, AsyncThunkCommerceOptions<StateNeededByExecuteSearch>, >; prepareForSearchWithQuery( payload: PrepareForSearchWithQueryPayload, ): AsyncThunkAction< void, PrepareForSearchWithQueryPayload, AsyncThunkCommerceOptions<StateNeededByExecuteSearch>, >; promoteChildToParent( payload: PromoteChildToParentPayload, ): { payload: PromoteChildToParentPayload; type: string };} Methods
executeSearch
- executeSearch(): AsyncThunkAction<
QuerySearchCommerceAPIThunkReturn,
void,
AsyncThunkCommerceOptions<StateNeededByExecuteSearch>,
> Returns AsyncThunkAction<
QuerySearchCommerceAPIThunkReturn,
void,
AsyncThunkCommerceOptions<StateNeededByExecuteSearch>,
>
A dispatchable action.
fetchMoreProducts
- fetchMoreProducts(): AsyncThunkAction<
null
| QuerySearchCommerceAPIThunkReturn,
void,
AsyncThunkCommerceOptions<StateNeededByExecuteSearch>,
> Returns AsyncThunkAction<
null
| QuerySearchCommerceAPIThunkReturn,
void,
AsyncThunkCommerceOptions<StateNeededByExecuteSearch>,
>
A dispatchable action.
prepareForSearchWithQuery
promoteChildToParent
- promoteChildToParent(
payload: PromoteChildToParentPayload,
): { payload: PromoteChildToParentPayload; type: string } Parameters
- payload: PromoteChildToParentPayload
Returns { payload: PromoteChildToParentPayload; type: string }
A dispatchable action.
The search action creators.