mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-30 15:17:43 -05:00
Global indicator for SQ & tournaments (#3391)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user