From a1103eecd939463c38adc8e6000a23843ba57bda Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 31 Dec 2023 16:50:31 -0800 Subject: feat(wrapped): filter out low rank tags --- src/lib/AniList/media.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/AniList/media.ts') 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 { -- cgit v1.2.3