tods-competition-factory 0.166.0 → 0.167.0
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/tods-competition-factory.development.cjs.js +5 -1
- 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/dist/tods-competition-factory.production.esm.min.js +1 -1
- package/dist/tods-competition-factory.production.esm.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -249,7 +249,7 @@ const matchUpFormatCode = {
|
|
|
249
249
|
};
|
|
250
250
|
|
|
251
251
|
function factoryVersion() {
|
|
252
|
-
return '0.
|
|
252
|
+
return '0.167.0';
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
function isPowerOf2(n) {
|
|
@@ -18267,6 +18267,7 @@ function modifyMatchUpScore({
|
|
|
18267
18267
|
|
|
18268
18268
|
if (removeScore) {
|
|
18269
18269
|
Object.assign(matchUp, toBePlayed);
|
|
18270
|
+
delete matchUp.score;
|
|
18270
18271
|
} else if (score) {
|
|
18271
18272
|
matchUp.score = score;
|
|
18272
18273
|
}
|
|
@@ -18354,6 +18355,7 @@ function updateTieMatchUpScore({
|
|
|
18354
18355
|
tournamentRecord,
|
|
18355
18356
|
drawDefinition,
|
|
18356
18357
|
matchUpStatus,
|
|
18358
|
+
removeScore,
|
|
18357
18359
|
matchUpId,
|
|
18358
18360
|
structure,
|
|
18359
18361
|
event
|
|
@@ -18395,6 +18397,7 @@ function updateTieMatchUpScore({
|
|
|
18395
18397
|
removeWinningSide,
|
|
18396
18398
|
tournamentRecord,
|
|
18397
18399
|
drawDefinition,
|
|
18400
|
+
removeScore,
|
|
18398
18401
|
winningSide,
|
|
18399
18402
|
matchUpId,
|
|
18400
18403
|
matchUp,
|
|
@@ -40849,6 +40852,7 @@ function resetScorecard$1(params) {
|
|
|
40849
40852
|
|
|
40850
40853
|
const result = updateTieMatchUpScore({
|
|
40851
40854
|
matchUpStatus: TO_BE_PLAYED,
|
|
40855
|
+
removeScore: true,
|
|
40852
40856
|
tournamentRecord,
|
|
40853
40857
|
drawDefinition,
|
|
40854
40858
|
matchUpId,
|