svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 1 | /* |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 2 | * Copyright © 2016-2018 European Support Limited |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 17 | import { combineReducers } from 'redux'; |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 18 | import onBoardingReducersMap from './onboarding/OnboardingReducersMap.js'; |
| 19 | import flowsReducersMap from './flows/FlowsReducersMap.js'; |
| 20 | import loaderReducer from 'nfvo-components/loader/LoaderReducer.js'; |
| 21 | import globalModalReducer from 'nfvo-components/modal/GlobalModalReducer.js'; |
| 22 | import notificationsReducer from 'sdc-app/onboarding/userNotifications/NotificationsReducer.js'; |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 23 | import { default as popupNotifications } from 'nfvo-components/notification/NotificationsReducer.js'; |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 24 | export default combineReducers({ |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 25 | // on-boarding reducers |
| 26 | ...onBoardingReducersMap, |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 27 | |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 28 | // flows reducers |
| 29 | ...flowsReducersMap, |
| 30 | modal: globalModalReducer, |
| 31 | loader: loaderReducer, |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 32 | notifications: notificationsReducer, |
| 33 | popupNotifications |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 34 | }); |