import RequestsHub from './screens/RequestsHub';
import Job from './screens/Job';
import AddJob from './screens/AddJob';
import AddJobType from './screens/AddJobType.js';
import { AnalyticsHub } from './components/AnalyticsHub.js';
import MaintenanceReducer from './reducers/MaintenanceReducer';
import { values } from './values.config';

export const Reducers = (() => {
  const reducers = {};
  reducers[values.reducerKey] = MaintenanceReducer;
  return reducers;
})();
export const Screens = (() => {
  const screens = {};
  screens[values.screenRequestsHub] = RequestsHub;
  screens[values.screenJob] = Job;
  screens[values.screenAddJob] = AddJob;
  screens[values.screenAddJobType] = AddJobType;
  return screens;
})();
export { default as Config } from './feature.config';
export { default as ActivityText } from './components/ActivityText';
export { default as ViewWidget } from './components/ViewWidget';
export { default as ViewFull } from './components/ViewFull';
export { default as PreviewWidget } from './components/PreviewWidget';
export { default as PreviewFull } from './components/PreviewFull';
export { default as PreviewGrid } from './components/PreviewGrid';
export const Analytics = [AnalyticsHub];
