new-manga/src/lib/types.ts
2025-01-25 21:45:07 -07:00

27 lines
No EOL
447 B
TypeScript

export interface Comic {
id: string;
chap: string;
updated_at: string;
md_comics: {
title: string;
slug: string;
genres: number[];
md_covers: {
b2key: string;
}[];
content_rating: string;
comic_type: string;
};
}
export interface Genre {
id: number;
name: string;
}
export interface FeedMapping {
slugs: string[];
lang: string;
}
export type ComicType = 'manga' | 'manhwa' | 'manhua' | 'all';