Implement cover size selection and regeneration

This commit is contained in:
adityachandelgit
2025-04-13 16:07:31 -06:00
committed by Aditya Chandel
parent bf87f030f8
commit 9e6640f27f
27 changed files with 479 additions and 252 deletions
@@ -193,6 +193,14 @@ export class BookService {
return this.http.post<void>(`${this.url}/progress`, {bookId: bookId, epubProgress: progress});
}
regenerateCovers(): Observable<void> {
return this.http.post<void>(`${this.url}/regenerate-covers`, {});
}
regenerateCover(bookId: number): Observable<void> {
return this.http.post<void>(`${this.url}/${bookId}/regenerate-cover`, {});
}
/*------------------ All the metadata related calls go here ------------------*/