Sha256: 04ccd625c6a26b8c02e288f1868b159fc46cdbb7a544f4280c38b39bf41e3edc

Contents?: true

Size: 665 Bytes

Versions: 84

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

84 entries across 84 versions & 1 rubygems

Version Path
foreman_rh_cloud-9.0.59 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-11.0.2 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-11.0.1 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-11.0.0 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-9.0.58 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-10.0.2 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-9.0.57 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-10.0.1 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-9.0.56 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-9.0.55 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-9.0.54 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-9.0.53 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-9.0.52 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-8.0.52 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-9.0.51 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-8.0.51 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-7.0.48 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-7.0.47 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-8.0.50 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-8.0.49 webpack/ForemanRhCloudReducers.js