tods-competition-factory 2.2.32-beta.1 → 2.2.32-beta.4
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.
- package/dist/index.mjs +6 -6
- package/dist/tods-competition-factory.d.ts +2 -2
- package/dist/tods-competition-factory.development.cjs.js +2 -2
- package/dist/tods-competition-factory.development.cjs.js.map +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -4625,11 +4625,11 @@ declare function deleteFlightProfileAndFlightDraws({ autoPublish, tournamentReco
|
|
|
4625
4625
|
event: any;
|
|
4626
4626
|
force: any;
|
|
4627
4627
|
}): {
|
|
4628
|
+
error: any;
|
|
4629
|
+
} | {
|
|
4628
4630
|
success?: boolean;
|
|
4629
4631
|
error?: ErrorType;
|
|
4630
4632
|
info?: any;
|
|
4631
|
-
} | {
|
|
4632
|
-
error: any;
|
|
4633
4633
|
};
|
|
4634
4634
|
|
|
4635
4635
|
type ModifyEventMatchUpFormatTimingArgs = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
function factoryVersion() {
|
|
6
|
-
return '2.2.32-beta.
|
|
6
|
+
return '2.2.32-beta.4';
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
const SINGLES_MATCHUP = 'SINGLES';
|
|
@@ -45209,7 +45209,7 @@ function hasPropagatedExitDownstream(params) {
|
|
|
45209
45209
|
const { targetData, matchUpsMap } = params;
|
|
45210
45210
|
const { targetMatchUps: { loserMatchUp }, } = targetData;
|
|
45211
45211
|
const isLoserMatchUpWO = isExit(loserMatchUp?.matchUpStatus);
|
|
45212
|
-
const hasLoserMatchUpUpstreamWOMatches = !!matchUpsMap?.drawMatchUps.find((m) => m.loserMatchUpId === loserMatchUp?.matchUpId && isExit(m.matchUpStatus));
|
|
45212
|
+
const hasLoserMatchUpUpstreamWOMatches = !!matchUpsMap?.drawMatchUps.find((m) => m.loserMatchUpId === loserMatchUp?.matchUpId && (isExit(m.matchUpStatus) || m.matchUpStatus === RETIRED$1));
|
|
45213
45213
|
return ((hasLoserMatchUpUpstreamWOMatches && loserMatchUp?.matchUpStatus === DOUBLE_WALKOVER) ||
|
|
45214
45214
|
(hasLoserMatchUpUpstreamWOMatches && isLoserMatchUpWO));
|
|
45215
45215
|
}
|