Sha256: 52f7a5d9dd661983481011154f94ac2cdba1ed3b7925051d6e65d9444b8b1d47

Contents?: true

Size: 779 Bytes

Versions: 11

Compression:

Stored size: 779 Bytes

Contents

/* eslint import/no-unresolved: [2, { ignore: [foremanReact/*] }] */
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable import/extensions */
import componentRegistry from 'foremanReact/components/componentRegistry';
import { registerReducer } from 'foremanReact/common/MountingService';
import reducers from './ForemanTasks/ForemanTasksReducers';
import ForemanTasks from './ForemanTasks';
import TasksDashboard from './ForemanTasks/Components/TasksDashboard';

// register reducers
Object.entries(reducers).forEach(([key, reducer]) =>
  registerReducer(key, reducer)
);

// register components
componentRegistry.register({
  name: 'ForemanTasks',
  type: ForemanTasks,
});
componentRegistry.register({
  name: 'TasksDashboard',
  type: TasksDashboard,
});

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
foreman-tasks-0.15.11 webpack/index.js
foreman-tasks-0.15.10 webpack/index.js
foreman-tasks-0.15.9 webpack/index.js
foreman-tasks-0.15.8 webpack/index.js
foreman-tasks-0.15.7 webpack/index.js
foreman-tasks-0.16.0 webpack/index.js
foreman-tasks-0.15.6 webpack/index.js
foreman-tasks-0.15.5 webpack/index.js
foreman-tasks-0.15.4 webpack/index.js
foreman-tasks-0.15.3 webpack/index.js
foreman-tasks-0.15.2 webpack/index.js