Add user specific book progress tracking and improve epub progress tracking

This commit is contained in:
adityachandelgit
2025-05-18 11:16:45 -06:00
committed by Aditya Chandel
parent 8d8379e689
commit c2960ad830
20 changed files with 287 additions and 74 deletions
+12 -2
View File
@@ -10,12 +10,22 @@ export interface Book {
shelves?: Shelf[];
lastReadTime?: string;
addedOn?: string;
epubProgress?: string;
pdfProgress?: number;
epubProgress?: EpubProgress;
pdfProgress?: PdfProgress;
filePath?: string;
fileSizeKb?: number;
}
export interface EpubProgress {
cfi: string;
percentage: number;
}
export interface PdfProgress {
page: number;
percentage: number;
}
export interface BookMetadata {
bookId: number;
title: string;