feat(pdf): move ebook reader to embedpdf, add bookmarks, remove old pdf.js stuff (#393)
* feat(pdf): move ebook reader to embedpdf, add bookmarks, remove old pdf.js stuff * feat(pdf): add page number support for bookmarks and enhance mobile navigation * feat(pdf): implement document ID tracking for search functionality * feat(pdf): add page number column to book marks and update unique index * feat(pdf): enhance annotation handling and improve search result scrolling * feat(pdf): improve layout handling and enhance resize observer functionality * feat(pdf): improve document viewer initialization and improve close button styling * fix(pdf): remove 'form' from disabled categories * feat(pdf): add pan mode functionality and enhance sidebar layout * feat(pdf): improve book viewer initialization with enhanced element detection * feat(pdf): add link handling to text selection and improve popup actions * feat(pdf): enhance link detection and improve selection handling in event service * feat(pdf): improve accessibility and improve resource management in PDF viewer * feat(pdf): add resize observer for improved layout handling * feat(pdf): error handling and improve navigation in PDF reader
This commit is contained in:
@@ -10,6 +10,7 @@ export interface BookMark {
|
||||
cfi?: string; // For EPUB bookmarks
|
||||
positionMs?: number; // For audiobook bookmarks
|
||||
trackIndex?: number; // For folder-based audiobooks
|
||||
pageNumber?: number; // For PDF bookmarks
|
||||
title: string;
|
||||
color?: string;
|
||||
notes?: string;
|
||||
@@ -23,12 +24,14 @@ export interface CreateBookMarkRequest {
|
||||
cfi?: string; // For EPUB bookmarks
|
||||
positionMs?: number; // For audiobook bookmarks
|
||||
trackIndex?: number; // For folder-based audiobooks
|
||||
pageNumber?: number; // For PDF bookmarks
|
||||
title?: string;
|
||||
}
|
||||
|
||||
export interface UpdateBookMarkRequest {
|
||||
title?: string;
|
||||
cfi?: string;
|
||||
pageNumber?: number;
|
||||
color?: string;
|
||||
notes?: string;
|
||||
priority?: number;
|
||||
|
||||
Reference in New Issue
Block a user