import { DocumentVerificationCard } from './DocumentVerificationCard'; import { useUpdateCandidateEducation } from '@/hooks/backoffice/useUpdateCandidateEducation'; import { CandidateDocumentTypes, DocumentStatuses } from '@heygermany/sdk'; type EducationVerificationCardProps = { candidateId: string; education: any; documents?: any[]; verbose?: boolean; }; export function EducationVerificationCard({ candidateId, education, documents = [], verbose = false }: EducationVerificationCardProps) { const mutationHook = useUpdateCandidateEducation(candidateId); const verificationDocuments = documents .map((document, index) => ({ documentId: document.documentId, documentStatus: document.documentStatus ?? DocumentStatuses.UNVERIFIED, label: document.fileName || `File ${index + 1}` })); return ( ); }