{"size": 263, "ext": "js", "max_stars_repo_path": "src/category/schema/categoryType.js", "max_stars_repo_name": "gostekk/QuizBack", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/category/schema/categoryType.js", "max_issues_repo_name": "gostekk/QuizBack", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/category/schema/categoryType.js", "max_forks_repo_name": "gostekk/QuizBack", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.4705882353, "max_line_length": 44, "alphanum_fraction": 0.6349809886}
import { gql } from 'apollo-server-express';

const categoryType = gql`
  type Category {
    _id: ID!
    name: String
    challenges: [Challenge]
  }
  type Challenge {
    _id: ID
    description: String
    category: Category
  }
`;

export { categoryType };
