export interface Document { id: string; collectionId: string; // <-- OBLIGATOIRE pour pb.files.getUrl() collectionName: string; // (ex: 'aegis_documents_vault') created: string; updated: string; title: string; file: string; // Le nom du fichier généré par PocketBase (ex: 'rapport_7b3a.pdf') category: string; company?: string; // L'ID du client (Relation) }