feat: implement DetailDialog component for PDF viewing and downloading; refactor API calls to use environment variables

This commit is contained in:
2025-09-04 07:38:58 -06:00
parent 1808ce6f81
commit 2367baa538
10 changed files with 195 additions and 80 deletions

14
src/types/RefRow.ts Normal file
View File

@@ -0,0 +1,14 @@
export type RefRow = {
fine_tuning_referencias_id: string
titulo_archivo: string | null
descripcion: string | null
s3_file_path: string | null // Added this property to match the API requirements.
tipo_contenido: string | null
fecha_subida: string | null
procesado: boolean | null
tags: string[] | null
fuente_autoridad: string | null
interno: boolean | null
instrucciones: string
created_by: string | null
}