export type ExamStatus = "draft" | "published" | "archived"

export type ExamDifficulty = 1 | 2 | 3 | 4 | 5

export interface Exam {
  id: string
  title: string
  subject: string
  grade: string
  status: ExamStatus
  difficulty: ExamDifficulty
  totalScore: number
  durationMin: number
  questionCount: number
  scheduledAt?: string
  createdAt: string
  updatedAt?: string
  tags?: string[]
}

export type SubmissionStatus = "pending" | "graded"

export interface ExamSubmission {
  id: string
  examId: string
  examTitle: string
  studentName: string
  submittedAt: string
  score?: number
  status: SubmissionStatus
}

