Separate ratings for Amazon and Goodreads

This commit is contained in:
adityachandelgit
2025-04-18 19:50:08 -06:00
committed by Aditya Chandel
parent 3e61fcc08a
commit 110ef88e6b
12 changed files with 239 additions and 78 deletions
@@ -32,6 +32,10 @@ export interface BookMetadata {
language?: string;
rating?: number | null;
reviewCount?: number | null;
amazonRating?: number | null;
amazonReviewCount?: number | null;
goodreadsRating?: number | null;
goodreadsReviewCount?: number | null;
coverUpdatedOn?: string;
authors: string[];
categories: string[];
@@ -56,6 +60,10 @@ export interface BookMetadata {
languageLocked?: boolean;
ratingLocked?: boolean;
reviewCountLocked?: boolean;
amazonRatingLocked?: boolean;
amazonReviewCountLocked?: boolean;
goodreadsRatingLocked?: boolean;
goodreadsReviewCountLocked?: boolean;
coverUpdatedOnLocked?: boolean;
authorsLocked?: boolean;
categoriesLocked?: boolean;