feat: added mal and anilist id to anime info endpoint
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
export interface Anime {
|
||||
id: string | null;
|
||||
anilistId: number | null;
|
||||
malId: number | null;
|
||||
name: string | null;
|
||||
poster: string | null;
|
||||
duration: string | null;
|
||||
@@ -43,6 +45,8 @@ export interface TopAiringAnime extends MostPopularAnime {}
|
||||
export interface AnimeGeneralAboutInfo
|
||||
extends Pick<Anime, CommonAnimeProps>,
|
||||
Pick<SpotlightAnime, "description"> {
|
||||
anilistId: number | null;
|
||||
malId: number | null;
|
||||
stats: {
|
||||
quality: string | null;
|
||||
} & Pick<Anime, "duration" | "episodes" | "rating" | "type">;
|
||||
|
||||
Reference in New Issue
Block a user