Add chapter action to open chapter on source (#634)

This commit is contained in:
schroda
2024-03-02 16:11:39 +01:00
committed by GitHub
parent 8bdf035ca7
commit fb0622e209
3 changed files with 16 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ export type ChapterBookmarkInfo = ChapterIdInfo & Pick<TChapter, 'isBookmarked'>
export type ChapterReadInfo = ChapterIdInfo & Pick<TChapter, 'isRead'>;
export type ChapterNumberInfo = ChapterIdInfo & Pick<TChapter, 'chapterNumber'>;
export type ChapterScanlatorInfo = ChapterIdInfo & Pick<TChapter, 'scanlator'>;
export type ChapterRealUrlInfo = Pick<TChapter, 'realUrl'>;
export class Chapters {
static getIds(chapters: { id: number }[]): number[] {