diff options
| author | Fuwn <[email protected]> | 2023-11-05 17:53:07 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-11-05 17:53:07 -0800 |
| commit | 914623a2fc0804fd74b72cbddbe0d44d07a9e4ce (patch) | |
| tree | 4998f4e780e81afbf61e67079432490128676b33 /src/lib/AniList | |
| parent | feat(list): display title as compliment (diff) | |
| download | due.moe-914623a2fc0804fd74b72cbddbe0d44d07a9e4ce.tar.xz due.moe-914623a2fc0804fd74b72cbddbe0d44d07a9e4ce.zip | |
feat(manga): display out-of-date volumes
Diffstat (limited to 'src/lib/AniList')
| -rw-r--r-- | src/lib/AniList/media.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/AniList/media.ts b/src/lib/AniList/media.ts index e5deb272..55e3e453 100644 --- a/src/lib/AniList/media.ts +++ b/src/lib/AniList/media.ts @@ -16,6 +16,7 @@ export interface Media { type: string; episodes: number; chapters: number; + volumes: number; format: string; title: { romaji: string; @@ -28,6 +29,7 @@ export interface Media { }; mediaListEntry?: { progress: number; + progressVolumes: number; status: string; score: number; startedAt: { @@ -123,15 +125,13 @@ export const mediaListCollection = async ( type === Type.Anime ? 'ANIME' : 'MANGA' }${includeCompleted ? '' : ', status_not_in: [ COMPLETED ]'}) { lists { entries { media { - id - status - type - episodes - chapters - format - title { romaji english native } + id status type episodes chapters format + title { romaji english native } nextAiringEpisode { episode timeUntilAiring } - mediaListEntry { progress status score(format: POINT_100) startedAt { year } } + mediaListEntry { + progress progressVolumes status + score(format: POINT_100) startedAt { year } + } startDate { year } coverImage { extraLarge } } } } |