feat(backoffice): afficher le format (cbz/cbr/pdf) au lieu du kind sur les cards

- Ajoute `format: string | null` dans BookDto
- BookCard et page détail utilisent `book.format ?? book.kind` avec les couleurs
  success=CBZ, warning=CBR, destructive=PDF

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 09:09:54 +01:00
parent 9153b0c750
commit 44c6dd626a
4 changed files with 17 additions and 10 deletions

View File

@@ -44,6 +44,7 @@ export default async function BooksPage({
volume: hit.volume,
language: hit.language,
page_count: null,
format: null,
file_path: null,
file_format: null,
file_parse_status: null,