/** * Constants and tab definitions for OCR Labeling page. */ import type { JSX } from 'react' // API Base URL for klausur-service export const API_BASE = process.env.NEXT_PUBLIC_KLAUSUR_SERVICE_URL || 'http://localhost:8086' // Tab definitions export type TabId = 'labeling' | 'sessions' | 'upload' | 'stats' | 'export' export const tabs: { id: TabId; name: string; icon: JSX.Element }[] = [ { id: 'labeling', name: 'Labeling', icon: ( ), }, { id: 'sessions', name: 'Sessions', icon: ( ), }, { id: 'upload', name: 'Upload', icon: ( ), }, { id: 'stats', name: 'Statistiken', icon: ( ), }, { id: 'export', name: 'Export', icon: ( ), }, ]