/**
 * Types and constants for the Korrektur-Workspace.
 * Shared between admin and lehrer routes.
 *
 * Domain types are re-exported from the shared module.
 * Only the API_BASE constant remains local (env-dependent).
 */

export type {
  ExaminerInfo,
  ExaminerResult,
  ExaminerWorkflow,
  ActiveTab,
  CriteriaScores,
} from './klausur-types'

export {
  WORKFLOW_STATUS_LABELS,
  ROLE_LABELS,
  GRADE_LABELS,
} from './klausur-types'

export const API_BASE = process.env.NEXT_PUBLIC_KLAUSUR_SERVICE_URL || 'http://localhost:8086'
