aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Data
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-03-29 15:25:47 -0700
committerFuwn <[email protected]>2025-03-29 15:25:47 -0700
commit2e209e9f1ab1571d2333504da59f097fd4844089 (patch)
tree880f8fabaec0e7272fb5f8718a9782655a6369f4 /src/lib/Data
parentfix(BadgePreview): Correct badge preview width (diff)
downloaddue.moe-2e209e9f1ab1571d2333504da59f097fd4844089.tar.xz
due.moe-2e209e9f1ab1571d2333504da59f097fd4844089.zip
feat(Anime): Add additional sort options
Diffstat (limited to 'src/lib/Data')
-rw-r--r--src/lib/Data/AniList/media.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/Data/AniList/media.ts b/src/lib/Data/AniList/media.ts
index b9e70a7d..c032edaa 100644
--- a/src/lib/Data/AniList/media.ts
+++ b/src/lib/Data/AniList/media.ts
@@ -78,9 +78,11 @@ export interface Media {
};
startDate: {
year: number;
+ month: number;
};
endDate: {
year: number;
+ month: number;
};
coverImage: {
extraLarge: string;
@@ -154,8 +156,8 @@ const collectionQueryTemplate = (type: Type, userId: number, options: Collection
progress progressVolumes status repeat createdAt updatedAt
score(format: POINT_100) startedAt { year month day } completedAt { year month day }
}
- startDate { year }
- endDate { year }
+ startDate { year month }
+ endDate { year month }
coverImage { extraLarge medium }
${
options.includeRelations