'use client' export interface QualityTest { id: string name: string status: 'passed' | 'failed' | 'warning' | 'pending' last_run: string duration: string | null ai_system: string | null details: string | null } export function TestRow({ test, onDelete }: { test: QualityTest; onDelete: (id: string) => void }) { const statusColors = { passed: 'bg-green-100 text-green-700', failed: 'bg-red-100 text-red-700', warning: 'bg-yellow-100 text-yellow-700', pending: 'bg-gray-100 text-gray-500', } const statusLabels = { passed: 'Bestanden', failed: 'Fehlgeschlagen', warning: 'Warnung', pending: 'Ausstehend', } return (