tods-competition-factory 2.0.0-beta.7 → 2.0.0-beta.8
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/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.d.ts +5 -3
- package/dist/tods-competition-factory.development.cjs.js +173 -117
- 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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
function factoryVersion() {
|
|
6
|
-
return '2.0.0-beta.
|
|
6
|
+
return '2.0.0-beta.8';
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
/******************************************************************************
|
|
@@ -13017,21 +13017,25 @@ function getDrawPublishStatus(_a) {
|
|
|
13017
13017
|
|
|
13018
13018
|
function getPublishState(_a) {
|
|
13019
13019
|
var e_1, _b, e_2, _c, e_3, _d, e_4, _e;
|
|
13020
|
-
var
|
|
13021
|
-
|
|
13020
|
+
var _f, _g, _h, _j, _k;
|
|
13021
|
+
var tournamentRecord = _a.tournamentRecord, drawDefinition = _a.drawDefinition, eventIds = _a.eventIds, eventId = _a.eventId, drawIds = _a.drawIds, drawId = _a.drawId, event = _a.event;
|
|
13022
|
+
if (eventId && !event) {
|
|
13023
|
+
return { error: EVENT_NOT_FOUND };
|
|
13024
|
+
}
|
|
13025
|
+
else if (Array.isArray(eventIds) && (eventIds === null || eventIds === void 0 ? void 0 : eventIds.length)) {
|
|
13022
13026
|
var publishState = {};
|
|
13023
13027
|
try {
|
|
13024
13028
|
for (var eventIds_1 = __values(eventIds), eventIds_1_1 = eventIds_1.next(); !eventIds_1_1.done; eventIds_1_1 = eventIds_1.next()) {
|
|
13025
|
-
var
|
|
13026
|
-
if (!isString(
|
|
13029
|
+
var eventId_1 = eventIds_1_1.value;
|
|
13030
|
+
if (!isString(eventId_1))
|
|
13027
13031
|
return { error: INVALID_VALUES };
|
|
13028
|
-
var event_1 = findEvent({ tournamentRecord: tournamentRecord, eventId:
|
|
13032
|
+
var event_1 = findEvent({ tournamentRecord: tournamentRecord, eventId: eventId_1 });
|
|
13029
13033
|
if (!event_1)
|
|
13030
13034
|
return { error: EVENT_NOT_FOUND };
|
|
13031
13035
|
var pubStatus = getPubStatus({ event: event_1 });
|
|
13032
13036
|
if (pubStatus.error)
|
|
13033
13037
|
return pubStatus;
|
|
13034
|
-
publishState[
|
|
13038
|
+
publishState[eventId_1] = pubStatus;
|
|
13035
13039
|
}
|
|
13036
13040
|
}
|
|
13037
13041
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -13043,83 +13047,96 @@ function getPublishState(_a) {
|
|
|
13043
13047
|
}
|
|
13044
13048
|
return __assign(__assign({}, SUCCESS), { publishState: publishState });
|
|
13045
13049
|
}
|
|
13046
|
-
else if (!event && (tournamentRecord === null || tournamentRecord === void 0 ? void 0 : tournamentRecord.events) && Array.isArray(drawIds) && drawIds.length) {
|
|
13047
|
-
var publishState = {};
|
|
13048
|
-
try {
|
|
13049
|
-
for (var _f = __values(tournamentRecord.events), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
13050
|
-
var event_2 = _g.value;
|
|
13051
|
-
var pubStatus = getPubStatus({ event: event_2 });
|
|
13052
|
-
if (pubStatus.error)
|
|
13053
|
-
return pubStatus;
|
|
13054
|
-
try {
|
|
13055
|
-
for (var drawIds_1 = (e_3 = void 0, __values(drawIds)), drawIds_1_1 = drawIds_1.next(); !drawIds_1_1.done; drawIds_1_1 = drawIds_1.next()) {
|
|
13056
|
-
var drawId_1 = drawIds_1_1.value;
|
|
13057
|
-
if (!isString(drawId_1))
|
|
13058
|
-
return { error: INVALID_VALUES };
|
|
13059
|
-
var published = pubStatus.publishState.publishedDrawIds.includes(drawId_1);
|
|
13060
|
-
if (published)
|
|
13061
|
-
publishState[drawId_1] = { published: published };
|
|
13062
|
-
}
|
|
13063
|
-
}
|
|
13064
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
13065
|
-
finally {
|
|
13066
|
-
try {
|
|
13067
|
-
if (drawIds_1_1 && !drawIds_1_1.done && (_d = drawIds_1.return)) _d.call(drawIds_1);
|
|
13068
|
-
}
|
|
13069
|
-
finally { if (e_3) throw e_3.error; }
|
|
13070
|
-
}
|
|
13071
|
-
}
|
|
13072
|
-
}
|
|
13073
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
13074
|
-
finally {
|
|
13075
|
-
try {
|
|
13076
|
-
if (_g && !_g.done && (_c = _f.return)) _c.call(_f);
|
|
13077
|
-
}
|
|
13078
|
-
finally { if (e_2) throw e_2.error; }
|
|
13079
|
-
}
|
|
13080
|
-
return __assign(__assign({}, SUCCESS), { publishState: publishState });
|
|
13081
|
-
}
|
|
13082
13050
|
else if (event) {
|
|
13083
13051
|
var pubStatus = getPubStatus({ event: event });
|
|
13084
13052
|
if (pubStatus.error)
|
|
13085
13053
|
return pubStatus;
|
|
13086
13054
|
if (drawId) {
|
|
13055
|
+
if (!drawDefinition)
|
|
13056
|
+
return { error: DRAW_DEFINITION_NOT_FOUND };
|
|
13087
13057
|
return {
|
|
13088
|
-
publishState: __assign({
|
|
13058
|
+
publishState: __assign({ status: {
|
|
13059
|
+
published: !!((_f = pubStatus.status.publishedDrawIds) === null || _f === void 0 ? void 0 : _f.includes(drawId)),
|
|
13060
|
+
} }, SUCCESS),
|
|
13089
13061
|
};
|
|
13090
13062
|
}
|
|
13091
13063
|
else if (Array.isArray(drawIds) && (drawIds === null || drawIds === void 0 ? void 0 : drawIds.length)) {
|
|
13092
13064
|
var publishState = {};
|
|
13093
13065
|
try {
|
|
13094
|
-
for (var
|
|
13095
|
-
var
|
|
13096
|
-
if (!isString(
|
|
13066
|
+
for (var drawIds_1 = __values(drawIds), drawIds_1_1 = drawIds_1.next(); !drawIds_1_1.done; drawIds_1_1 = drawIds_1.next()) {
|
|
13067
|
+
var drawId_1 = drawIds_1_1.value;
|
|
13068
|
+
if (!isString(drawId_1))
|
|
13097
13069
|
return { error: INVALID_VALUES };
|
|
13098
|
-
publishState[
|
|
13099
|
-
|
|
13070
|
+
publishState[drawId_1] = {
|
|
13071
|
+
status: {
|
|
13072
|
+
published: !!pubStatus.status.publishedDrawIds.includes(drawId_1),
|
|
13073
|
+
},
|
|
13100
13074
|
};
|
|
13101
13075
|
return __assign(__assign({}, SUCCESS), { publishState: publishState });
|
|
13102
13076
|
}
|
|
13103
13077
|
}
|
|
13104
|
-
catch (
|
|
13078
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
13105
13079
|
finally {
|
|
13106
13080
|
try {
|
|
13107
|
-
if (
|
|
13081
|
+
if (drawIds_1_1 && !drawIds_1_1.done && (_c = drawIds_1.return)) _c.call(drawIds_1);
|
|
13108
13082
|
}
|
|
13109
|
-
finally { if (
|
|
13083
|
+
finally { if (e_2) throw e_2.error; }
|
|
13110
13084
|
}
|
|
13111
13085
|
}
|
|
13112
13086
|
else {
|
|
13113
|
-
return pubStatus;
|
|
13087
|
+
return { publishState: pubStatus };
|
|
13088
|
+
}
|
|
13089
|
+
}
|
|
13090
|
+
else if (!tournamentRecord) {
|
|
13091
|
+
return { error: MISSING_TOURNAMENT_RECORD };
|
|
13092
|
+
}
|
|
13093
|
+
else {
|
|
13094
|
+
var publishState = {};
|
|
13095
|
+
try {
|
|
13096
|
+
for (var _l = __values((_g = tournamentRecord.events) !== null && _g !== void 0 ? _g : []), _m = _l.next(); !_m.done; _m = _l.next()) {
|
|
13097
|
+
var event_2 = _m.value;
|
|
13098
|
+
var pubStatus = getPubStatus({ event: event_2 });
|
|
13099
|
+
publishState[event_2.eventId] = pubStatus;
|
|
13100
|
+
if (pubStatus.error)
|
|
13101
|
+
return pubStatus;
|
|
13102
|
+
try {
|
|
13103
|
+
for (var _o = (e_4 = void 0, __values((_h = event_2.drawDefinitions) !== null && _h !== void 0 ? _h : [])), _p = _o.next(); !_p.done; _p = _o.next()) {
|
|
13104
|
+
var drawId_2 = _p.value.drawId;
|
|
13105
|
+
if (!isString(drawId_2))
|
|
13106
|
+
return { error: INVALID_VALUES };
|
|
13107
|
+
var published = (_k = (_j = pubStatus.publishState) === null || _j === void 0 ? void 0 : _j.publishedDrawIds) === null || _k === void 0 ? void 0 : _k.includes(drawId_2);
|
|
13108
|
+
if (published) {
|
|
13109
|
+
publishState[drawId_2] = { status: { published: published } };
|
|
13110
|
+
}
|
|
13111
|
+
}
|
|
13112
|
+
}
|
|
13113
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
13114
|
+
finally {
|
|
13115
|
+
try {
|
|
13116
|
+
if (_p && !_p.done && (_e = _o.return)) _e.call(_o);
|
|
13117
|
+
}
|
|
13118
|
+
finally { if (e_4) throw e_4.error; }
|
|
13119
|
+
}
|
|
13120
|
+
}
|
|
13121
|
+
}
|
|
13122
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
13123
|
+
finally {
|
|
13124
|
+
try {
|
|
13125
|
+
if (_m && !_m.done && (_d = _l.return)) _d.call(_l);
|
|
13126
|
+
}
|
|
13127
|
+
finally { if (e_3) throw e_3.error; }
|
|
13114
13128
|
}
|
|
13129
|
+
return __assign(__assign({}, SUCCESS), { publishState: publishState });
|
|
13115
13130
|
}
|
|
13116
13131
|
return { error: INVALID_VALUES };
|
|
13117
13132
|
}
|
|
13118
13133
|
function getPubStatus(_a) {
|
|
13134
|
+
var e_5, _b;
|
|
13135
|
+
var _c, _d;
|
|
13119
13136
|
var event = _a.event;
|
|
13120
13137
|
var eventPubStatus = getEventPublishStatus({ event: event });
|
|
13121
13138
|
if (!eventPubStatus)
|
|
13122
|
-
return {
|
|
13139
|
+
return { status: { published: false } };
|
|
13123
13140
|
var publishedSeeding = {
|
|
13124
13141
|
published: undefined, // seeding can be present for all entries in an event when no flights have been defined
|
|
13125
13142
|
seedingScaleNames: [],
|
|
@@ -13128,11 +13145,28 @@ function getPubStatus(_a) {
|
|
|
13128
13145
|
if (eventPubStatus.seeding) {
|
|
13129
13146
|
Object.assign(publishedSeeding, eventPubStatus.seeding);
|
|
13130
13147
|
}
|
|
13131
|
-
var drawDetails = eventPubStatus.drawDetails;
|
|
13148
|
+
var drawDetails = (_c = eventPubStatus.drawDetails) !== null && _c !== void 0 ? _c : {};
|
|
13149
|
+
try {
|
|
13150
|
+
for (var _e = __values(((_d = event.drawDefinitions) === null || _d === void 0 ? void 0 : _d.map(getDrawId)) || []), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
13151
|
+
var drawId = _f.value;
|
|
13152
|
+
if (!drawDetails[drawId]) {
|
|
13153
|
+
drawDetails[drawId] = {
|
|
13154
|
+
publishingDetail: { published: false },
|
|
13155
|
+
};
|
|
13156
|
+
}
|
|
13157
|
+
}
|
|
13158
|
+
}
|
|
13159
|
+
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
13160
|
+
finally {
|
|
13161
|
+
try {
|
|
13162
|
+
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
|
13163
|
+
}
|
|
13164
|
+
finally { if (e_5) throw e_5.error; }
|
|
13165
|
+
}
|
|
13132
13166
|
var publishedDrawIds = (drawDetails && Object.keys(drawDetails).filter(function (drawId) { return getDrawPublishStatus({ drawDetails: drawDetails, drawId: drawId }); })) ||
|
|
13133
13167
|
eventPubStatus.drawIds ||
|
|
13134
13168
|
[];
|
|
13135
|
-
return __assign({
|
|
13169
|
+
return __assign({ status: {
|
|
13136
13170
|
published: publishedDrawIds.length > 0,
|
|
13137
13171
|
publishedDrawIds: publishedDrawIds,
|
|
13138
13172
|
publishedSeeding: publishedSeeding,
|
|
@@ -13430,7 +13464,7 @@ function processSides(params) {
|
|
|
13430
13464
|
|
|
13431
13465
|
function getParticipantEntries(params) {
|
|
13432
13466
|
var e_1, _a, e_2, _b;
|
|
13433
|
-
var _c, _d, _e, _f, _g, _h, _j, _k;
|
|
13467
|
+
var _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
13434
13468
|
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;
|
|
13435
13469
|
var targetParticipantIds = participantFilters === null || participantFilters === void 0 ? void 0 : participantFilters.participantIds;
|
|
13436
13470
|
var getRelevantParticipantIds = function (participantId) {
|
|
@@ -13471,22 +13505,22 @@ function getParticipantEntries(params) {
|
|
|
13471
13505
|
})) === null || _e === void 0 ? void 0 : _e.scaleValue;
|
|
13472
13506
|
};
|
|
13473
13507
|
var _loop_1 = function (event_1) {
|
|
13474
|
-
var e_3,
|
|
13508
|
+
var e_3, _p, e_4, _q, e_5, _r;
|
|
13475
13509
|
if ((participantFilters === null || participantFilters === void 0 ? void 0 : participantFilters.eventIds) && !participantFilters.eventIds.includes(event_1.eventId))
|
|
13476
13510
|
return "continue";
|
|
13477
|
-
var
|
|
13511
|
+
var _s = event_1.drawDefinitions, drawDefinitions = _s === void 0 ? [] : _s, _t = event_1.extensions, extensions = _t === void 0 ? [] : _t, eventType = event_1.eventType, eventName = event_1.eventName, category = event_1.category, entries = event_1.entries, eventId = event_1.eventId, gender = event_1.gender;
|
|
13478
13512
|
var flightProfile = getFlightProfile({ event: event_1 }).flightProfile;
|
|
13479
13513
|
var flights = (_c = flightProfile === null || flightProfile === void 0 ? void 0 : flightProfile.flights) !== null && _c !== void 0 ? _c : [];
|
|
13480
13514
|
var publishStatuses = getPublishState({ event: event_1 }).publishState;
|
|
13481
13515
|
if (publishStatuses)
|
|
13482
13516
|
eventsPublishStatuses[eventId] = publishStatuses;
|
|
13483
|
-
var publishedSeeding = publishStatuses === null || publishStatuses === void 0 ? void 0 : publishStatuses.publishedSeeding;
|
|
13517
|
+
var publishedSeeding = (_d = publishStatuses === null || publishStatuses === void 0 ? void 0 : publishStatuses.status) === null || _d === void 0 ? void 0 : _d.publishedSeeding;
|
|
13484
13518
|
if (withEvents || withSeeding || withRankingProfile) {
|
|
13485
13519
|
var extensionConversions = convertExtensions ? Object.assign.apply(Object, __spreadArray([{}], __read(extensionsToAttributes(extensions)), false)) : {};
|
|
13486
13520
|
derivedEventInfo[eventId] = __assign(__assign({}, extensionConversions), { eventName: eventName, eventType: eventType, category: category, eventId: eventId, gender: gender });
|
|
13487
13521
|
var scaleNames = [category === null || category === void 0 ? void 0 : category.categoryName, category === null || category === void 0 ? void 0 : category.ageCategoryCode].filter(Boolean);
|
|
13488
13522
|
var _loop_3 = function (entry) {
|
|
13489
|
-
var
|
|
13523
|
+
var _u;
|
|
13490
13524
|
var participantId = entry.participantId;
|
|
13491
13525
|
if (!participantId || !participantMap[participantId])
|
|
13492
13526
|
return "continue"; // handle bad data
|
|
@@ -13495,13 +13529,13 @@ function getParticipantEntries(params) {
|
|
|
13495
13529
|
var seedAssignments, seedValue;
|
|
13496
13530
|
if (withSeeding) {
|
|
13497
13531
|
var participant = participantMap[participantId].participant;
|
|
13498
|
-
(
|
|
13532
|
+
(_u = getEventSeedAssignments({
|
|
13499
13533
|
publishedSeeding: publishedSeeding,
|
|
13500
13534
|
usePublishState: usePublishState,
|
|
13501
13535
|
withSeeding: withSeeding,
|
|
13502
13536
|
participant: participant,
|
|
13503
13537
|
event: event_1,
|
|
13504
|
-
}), seedAssignments =
|
|
13538
|
+
}), seedAssignments = _u.seedAssignments, seedValue = _u.seedValue);
|
|
13505
13539
|
}
|
|
13506
13540
|
// IMPORTANT NOTE!
|
|
13507
13541
|
// id is the pair, team or individual participant currently being processed
|
|
@@ -13536,12 +13570,12 @@ function getParticipantEntries(params) {
|
|
|
13536
13570
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
13537
13571
|
finally {
|
|
13538
13572
|
try {
|
|
13539
|
-
if (entries_1_1 && !entries_1_1.done && (
|
|
13573
|
+
if (entries_1_1 && !entries_1_1.done && (_p = entries_1.return)) _p.call(entries_1);
|
|
13540
13574
|
}
|
|
13541
13575
|
finally { if (e_3) throw e_3.error; }
|
|
13542
13576
|
}
|
|
13543
13577
|
}
|
|
13544
|
-
var eventPublishedSeeding = (
|
|
13578
|
+
var eventPublishedSeeding = (_e = eventsPublishStatuses === null || eventsPublishStatuses === void 0 ? void 0 : eventsPublishStatuses[eventId]) === null || _e === void 0 ? void 0 : _e.publishedSeeding;
|
|
13545
13579
|
if (withDraws || withRankingProfile || withSeeding) {
|
|
13546
13580
|
var getSeedingMap = function (assignments) {
|
|
13547
13581
|
return assignments
|
|
@@ -13555,11 +13589,11 @@ function getParticipantEntries(params) {
|
|
|
13555
13589
|
};
|
|
13556
13590
|
var drawIds = unique(__spreadArray(__spreadArray([], __read(drawDefinitions.map(getDrawId)), false), __read(flights.map(getDrawId)), false));
|
|
13557
13591
|
var _loop_4 = function (drawId) {
|
|
13558
|
-
var e_6,
|
|
13592
|
+
var e_6, _v;
|
|
13559
13593
|
var drawDefinition = drawDefinitions.find(function (drawDefinition) { return drawDefinition.drawId === drawId; });
|
|
13560
13594
|
var flight = flights === null || flights === void 0 ? void 0 : flights.find(function (flight) { return flight.drawId === drawId; });
|
|
13561
13595
|
var entries_2 = (drawDefinition === null || drawDefinition === void 0 ? void 0 : drawDefinition.entries) || (flight === null || flight === void 0 ? void 0 : flight.drawEntries);
|
|
13562
|
-
var
|
|
13596
|
+
var _w = drawDefinition !== null && drawDefinition !== void 0 ? drawDefinition : {}, _x = _w.structures, structures = _x === void 0 ? [] : _x, drawOrder = _w.drawOrder, drawName = _w.drawName, drawType = _w.drawType;
|
|
13563
13597
|
var flightNumber = flight === null || flight === void 0 ? void 0 : flight.flightNumber;
|
|
13564
13598
|
var scaleNames = [category === null || category === void 0 ? void 0 : category.categoryName, category === null || category === void 0 ? void 0 : category.ageCategoryCode].filter(Boolean);
|
|
13565
13599
|
// used in rankings pipeline.
|
|
@@ -13615,7 +13649,7 @@ function getParticipantEntries(params) {
|
|
|
13615
13649
|
});
|
|
13616
13650
|
var seedingPublished = !usePublishState ||
|
|
13617
13651
|
((eventPublishedSeeding === null || eventPublishedSeeding === void 0 ? void 0 : eventPublishedSeeding.published) &&
|
|
13618
|
-
(((
|
|
13652
|
+
(((_f = eventPublishedSeeding === null || eventPublishedSeeding === void 0 ? void 0 : eventPublishedSeeding.drawIds) === null || _f === void 0 ? void 0 : _f.length) === 0 || ((_g = eventPublishedSeeding === null || eventPublishedSeeding === void 0 ? void 0 : eventPublishedSeeding.drawIds) === null || _g === void 0 ? void 0 : _g.includes(drawId))));
|
|
13619
13653
|
var _loop_6 = function (entry) {
|
|
13620
13654
|
var entryStatus = entry.entryStatus, entryStage = entry.entryStage, entryPosition = entry.entryPosition, participantId = entry.participantId;
|
|
13621
13655
|
// get event ranking
|
|
@@ -13690,16 +13724,16 @@ function getParticipantEntries(params) {
|
|
|
13690
13724
|
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
13691
13725
|
finally {
|
|
13692
13726
|
try {
|
|
13693
|
-
if (relevantEntries_1_1 && !relevantEntries_1_1.done && (
|
|
13727
|
+
if (relevantEntries_1_1 && !relevantEntries_1_1.done && (_v = relevantEntries_1.return)) _v.call(relevantEntries_1);
|
|
13694
13728
|
}
|
|
13695
13729
|
finally { if (e_6) throw e_6.error; }
|
|
13696
13730
|
}
|
|
13697
|
-
var stages = ((
|
|
13731
|
+
var stages = ((_h = drawDefinition === null || drawDefinition === void 0 ? void 0 : drawDefinition.structures) !== null && _h !== void 0 ? _h : []).reduce(function (stages, structure) {
|
|
13698
13732
|
if (!stages.includes(structure.stage))
|
|
13699
13733
|
stages.push(structure.stage);
|
|
13700
13734
|
return stages;
|
|
13701
13735
|
}, []);
|
|
13702
|
-
var linksCount = ((
|
|
13736
|
+
var linksCount = ((_j = drawDefinition === null || drawDefinition === void 0 ? void 0 : drawDefinition.links) !== null && _j !== void 0 ? _j : []).length;
|
|
13703
13737
|
derivedDrawInfo[drawId] = {
|
|
13704
13738
|
qualifyingPositionAssignments: qualifyingPositionAssignments,
|
|
13705
13739
|
qualifyingSeedAssignments: qualifyingSeedAssignments,
|
|
@@ -13728,7 +13762,7 @@ function getParticipantEntries(params) {
|
|
|
13728
13762
|
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
13729
13763
|
finally {
|
|
13730
13764
|
try {
|
|
13731
|
-
if (drawIds_1_1 && !drawIds_1_1.done && (
|
|
13765
|
+
if (drawIds_1_1 && !drawIds_1_1.done && (_q = drawIds_1.return)) _q.call(drawIds_1);
|
|
13732
13766
|
}
|
|
13733
13767
|
finally { if (e_4) throw e_4.error; }
|
|
13734
13768
|
}
|
|
@@ -13741,7 +13775,7 @@ function getParticipantEntries(params) {
|
|
|
13741
13775
|
withMatchUps ||
|
|
13742
13776
|
withDraws) {
|
|
13743
13777
|
var nextMatchUps = !!scheduleAnalysis || withPotentialMatchUps;
|
|
13744
|
-
var eventMatchUps = (
|
|
13778
|
+
var eventMatchUps = (_l = (_k = allEventMatchUps({
|
|
13745
13779
|
afterRecoveryTimes: !!scheduleAnalysis,
|
|
13746
13780
|
policyDefinitions: policyDefinitions,
|
|
13747
13781
|
tournamentRecord: tournamentRecord,
|
|
@@ -13750,10 +13784,10 @@ function getParticipantEntries(params) {
|
|
|
13750
13784
|
participantMap: participantMap,
|
|
13751
13785
|
nextMatchUps: nextMatchUps,
|
|
13752
13786
|
event: event_1,
|
|
13753
|
-
})) === null ||
|
|
13787
|
+
})) === null || _k === void 0 ? void 0 : _k.matchUps) !== null && _l !== void 0 ? _l : [];
|
|
13754
13788
|
var _loop_5 = function (matchUp) {
|
|
13755
|
-
var e_7,
|
|
13756
|
-
var finishingPositionRange = matchUp.finishingPositionRange, potentialParticipants = matchUp.potentialParticipants,
|
|
13789
|
+
var e_7, _y;
|
|
13790
|
+
var finishingPositionRange = matchUp.finishingPositionRange, potentialParticipants = matchUp.potentialParticipants, _z = matchUp.tieMatchUps, tieMatchUps = _z === void 0 ? [] : _z, _0 = matchUp.sides, sides = _0 === void 0 ? [] : _0, 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;
|
|
13757
13791
|
mappedMatchUps[matchUpId] = matchUp;
|
|
13758
13792
|
var baseAttrs = {
|
|
13759
13793
|
finishingPositionRange: finishingPositionRange,
|
|
@@ -13773,14 +13807,14 @@ function getParticipantEntries(params) {
|
|
|
13773
13807
|
try {
|
|
13774
13808
|
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()) {
|
|
13775
13809
|
var tieMatchUp = tieMatchUps_1_1.value;
|
|
13776
|
-
var tieMatchUpWinningSide = tieMatchUp.winningSide,
|
|
13810
|
+
var tieMatchUpWinningSide = tieMatchUp.winningSide, _1 = tieMatchUp.sides, tieMatchUpSides = _1 === void 0 ? [] : _1, tieMatchUpId = tieMatchUp.matchUpId, matchUpStatus_1 = tieMatchUp.matchUpStatus, matchUpType_1 = tieMatchUp.matchUpType;
|
|
13777
13811
|
processSides(__assign(__assign(__assign({}, baseAttrs), withOpts), { winningSide: tieMatchUpWinningSide, tieWinningSide: winningSide, matchUpTieId: matchUpId, matchUpId: tieMatchUpId, sides: tieMatchUpSides, matchUpSides: sides, matchUpStatus: matchUpStatus_1, matchUpType: matchUpType_1 }));
|
|
13778
13812
|
}
|
|
13779
13813
|
}
|
|
13780
13814
|
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
13781
13815
|
finally {
|
|
13782
13816
|
try {
|
|
13783
|
-
if (tieMatchUps_1_1 && !tieMatchUps_1_1.done && (
|
|
13817
|
+
if (tieMatchUps_1_1 && !tieMatchUps_1_1.done && (_y = tieMatchUps_1.return)) _y.call(tieMatchUps_1);
|
|
13784
13818
|
}
|
|
13785
13819
|
finally { if (e_7) throw e_7.error; }
|
|
13786
13820
|
}
|
|
@@ -13827,7 +13861,7 @@ function getParticipantEntries(params) {
|
|
|
13827
13861
|
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
13828
13862
|
finally {
|
|
13829
13863
|
try {
|
|
13830
|
-
if (eventMatchUps_1_1 && !eventMatchUps_1_1.done && (
|
|
13864
|
+
if (eventMatchUps_1_1 && !eventMatchUps_1_1.done && (_r = eventMatchUps_1.return)) _r.call(eventMatchUps_1);
|
|
13831
13865
|
}
|
|
13832
13866
|
finally { if (e_5) throw e_5.error; }
|
|
13833
13867
|
}
|
|
@@ -13835,23 +13869,23 @@ function getParticipantEntries(params) {
|
|
|
13835
13869
|
}
|
|
13836
13870
|
};
|
|
13837
13871
|
try {
|
|
13838
|
-
for (var
|
|
13839
|
-
var event_1 =
|
|
13872
|
+
for (var _m = __values((tournamentRecord === null || tournamentRecord === void 0 ? void 0 : tournamentRecord.events) || []), _o = _m.next(); !_o.done; _o = _m.next()) {
|
|
13873
|
+
var event_1 = _o.value;
|
|
13840
13874
|
_loop_1(event_1);
|
|
13841
13875
|
}
|
|
13842
13876
|
}
|
|
13843
13877
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
13844
13878
|
finally {
|
|
13845
13879
|
try {
|
|
13846
|
-
if (
|
|
13880
|
+
if (_o && !_o.done && (_a = _m.return)) _a.call(_m);
|
|
13847
13881
|
}
|
|
13848
13882
|
finally { if (e_1) throw e_1.error; }
|
|
13849
13883
|
}
|
|
13850
13884
|
if (withStatistics || withRankingProfile || !!scheduleAnalysis) {
|
|
13851
13885
|
var aggregators = Object.values(participantMap);
|
|
13852
13886
|
var _loop_2 = function (participantAggregator) {
|
|
13853
|
-
var e_8,
|
|
13854
|
-
var
|
|
13887
|
+
var e_8, _2, e_9, _3, e_10, _4;
|
|
13888
|
+
var _5 = participantAggregator.counters, wins = _5.wins, losses = _5.losses, _6 = SINGLES, _7 = _5[_6], singlesWins = _7.wins, singlesLosses = _7.losses, _8 = DOUBLES, _9 = _5[_8], doublesWins = _9.wins, doublesLosses = _9.losses;
|
|
13855
13889
|
var addStatValue = function (statCode, wins, losses) {
|
|
13856
13890
|
var denominator = wins + losses;
|
|
13857
13891
|
var numerator = wins;
|
|
@@ -13874,7 +13908,7 @@ function getParticipantEntries(params) {
|
|
|
13874
13908
|
return Math.abs(range[0] - range[1]);
|
|
13875
13909
|
};
|
|
13876
13910
|
var _loop_7 = function (drawId) {
|
|
13877
|
-
var
|
|
13911
|
+
var _12 = derivedDrawInfo[drawId] || {}, _13 = _12.orderedStructureIds, orderedStructureIds = _13 === void 0 ? [] : _13, flightNumber = _12.flightNumber;
|
|
13878
13912
|
if (participantAggregator.structureParticipation && orderedStructureIds.length) {
|
|
13879
13913
|
var finishingPositionRange_1;
|
|
13880
13914
|
var nonQualifyingOrder_1 = 0;
|
|
@@ -13902,15 +13936,15 @@ function getParticipantEntries(params) {
|
|
|
13902
13936
|
}
|
|
13903
13937
|
};
|
|
13904
13938
|
try {
|
|
13905
|
-
for (var
|
|
13906
|
-
var drawId =
|
|
13939
|
+
for (var _10 = (e_8 = void 0, __values(Object.keys(participantAggregator.draws))), _11 = _10.next(); !_11.done; _11 = _10.next()) {
|
|
13940
|
+
var drawId = _11.value;
|
|
13907
13941
|
_loop_7(drawId);
|
|
13908
13942
|
}
|
|
13909
13943
|
}
|
|
13910
13944
|
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
|
13911
13945
|
finally {
|
|
13912
13946
|
try {
|
|
13913
|
-
if (
|
|
13947
|
+
if (_11 && !_11.done && (_2 = _10.return)) _2.call(_10);
|
|
13914
13948
|
}
|
|
13915
13949
|
finally { if (e_8) throw e_8.error; }
|
|
13916
13950
|
}
|
|
@@ -13971,7 +14005,7 @@ function getParticipantEntries(params) {
|
|
|
13971
14005
|
catch (e_10_1) { e_10 = { error: e_10_1 }; }
|
|
13972
14006
|
finally {
|
|
13973
14007
|
try {
|
|
13974
|
-
if (scheduleItemsToConsider_1_1 && !scheduleItemsToConsider_1_1.done && (
|
|
14008
|
+
if (scheduleItemsToConsider_1_1 && !scheduleItemsToConsider_1_1.done && (_4 = scheduleItemsToConsider_1.return)) _4.call(scheduleItemsToConsider_1);
|
|
13975
14009
|
}
|
|
13976
14010
|
finally { if (e_10) throw e_10.error; }
|
|
13977
14011
|
}
|
|
@@ -13980,7 +14014,7 @@ function getParticipantEntries(params) {
|
|
|
13980
14014
|
catch (e_9_1) { e_9 = { error: e_9_1 }; }
|
|
13981
14015
|
finally {
|
|
13982
14016
|
try {
|
|
13983
|
-
if (scheduleItems_1_1 && !scheduleItems_1_1.done && (
|
|
14017
|
+
if (scheduleItems_1_1 && !scheduleItems_1_1.done && (_3 = scheduleItems_1.return)) _3.call(scheduleItems_1);
|
|
13984
14018
|
}
|
|
13985
14019
|
finally { if (e_9) throw e_9.error; }
|
|
13986
14020
|
}
|
|
@@ -34591,9 +34625,7 @@ function publishEvent(params) {
|
|
|
34591
34625
|
var drawId = _a.drawId;
|
|
34592
34626
|
return drawId;
|
|
34593
34627
|
})) !== null && _d !== void 0 ? _d : [];
|
|
34594
|
-
var keyedDrawIds = params.drawDetails
|
|
34595
|
-
? Object.keys(params.drawDetails)
|
|
34596
|
-
: [];
|
|
34628
|
+
var keyedDrawIds = params.drawDetails ? Object.keys(params.drawDetails) : [];
|
|
34597
34629
|
var specifiedDrawIds = keyedDrawIds.length ? [] : params.drawIds;
|
|
34598
34630
|
var drawIdsToValidate = (_a = (drawIdsToAdd !== null && drawIdsToAdd !== void 0 ? drawIdsToAdd : [])).concat.apply(_a, __spreadArray(__spreadArray(__spreadArray([], __read((drawIdsToRemove !== null && drawIdsToRemove !== void 0 ? drawIdsToRemove : [])), false), __read((specifiedDrawIds !== null && specifiedDrawIds !== void 0 ? specifiedDrawIds : [])), false), __read(keyedDrawIds), false));
|
|
34599
34631
|
var invalidDrawIds = drawIdsToValidate.filter(function (drawId) { return !eventDrawIds.includes(drawId); });
|
|
@@ -34614,13 +34646,10 @@ function publishEvent(params) {
|
|
|
34614
34646
|
var _loop_1 = function (drawId) {
|
|
34615
34647
|
var e_2, _r, e_3, _s, e_4, _t, e_5, _u, e_6, _v;
|
|
34616
34648
|
if (!drawIdsToValidate.length || drawIdsToValidate.includes(drawId)) {
|
|
34617
|
-
if ((drawIdsToRemove === null || drawIdsToRemove === void 0 ? void 0 : drawIdsToRemove.includes(drawId)) ||
|
|
34618
|
-
((specifiedDrawIds === null || specifiedDrawIds === void 0 ? void 0 : specifiedDrawIds.length) && !specifiedDrawIds.includes(drawId))) {
|
|
34649
|
+
if ((drawIdsToRemove === null || drawIdsToRemove === void 0 ? void 0 : drawIdsToRemove.includes(drawId)) || ((specifiedDrawIds === null || specifiedDrawIds === void 0 ? void 0 : specifiedDrawIds.length) && !specifiedDrawIds.includes(drawId))) {
|
|
34619
34650
|
drawDetails[drawId] = __assign(__assign({}, drawDetails[drawId]), { publishingDetail: { published: false } });
|
|
34620
34651
|
}
|
|
34621
|
-
else if ((drawIdsToAdd === null || drawIdsToAdd === void 0 ? void 0 : drawIdsToAdd.includes(drawId)) ||
|
|
34622
|
-
(specifiedDrawIds === null || specifiedDrawIds === void 0 ? void 0 : specifiedDrawIds.includes(drawId)) ||
|
|
34623
|
-
!(specifiedDrawIds === null || specifiedDrawIds === void 0 ? void 0 : specifiedDrawIds.length)) {
|
|
34652
|
+
else if ((drawIdsToAdd === null || drawIdsToAdd === void 0 ? void 0 : drawIdsToAdd.includes(drawId)) || (specifiedDrawIds === null || specifiedDrawIds === void 0 ? void 0 : specifiedDrawIds.includes(drawId)) || !(specifiedDrawIds === null || specifiedDrawIds === void 0 ? void 0 : specifiedDrawIds.length)) {
|
|
34624
34653
|
drawDetails[drawId] = __assign(__assign({}, drawDetails[drawId]), { publishingDetail: { published: true } });
|
|
34625
34654
|
}
|
|
34626
34655
|
}
|
|
@@ -51700,8 +51729,8 @@ var mockTournamentNames = [
|
|
|
51700
51729
|
];
|
|
51701
51730
|
function generateTournamentRecord(params) {
|
|
51702
51731
|
var e_1, _a, _b, e_2, _c, e_3, _d, _e;
|
|
51703
|
-
var tournamentAttributes =
|
|
51704
|
-
var
|
|
51732
|
+
var _f = params !== null && params !== void 0 ? params : {}, tournamentAttributes = _f.tournamentAttributes, startDate = _f.startDate, endDate = _f.endDate;
|
|
51733
|
+
var _g = params !== null && params !== void 0 ? params : {}, _h = _g.tournamentName, tournamentName = _h === void 0 ? randomPop(mockTournamentNames) : _h, _j = _g.ratingsParameters, ratingsParameters$1 = _j === void 0 ? ratingsParameters : _j, scheduleCompletedMatchUps = _g.scheduleCompletedMatchUps, tournamentExtensions = _g.tournamentExtensions, matchUpStatusProfile = _g.matchUpStatusProfile, completeAllMatchUps = _g.completeAllMatchUps, participantsProfile = _g.participantsProfile, autoEntryPositions = _g.autoEntryPositions, hydrateCollections = _g.hydrateCollections, randomWinningSide = _g.randomWinningSide, policyDefinitions = _g.policyDefinitions, schedulingProfile = _g.schedulingProfile, periodLength = _g.periodLength, autoSchedule = _g.autoSchedule, eventProfiles = _g.eventProfiles, venueProfiles = _g.venueProfiles, drawProfiles = _g.drawProfiles, uuids = _g.uuids;
|
|
51705
51734
|
if ((startDate && !isValidDateString(startDate)) || (endDate && !isValidDateString(endDate)))
|
|
51706
51735
|
return { error: INVALID_DATE };
|
|
51707
51736
|
if (eventProfiles && !Array.isArray(eventProfiles))
|
|
@@ -51726,8 +51755,8 @@ function generateTournamentRecord(params) {
|
|
|
51726
51755
|
}
|
|
51727
51756
|
if (typeof policyDefinitions === 'object') {
|
|
51728
51757
|
try {
|
|
51729
|
-
for (var
|
|
51730
|
-
var policyType =
|
|
51758
|
+
for (var _k = __values(Object.keys(policyDefinitions)), _l = _k.next(); !_l.done; _l = _k.next()) {
|
|
51759
|
+
var policyType = _l.value;
|
|
51731
51760
|
attachPolicies({
|
|
51732
51761
|
policyDefinitions: (_b = {}, _b[policyType] = policyDefinitions[policyType], _b),
|
|
51733
51762
|
tournamentRecord: tournamentRecord,
|
|
@@ -51737,7 +51766,7 @@ function generateTournamentRecord(params) {
|
|
|
51737
51766
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
51738
51767
|
finally {
|
|
51739
51768
|
try {
|
|
51740
|
-
if (
|
|
51769
|
+
if (_l && !_l.done && (_a = _k.return)) _a.call(_k);
|
|
51741
51770
|
}
|
|
51742
51771
|
finally { if (e_1) throw e_1.error; }
|
|
51743
51772
|
}
|
|
@@ -52347,10 +52376,8 @@ function modifyTournamentRecord(params) {
|
|
|
52347
52376
|
eventProfiles === null || eventProfiles === void 0 ? void 0 : eventProfiles.forEach(function (eventProfile) {
|
|
52348
52377
|
var _a;
|
|
52349
52378
|
var event = (_a = tournamentRecord.events) === null || _a === void 0 ? void 0 : _a.find(function (event, index) {
|
|
52350
|
-
return (eventProfile.eventIndex !== undefined &&
|
|
52351
|
-
|
|
52352
|
-
(eventProfile.eventName &&
|
|
52353
|
-
event.eventName === eventProfile.eventName) ||
|
|
52379
|
+
return (eventProfile.eventIndex !== undefined && index === eventProfile.eventIndex) ||
|
|
52380
|
+
(eventProfile.eventName && event.eventName === eventProfile.eventName) ||
|
|
52354
52381
|
(eventProfile.eventId && event.eventId === eventProfile.eventId);
|
|
52355
52382
|
});
|
|
52356
52383
|
if (event === null || event === void 0 ? void 0 : event.gender) {
|
|
@@ -52376,10 +52403,8 @@ function modifyTournamentRecord(params) {
|
|
|
52376
52403
|
var _loop_1 = function (eventProfile) {
|
|
52377
52404
|
var ratingsParameters_1 = eventProfile.ratingsParameters;
|
|
52378
52405
|
var event_1 = (_g = tournamentRecord.events) === null || _g === void 0 ? void 0 : _g.find(function (event, index) {
|
|
52379
|
-
return (eventProfile.eventIndex !== undefined &&
|
|
52380
|
-
|
|
52381
|
-
(eventProfile.eventName &&
|
|
52382
|
-
event.eventName === eventProfile.eventName) ||
|
|
52406
|
+
return (eventProfile.eventIndex !== undefined && index === eventProfile.eventIndex) ||
|
|
52407
|
+
(eventProfile.eventName && event.eventName === eventProfile.eventName) ||
|
|
52383
52408
|
(eventProfile.eventId && event.eventId === eventProfile.eventId);
|
|
52384
52409
|
});
|
|
52385
52410
|
if (!event_1) {
|
|
@@ -52410,9 +52435,7 @@ function modifyTournamentRecord(params) {
|
|
|
52410
52435
|
else {
|
|
52411
52436
|
var gender = event_1.gender, category = event_1.category, eventType = event_1.eventType;
|
|
52412
52437
|
var drawProfiles_2 = eventProfile.drawProfiles, publish = eventProfile.publish;
|
|
52413
|
-
var eventParticipantType = (eventType === SINGLES$1 && INDIVIDUAL) ||
|
|
52414
|
-
(eventType === DOUBLES$1 && PAIR) ||
|
|
52415
|
-
eventType;
|
|
52438
|
+
var eventParticipantType = (eventType === SINGLES$1 && INDIVIDUAL) || (eventType === DOUBLES$1 && PAIR) || eventType;
|
|
52416
52439
|
if (drawProfiles_2) {
|
|
52417
52440
|
var _k = getStageParticipantsCount({
|
|
52418
52441
|
drawProfiles: drawProfiles_2,
|
|
@@ -52527,9 +52550,7 @@ function modifyTournamentRecord(params) {
|
|
|
52527
52550
|
finally { if (e_2) throw e_2.error; }
|
|
52528
52551
|
}
|
|
52529
52552
|
}
|
|
52530
|
-
var venueIds = (venueProfiles === null || venueProfiles === void 0 ? void 0 : venueProfiles.length)
|
|
52531
|
-
? generateVenues({ tournamentRecord: tournamentRecord, venueProfiles: venueProfiles })
|
|
52532
|
-
: [];
|
|
52553
|
+
var venueIds = (venueProfiles === null || venueProfiles === void 0 ? void 0 : venueProfiles.length) ? generateVenues({ tournamentRecord: tournamentRecord, venueProfiles: venueProfiles }) : [];
|
|
52533
52554
|
var scheduledRounds;
|
|
52534
52555
|
var schedulerResult = {};
|
|
52535
52556
|
if (schedulingProfile === null || schedulingProfile === void 0 ? void 0 : schedulingProfile.length) {
|
|
@@ -66573,42 +66594,77 @@ var index = {
|
|
|
66573
66594
|
venueConstants: venueConstants
|
|
66574
66595
|
};
|
|
66575
66596
|
|
|
66597
|
+
exports.activeMatchUpStatuses = activeMatchUpStatuses;
|
|
66576
66598
|
exports.askEngine = askEngine;
|
|
66577
66599
|
exports.asyncEngine = asyncEngine;
|
|
66600
|
+
exports.auditConstants = auditConstants;
|
|
66578
66601
|
exports.competitionEngine = competitionEngine;
|
|
66602
|
+
exports.competitionGovernor = index$h;
|
|
66603
|
+
exports.completedMatchUpStatuses = completedMatchUpStatuses;
|
|
66604
|
+
exports.directingMatchUpStatuses = directingMatchUpStatuses;
|
|
66579
66605
|
exports.drawDefinitionConstants = drawDefinitionConstants;
|
|
66606
|
+
exports.drawsGovernor = index$g;
|
|
66607
|
+
exports.entriesGovernor = index$f;
|
|
66580
66608
|
exports.entryStatusConstants = entryStatusConstants;
|
|
66581
66609
|
exports.errorConditionConstants = errorConditionConstants;
|
|
66582
66610
|
exports.eventConstants = eventConstants;
|
|
66611
|
+
exports.eventGovernor = index$e;
|
|
66612
|
+
exports.extensionConstants = extensionConstants;
|
|
66583
66613
|
exports.factoryConstants = index;
|
|
66584
66614
|
exports.fixtures = fixtures;
|
|
66585
66615
|
exports.flightConstants = flightConstants;
|
|
66586
66616
|
exports.forge = forge;
|
|
66587
66617
|
exports.genderConstants = genderConstants;
|
|
66618
|
+
exports.generationGovernor = index$d;
|
|
66588
66619
|
exports.globalState = globalState$1;
|
|
66589
66620
|
exports.governors = governors;
|
|
66590
66621
|
exports.keyValueConstants = keyValueConstants;
|
|
66591
66622
|
exports.matchUpActionConstants = matchUpActionConstants;
|
|
66592
66623
|
exports.matchUpEngine = matchUpEngine;
|
|
66593
66624
|
exports.matchUpFormatCode = index$c;
|
|
66625
|
+
exports.matchUpFormatGovernor = index$c;
|
|
66626
|
+
exports.matchUpGovernor = index$b;
|
|
66594
66627
|
exports.matchUpStatusConstants = matchUpStatusConstants;
|
|
66595
66628
|
exports.matchUpTypes = matchUpTypes;
|
|
66596
66629
|
exports.mocksEngine = mocksEngine;
|
|
66630
|
+
exports.mocksGovernor = mocksGovernor;
|
|
66631
|
+
exports.nonDirectingMatchUpStatuses = nonDirectingMatchUpStatuses;
|
|
66632
|
+
exports.particicipantsRequiredMatchUpStatuses = particicipantsRequiredMatchUpStatuses;
|
|
66597
66633
|
exports.participantConstants = participantConstants;
|
|
66634
|
+
exports.participantGovernor = index$a;
|
|
66598
66635
|
exports.participantRoles = participantRoles;
|
|
66599
66636
|
exports.participantTypes = participantTypes;
|
|
66600
66637
|
exports.penaltyConstants = penaltyConstants;
|
|
66601
66638
|
exports.policyConstants = policyConstants;
|
|
66639
|
+
exports.policyGovernor = index$9;
|
|
66602
66640
|
exports.positionActionConstants = positionActionConstants;
|
|
66641
|
+
exports.publishingGovernor = index$8;
|
|
66642
|
+
exports.queryGovernor = index$7;
|
|
66643
|
+
exports.ratingConstants = ratingConstants;
|
|
66644
|
+
exports.recoveryTimeRequiredMatchUpStatuses = recoveryTimeRequiredMatchUpStatuses;
|
|
66645
|
+
exports.reportGovernor = index$6;
|
|
66646
|
+
exports.requestConstants = requestConstants;
|
|
66603
66647
|
exports.resultConstants = resultConstants;
|
|
66604
66648
|
exports.scaleConstants = scaleConstants;
|
|
66605
66649
|
exports.scaleEngine = scaleEngine;
|
|
66650
|
+
exports.scheduleConstants = scheduleConstants;
|
|
66651
|
+
exports.scheduleGovernor = index$5;
|
|
66652
|
+
exports.scoreGovernor = scoreGovernor;
|
|
66653
|
+
exports.sortingConstants = sortingConstants;
|
|
66606
66654
|
exports.surfaceConstants = surfaceConstants;
|
|
66607
66655
|
exports.syncEngine = syncEngine;
|
|
66656
|
+
exports.tieFormatConstants = tieFormatConstants;
|
|
66657
|
+
exports.tieFormatGovernor = index$4;
|
|
66608
66658
|
exports.timeItemConstants = timeItemConstants;
|
|
66609
66659
|
exports.tools = index$1;
|
|
66660
|
+
exports.topicConstants = topicConstants;
|
|
66661
|
+
exports.tournamentConstants = tournamentConstants;
|
|
66610
66662
|
exports.tournamentEngine = tournamentEngine;
|
|
66663
|
+
exports.tournamentGovernor = index$3;
|
|
66664
|
+
exports.upcomingMatchUpStatuses = upcomingMatchUpStatuses;
|
|
66611
66665
|
exports.utilities = index$1;
|
|
66666
|
+
exports.validMatchUpStatuses = validMatchUpStatuses;
|
|
66612
66667
|
exports.venueConstants = venueConstants;
|
|
66668
|
+
exports.venueGovernor = index$2;
|
|
66613
66669
|
exports.version = factoryVersion;
|
|
66614
66670
|
//# sourceMappingURL=tods-competition-factory.development.cjs.js.map
|