Add user specific book progress tracking and improve epub progress tracking
This commit is contained in:
committed by
Aditya Chandel
parent
8d8379e689
commit
c2960ad830
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user