Move chapter files into new folder

This commit is contained in:
schroda
2024-10-05 19:15:25 +02:00
parent 23a86a77f0
commit cb731cefc0
22 changed files with 129 additions and 97 deletions

View File

@@ -227,24 +227,6 @@ export interface NavbarItem {
show: 'mobile' | 'desktop' | 'both';
}
export type ChapterSortMode = 'fetchedAt' | 'source' | 'chapterNumber' | 'uploadedAt';
export interface ChapterListOptions {
active: boolean;
unread: NullAndUndefined<boolean>;
downloaded: NullAndUndefined<boolean>;
bookmarked: NullAndUndefined<boolean>;
reverse: boolean;
sortBy: ChapterSortMode;
showChapterNumber: boolean;
}
export type ChapterOptionsReducerAction =
| { type: 'filter'; filterType: string; filterValue: NullAndUndefined<boolean> }
| { type: 'sortBy'; sortBy: ChapterSortMode }
| { type: 'sortReverse' }
| { type: 'showChapterNumber' };
export type LibrarySortMode =
| 'unreadChapters'
| 'totalChapters'