{"size": 640, "ext": "js", "max_stars_repo_path": "index.js", "max_stars_repo_name": "telemark/skoleskyss-admin", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "index.js", "max_issues_repo_name": "telemark/skoleskyss-admin", "max_issues_repo_issues_event_min_datetime": "2017-08-04T05:06:57.000Z", "max_issues_repo_issues_event_max_datetime": "2018-06-05T06:45:36.000Z", "max_forks_repo_path": "index.js", "max_forks_repo_name": "telemark/skoleskyss-admin", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 23, "max_forks_count": null, "avg_line_length": 23.7037037037, "max_line_length": 47, "alphanum_fraction": 0.696875}
'use strict'

const routes = require('./routes')
const auth = require('./routes/auth')
const stats = require('./routes/stats')
const logs = require('./routes/logs')
const reports = require('./routes/reports')
const search = require('./routes/search')
const systems = require('./routes/systems')
const ping = require('./routes/ping')

exports.register = (server, options, next) => {
  server.route(routes)
  server.route(auth)
  server.route(stats)
  server.route(logs)
  server.route(reports)
  server.route(search)
  server.route(systems)
  server.route(ping)
  next()
}

exports.register.attributes = {
  pkg: require('./package.json')
}
