aboutsummaryrefslogtreecommitdiff
path: root/src/lib/AniList
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-12-26 04:36:52 -0800
committerFuwn <[email protected]>2023-12-26 04:36:52 -0800
commit616b869d19244351bdd8b6f0639b542771fe2d83 (patch)
tree1e58de42d27d8fd02a2bed0a8eaff6d0eb65b6fa /src/lib/AniList
parentfix(tools): direct on default (diff)
downloaddue.moe-616b869d19244351bdd8b6f0639b542771fe2d83.tar.xz
due.moe-616b869d19244351bdd8b6f0639b542771fe2d83.zip
fix(wrapped): inter-year release as non-rewatch
Diffstat (limited to 'src/lib/AniList')
-rw-r--r--src/lib/AniList/media.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/AniList/media.ts b/src/lib/AniList/media.ts
index 3fdd54dc..3b3c42e3 100644
--- a/src/lib/AniList/media.ts
+++ b/src/lib/AniList/media.ts
@@ -59,6 +59,9 @@ export interface Media {
startDate: {
year: number;
};
+ endDate: {
+ year: number;
+ };
coverImage: {
extraLarge: string;
};
@@ -127,6 +130,7 @@ const collectionQueryTemplate = (type: Type, userId: number, includeCompleted: b
score(format: POINT_100) startedAt { year } completedAt { year }
}
startDate { year }
+ endDate { year }
coverImage { extraLarge }
}
}