feat(newAnimeTypes): added several types related to ScrapedAnimeAboutInfo parser type

This commit is contained in:
Ritesh Ghosh
2023-08-03 23:19:59 +05:30
parent 999193e27a
commit af70a9de11
+17
View File
@@ -40,6 +40,23 @@ export interface TopUpcomingAnime extends Anime {}
export interface TopAiringAnime extends MostPopularAnime {} export interface TopAiringAnime extends MostPopularAnime {}
export interface AnimeGeneralAboutInfo
extends Pick<Anime, CommonAnimeProps>,
Pick<SpotlightAnime, "description"> {
stats: {
quality: string | null;
} & Pick<Anime, "duration" | "episodes" | "rating" | "type">;
}
export interface RecommendedAnime extends Anime {}
export interface RelatedAnime extends MostPopularAnime {}
export interface Season extends Pick<Anime, CommonAnimeProps> {
isCurrent: boolean;
title: string | null;
}
export type AnimeCategories = export type AnimeCategories =
| "most-favorite" | "most-favorite"
| "most-popular" | "most-popular"