fix: added japanese anime names to all responses

This commit is contained in:
WBRK-dev
2024-07-21 10:39:17 +02:00
parent 5d929461ce
commit 94664abdfd
3 changed files with 17 additions and 7 deletions
+2
View File
@@ -1,6 +1,7 @@
export interface Anime {
id: string | null;
name: string | null;
jname: string | null;
poster: string | null;
duration: string | null;
type: string | null;
@@ -15,6 +16,7 @@ type CommonAnimeProps = "id" | "name" | "poster";
export interface Top10Anime extends Pick<Anime, CommonAnimeProps | "episodes"> {
rank: number | null;
jname: string | null;
}
export type Top10AnimeTimePeriod = "day" | "week" | "month";