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-5.0.38 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-4.0.35 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.37 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.36 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.35 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.34 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.33 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-3.0.32 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-4.0.32 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.32 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-4.0.31 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.31 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.30 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-4.0.30 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-3.0.29 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-4.0.29 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.29 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-3.0.28 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-5.0.28 webpack/ForemanRhCloudReducers.js
foreman_rh_cloud-4.0.27 webpack/ForemanRhCloudReducers.js