feat: added promotional videos to /info endpoint response
This commit is contained in:
@@ -48,6 +48,7 @@ export interface AnimeGeneralAboutInfo
|
||||
stats: {
|
||||
quality: string | null;
|
||||
} & Pick<Anime, "duration" | "episodes" | "rating" | "type">;
|
||||
promotionalVideos: AnimePromotionalVideo[];
|
||||
}
|
||||
|
||||
export interface RecommendedAnime extends Anime {}
|
||||
@@ -59,6 +60,12 @@ export interface Season extends Pick<Anime, CommonAnimeProps> {
|
||||
title: string | null;
|
||||
}
|
||||
|
||||
export interface AnimePromotionalVideo {
|
||||
title: string | undefined;
|
||||
source: string | undefined;
|
||||
thumbnail: string | undefined;
|
||||
}
|
||||
|
||||
export interface AnimeSearchSuggestion
|
||||
extends Omit<MostPopularAnime, "episodes" | "type"> {
|
||||
moreInfo: Array<string>;
|
||||
|
||||
Reference in New Issue
Block a user