feat: section disponibles au téléchargement + fix nommage import
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 43s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 43s
- Endpoint GET /download-detection/latest-found : résultats "found" du dernier job de détection par bibliothèque - Section dans la page Téléchargements avec les releases disponibles groupées par bibliothèque, bouton qBittorrent intégré - Fix nommage import : exclut les volumes importés de la recherche de référence (évite le cercle vicieux vol 8 → ref vol 8 → même nom) - Fix extraction volumes : gère "Tome.007" (point après préfixe) en plus de "Tome 007" dans extract_volumes_from_title - Fallback disque pour la référence de nommage quand la DB ne matche pas - Logging détaillé du processus d'import pour debug Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1184,6 +1184,14 @@ export type DownloadDetectionResultDto = {
|
||||
error_message: string | null;
|
||||
};
|
||||
|
||||
export type LatestFoundPerLibraryDto = {
|
||||
library_id: string;
|
||||
library_name: string;
|
||||
job_id: string;
|
||||
job_date: string;
|
||||
results: DownloadDetectionResultDto[];
|
||||
};
|
||||
|
||||
export async function getDownloadDetectionReport(jobId: string) {
|
||||
return apiFetch<DownloadDetectionReportDto>(`/download-detection/${jobId}/report`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user