Sha256: 40fb12b276c14f68c702150dad0a1e41964f315cf5849a6719202b43c68d888a

Contents?: true

Size: 1.03 KB

Versions: 77

Compression:

Stored size: 1.03 KB

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';
import TaskDetails from './ForemanTasks/Components/TaskDetails';
import TasksTable from './ForemanTasks/Components/TasksTable';

// 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,
});
componentRegistry.register({
  name: 'TaskDetails',
  type: TaskDetails,
});
componentRegistry.register({
  name: 'TasksTable',
  type: TasksTable,
});

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
foreman-tasks-10.0.2 webpack/index.js
foreman-tasks-10.0.1 webpack/index.js
foreman-tasks-10.0.0 webpack/index.js
foreman-tasks-9.2.3 webpack/index.js
foreman-tasks-9.2.2 webpack/index.js
foreman-tasks-9.2.1 webpack/index.js
foreman-tasks-9.2.0 webpack/index.js
foreman-tasks-9.1.1 webpack/index.js
foreman-tasks-9.0.4 webpack/index.js
foreman-tasks-9.1.0 webpack/index.js
foreman-tasks-9.0.2 webpack/index.js
foreman-tasks-9.0.1 webpack/index.js
foreman-tasks-8.3.3 webpack/index.js
foreman-tasks-9.0.0 webpack/index.js
foreman-tasks-8.2.1 webpack/index.js
foreman-tasks-8.1.4 webpack/index.js
foreman-tasks-8.3.2 webpack/index.js
foreman-tasks-8.3.1 webpack/index.js
foreman-tasks-8.1.3 webpack/index.js
foreman-tasks-8.3.0 webpack/index.js