fix(books): add missing book metadata fields (#1032)

This commit is contained in:
Alex
2026-05-01 15:36:54 -04:00
committed by GitHub
parent bc05738e0f
commit 08450fa26a
5 changed files with 176 additions and 15 deletions
@@ -1,3 +1,5 @@
import {BookType} from './book.model';
export interface AppPageResponse<T> {
content: T[];
page: number;
@@ -21,16 +23,37 @@ export interface AppBookSummary {
addedOn: string | null;
lastReadTime: string | null;
readProgress: number | null;
primaryFileType: string | null;
primaryFileId: number | null;
primaryFileType: BookType | null;
primaryFileName: string | null;
coverUpdatedOn: string | null;
audiobookCoverUpdatedOn: string | null;
isPhysical: boolean | null;
publisher: string | null;
categories: string[] | null;
tags: string[] | null;
moods: string[] | null;
language: string | null;
narrator: string | null;
isbn13: string | null;
isbn10: string | null;
publishedDate: string | null;
pageCount: number | null;
ageRating: number | null;
contentRating: string | null;
metadataMatchScore: number | null;
fileSizeKb: number | null;
amazonRating: number | null;
amazonReviewCount: number | null;
goodreadsRating: number | null;
goodreadsReviewCount: number | null;
hardcoverRating: number | null;
hardcoverReviewCount: number | null;
ranobedbRating: number | null;
lubimyczytacRating: number | null;
audibleRating: number | null;
audibleReviewCount: number | null;
allMetadataLocked: boolean | null;
}
export interface AppFilterOptions {