增加漫画展馆功能
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
export interface MangaSource {
|
||||
id: string;
|
||||
name: string;
|
||||
lang?: string;
|
||||
displayName?: string;
|
||||
}
|
||||
|
||||
export interface MangaSearchItem {
|
||||
id: string;
|
||||
sourceId: string;
|
||||
sourceName: string;
|
||||
title: string;
|
||||
cover: string;
|
||||
description?: string;
|
||||
author?: string;
|
||||
status?: string;
|
||||
artist?: string;
|
||||
genre?: string;
|
||||
}
|
||||
|
||||
export interface MangaChapter {
|
||||
id: string;
|
||||
mangaId: string;
|
||||
name: string;
|
||||
chapterNumber?: number;
|
||||
scanlator?: string;
|
||||
isRead?: boolean;
|
||||
isDownloaded?: boolean;
|
||||
pageCount?: number;
|
||||
uploadDate?: number;
|
||||
}
|
||||
|
||||
export interface MangaDetail extends MangaSearchItem {
|
||||
chapters: MangaChapter[];
|
||||
}
|
||||
|
||||
export interface MangaShelfItem {
|
||||
title: string;
|
||||
cover: string;
|
||||
sourceId: string;
|
||||
sourceName: string;
|
||||
mangaId: string;
|
||||
saveTime: number;
|
||||
description?: string;
|
||||
author?: string;
|
||||
status?: string;
|
||||
lastChapterId?: string;
|
||||
lastChapterName?: string;
|
||||
}
|
||||
|
||||
export interface MangaReadRecord {
|
||||
title: string;
|
||||
cover: string;
|
||||
sourceId: string;
|
||||
sourceName: string;
|
||||
mangaId: string;
|
||||
chapterId: string;
|
||||
chapterName: string;
|
||||
pageIndex: number;
|
||||
pageCount: number;
|
||||
saveTime: number;
|
||||
}
|
||||
Reference in New Issue
Block a user