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/transform.mjs
CHANGED
|
@@ -6814,25 +6814,25 @@ function targetByRoundOutcome({
|
|
|
6814
6814
|
matchUp,
|
|
6815
6815
|
targetLinks: { loserTargetLink, winnerTargetLink, byeTargetLink },
|
|
6816
6816
|
targetMatchUps: {
|
|
6817
|
-
|
|
6818
|
-
loserMatchUp,
|
|
6819
|
-
winnerMatchUp,
|
|
6820
|
-
byeTargetDrawPosition,
|
|
6821
|
-
loserTargetDrawPosition,
|
|
6822
|
-
winnerTargetDrawPosition,
|
|
6823
|
-
byeMatchUpDrawPositionIndex,
|
|
6817
|
+
winnerMatchUpDrawPositionIndex,
|
|
6824
6818
|
loserMatchUpDrawPositionIndex,
|
|
6825
|
-
|
|
6819
|
+
byeMatchUpDrawPositionIndex,
|
|
6820
|
+
winnerTargetDrawPosition,
|
|
6821
|
+
loserTargetDrawPosition,
|
|
6822
|
+
byeTargetDrawPosition,
|
|
6823
|
+
winnerMatchUp,
|
|
6824
|
+
loserMatchUp,
|
|
6825
|
+
byeMatchUp
|
|
6826
6826
|
},
|
|
6827
6827
|
targetMatchUpIds: !!(winnerMatchUpId || loserMatchUpId)
|
|
6828
6828
|
});
|
|
6829
6829
|
}
|
|
6830
6830
|
function targetByWinRatio({ matchUp }) {
|
|
6831
6831
|
return {
|
|
6832
|
-
matchUp,
|
|
6833
6832
|
targetLinks: { loserTargetLink: void 0, winnerTargetLink: void 0 },
|
|
6834
6833
|
// returned for testing
|
|
6835
|
-
targetMatchUps: { loserMatchUp: void 0, winnerMatchUp: void 0 }
|
|
6834
|
+
targetMatchUps: { loserMatchUp: void 0, winnerMatchUp: void 0 },
|
|
6835
|
+
matchUp
|
|
6836
6836
|
};
|
|
6837
6837
|
}
|
|
6838
6838
|
|