aboutsummaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorWBRK-dev <[email protected]>2024-07-21 10:39:17 +0200
committerWBRK-dev <[email protected]>2024-07-21 10:39:17 +0200
commit94664abdfdf1be8820f96afe081182f59281f4cb (patch)
tree503b584586dc259ad486a727b983a55d02d18aa0 /src/types
parent5d929461ce918006b9c3977e5af5f76799e820b3 (diff)
downloadaniwatch-api-94664abdfdf1be8820f96afe081182f59281f4cb.tar.xz
aniwatch-api-94664abdfdf1be8820f96afe081182f59281f4cb.zip
fix: added japanese anime names to all responses
Diffstat (limited to 'src/types')
-rw-r--r--src/types/anime.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types/anime.ts b/src/types/anime.ts
index 0d32382..83a3d1f 100644
--- a/src/types/anime.ts
+++ b/src/types/anime.ts
@@ -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";