add downloadable content in vault
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
export interface Document {
|
||||
id: string;
|
||||
title: string;
|
||||
category: string;
|
||||
file: File;
|
||||
created: string;
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user