tods-competition-factory 1.8.45 → 1.8.46
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 +23 -6
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.mjs +12 -1
- package/dist/forge/query.mjs.map +1 -1
- package/dist/forge/transform.mjs +5057 -5044
- package/dist/forge/transform.mjs.map +1 -1
- package/dist/index.mjs +31 -7
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +61 -37
- 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 +1 -1
|
@@ -2929,7 +2929,7 @@ var matchUpFormatCode = {
|
|
|
2929
2929
|
};
|
|
2930
2930
|
|
|
2931
2931
|
function factoryVersion() {
|
|
2932
|
-
return '1.8.
|
|
2932
|
+
return '1.8.46';
|
|
2933
2933
|
}
|
|
2934
2934
|
|
|
2935
2935
|
function getObjectTieFormat(obj) {
|
|
@@ -10581,15 +10581,15 @@ function modifyPositionAssignmentsNotice(_a) {
|
|
|
10581
10581
|
}
|
|
10582
10582
|
|
|
10583
10583
|
function ensureSideLineUps(_a) {
|
|
10584
|
-
var _b, _c
|
|
10584
|
+
var _b, _c;
|
|
10585
10585
|
var inContextDualMatchUp = _a.inContextDualMatchUp, drawDefinition = _a.drawDefinition, tournamentId = _a.tournamentId, dualMatchUp = _a.dualMatchUp, eventId = _a.eventId;
|
|
10586
|
-
if (dualMatchUp
|
|
10586
|
+
if (dualMatchUp) {
|
|
10587
10587
|
if (!inContextDualMatchUp) {
|
|
10588
|
-
inContextDualMatchUp = (
|
|
10588
|
+
inContextDualMatchUp = (_b = findDrawMatchUp({
|
|
10589
10589
|
matchUpId: dualMatchUp.matchUpId,
|
|
10590
10590
|
inContext: true,
|
|
10591
10591
|
drawDefinition: drawDefinition,
|
|
10592
|
-
})) === null ||
|
|
10592
|
+
})) === null || _b === void 0 ? void 0 : _b.matchUp;
|
|
10593
10593
|
}
|
|
10594
10594
|
var extension = findExtension$2({
|
|
10595
10595
|
element: drawDefinition,
|
|
@@ -10600,9 +10600,18 @@ function ensureSideLineUps(_a) {
|
|
|
10600
10600
|
var displaySideNumber = _a.displaySideNumber, drawPosition = _a.drawPosition, sideNumber = _a.sideNumber;
|
|
10601
10601
|
return ({ drawPosition: drawPosition, sideNumber: sideNumber, displaySideNumber: displaySideNumber });
|
|
10602
10602
|
};
|
|
10603
|
-
dualMatchUp.sides = (
|
|
10604
|
-
var
|
|
10605
|
-
|
|
10603
|
+
dualMatchUp.sides = (_c = inContextDualMatchUp === null || inContextDualMatchUp === void 0 ? void 0 : inContextDualMatchUp.sides) === null || _c === void 0 ? void 0 : _c.map(function (contextSide) {
|
|
10604
|
+
var _a, _b;
|
|
10605
|
+
var participantId = contextSide.participantId;
|
|
10606
|
+
var referenceLineUp = (participantId && lineUps_1[participantId]) || undefined;
|
|
10607
|
+
var _c = (_b = (_a = dualMatchUp.sides) === null || _a === void 0 ? void 0 : _a.find(function (_a) {
|
|
10608
|
+
var sideNumber = _a.sideNumber;
|
|
10609
|
+
return sideNumber === contextSide.sideNumber;
|
|
10610
|
+
})) !== null && _b !== void 0 ? _b : {}, noContextLineUp = _c.lineUp, noContextSideDetail = __rest(_c, ["lineUp"]);
|
|
10611
|
+
var lineUp = (noContextLineUp === null || noContextLineUp === void 0 ? void 0 : noContextLineUp.length)
|
|
10612
|
+
? noContextLineUp
|
|
10613
|
+
: referenceLineUp;
|
|
10614
|
+
return __assign(__assign(__assign({}, extractSideDetail_1(contextSide)), noContextSideDetail), { lineUp: lineUp });
|
|
10606
10615
|
});
|
|
10607
10616
|
modifyMatchUpNotice({
|
|
10608
10617
|
context: 'ensureSidLineUps',
|
|
@@ -25968,7 +25977,7 @@ function processSides(params) {
|
|
|
25968
25977
|
|
|
25969
25978
|
function getParticipantEntries(params) {
|
|
25970
25979
|
var e_1, _a, e_2, _b;
|
|
25971
|
-
var _c, _d, _e, _f, _g, _h;
|
|
25980
|
+
var _c, _d, _e, _f, _g, _h, _j, _k;
|
|
25972
25981
|
var participantFilters = params.participantFilters, convertExtensions = params.convertExtensions, policyDefinitions = params.policyDefinitions, tournamentRecord = params.tournamentRecord, usePublishState = params.usePublishState, contextProfile = params.contextProfile, participantMap = params.participantMap, withPotentialMatchUps = params.withPotentialMatchUps, withRankingProfile = params.withRankingProfile, withScheduleItems = params.withScheduleItems, scheduleAnalysis = params.scheduleAnalysis, withTeamMatchUps = params.withTeamMatchUps, withStatistics = params.withStatistics, withOpponents = params.withOpponents, withMatchUps = params.withMatchUps, withSeeding = params.withSeeding, withEvents = params.withEvents, withDraws = params.withDraws;
|
|
25973
25982
|
var targetParticipantIds = participantFilters === null || participantFilters === void 0 ? void 0 : participantFilters.participantIds;
|
|
25974
25983
|
var getRelevantParticipantIds = function (participantId) {
|
|
@@ -26007,11 +26016,11 @@ function getParticipantEntries(params) {
|
|
|
26007
26016
|
return (_e = (_d = (_c = (_b = participantMap[participantId].participant) === null || _b === void 0 ? void 0 : _b.rankings) === null || _c === void 0 ? void 0 : _c[eventType]) === null || _d === void 0 ? void 0 : _d.find(function (ranking) { return scaleNames.includes(ranking.scaleName); })) === null || _e === void 0 ? void 0 : _e.scaleValue;
|
|
26008
26017
|
};
|
|
26009
26018
|
var _loop_1 = function (event_1) {
|
|
26010
|
-
var e_3,
|
|
26019
|
+
var e_3, _o, e_4, _p, e_5, _q;
|
|
26011
26020
|
if ((participantFilters === null || participantFilters === void 0 ? void 0 : participantFilters.eventIds) &&
|
|
26012
26021
|
!participantFilters.eventIds.includes(event_1.eventId))
|
|
26013
26022
|
return "continue";
|
|
26014
|
-
var
|
|
26023
|
+
var _r = event_1.drawDefinitions, drawDefinitions = _r === void 0 ? [] : _r, _s = event_1.extensions, extensions = _s === void 0 ? [] : _s, eventType = event_1.eventType, eventName = event_1.eventName, category = event_1.category, entries = event_1.entries, eventId = event_1.eventId, gender = event_1.gender;
|
|
26015
26024
|
var flightProfile = getFlightProfile({ event: event_1 }).flightProfile;
|
|
26016
26025
|
var flights = (_c = flightProfile === null || flightProfile === void 0 ? void 0 : flightProfile.flights) !== null && _c !== void 0 ? _c : [];
|
|
26017
26026
|
var publishStatuses = getEventPublishStatuses({ event: event_1 });
|
|
@@ -26027,7 +26036,7 @@ function getParticipantEntries(params) {
|
|
|
26027
26036
|
category === null || category === void 0 ? void 0 : category.ageCategoryCode,
|
|
26028
26037
|
].filter(Boolean);
|
|
26029
26038
|
var _loop_3 = function (entry) {
|
|
26030
|
-
var
|
|
26039
|
+
var _t;
|
|
26031
26040
|
var participantId = entry.participantId;
|
|
26032
26041
|
if (!participantId || !participantMap[participantId])
|
|
26033
26042
|
return "continue"; // handle bad data
|
|
@@ -26036,13 +26045,13 @@ function getParticipantEntries(params) {
|
|
|
26036
26045
|
var seedAssignments, seedValue;
|
|
26037
26046
|
if (withSeeding) {
|
|
26038
26047
|
var participant = participantMap[participantId].participant;
|
|
26039
|
-
(
|
|
26048
|
+
(_t = getEventSeedAssignments({
|
|
26040
26049
|
publishedSeeding: publishedSeeding,
|
|
26041
26050
|
usePublishState: usePublishState,
|
|
26042
26051
|
withSeeding: withSeeding,
|
|
26043
26052
|
participant: participant,
|
|
26044
26053
|
event: event_1,
|
|
26045
|
-
}), seedAssignments =
|
|
26054
|
+
}), seedAssignments = _t.seedAssignments, seedValue = _t.seedValue);
|
|
26046
26055
|
}
|
|
26047
26056
|
// IMPORTANT NOTE!
|
|
26048
26057
|
// id is the pair, team or individual participant currently being processed
|
|
@@ -26078,7 +26087,7 @@ function getParticipantEntries(params) {
|
|
|
26078
26087
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
26079
26088
|
finally {
|
|
26080
26089
|
try {
|
|
26081
|
-
if (entries_1_1 && !entries_1_1.done && (
|
|
26090
|
+
if (entries_1_1 && !entries_1_1.done && (_o = entries_1.return)) _o.call(entries_1);
|
|
26082
26091
|
}
|
|
26083
26092
|
finally { if (e_3) throw e_3.error; }
|
|
26084
26093
|
}
|
|
@@ -26097,11 +26106,11 @@ function getParticipantEntries(params) {
|
|
|
26097
26106
|
};
|
|
26098
26107
|
var drawIds = unique(__spreadArray(__spreadArray([], __read(drawDefinitions.map(extractAttributes('drawId'))), false), __read(flights.map(extractAttributes('drawId'))), false));
|
|
26099
26108
|
var _loop_4 = function (drawId) {
|
|
26100
|
-
var e_6,
|
|
26109
|
+
var e_6, _u;
|
|
26101
26110
|
var drawDefinition = drawDefinitions.find(function (drawDefinition) { return drawDefinition.drawId === drawId; });
|
|
26102
26111
|
var flight = flights === null || flights === void 0 ? void 0 : flights.find(function (flight) { return flight.drawId === drawId; });
|
|
26103
26112
|
var entries_2 = (drawDefinition === null || drawDefinition === void 0 ? void 0 : drawDefinition.entries) || (flight === null || flight === void 0 ? void 0 : flight.drawEntries);
|
|
26104
|
-
var
|
|
26113
|
+
var _v = drawDefinition !== null && drawDefinition !== void 0 ? drawDefinition : {}, _w = _v.structures, structures = _w === void 0 ? [] : _w, drawOrder = _v.drawOrder, drawName = _v.drawName, drawType = _v.drawType;
|
|
26105
26114
|
var flightNumber = flight === null || flight === void 0 ? void 0 : flight.flightNumber;
|
|
26106
26115
|
var scaleNames = [
|
|
26107
26116
|
category === null || category === void 0 ? void 0 : category.categoryName,
|
|
@@ -26261,10 +26270,16 @@ function getParticipantEntries(params) {
|
|
|
26261
26270
|
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
26262
26271
|
finally {
|
|
26263
26272
|
try {
|
|
26264
|
-
if (relevantEntries_1_1 && !relevantEntries_1_1.done && (
|
|
26273
|
+
if (relevantEntries_1_1 && !relevantEntries_1_1.done && (_u = relevantEntries_1.return)) _u.call(relevantEntries_1);
|
|
26265
26274
|
}
|
|
26266
26275
|
finally { if (e_6) throw e_6.error; }
|
|
26267
26276
|
}
|
|
26277
|
+
var stages = ((_g = drawDefinition === null || drawDefinition === void 0 ? void 0 : drawDefinition.structures) !== null && _g !== void 0 ? _g : []).reduce(function (stages, structure) {
|
|
26278
|
+
if (!stages.includes(structure.stage))
|
|
26279
|
+
stages.push(structure.stage);
|
|
26280
|
+
return stages;
|
|
26281
|
+
}, []);
|
|
26282
|
+
var linksCount = ((_h = drawDefinition === null || drawDefinition === void 0 ? void 0 : drawDefinition.links) !== null && _h !== void 0 ? _h : []).length;
|
|
26268
26283
|
derivedDrawInfo[drawId] = {
|
|
26269
26284
|
qualifyingPositionAssignments: qualifyingPositionAssignments,
|
|
26270
26285
|
qualifyingSeedAssignments: qualifyingSeedAssignments,
|
|
@@ -26274,11 +26289,13 @@ function getParticipantEntries(params) {
|
|
|
26274
26289
|
orderedStructureIds: orderedStructureIds,
|
|
26275
26290
|
mainSeedingMap: mainSeedingMap,
|
|
26276
26291
|
flightNumber: flightNumber,
|
|
26292
|
+
linksCount: linksCount,
|
|
26277
26293
|
drawOrder: drawOrder,
|
|
26278
26294
|
drawName: drawName,
|
|
26279
26295
|
drawType: drawType,
|
|
26280
26296
|
drawSize: drawSize,
|
|
26281
26297
|
drawId: drawId,
|
|
26298
|
+
stages: stages,
|
|
26282
26299
|
// qualifyingDrawSize,
|
|
26283
26300
|
};
|
|
26284
26301
|
};
|
|
@@ -26291,7 +26308,7 @@ function getParticipantEntries(params) {
|
|
|
26291
26308
|
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
26292
26309
|
finally {
|
|
26293
26310
|
try {
|
|
26294
|
-
if (drawIds_1_1 && !drawIds_1_1.done && (
|
|
26311
|
+
if (drawIds_1_1 && !drawIds_1_1.done && (_p = drawIds_1.return)) _p.call(drawIds_1);
|
|
26295
26312
|
}
|
|
26296
26313
|
finally { if (e_4) throw e_4.error; }
|
|
26297
26314
|
}
|
|
@@ -26304,7 +26321,7 @@ function getParticipantEntries(params) {
|
|
|
26304
26321
|
withMatchUps ||
|
|
26305
26322
|
withDraws) {
|
|
26306
26323
|
var nextMatchUps = !!scheduleAnalysis || withPotentialMatchUps;
|
|
26307
|
-
var eventMatchUps = (
|
|
26324
|
+
var eventMatchUps = (_k = (_j = allEventMatchUps({
|
|
26308
26325
|
afterRecoveryTimes: !!scheduleAnalysis,
|
|
26309
26326
|
policyDefinitions: policyDefinitions,
|
|
26310
26327
|
tournamentRecord: tournamentRecord,
|
|
@@ -26313,10 +26330,10 @@ function getParticipantEntries(params) {
|
|
|
26313
26330
|
participantMap: participantMap,
|
|
26314
26331
|
nextMatchUps: nextMatchUps,
|
|
26315
26332
|
event: event_1,
|
|
26316
|
-
})) === null ||
|
|
26333
|
+
})) === null || _j === void 0 ? void 0 : _j.matchUps) !== null && _k !== void 0 ? _k : [];
|
|
26317
26334
|
var _loop_5 = function (matchUp) {
|
|
26318
|
-
var e_7,
|
|
26319
|
-
var finishingPositionRange = matchUp.finishingPositionRange, potentialParticipants = matchUp.potentialParticipants,
|
|
26335
|
+
var e_7, _x;
|
|
26336
|
+
var finishingPositionRange = matchUp.finishingPositionRange, potentialParticipants = matchUp.potentialParticipants, _y = matchUp.tieMatchUps, tieMatchUps = _y === void 0 ? [] : _y, _z = matchUp.sides, sides = _z === void 0 ? [] : _z, winningSide = matchUp.winningSide, matchUpType = matchUp.matchUpType, matchUpId = matchUp.matchUpId, eventId_1 = matchUp.eventId, drawId = matchUp.drawId, collectionId = matchUp.collectionId, stageSequence = matchUp.stageSequence, finishingRound = matchUp.finishingRound, matchUpStatus = matchUp.matchUpStatus, roundPosition = matchUp.roundPosition, roundNumber = matchUp.roundNumber, structureId = matchUp.structureId, schedule = matchUp.schedule, score = matchUp.score, stage = matchUp.stage;
|
|
26320
26337
|
mappedMatchUps[matchUpId] = matchUp;
|
|
26321
26338
|
var baseAttrs = {
|
|
26322
26339
|
finishingPositionRange: finishingPositionRange,
|
|
@@ -26336,14 +26353,14 @@ function getParticipantEntries(params) {
|
|
|
26336
26353
|
try {
|
|
26337
26354
|
for (var tieMatchUps_1 = (e_7 = void 0, __values(tieMatchUps)), tieMatchUps_1_1 = tieMatchUps_1.next(); !tieMatchUps_1_1.done; tieMatchUps_1_1 = tieMatchUps_1.next()) {
|
|
26338
26355
|
var tieMatchUp = tieMatchUps_1_1.value;
|
|
26339
|
-
var tieMatchUpWinningSide = tieMatchUp.winningSide,
|
|
26356
|
+
var tieMatchUpWinningSide = tieMatchUp.winningSide, _0 = tieMatchUp.sides, tieMatchUpSides = _0 === void 0 ? [] : _0, tieMatchUpId = tieMatchUp.matchUpId, matchUpStatus_1 = tieMatchUp.matchUpStatus, matchUpType_1 = tieMatchUp.matchUpType;
|
|
26340
26357
|
processSides(__assign(__assign(__assign({}, baseAttrs), withOpts), { winningSide: tieMatchUpWinningSide, tieWinningSide: winningSide, matchUpTieId: matchUpId, matchUpId: tieMatchUpId, sides: tieMatchUpSides, matchUpSides: sides, matchUpStatus: matchUpStatus_1, matchUpType: matchUpType_1 }));
|
|
26341
26358
|
}
|
|
26342
26359
|
}
|
|
26343
26360
|
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
26344
26361
|
finally {
|
|
26345
26362
|
try {
|
|
26346
|
-
if (tieMatchUps_1_1 && !tieMatchUps_1_1.done && (
|
|
26363
|
+
if (tieMatchUps_1_1 && !tieMatchUps_1_1.done && (_x = tieMatchUps_1.return)) _x.call(tieMatchUps_1);
|
|
26347
26364
|
}
|
|
26348
26365
|
finally { if (e_7) throw e_7.error; }
|
|
26349
26366
|
}
|
|
@@ -26394,7 +26411,7 @@ function getParticipantEntries(params) {
|
|
|
26394
26411
|
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
26395
26412
|
finally {
|
|
26396
26413
|
try {
|
|
26397
|
-
if (eventMatchUps_1_1 && !eventMatchUps_1_1.done && (
|
|
26414
|
+
if (eventMatchUps_1_1 && !eventMatchUps_1_1.done && (_q = eventMatchUps_1.return)) _q.call(eventMatchUps_1);
|
|
26398
26415
|
}
|
|
26399
26416
|
finally { if (e_5) throw e_5.error; }
|
|
26400
26417
|
}
|
|
@@ -26402,23 +26419,23 @@ function getParticipantEntries(params) {
|
|
|
26402
26419
|
}
|
|
26403
26420
|
};
|
|
26404
26421
|
try {
|
|
26405
|
-
for (var
|
|
26406
|
-
var event_1 =
|
|
26422
|
+
for (var _l = __values((tournamentRecord === null || tournamentRecord === void 0 ? void 0 : tournamentRecord.events) || []), _m = _l.next(); !_m.done; _m = _l.next()) {
|
|
26423
|
+
var event_1 = _m.value;
|
|
26407
26424
|
_loop_1(event_1);
|
|
26408
26425
|
}
|
|
26409
26426
|
}
|
|
26410
26427
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
26411
26428
|
finally {
|
|
26412
26429
|
try {
|
|
26413
|
-
if (
|
|
26430
|
+
if (_m && !_m.done && (_a = _l.return)) _a.call(_l);
|
|
26414
26431
|
}
|
|
26415
26432
|
finally { if (e_1) throw e_1.error; }
|
|
26416
26433
|
}
|
|
26417
26434
|
if (withStatistics || withRankingProfile || !!scheduleAnalysis) {
|
|
26418
26435
|
var aggregators = Object.values(participantMap);
|
|
26419
26436
|
var _loop_2 = function (participantAggregator) {
|
|
26420
|
-
var e_8,
|
|
26421
|
-
var
|
|
26437
|
+
var e_8, _1, e_9, _2, e_10, _3;
|
|
26438
|
+
var _4 = participantAggregator.counters, wins = _4.wins, losses = _4.losses, _5 = SINGLES$1, _6 = _4[_5], singlesWins = _6.wins, singlesLosses = _6.losses, _7 = DOUBLES$1, _8 = _4[_7], doublesWins = _8.wins, doublesLosses = _8.losses;
|
|
26422
26439
|
var addStatValue = function (statCode, wins, losses) {
|
|
26423
26440
|
var denominator = wins + losses;
|
|
26424
26441
|
var numerator = wins;
|
|
@@ -26441,7 +26458,7 @@ function getParticipantEntries(params) {
|
|
|
26441
26458
|
return Math.abs(range[0] - range[1]);
|
|
26442
26459
|
};
|
|
26443
26460
|
var _loop_7 = function (drawId) {
|
|
26444
|
-
var
|
|
26461
|
+
var _11 = derivedDrawInfo[drawId] || {}, _12 = _11.orderedStructureIds, orderedStructureIds = _12 === void 0 ? [] : _12, flightNumber = _11.flightNumber;
|
|
26445
26462
|
if (participantAggregator.structureParticipation &&
|
|
26446
26463
|
orderedStructureIds.length) {
|
|
26447
26464
|
var finishingPositionRange_1;
|
|
@@ -26477,15 +26494,15 @@ function getParticipantEntries(params) {
|
|
|
26477
26494
|
}
|
|
26478
26495
|
};
|
|
26479
26496
|
try {
|
|
26480
|
-
for (var
|
|
26481
|
-
var drawId =
|
|
26497
|
+
for (var _9 = (e_8 = void 0, __values(Object.keys(participantAggregator.draws))), _10 = _9.next(); !_10.done; _10 = _9.next()) {
|
|
26498
|
+
var drawId = _10.value;
|
|
26482
26499
|
_loop_7(drawId);
|
|
26483
26500
|
}
|
|
26484
26501
|
}
|
|
26485
26502
|
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
|
26486
26503
|
finally {
|
|
26487
26504
|
try {
|
|
26488
|
-
if (
|
|
26505
|
+
if (_10 && !_10.done && (_1 = _9.return)) _1.call(_9);
|
|
26489
26506
|
}
|
|
26490
26507
|
finally { if (e_8) throw e_8.error; }
|
|
26491
26508
|
}
|
|
@@ -26556,7 +26573,7 @@ function getParticipantEntries(params) {
|
|
|
26556
26573
|
catch (e_10_1) { e_10 = { error: e_10_1 }; }
|
|
26557
26574
|
finally {
|
|
26558
26575
|
try {
|
|
26559
|
-
if (scheduleItemsToConsider_1_1 && !scheduleItemsToConsider_1_1.done && (
|
|
26576
|
+
if (scheduleItemsToConsider_1_1 && !scheduleItemsToConsider_1_1.done && (_3 = scheduleItemsToConsider_1.return)) _3.call(scheduleItemsToConsider_1);
|
|
26560
26577
|
}
|
|
26561
26578
|
finally { if (e_10) throw e_10.error; }
|
|
26562
26579
|
}
|
|
@@ -26565,7 +26582,7 @@ function getParticipantEntries(params) {
|
|
|
26565
26582
|
catch (e_9_1) { e_9 = { error: e_9_1 }; }
|
|
26566
26583
|
finally {
|
|
26567
26584
|
try {
|
|
26568
|
-
if (scheduleItems_1_1 && !scheduleItems_1_1.done && (
|
|
26585
|
+
if (scheduleItems_1_1 && !scheduleItems_1_1.done && (_2 = scheduleItems_1.return)) _2.call(scheduleItems_1);
|
|
26569
26586
|
}
|
|
26570
26587
|
finally { if (e_9) throw e_9.error; }
|
|
26571
26588
|
}
|
|
@@ -34091,6 +34108,13 @@ function setMatchUpStatus$2(params) {
|
|
|
34091
34108
|
score: score_1,
|
|
34092
34109
|
});
|
|
34093
34110
|
}
|
|
34111
|
+
ensureSideLineUps({
|
|
34112
|
+
tournamentId: tournamentRecord === null || tournamentRecord === void 0 ? void 0 : tournamentRecord.tournamentId,
|
|
34113
|
+
inContextDualMatchUp: inContextMatchUp,
|
|
34114
|
+
eventId: event === null || event === void 0 ? void 0 : event.eventId,
|
|
34115
|
+
drawDefinition: drawDefinition,
|
|
34116
|
+
dualMatchUp: matchUp,
|
|
34117
|
+
});
|
|
34094
34118
|
}
|
|
34095
34119
|
if (matchUp.matchUpType === TEAM$2 &&
|
|
34096
34120
|
matchUpStatus &&
|