feat: add button to fetch metadata from book file in metadata editor (#2739)
This commit is contained in:
@@ -690,6 +690,10 @@ export class BookService {
|
||||
return this.http.post<void>(`${this.url}/${bookId}/regenerate-cover`, {});
|
||||
}
|
||||
|
||||
getFileMetadata(bookId: number): Observable<BookMetadata> {
|
||||
return this.http.get<BookMetadata>(`${this.url}/${bookId}/file-metadata`);
|
||||
}
|
||||
|
||||
generateCustomCover(bookId: number): Observable<void> {
|
||||
return this.http.post<void>(`${this.url}/${bookId}/generate-custom-cover`, {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user