/* ── LearnSpace shared constants ───────────────────────────────────────── */

exports.SESSION_MODES = new Set(['exam', 'practice', 'repeat', 'ct', 'topic', 'random']);

exports.SESSION_STATUS = {
  IN_PROGRESS: 'in_progress',
  COMPLETED:   'completed',
  ABANDONED:   'abandoned',
};

exports.ROLES = {
  ADMIN:   'admin',
  TEACHER: 'teacher',
  STUDENT: 'student',
};

exports.NOTIFICATION_TYPES = {
  ASSIGNMENT:  'assignment',
  SESSION:     'session',
  ACHIEVEMENT: 'achievement',
  SYSTEM:      'system',
  JOIN:        'join',
  SUBMISSION:  'submission',
  CHALLENGE:   'challenge',
  DAILY_GOAL:  'daily_goal',
};

exports.SUBJECTS = {
  BIO:  'bio',
  CHEM: 'chem',
  MATH: 'math',
  PHYS: 'phys',
};

// Combo bonus XP thresholds: [minCombo, bonusXP]
exports.COMBO_BONUSES = [
  [10, 75],
  [5,  30],
  [3,  15],
];
