UNPKG

1.42 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.asyncMapFetchPageSuccessOrFailureCase = exports.asyncMapAsyncSuccessOrFailureCase = exports.asyncMapAsyncRequestCase = exports.asyncMapFetchPageRequestCase = exports.asyncMapNavigationCase = void 0;
7
8var _actions = require("./actions");
9
10var _asyncMapReductions = require("./async-map-reductions");
11
12var asyncMapNavigationCase = [_actions.SHARYN_NAVIGATION, _asyncMapReductions.asyncMapClearExceptPageReduction];
13exports.asyncMapNavigationCase = asyncMapNavigationCase;
14var asyncMapFetchPageRequestCase = [_actions.SHARYN_FETCH_PAGE_REQUEST, _asyncMapReductions.asyncMapSetPageTrueReduction];
15exports.asyncMapFetchPageRequestCase = asyncMapFetchPageRequestCase;
16var asyncMapAsyncRequestCase = [_actions.SHARYN_ASYNC_REQUEST, _asyncMapReductions.asyncMapSetTrueReduction];
17exports.asyncMapAsyncRequestCase = asyncMapAsyncRequestCase;
18var asyncMapAsyncSuccessOrFailureCase = [[_actions.SHARYN_ASYNC_SUCCESS, _actions.SHARYN_ASYNC_FAILURE], _asyncMapReductions.asyncMapDeleteReductionFromAsyncKeyProp];
19exports.asyncMapAsyncSuccessOrFailureCase = asyncMapAsyncSuccessOrFailureCase;
20var asyncMapFetchPageSuccessOrFailureCase = [[_actions.SHARYN_FETCH_PAGE_SUCCESS, _actions.SHARYN_FETCH_PAGE_FAILURE], _asyncMapReductions.asyncMapDeletePageReduction];
21exports.asyncMapFetchPageSuccessOrFailureCase = asyncMapFetchPageSuccessOrFailureCase;
\No newline at end of file