Per user personal ratings (#1820)

* Change personal ratings to be saved per user

* Only copy ratings to users with existing progress records
This commit is contained in:
Muppetteer
2025-12-11 18:37:21 -07:00
committed by GitHub
parent 73b27944e2
commit 8ee53ff7ba
39 changed files with 147 additions and 109 deletions
@@ -41,6 +41,7 @@ export interface Book extends FileInfo {
koboProgress?: KoboProgress;
seriesCount?: number | null;
metadataMatchScore?: number | null;
personalRating?: number | null;
readStatus?: ReadStatus;
dateFinished?: string;
libraryPath?: { id: number };
@@ -98,7 +99,6 @@ export interface BookMetadata {
goodreadsReviewCount?: number | null;
hardcoverRating?: number | null;
hardcoverReviewCount?: number | null;
personalRating?: number | null;
coverUpdatedOn?: string;
authors?: string[];
categories?: string[];
@@ -125,7 +125,6 @@ export interface BookMetadata {
googleIdLocked?: boolean;
pageCountLocked?: boolean;
languageLocked?: boolean;
personalRatingLocked?: boolean;
amazonRatingLocked?: boolean;
amazonReviewCountLocked?: boolean;
goodreadsRatingLocked?: boolean;
@@ -166,7 +165,6 @@ export interface MetadataClearFlags {
goodreadsReviewCount?: boolean;
hardcoverRating?: boolean;
hardcoverReviewCount?: boolean;
personalRating?: boolean;
authors?: boolean;
categories?: boolean;
moods?: boolean;