Sha256: 04ccd625c6a26b8c02e288f1868b159fc46cdbb7a544f4280c38b39bf41e3edc

Contents?: true

Size: 665 Bytes

Versions: 85

Compression:

Stored size: 665 Bytes

Contents

import { combineReducers } from 'redux';
import { registerReducer } from 'foremanReact/common/MountingService';
import inventoryUploadReducers from './ForemanInventoryUpload/ForemanInventoryUploadReducers';
import insightsReducers from './InsightsCloudSync/InsightsCloudSyncReducers';
import { hostInsightsReducers } from './InsightsHostDetailsTab';

const reducers = {
  ForemanRhCloud: combineReducers({
    ...inventoryUploadReducers,
    ...insightsReducers,
    ...hostInsightsReducers,
  }),
};

export default reducers;

export const registerReducers = () => {
  Object.entries(reducers).forEach(([key, reducer]) =>
    registerReducer(key, reducer)
  );
};

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
foreman_rh_cloud-3.0.18 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-3.0.17 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-3.0.16 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-3.0.15 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-3.0.14 webpack/ForemanRhCloudReducers.js