feat(cover): add online cover search with provider infrastructure

This commit is contained in:
neon
2026-03-06 04:21:48 -06:00
parent ca7a1b0095
commit 78051d0b42
9 changed files with 461 additions and 6 deletions
+14
View File
@@ -75,3 +75,17 @@ export type BookRecommendation = {
book: BookCard;
score: number;
};
export type CoverSearchResult = {
url: number | string; // ID for proxy or direct URL
previewUrl: string;
sourceUrl: string;
width: number;
height: number;
source: string;
};
export type CoverSearchResponse = {
results: CoverSearchResult[];
total: number;
};