export const GRADING_SCORE_TYPES = [
  'homework',
  'quiz',
  'project',
  'test',
  'midterm',
  'final',
  'comments',
] as const

export type GradingScoreType = (typeof GRADING_SCORE_TYPES)[number]

export function isGradingScoreType(s: string): s is GradingScoreType {
  return (GRADING_SCORE_TYPES as readonly string[]).includes(s)
}
