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/index.mjs
CHANGED
|
@@ -333,7 +333,7 @@ const matchUpFormatCode = {
|
|
|
333
333
|
};
|
|
334
334
|
|
|
335
335
|
function factoryVersion() {
|
|
336
|
-
return "1.7.
|
|
336
|
+
return "1.7.17";
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
function getObjectTieFormat(obj) {
|
|
@@ -43702,17 +43702,19 @@ function generateAndPopulatePlayoffStructures(params) {
|
|
|
43702
43702
|
loserMatchUp
|
|
43703
43703
|
}
|
|
43704
43704
|
} = targetData;
|
|
43705
|
-
|
|
43706
|
-
|
|
43707
|
-
|
|
43708
|
-
|
|
43709
|
-
|
|
43710
|
-
|
|
43711
|
-
|
|
43712
|
-
|
|
43713
|
-
|
|
43714
|
-
|
|
43715
|
-
|
|
43705
|
+
if (loserTargetLink && loserMatchUp) {
|
|
43706
|
+
const targetStructureId = loserTargetLink.target.structureId;
|
|
43707
|
+
const targetDrawPosition = loserMatchUp.drawPositions[loserMatchUpDrawPositionIndex];
|
|
43708
|
+
const result = assignDrawPositionBye$1({
|
|
43709
|
+
drawPosition: targetDrawPosition,
|
|
43710
|
+
structureId: targetStructureId,
|
|
43711
|
+
tournamentRecord,
|
|
43712
|
+
drawDefinition,
|
|
43713
|
+
event
|
|
43714
|
+
});
|
|
43715
|
+
if (result.error)
|
|
43716
|
+
console.log(result.error);
|
|
43717
|
+
}
|
|
43716
43718
|
});
|
|
43717
43719
|
const matchUpModifications = [];
|
|
43718
43720
|
const goesToMap = addGoesTo({
|