tods-competition-factory 2.2.32-beta.1 → 2.2.32-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  function factoryVersion() {
6
- return '2.2.32-beta.1';
6
+ return '2.2.32-beta.6';
7
7
  }
8
8
 
9
9
  const SINGLES_MATCHUP = 'SINGLES';
@@ -12345,7 +12345,7 @@ function purgeGlobalLog() {
12345
12345
  }
12346
12346
 
12347
12347
  function isExit(matchUpStatus) {
12348
- return [DEFAULTED, WALKOVER$2].includes(matchUpStatus);
12348
+ return [DEFAULTED, WALKOVER$2, RETIRED$1].includes(matchUpStatus);
12349
12349
  }
12350
12350
 
12351
12351
  function assignDrawPositionBye({ provisionalPositioning, isPositionAction, tournamentRecord, drawDefinition, drawPosition, loserMatchUp, matchUpsMap, structureId, structure, event, }) {
@@ -22547,7 +22547,7 @@ function processOutcome$1({ winningParticipantId, losingParticipantId, participa
22547
22547
  participantResults[losingParticipantId].defaults += 1;
22548
22548
  if (matchUpStatus === RETIRED$1)
22549
22549
  participantResults[losingParticipantId].retirements += 1;
22550
- if ([DEFAULTED, RETIRED$1, WALKOVER$2].includes(matchUpStatus))
22550
+ if (isExit(matchUpStatus))
22551
22551
  participantResults[losingParticipantId].allDefaults += 1;
22552
22552
  participantResults[losingParticipantId].matchUpsLost += 1;
22553
22553
  }
@@ -45946,7 +45946,8 @@ function progressExitStatus({ sourceMatchUpStatusCodes, propagateExitStatus, sou
45946
45946
  color: 'magenta',
45947
45947
  method: stack,
45948
45948
  });
45949
- const carryOverMatchUpStatus = (isExit(sourceMatchUpStatus) && sourceMatchUpStatus) || WALKOVER$2;
45949
+ const carryOverMatchUpStatus = (isExit(sourceMatchUpStatus) && (sourceMatchUpStatus !== RETIRED$1) && sourceMatchUpStatus)
45950
+ || WALKOVER$2;
45950
45951
  const inContextMatchUps = getAllDrawMatchUps({
45951
45952
  inContext: true,
45952
45953
  drawDefinition,