diff options
| author | Raze Viana <[email protected]> | 2024-04-13 00:21:31 +0200 |
|---|---|---|
| committer | Raze Viana <[email protected]> | 2024-04-13 00:21:31 +0200 |
| commit | 55eaf060816f7ba05c12b1d1dcfa5404f0abde20 (patch) | |
| tree | b901635c7af2ec9e47652a268e498f31519662aa /src/types/anime.ts | |
| parent | 05f62add7689dd4308f53d5777961d5720afbe93 (diff) | |
| download | aniwatch-api-55eaf060816f7ba05c12b1d1dcfa5404f0abde20.tar.xz aniwatch-api-55eaf060816f7ba05c12b1d1dcfa5404f0abde20.zip | |
feat: added mal and anilist id to anime info endpoint
Diffstat (limited to 'src/types/anime.ts')
| -rw-r--r-- | src/types/anime.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types/anime.ts b/src/types/anime.ts index 7365c5e..d03534d 100644 --- a/src/types/anime.ts +++ b/src/types/anime.ts @@ -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">; |
