Replace Sort by ID with Date Added (#253)
This commit is contained in:
@@ -98,6 +98,7 @@ export interface IMangaCard {
|
||||
downloadCount?: number;
|
||||
inLibrary?: boolean;
|
||||
meta?: IMetadata;
|
||||
inLibraryAt: number;
|
||||
}
|
||||
|
||||
export interface IManga {
|
||||
@@ -126,6 +127,14 @@ export interface IManga {
|
||||
|
||||
age: number;
|
||||
chaptersAge: number;
|
||||
chaptersLastFetchedAt: number;
|
||||
inLibraryAt: number;
|
||||
initialized: boolean;
|
||||
lastChapterRead: NullAndUndefined<IChapter>;
|
||||
lastFetchedAt: number;
|
||||
lastReadAt: number;
|
||||
thumbnailUrlLastFetched: number;
|
||||
updateStrategy: string;
|
||||
}
|
||||
|
||||
export interface IChapter {
|
||||
@@ -322,7 +331,7 @@ export type ChapterOptionsReducerAction =
|
||||
| { type: 'sortReverse' }
|
||||
| { type: 'showChapterNumber' };
|
||||
|
||||
export type LibrarySortMode = 'sortToRead' | 'sortAlph' | 'sortID';
|
||||
export type LibrarySortMode = 'sortToRead' | 'sortAlph' | 'sortDateAdded';
|
||||
|
||||
enum GridLayout {
|
||||
Compact = 0,
|
||||
|
||||
Reference in New Issue
Block a user