aboutsummaryrefslogtreecommitdiff
path: root/src/lib/AniList
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/AniList')
-rw-r--r--src/lib/AniList/media.ts16
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 }
} } }