fix(library): sync allowed extensions across service, schema, and tests

Add .epub and .pdf to comics type, add .pdf to manga type, and ensure
avif/tiff/tif extensions are consistently included in manga across all
layers. Update test fixtures to match the canonical extension lists.
This commit is contained in:
2026-05-01 14:31:17 -04:00
parent e14bbeabdd
commit ff0517d038
4 changed files with 6 additions and 6 deletions
@@ -556,7 +556,7 @@ func TestLibraryTypes(t *testing.T) {
"id": uuid.New().String(),
"name": "comics",
"description": "Comic book archives and image formats",
"allowed_extensions": []string{".cbz", ".cbr", ".pdf"},
"allowed_extensions": []string{".cbz", ".cbr", ".cb7", ".cbt", ".epub", ".pdf"},
},
}
w.WriteHeader(http.StatusOK)