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