Interface ResultPreviewActionCreators
interface ResultPreviewActionCreators { fetchResultContent( opts: HtmlRequestOptions, ): AsyncThunkAction< FetchResultContentThunkReturn, HtmlRequestOptions, AsyncThunkGlobalOptions<StateNeededByHtmlEndpoint>, >; nextPreview(): { payload: void; type: string }; preparePreviewPagination( payload: PreparePreviewPaginationActionPayload, ): { payload: PreparePreviewPaginationActionPayload; type: string }; previousPreview(): { payload: void; type: string }; updateContentURL( opts: UpdateContentURLOptions, ): AsyncThunkAction< UpdateContentURLThunkReturn, UpdateContentURLOptions, AsyncThunkGlobalOptions<StateNeededByHtmlEndpoint>, >;} Methods
fetchResultContent
- fetchResultContent(
opts: HtmlRequestOptions,
): AsyncThunkAction<
FetchResultContentThunkReturn,
HtmlRequestOptions,
AsyncThunkGlobalOptions<StateNeededByHtmlEndpoint>,
> Returns AsyncThunkAction<
FetchResultContentThunkReturn,
HtmlRequestOptions,
AsyncThunkGlobalOptions<StateNeededByHtmlEndpoint>,
>
A dispatchable action.
nextPreview
- nextPreview(): { payload: void; type: string }
Returns { payload: void; type: string }
A dispatchable action.
preparePreviewPagination
- preparePreviewPagination(
payload: PreparePreviewPaginationActionPayload,
): { payload: PreparePreviewPaginationActionPayload; type: string } Parameters
- payload: PreparePreviewPaginationActionPayload
Returns { payload: PreparePreviewPaginationActionPayload; type: string }
previousPreview
- previousPreview(): { payload: void; type: string }
Returns { payload: void; type: string }
A dispatchable action.
updateContentURL
- updateContentURL(
opts: UpdateContentURLOptions,
): AsyncThunkAction<
UpdateContentURLThunkReturn,
UpdateContentURLOptions,
AsyncThunkGlobalOptions<StateNeededByHtmlEndpoint>,
> Parameters
- opts: UpdateContentURLOptions
Returns AsyncThunkAction<
UpdateContentURLThunkReturn,
UpdateContentURLOptions,
AsyncThunkGlobalOptions<StateNeededByHtmlEndpoint>,
>
A dispatchable action.
The result preview action creators.