mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 20:13:44 -07:00
better error handling and performance improvements
This commit is contained in:
parent
6ca77cf6af
commit
17ceea25d9
6 changed files with 87 additions and 23 deletions
|
|
@ -6,11 +6,9 @@ export interface Comic {
|
|||
title: string;
|
||||
slug: string;
|
||||
genres: number[];
|
||||
md_covers: {
|
||||
b2key: string;
|
||||
}[];
|
||||
content_rating: string;
|
||||
comic_type: string;
|
||||
md_covers: ComicCover[];
|
||||
content_rating: 'safe' | 'suggestive' | 'erotica';
|
||||
comic_type: ComicType;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -24,4 +22,10 @@ export interface FeedMapping {
|
|||
lang: string;
|
||||
}
|
||||
|
||||
export type ComicType = 'manga' | 'manhwa' | 'manhua' | 'all';
|
||||
export type ComicType = 'manga' | 'manhwa' | 'manhua' | 'all';
|
||||
|
||||
export interface ComicCover {
|
||||
b2key: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue