tods-competition-factory 1.7.16 → 1.7.17
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/forge/generate.mjs +13 -11
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/index.mjs +14 -12
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +14 -12
- 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 +2 -2
|
@@ -362,7 +362,7 @@ var matchUpFormatCode = {
|
|
|
362
362
|
};
|
|
363
363
|
|
|
364
364
|
function factoryVersion() {
|
|
365
|
-
return '1.7.
|
|
365
|
+
return '1.7.17';
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
/******************************************************************************
|
|
@@ -47225,17 +47225,19 @@ function generateAndPopulatePlayoffStructures(params) {
|
|
|
47225
47225
|
});
|
|
47226
47226
|
var loserTargetLink = targetData.targetLinks.loserTargetLink, _a = targetData.targetMatchUps, loserMatchUpDrawPositionIndex = _a.loserMatchUpDrawPositionIndex, // only present when positionTargets found without loserMatchUpId
|
|
47227
47227
|
loserMatchUp = _a.loserMatchUp;
|
|
47228
|
-
|
|
47229
|
-
|
|
47230
|
-
|
|
47231
|
-
|
|
47232
|
-
|
|
47233
|
-
|
|
47234
|
-
|
|
47235
|
-
|
|
47236
|
-
|
|
47237
|
-
|
|
47238
|
-
|
|
47228
|
+
if (loserTargetLink && loserMatchUp) {
|
|
47229
|
+
var targetStructureId = loserTargetLink.target.structureId;
|
|
47230
|
+
var targetDrawPosition = loserMatchUp.drawPositions[loserMatchUpDrawPositionIndex];
|
|
47231
|
+
var result = assignDrawPositionBye$1({
|
|
47232
|
+
drawPosition: targetDrawPosition,
|
|
47233
|
+
structureId: targetStructureId,
|
|
47234
|
+
tournamentRecord: tournamentRecord,
|
|
47235
|
+
drawDefinition: drawDefinition,
|
|
47236
|
+
event: event,
|
|
47237
|
+
});
|
|
47238
|
+
if (result.error)
|
|
47239
|
+
console.log(result.error);
|
|
47240
|
+
}
|
|
47239
47241
|
});
|
|
47240
47242
|
// the matchUps in the source structure must have goesTo details added
|
|
47241
47243
|
var matchUpModifications = [];
|