{"size": 742, "ext": "js", "max_stars_repo_path": "app/lib/models/power.js", "max_stars_repo_name": "max99x/guesshub", "max_stars_repo_stars_event_min_datetime": "2015-02-26T15:30:06.000Z", "max_stars_repo_stars_event_max_datetime": "2020-09-12T19:26:50.000Z", "max_issues_repo_path": "app/lib/models/power.js", "max_issues_repo_name": "max99x/guesshub", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/lib/models/power.js", "max_forks_repo_name": "max99x/guesshub", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 12, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.55, "max_line_length": 63, "alphanum_fraction": 0.5727762803}
var model = require('model');
var plugins = require('./plugins');

// Immutable power descriptions.
var Power = plugins(model('Level'))
  .attr('id')
  .attr('price')
  .attr('tooltip')
  .attr('icon')
  ;

Power.ALL = {
  time: new Power({
    id: 'time',
    price: 400,
    tooltip: 'Rewind \xa0the timer',  // \xa0 to force wrapping
    icon: 'clock-o'
  }),
  repo: new Power({
    id: 'repo',
    price: 1000,
    tooltip: 'Reveal repo details',
    icon: 'folder-open'
  }),
  commit: new Power({
    id: 'commit',
    price: 1600,
    tooltip: 'Reveal commit details',
    icon: 'tags'
  }),
  half: new Power({
    id: 'half',
    price: 2400,
    tooltip: 'Reduce wrong choices',
    icon: 'adjust'
  })
};

module.exports = Power;
