Trophy release (#3426)
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled

This commit is contained in:
hfcRed
2026-10-01 11:45:34 -04:00
committed by GitHub
parent b2057d2c97
commit 390db064a3
93 changed files with 14254 additions and 700 deletions

View File

@@ -2,6 +2,7 @@ import * as v from "valibot";
import * as BadgeRepository from "~/features/badges/BadgeRepository.server";
import * as BuildRepository from "~/features/builds/BuildRepository.server";
import * as XRankPlacementRepository from "~/features/top-search/XRankPlacementRepository.server";
import * as TrophyRepository from "~/features/trophies/TrophyRepository.server";
import type { MainWeaponId } from "~/modules/in-game-lists/types";
import { mainWeaponIds } from "~/modules/in-game-lists/weapon-ids";
import { invariant } from "~/utils/invariant";
@@ -53,6 +54,7 @@ async function main() {
await XRankPlacementRepository.insertMany(placements);
await XRankPlacementRepository.refreshAllPeakXp();
await BadgeRepository.syncXPBadges();
await TrophyRepository.syncSpecialTrophies();
await BuildRepository.recalculateAllSortValues();
await XRankPlacementRepository.refreshTenStarWeapons();
logger.info(`done reading in ${placements.length} placements`);