WIP: Match Book

This commit is contained in:
aditya.chandel
2025-01-03 12:56:44 -07:00
parent 2c6c15e43c
commit 8453bfb2c9
17 changed files with 181 additions and 154 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import {Shelf} from './shelf.model';
import {SafeUrl} from '@angular/platform-browser';
export interface Book {
id: number;
@@ -38,7 +39,7 @@ export interface FetchedMetadata {
isbn13: string | null;
isbn10: string | null;
pageCount: number | null;
thumbnailUrl: string | null;
thumbnailUrl: string | undefined;
language: string | null;
rating: number | null;
reviewCount: number | null;
@@ -0,0 +1,7 @@
export interface FetchMetadataRequest {
bookId: number,
provider: string,
title: string,
isbn: string,
author: string
}
@@ -0,0 +1,5 @@
export enum Provider {
AMAZON = 'Amazon',
GOOGLE_BOOKS = 'Google Books',
GOOGLE_BOOKS_API = 'Google Books (API)'
}