diff options
| author | Fuwn <[email protected]> | 2023-12-15 05:35:50 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-15 05:35:50 -0800 |
| commit | cab8434627df0be59410367efd534b5dbbb59dab (patch) | |
| tree | 6e1136da439a0c2698556292ab2e3a5deb346034 /src/lib/AniList | |
| parent | feat(settings): click on text to toggle (diff) | |
| download | due.moe-cab8434627df0be59410367efd534b5dbbb59dab.tar.xz due.moe-cab8434627df0be59410367efd534b5dbbb59dab.zip | |
feat(media): use outbound mal id when available
Diffstat (limited to 'src/lib/AniList')
| -rw-r--r-- | src/lib/AniList/media.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/AniList/media.ts b/src/lib/AniList/media.ts index 6c0d02c6..d0635b6c 100644 --- a/src/lib/AniList/media.ts +++ b/src/lib/AniList/media.ts @@ -18,6 +18,7 @@ export interface MediaTitle { export interface Media { id: number; + idMal: number; status: 'FINISHED' | 'RELEASING' | 'NOT_YET_RELEASED' | 'CANCELLED' | 'HIATUS'; type: 'ANIME' | 'MANGA'; episodes: number; @@ -89,7 +90,7 @@ const collectionQueryTemplate = (type: Type, userId: number, includeCompleted: b lists { name entries { media { - id status type episodes chapters format duration + id idMal status type episodes chapters format duration title { romaji english native } nextAiringEpisode { episode airingAt } mediaListEntry { |