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
package/dist/forge/generate.mjs
CHANGED
|
@@ -17632,17 +17632,19 @@ function generateAndPopulatePlayoffStructures(params) {
|
|
|
17632
17632
|
loserMatchUp
|
|
17633
17633
|
}
|
|
17634
17634
|
} = targetData;
|
|
17635
|
-
|
|
17636
|
-
|
|
17637
|
-
|
|
17638
|
-
|
|
17639
|
-
|
|
17640
|
-
|
|
17641
|
-
|
|
17642
|
-
|
|
17643
|
-
|
|
17644
|
-
|
|
17645
|
-
|
|
17635
|
+
if (loserTargetLink && loserMatchUp) {
|
|
17636
|
+
const targetStructureId = loserTargetLink.target.structureId;
|
|
17637
|
+
const targetDrawPosition = loserMatchUp.drawPositions[loserMatchUpDrawPositionIndex];
|
|
17638
|
+
const result = assignDrawPositionBye({
|
|
17639
|
+
drawPosition: targetDrawPosition,
|
|
17640
|
+
structureId: targetStructureId,
|
|
17641
|
+
tournamentRecord,
|
|
17642
|
+
drawDefinition,
|
|
17643
|
+
event
|
|
17644
|
+
});
|
|
17645
|
+
if (result.error)
|
|
17646
|
+
console.log(result.error);
|
|
17647
|
+
}
|
|
17646
17648
|
});
|
|
17647
17649
|
const matchUpModifications = [];
|
|
17648
17650
|
const goesToMap = addGoesTo({
|