tods-competition-factory 0.69.1 → 0.69.2
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 +17 -7
- 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.69.
|
|
252
|
+
return '0.69.2';
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
const FORMAT_STANDARD = 'SET3-S:6/TB7'; // Best of 3 Tiebreak Sets to 6
|
|
@@ -7325,12 +7325,14 @@ var collectionDefinitions = [
|
|
|
7325
7325
|
}
|
|
7326
7326
|
];
|
|
7327
7327
|
var tieFormatName = "Doubles Shuffle";
|
|
7328
|
+
var unrestrictedSelections = true;
|
|
7328
7329
|
var winCriteria = {
|
|
7329
7330
|
aggregateValue: true
|
|
7330
7331
|
};
|
|
7331
7332
|
var TEAM_AGGREGATION_TIE_FORMAT = {
|
|
7332
7333
|
collectionDefinitions: collectionDefinitions,
|
|
7333
7334
|
tieFormatName: tieFormatName,
|
|
7335
|
+
unrestrictedSelections: unrestrictedSelections,
|
|
7334
7336
|
winCriteria: winCriteria
|
|
7335
7337
|
};
|
|
7336
7338
|
|
|
@@ -39559,8 +39561,8 @@ function setParticipantScaleItem({
|
|
|
39559
39561
|
};
|
|
39560
39562
|
}
|
|
39561
39563
|
function setParticipantScaleItems({
|
|
39562
|
-
|
|
39563
|
-
|
|
39564
|
+
scaleItemsWithParticipantIds = [],
|
|
39565
|
+
tournamentRecord
|
|
39564
39566
|
}) {
|
|
39565
39567
|
if (!tournamentRecord) return {
|
|
39566
39568
|
error: MISSING_TOURNAMENT_RECORD
|
|
@@ -45146,11 +45148,11 @@ function removeDelegatedOutcome(params) {
|
|
|
45146
45148
|
}
|
|
45147
45149
|
|
|
45148
45150
|
function generateSeedingScaleItems({
|
|
45151
|
+
scaleAttributes,
|
|
45149
45152
|
scaledEntries,
|
|
45153
|
+
stageEntries,
|
|
45150
45154
|
seedsCount,
|
|
45151
|
-
|
|
45152
|
-
scaleName,
|
|
45153
|
-
stageEntries
|
|
45155
|
+
scaleName
|
|
45154
45156
|
}) {
|
|
45155
45157
|
if (!scaleAttributes) return {
|
|
45156
45158
|
error: MISSING_VALUE
|
|
@@ -52171,7 +52173,8 @@ function modifyTournamentRecord({
|
|
|
52171
52173
|
eventType
|
|
52172
52174
|
} = event;
|
|
52173
52175
|
const {
|
|
52174
|
-
drawProfiles
|
|
52176
|
+
drawProfiles,
|
|
52177
|
+
publish
|
|
52175
52178
|
} = eventProfile;
|
|
52176
52179
|
const eventParticipantType = eventType === SINGLES ? INDIVIDUAL : eventType === DOUBLES ? PAIR : eventType;
|
|
52177
52180
|
|
|
@@ -52232,6 +52235,13 @@ function modifyTournamentRecord({
|
|
|
52232
52235
|
if (result.error) return result;
|
|
52233
52236
|
drawIds.push(...result.drawIds);
|
|
52234
52237
|
}
|
|
52238
|
+
|
|
52239
|
+
if (publish) {
|
|
52240
|
+
publishEvent({
|
|
52241
|
+
tournamentRecord,
|
|
52242
|
+
event
|
|
52243
|
+
});
|
|
52244
|
+
}
|
|
52235
52245
|
}
|
|
52236
52246
|
}
|
|
52237
52247
|
}
|