Global indicator for SQ & tournaments (#3391)

This commit is contained in:
Kalle
2026-09-19 13:44:26 +03:00
committed by GitHub
parent 42c3af663c
commit ea28196169
129 changed files with 2926 additions and 562 deletions

View File

@@ -761,6 +761,9 @@ export function buildCases(fx: Fixtures): {
add("SQMatchRepository.findById", fx.heavyGroupMatchId, (matchId) =>
SQMatchRepository.findById(matchId),
);
add("SQMatchRepository.findLiveStateById", fx.heavyGroupMatchId, (matchId) =>
SQMatchRepository.findLiveStateById(matchId),
);
add("SQMatchRepository.countSeasonResultPagesByUserId", fx.sq, (sq) =>
SQMatchRepository.countSeasonResultPagesByUserId(sq),
);
@@ -847,6 +850,9 @@ export function buildCases(fx: Fixtures): {
addStatic("SQGroupRepository.findRecentlyFinishedMatches", () =>
SQGroupRepository.findRecentlyFinishedMatches(),
);
addStatic("SQGroupRepository.findCurrentReceivedLikeCounts", () =>
SQGroupRepository.findCurrentReceivedLikeCounts(),
);
addStatic("SplatoonRotationRepository.findAll", () =>
SplatoonRotationRepository.findAll(),
@@ -1230,6 +1236,15 @@ export function buildCases(fx: Fixtures): {
fx.calendarWindow,
(window) => TournamentRepository.findAllBetweenTwoTimestamps(window),
);
add(
"TournamentRepository.findPendingCheckInsStartingBetween",
fx.calendarWindow,
(window) =>
TournamentRepository.findPendingCheckInsStartingBetween({
startsAfter: window.startTime,
startsBefore: window.endTime,
}),
);
add(
"TournamentRepository.findTopThreeResultsByTournamentIds",
fx.heavyTournamentId,