Add rating and review count. Remove asin.

This commit is contained in:
aditya.chandel
2025-01-04 14:29:42 -07:00
parent 525a1e8753
commit 82b7cca0a5
7 changed files with 139 additions and 48 deletions
@@ -8,7 +8,8 @@ export interface BookMetadataBI {
publishedDate: string;
isbn10: string;
isbn13: string;
asin?: string;
rating?: number | null;
reviewCount?: number | null;
description?: string;
pageCount?: number | null;
language: string;
+2 -2
View File
@@ -19,9 +19,10 @@ export interface BookMetadata {
publishedDate: string;
isbn10: string;
isbn13: string;
asin: string;
description?: string;
pageCount: number;
rating: number;
reviewCount: number;
language: string;
googleBookId: string;
[key: string]: any;
@@ -45,7 +46,6 @@ export interface FetchedMetadata {
reviewCount: number | null;
authors: string[];
categories: string[];
asin: string | null;
[key: string]: any;
}