Implemented phase 1 for the POC prototype in the Website service.

This commit is contained in:
javier committed 2026-09-21 11:16:52 +02:00
1 parent 6d7ab4bcba
commit ea89ea892a
37 files changed
+4173 -43

No files matched your search

@@ -26,6 +26,26 @@ extension Format {
}
}
/// The format's name for one item.
var singular: String {
switch self {
case .singleIssues: "Single issue"
case .manga: "Manga"
case .tradePaperbacks: "Trade paperback"
case .hardcovers: "Hardcover"
}
}
/// What the format covers, in a sentence.
var summary: String {
switch self {
case .singleIssues: "Raw and slabbed, all eras. Filter by grade, print and key status."
case .manga: "Tankōbon volumes, box sets and first English printings."
case .tradePaperbacks: "Collected runs and one-shots, with printing noted on every copy."
case .hardcovers: "Omnibuses, deluxe editions and sealed copies."
}
}
/// The path of the search screen filtered to the format.
var path: String {
"\(String.Route.search)?format=\(rawValue)"