Implement cover size selection and regeneration
This commit is contained in:
committed by
Aditya Chandel
parent
bf87f030f8
commit
9e6640f27f
@@ -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 ------------------*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user