diff options
| author | Fuwn <[email protected]> | 2023-12-31 16:50:31 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-31 16:50:31 -0800 |
| commit | a1103eecd939463c38adc8e6000a23843ba57bda (patch) | |
| tree | ee1e9bbbcd24a4969321cde63fbc6dec2b0da39d /src/lib/AniList/media.ts | |
| parent | fix(wrapped): no score if no score (diff) | |
| download | due.moe-a1103eecd939463c38adc8e6000a23843ba57bda.tar.xz due.moe-a1103eecd939463c38adc8e6000a23843ba57bda.zip | |
feat(wrapped): filter out low rank tags
Diffstat (limited to 'src/lib/AniList/media.ts')
| -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 05f18363..8706a639 100644 --- a/src/lib/AniList/media.ts +++ b/src/lib/AniList/media.ts @@ -67,6 +67,7 @@ export interface Media { }; tags: { name: string; + rank: number; }[]; genres: string[]; } @@ -122,7 +123,7 @@ const collectionQueryTemplate = (type: Type, userId: number, includeCompleted: b name entries { media { id idMal status type episodes chapters format duration synonyms genres - tags { name } + tags { name rank } title { romaji english native } nextAiringEpisode { episode airingAt } mediaListEntry { |