Files
aegis/src/types/Document.ts
T
2026-08-01 22:24:49 +02:00

11 lines
397 B
TypeScript

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)
}