UNPKG

1.32 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.asyncFetchPageSuccessOrFailureCase = exports.asyncAsyncSuccessOrFailureCase = exports.asyncAsyncRequestCase = exports.asyncFetchPageRequestCase = exports.asyncNavigationCase = void 0;
7
8var _actions = require("./actions");
9
10var _asyncReductions = require("./async-reductions");
11
12var asyncNavigationCase = [_actions.SHARYN_NAVIGATION, _asyncReductions.clearAsyncExceptPageReduction];
13exports.asyncNavigationCase = asyncNavigationCase;
14var asyncFetchPageRequestCase = [_actions.SHARYN_FETCH_PAGE_REQUEST, _asyncReductions.setAsyncPageTrueReduction];
15exports.asyncFetchPageRequestCase = asyncFetchPageRequestCase;
16var asyncAsyncRequestCase = [_actions.SHARYN_ASYNC_REQUEST, _asyncReductions.setAsyncTrueReduction];
17exports.asyncAsyncRequestCase = asyncAsyncRequestCase;
18var asyncAsyncSuccessOrFailureCase = [[_actions.SHARYN_ASYNC_SUCCESS, _actions.SHARYN_ASYNC_FAILURE], _asyncReductions.delAsyncReductionFromAsyncKeyProp];
19exports.asyncAsyncSuccessOrFailureCase = asyncAsyncSuccessOrFailureCase;
20var asyncFetchPageSuccessOrFailureCase = [[_actions.SHARYN_FETCH_PAGE_SUCCESS, _actions.SHARYN_FETCH_PAGE_FAILURE], _asyncReductions.delAsyncPageReduction];
21exports.asyncFetchPageSuccessOrFailureCase = asyncFetchPageSuccessOrFailureCase;
\No newline at end of file