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

@@ -59,6 +59,7 @@ export type BookDto = {
id: string;
library_id: string;
kind: string;
format: string | null;
title: string;
author: string | null;
series: string | null;