{"size": 720, "ext": "js", "max_stars_repo_path": "modules/index.js", "max_stars_repo_name": "crowdbotics-apps/test-31818", "max_stars_repo_stars_event_min_datetime": "2021-10-20T04:12:53.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-08T10:23:14.000Z", "max_issues_repo_path": "modules/index.js", "max_issues_repo_name": "crowdbotics-apps/test-31818", "max_issues_repo_issues_event_min_datetime": "2021-09-09T16:15:58.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-27T14:16:18.000Z", "max_forks_repo_path": "modules/index.js", "max_forks_repo_name": "crowdbotics-apps/rwar-33953", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": 70, "max_forks_count": null, "avg_line_length": 30.0, "max_line_length": 89, "alphanum_fraction": 0.6763888889}
import mods from "./*/index.js";
import { getModules } from "./modules.js"

export const modules = getModules(mods);
export const initialRoute = modules[0].value.title;
export const slices = modules.filter(mod => mod.value.slice).map(mod => mod.value.slice);
export const reducers = slices.reduce((acc, slice) => {
  let name = slice.name.charAt(0).toUpperCase() + slice.name.slice(1)
  acc[name] = slice.reducer
  return acc
}, {})
export const navigators = modules.filter(mod => mod.value.navigator).map(mod => {
  return {
    name: mod.name,
    value: mod.value.navigator
  }
})
export const hooks = modules.filter(mod => mod.value.hook).map(mod => {
  return {
    name: mod.name,
    value: mod.value.hook
  }
})
