From dceaa906bc41cf61c99d4a5f123931bcba4ee2a0 Mon Sep 17 00:00:00 2001 From: darthmaim Date: Tue, 10 Dec 2024 20:04:07 +0100 Subject: [PATCH] Add new ids to wintersday pages --- .../app/[language]/festival/wintersday/minis/page.tsx | 1 + .../app/[language]/festival/wintersday/skins/page.tsx | 3 +++ .../festival/wintersday/wizards-vault/page.tsx | 9 ++++++--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/apps/web/app/[language]/festival/wintersday/minis/page.tsx b/apps/web/app/[language]/festival/wintersday/minis/page.tsx index ac3b508d2..6018e49f6 100644 --- a/apps/web/app/[language]/festival/wintersday/minis/page.tsx +++ b/apps/web/app/[language]/festival/wintersday/minis/page.tsx @@ -44,6 +44,7 @@ const miniIds = [ 880, // Mini Calico Cat 881, // Mini Corgi 916, // Mini Plush Cuckoo + 957, // Mini Plush Fox ]; const loadData = cache(async function loadData() { diff --git a/apps/web/app/[language]/festival/wintersday/skins/page.tsx b/apps/web/app/[language]/festival/wintersday/skins/page.tsx index 060c9841d..ca471c3b4 100644 --- a/apps/web/app/[language]/festival/wintersday/skins/page.tsx +++ b/apps/web/app/[language]/festival/wintersday/skins/page.tsx @@ -23,6 +23,9 @@ const skinIds = [ 11949, // Ornamented Focus 11190, // Silent Forest's Bell 10194, // Wintergreen Custom Candy Cane Hammer + 12791, // Ginger Shortbread Shortbow + 12757, // Wintersday Bash + 12755, // Gingerbread Speargun // armor 7991, // Eggnog Helmet diff --git a/apps/web/app/[language]/festival/wintersday/wizards-vault/page.tsx b/apps/web/app/[language]/festival/wintersday/wizards-vault/page.tsx index 86d8aac68..3e56ca8d4 100644 --- a/apps/web/app/[language]/festival/wintersday/wizards-vault/page.tsx +++ b/apps/web/app/[language]/festival/wintersday/wizards-vault/page.tsx @@ -14,18 +14,21 @@ import { Icon } from '@gw2treasures/ui'; import { Notice } from '@gw2treasures/ui/components/Notice/Notice'; const objectiveIds: number[] = [ - // TODO: add objective ids + 223, // (Festival) Complete the (Annual) Festival Automaton Achievement + 224, // (Festival) Complete the (Annual) Some Disassembly Required Achievement + 215, // (Festival) Complete the (Annual) Wintersday Traditions Achievement + 219, // (Festival) Complete the Secret Lair of the Snowmen Strike Mission ]; const loadData = cache(async function loadData() { const [objectives] = await Promise.all([ db.wizardsVaultObjective.findMany({ - where: { OR: [{ id: { in: objectiveIds }}, { name_en: { startsWith: '(Festival)' }, removedFromApi: false }] }, + where: { id: { in: objectiveIds }} }) ]); return { objectives }; -}, ['wintersday-wizards-vault-objectives'], { revalidate: 60 * 5 }); +}, ['wintersday-wizards-vault-objectives'], { revalidate: 60 * 60 }); export default async function WintersdayAchievementsPage({ params }: PageProps) {