{"size": 297, "ext": "js", "max_stars_repo_path": "server/routes/db/graphql/resolvers/gear.js", "max_stars_repo_name": "Neoplatonist/axialrp-node", "max_stars_repo_stars_event_min_datetime": "2018-02-15T12:32:05.000Z", "max_stars_repo_stars_event_max_datetime": "2018-05-29T06:39:02.000Z", "max_issues_repo_path": "server/routes/db/graphql/resolvers/gear.js", "max_issues_repo_name": "Neoplatonist/axialrp-node", "max_issues_repo_issues_event_min_datetime": "2018-03-21T03:46:25.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-08T22:49:06.000Z", "max_forks_repo_path": "server/routes/db/graphql/resolvers/gear.js", "max_forks_repo_name": "Neoplatonist/axialrp-node", "max_forks_repo_forks_event_min_datetime": "2018-10-04T17:32:55.000Z", "max_forks_repo_forks_event_max_datetime": "2018-10-04T17:32:55.000Z"}
{"max_stars_count": 4, "max_issues_count": 17, "max_forks_count": 1, "avg_line_length": 27.0, "max_line_length": 71, "alphanum_fraction": 0.5454545455}
module.exports = {
  Query: {
    getGear: (_, __, { db }) => db.Gear.getGear(),
    getGearByName: (_, { name }, { db }) => db.Gear.getGearByName(name)
  },

  Mutation: {
    addGear: (_, args, { db }) => db.Gear.addGear(args),
    removeGear: (_, args, { db }) => db.Gear.removeGear(args)
  }
}