2 * Copyright © 2018 European Support Limited
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 import { combineReducers } from 'redux';
18 import { i18nReducer } from 'react-redux-i18n';
20 import catalog from 'features/catalog/catalogReducer';
21 import inputOutput from 'features/version/inputOutput/inputOutputReducer';
22 import notificationsReducer from 'shared/notifications/notificationsReducer';
23 import versionReducer from 'features/version/versionReducer';
24 import loader from 'shared/loader/LoaderReducer';
25 import modal from 'shared/modal/modalWrapperReducer';
26 import overviewReducer from 'features/workflow/overview/overviewReducer';
27 import workflowReducer from 'features/workflow/workflowReducer';
28 import compositionReducer from 'features/version/composition/compositionReducer';
29 export default combineReducers({
32 notifications: notificationsReducer,
33 currentVersion: combineReducers({
34 general: versionReducer,
36 composition: compositionReducer
38 workflow: combineReducers({
39 data: workflowReducer,
40 versions: overviewReducer