tods-competition-factory 1.6.22 → 1.6.23
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.d.ts +55 -6
- package/dist/forge/generate.mjs +911 -844
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.mjs +10 -10
- package/dist/forge/query.mjs.map +1 -1
- package/dist/forge/transform.mjs +10 -10
- package/dist/forge/transform.mjs.map +1 -1
- package/dist/index.mjs +91 -23
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +84 -30
- 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/query.mjs
CHANGED
|
@@ -4453,25 +4453,25 @@ function targetByRoundOutcome({
|
|
|
4453
4453
|
matchUp,
|
|
4454
4454
|
targetLinks: { loserTargetLink, winnerTargetLink, byeTargetLink },
|
|
4455
4455
|
targetMatchUps: {
|
|
4456
|
-
|
|
4457
|
-
loserMatchUp,
|
|
4458
|
-
winnerMatchUp,
|
|
4459
|
-
byeTargetDrawPosition,
|
|
4460
|
-
loserTargetDrawPosition,
|
|
4461
|
-
winnerTargetDrawPosition,
|
|
4462
|
-
byeMatchUpDrawPositionIndex,
|
|
4456
|
+
winnerMatchUpDrawPositionIndex,
|
|
4463
4457
|
loserMatchUpDrawPositionIndex,
|
|
4464
|
-
|
|
4458
|
+
byeMatchUpDrawPositionIndex,
|
|
4459
|
+
winnerTargetDrawPosition,
|
|
4460
|
+
loserTargetDrawPosition,
|
|
4461
|
+
byeTargetDrawPosition,
|
|
4462
|
+
winnerMatchUp,
|
|
4463
|
+
loserMatchUp,
|
|
4464
|
+
byeMatchUp
|
|
4465
4465
|
},
|
|
4466
4466
|
targetMatchUpIds: !!(winnerMatchUpId || loserMatchUpId)
|
|
4467
4467
|
});
|
|
4468
4468
|
}
|
|
4469
4469
|
function targetByWinRatio({ matchUp }) {
|
|
4470
4470
|
return {
|
|
4471
|
-
matchUp,
|
|
4472
4471
|
targetLinks: { loserTargetLink: void 0, winnerTargetLink: void 0 },
|
|
4473
4472
|
// returned for testing
|
|
4474
|
-
targetMatchUps: { loserMatchUp: void 0, winnerMatchUp: void 0 }
|
|
4473
|
+
targetMatchUps: { loserMatchUp: void 0, winnerMatchUp: void 0 },
|
|
4474
|
+
matchUp
|
|
4475
4475
|
};
|
|
4476
4476
|
}
|
|
4477
4477
|
|