/** Administrator grading SPA (JWT `/api/v1/administrator/grading/*`). Hub at `/app/grading`. */
export const GRADING_PATH = '/app/grading'
/** SPA list + links; Laravel API paths remain `.../below-sixty` (see `api/grading.ts`). */
export const GRADING_BELOW_SIXTY_PATH = `${GRADING_PATH}/below-60`
export const GRADING_DECISIONS_PATH = `${GRADING_PATH}/decisions`
export const GRADING_BELOW_SIXTY_DECISIONS_PATH = `${GRADING_BELOW_SIXTY_PATH}/decisions`
export const GRADING_BELOW_SIXTY_DECISION_EMAIL_EDITOR_PATH = `${GRADING_BELOW_SIXTY_DECISIONS_PATH}/email-editor`
export const GRADING_BELOW_SIXTY_EMAIL_EDITOR_PATH = `${GRADING_PATH}/below-60/email-editor`
export const GRADING_HOMEWORK_TRACKING_PATH = `${GRADING_PATH}/homework-tracking`
export const GRADING_PARTICIPATION_PATH = `${GRADING_PATH}/participation`
export const GRADING_PLACEMENT_INDEX_PATH = `${GRADING_PATH}/placement-index`
export const GRADING_PLACEMENT_PATH = `${GRADING_PATH}/placement`
export const GRADING_SCHEDULE_MEETING_PATH = `${GRADING_PATH}/schedule-meeting`

export function gradingScoresPath(scoreType: string): string {
  return `${GRADING_PATH}/scores/${scoreType}`
}

export function gradingPlacementBatchPath(batchId: string | number): string {
  return `${GRADING_PATH}/placement-batch/${batchId}`
}
