tods-competition-factory 1.7.15 → 1.7.16
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 +123 -69
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.mjs +1 -1
- package/dist/forge/query.mjs.map +1 -1
- package/dist/index.mjs +107 -46
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +108 -48
- 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
package/dist/forge/generate.mjs
CHANGED
|
@@ -21287,7 +21287,7 @@ function newDrawDefinition({
|
|
|
21287
21287
|
return Object.assign(drawDefinition, { drawId, drawType, matchUpType });
|
|
21288
21288
|
}
|
|
21289
21289
|
|
|
21290
|
-
var collectionDefinitions$
|
|
21290
|
+
var collectionDefinitions$f = [
|
|
21291
21291
|
{
|
|
21292
21292
|
collectionName: "Male Singles",
|
|
21293
21293
|
matchUpFormat: "SET3-S:6/TB7",
|
|
@@ -21329,17 +21329,17 @@ var collectionDefinitions$e = [
|
|
|
21329
21329
|
gender: "MIXED"
|
|
21330
21330
|
}
|
|
21331
21331
|
];
|
|
21332
|
-
var tieFormatName$
|
|
21333
|
-
var winCriteria$
|
|
21332
|
+
var tieFormatName$f = "USTA_GOLD_TEAM_CHALLENGE";
|
|
21333
|
+
var winCriteria$f = {
|
|
21334
21334
|
valueGoal: 9
|
|
21335
21335
|
};
|
|
21336
21336
|
var USTA_GOLD_TEAM_CHALLENGE_FORMAT = {
|
|
21337
|
-
collectionDefinitions: collectionDefinitions$
|
|
21338
|
-
tieFormatName: tieFormatName$
|
|
21339
|
-
winCriteria: winCriteria$
|
|
21337
|
+
collectionDefinitions: collectionDefinitions$f,
|
|
21338
|
+
tieFormatName: tieFormatName$f,
|
|
21339
|
+
winCriteria: winCriteria$f
|
|
21340
21340
|
};
|
|
21341
21341
|
|
|
21342
|
-
var collectionDefinitions$
|
|
21342
|
+
var collectionDefinitions$e = [
|
|
21343
21343
|
{
|
|
21344
21344
|
collectionName: "Round 1",
|
|
21345
21345
|
matchUpCount: 3,
|
|
@@ -21362,19 +21362,19 @@ var collectionDefinitions$d = [
|
|
|
21362
21362
|
scoreValue: 1
|
|
21363
21363
|
}
|
|
21364
21364
|
];
|
|
21365
|
-
var tieFormatName$
|
|
21365
|
+
var tieFormatName$e = "Doubles Shuffle";
|
|
21366
21366
|
var unrestrictedSelections = true;
|
|
21367
|
-
var winCriteria$
|
|
21367
|
+
var winCriteria$e = {
|
|
21368
21368
|
aggregateValue: true
|
|
21369
21369
|
};
|
|
21370
21370
|
var TEAM_AGGREGATION_TIE_FORMAT = {
|
|
21371
|
-
collectionDefinitions: collectionDefinitions$
|
|
21372
|
-
tieFormatName: tieFormatName$
|
|
21371
|
+
collectionDefinitions: collectionDefinitions$e,
|
|
21372
|
+
tieFormatName: tieFormatName$e,
|
|
21373
21373
|
unrestrictedSelections: unrestrictedSelections,
|
|
21374
|
-
winCriteria: winCriteria$
|
|
21374
|
+
winCriteria: winCriteria$e
|
|
21375
21375
|
};
|
|
21376
21376
|
|
|
21377
|
-
var collectionDefinitions$
|
|
21377
|
+
var collectionDefinitions$d = [
|
|
21378
21378
|
{
|
|
21379
21379
|
collectionName: "Male Singles",
|
|
21380
21380
|
gender: "MALE",
|
|
@@ -21400,17 +21400,17 @@ var collectionDefinitions$c = [
|
|
|
21400
21400
|
matchUpValue: 1
|
|
21401
21401
|
}
|
|
21402
21402
|
];
|
|
21403
|
-
var tieFormatName$
|
|
21404
|
-
var winCriteria$
|
|
21403
|
+
var tieFormatName$d = "USTA_SOUTHERN_LEVEL_5";
|
|
21404
|
+
var winCriteria$d = {
|
|
21405
21405
|
valueGoal: 8
|
|
21406
21406
|
};
|
|
21407
21407
|
var USTA_SOUTHERN_LEVEL_5_TIE_FORMAT = {
|
|
21408
|
-
collectionDefinitions: collectionDefinitions$
|
|
21409
|
-
tieFormatName: tieFormatName$
|
|
21410
|
-
winCriteria: winCriteria$
|
|
21408
|
+
collectionDefinitions: collectionDefinitions$d,
|
|
21409
|
+
tieFormatName: tieFormatName$d,
|
|
21410
|
+
winCriteria: winCriteria$d
|
|
21411
21411
|
};
|
|
21412
21412
|
|
|
21413
|
-
var collectionDefinitions$
|
|
21413
|
+
var collectionDefinitions$c = [
|
|
21414
21414
|
{
|
|
21415
21415
|
category: {
|
|
21416
21416
|
ageCategoryCode: "16U"
|
|
@@ -21462,17 +21462,17 @@ var collectionDefinitions$b = [
|
|
|
21462
21462
|
]
|
|
21463
21463
|
}
|
|
21464
21464
|
];
|
|
21465
|
-
var tieFormatName$
|
|
21466
|
-
var winCriteria$
|
|
21465
|
+
var tieFormatName$c = "USTA_SECTION_BATTLE";
|
|
21466
|
+
var winCriteria$c = {
|
|
21467
21467
|
valueGoal: 9
|
|
21468
21468
|
};
|
|
21469
21469
|
var USTA_SECTION_BATTLE_TIE_FORMAT = {
|
|
21470
|
-
collectionDefinitions: collectionDefinitions$
|
|
21471
|
-
tieFormatName: tieFormatName$
|
|
21472
|
-
winCriteria: winCriteria$
|
|
21470
|
+
collectionDefinitions: collectionDefinitions$c,
|
|
21471
|
+
tieFormatName: tieFormatName$c,
|
|
21472
|
+
winCriteria: winCriteria$c
|
|
21473
21473
|
};
|
|
21474
21474
|
|
|
21475
|
-
var collectionDefinitions$
|
|
21475
|
+
var collectionDefinitions$b = [
|
|
21476
21476
|
{
|
|
21477
21477
|
collectionName: "Male Singles",
|
|
21478
21478
|
gender: "MALE",
|
|
@@ -21514,17 +21514,17 @@ var collectionDefinitions$a = [
|
|
|
21514
21514
|
matchUpValue: 1
|
|
21515
21515
|
}
|
|
21516
21516
|
];
|
|
21517
|
-
var tieFormatName$
|
|
21518
|
-
var winCriteria$
|
|
21517
|
+
var tieFormatName$b = "USTA_INTERSECTIONAL";
|
|
21518
|
+
var winCriteria$b = {
|
|
21519
21519
|
valueGoal: 8
|
|
21520
21520
|
};
|
|
21521
21521
|
var USTA_INTERSECTIONAL_TIE_FORMAT = {
|
|
21522
|
-
collectionDefinitions: collectionDefinitions$
|
|
21523
|
-
tieFormatName: tieFormatName$
|
|
21524
|
-
winCriteria: winCriteria$
|
|
21522
|
+
collectionDefinitions: collectionDefinitions$b,
|
|
21523
|
+
tieFormatName: tieFormatName$b,
|
|
21524
|
+
winCriteria: winCriteria$b
|
|
21525
21525
|
};
|
|
21526
21526
|
|
|
21527
|
-
var collectionDefinitions$
|
|
21527
|
+
var collectionDefinitions$a = [
|
|
21528
21528
|
{
|
|
21529
21529
|
collectionName: "Mixed Doubles",
|
|
21530
21530
|
gender: "MIXED",
|
|
@@ -21550,17 +21550,17 @@ var collectionDefinitions$9 = [
|
|
|
21550
21550
|
matchUpValue: 1
|
|
21551
21551
|
}
|
|
21552
21552
|
];
|
|
21553
|
-
var tieFormatName$
|
|
21554
|
-
var winCriteria$
|
|
21553
|
+
var tieFormatName$a = "DOMINANT_DUO_MIXED";
|
|
21554
|
+
var winCriteria$a = {
|
|
21555
21555
|
valueGoal: 2
|
|
21556
21556
|
};
|
|
21557
21557
|
var DOMINANT_DUO_MIXED_TIE_FORMAT = {
|
|
21558
|
-
collectionDefinitions: collectionDefinitions$
|
|
21559
|
-
tieFormatName: tieFormatName$
|
|
21560
|
-
winCriteria: winCriteria$
|
|
21558
|
+
collectionDefinitions: collectionDefinitions$a,
|
|
21559
|
+
tieFormatName: tieFormatName$a,
|
|
21560
|
+
winCriteria: winCriteria$a
|
|
21561
21561
|
};
|
|
21562
21562
|
|
|
21563
|
-
var collectionDefinitions$
|
|
21563
|
+
var collectionDefinitions$9 = [
|
|
21564
21564
|
{
|
|
21565
21565
|
category: {
|
|
21566
21566
|
ageCategoryCode: "14U"
|
|
@@ -21635,22 +21635,22 @@ var collectionGroups$1 = [
|
|
|
21635
21635
|
}
|
|
21636
21636
|
}
|
|
21637
21637
|
];
|
|
21638
|
-
var tieFormatName$
|
|
21639
|
-
var winCriteria$
|
|
21638
|
+
var tieFormatName$9 = "USTA_BREWER_CUP";
|
|
21639
|
+
var winCriteria$9 = {
|
|
21640
21640
|
valueGoal: 4
|
|
21641
21641
|
};
|
|
21642
21642
|
var USTA_BREWER_CUP_TIE_FORMAT = {
|
|
21643
|
-
collectionDefinitions: collectionDefinitions$
|
|
21643
|
+
collectionDefinitions: collectionDefinitions$9,
|
|
21644
21644
|
collectionGroups: collectionGroups$1,
|
|
21645
|
-
tieFormatName: tieFormatName$
|
|
21646
|
-
winCriteria: winCriteria$
|
|
21645
|
+
tieFormatName: tieFormatName$9,
|
|
21646
|
+
winCriteria: winCriteria$9
|
|
21647
21647
|
};
|
|
21648
21648
|
|
|
21649
|
-
var winCriteria$
|
|
21649
|
+
var winCriteria$8 = {
|
|
21650
21650
|
valueGoal: 23
|
|
21651
21651
|
};
|
|
21652
|
-
var tieFormatName$
|
|
21653
|
-
var collectionDefinitions$
|
|
21652
|
+
var tieFormatName$8 = "USTA_OZAKI_CUP";
|
|
21653
|
+
var collectionDefinitions$8 = [
|
|
21654
21654
|
{
|
|
21655
21655
|
category: {
|
|
21656
21656
|
ageCategoryCode: "18U"
|
|
@@ -21873,12 +21873,12 @@ var collectionDefinitions$7 = [
|
|
|
21873
21873
|
}
|
|
21874
21874
|
];
|
|
21875
21875
|
var USTA_OZAKI_CUP_TIE_FORMAT = {
|
|
21876
|
-
winCriteria: winCriteria$
|
|
21877
|
-
tieFormatName: tieFormatName$
|
|
21878
|
-
collectionDefinitions: collectionDefinitions$
|
|
21876
|
+
winCriteria: winCriteria$8,
|
|
21877
|
+
tieFormatName: tieFormatName$8,
|
|
21878
|
+
collectionDefinitions: collectionDefinitions$8
|
|
21879
21879
|
};
|
|
21880
21880
|
|
|
21881
|
-
var collectionDefinitions$
|
|
21881
|
+
var collectionDefinitions$7 = [
|
|
21882
21882
|
{
|
|
21883
21883
|
collectionName: "Doubles",
|
|
21884
21884
|
matchUpCount: 1,
|
|
@@ -21894,17 +21894,17 @@ var collectionDefinitions$6 = [
|
|
|
21894
21894
|
matchUpValue: 1
|
|
21895
21895
|
}
|
|
21896
21896
|
];
|
|
21897
|
-
var tieFormatName$
|
|
21898
|
-
var winCriteria$
|
|
21897
|
+
var tieFormatName$7 = "DOMINANT_DUO";
|
|
21898
|
+
var winCriteria$7 = {
|
|
21899
21899
|
valueGoal: 2
|
|
21900
21900
|
};
|
|
21901
21901
|
var DOMINANT_DUO_TIE_FORMAT = {
|
|
21902
|
-
collectionDefinitions: collectionDefinitions$
|
|
21903
|
-
tieFormatName: tieFormatName$
|
|
21904
|
-
winCriteria: winCriteria$
|
|
21902
|
+
collectionDefinitions: collectionDefinitions$7,
|
|
21903
|
+
tieFormatName: tieFormatName$7,
|
|
21904
|
+
winCriteria: winCriteria$7
|
|
21905
21905
|
};
|
|
21906
21906
|
|
|
21907
|
-
var collectionDefinitions$
|
|
21907
|
+
var collectionDefinitions$6 = [
|
|
21908
21908
|
{
|
|
21909
21909
|
collectionName: "Doubles",
|
|
21910
21910
|
matchUpCount: 3,
|
|
@@ -21920,17 +21920,17 @@ var collectionDefinitions$5 = [
|
|
|
21920
21920
|
matchUpValue: 1
|
|
21921
21921
|
}
|
|
21922
21922
|
];
|
|
21923
|
-
var tieFormatName$
|
|
21924
|
-
var winCriteria$
|
|
21923
|
+
var tieFormatName$6 = "USTA_COLLEGE";
|
|
21924
|
+
var winCriteria$6 = {
|
|
21925
21925
|
valueGoal: 4
|
|
21926
21926
|
};
|
|
21927
21927
|
var USTA_COLLEGE_TIE_FORMAT = {
|
|
21928
|
-
collectionDefinitions: collectionDefinitions$
|
|
21929
|
-
tieFormatName: tieFormatName$
|
|
21930
|
-
winCriteria: winCriteria$
|
|
21928
|
+
collectionDefinitions: collectionDefinitions$6,
|
|
21929
|
+
tieFormatName: tieFormatName$6,
|
|
21930
|
+
winCriteria: winCriteria$6
|
|
21931
21931
|
};
|
|
21932
21932
|
|
|
21933
|
-
var collectionDefinitions$
|
|
21933
|
+
var collectionDefinitions$5 = [
|
|
21934
21934
|
{
|
|
21935
21935
|
collectionName: "Male Singles",
|
|
21936
21936
|
matchUpCount: 6,
|
|
@@ -21960,17 +21960,17 @@ var collectionDefinitions$4 = [
|
|
|
21960
21960
|
matchUpValue: 1
|
|
21961
21961
|
}
|
|
21962
21962
|
];
|
|
21963
|
-
var tieFormatName$
|
|
21964
|
-
var winCriteria$
|
|
21963
|
+
var tieFormatName$5 = "USTA_LEVEL_1";
|
|
21964
|
+
var winCriteria$5 = {
|
|
21965
21965
|
valueGoal: 10
|
|
21966
21966
|
};
|
|
21967
21967
|
var USTA_LEVEL_1_TIE_FORMAT = {
|
|
21968
|
-
collectionDefinitions: collectionDefinitions$
|
|
21969
|
-
tieFormatName: tieFormatName$
|
|
21970
|
-
winCriteria: winCriteria$
|
|
21968
|
+
collectionDefinitions: collectionDefinitions$5,
|
|
21969
|
+
tieFormatName: tieFormatName$5,
|
|
21970
|
+
winCriteria: winCriteria$5
|
|
21971
21971
|
};
|
|
21972
21972
|
|
|
21973
|
-
var collectionDefinitions$
|
|
21973
|
+
var collectionDefinitions$4 = [
|
|
21974
21974
|
{
|
|
21975
21975
|
collectionName: "Female Doubles",
|
|
21976
21976
|
gender: "FEMALE",
|
|
@@ -22028,11 +22028,63 @@ var collectionDefinitions$3 = [
|
|
|
22028
22028
|
scoreValue: 1
|
|
22029
22029
|
}
|
|
22030
22030
|
];
|
|
22031
|
-
var tieFormatName$
|
|
22032
|
-
var winCriteria$
|
|
22031
|
+
var tieFormatName$4 = "USTA_WTT_ITT";
|
|
22032
|
+
var winCriteria$4 = {
|
|
22033
22033
|
aggregateValue: true
|
|
22034
22034
|
};
|
|
22035
22035
|
var USTA_WTT_ITT_TIE_FORMAT = {
|
|
22036
|
+
collectionDefinitions: collectionDefinitions$4,
|
|
22037
|
+
tieFormatName: tieFormatName$4,
|
|
22038
|
+
winCriteria: winCriteria$4
|
|
22039
|
+
};
|
|
22040
|
+
|
|
22041
|
+
var collectionDefinitions$3 = [
|
|
22042
|
+
{
|
|
22043
|
+
scoreValue: 1,
|
|
22044
|
+
matchUpType: "SINGLES",
|
|
22045
|
+
collectionName: "Men's Singles",
|
|
22046
|
+
matchUpFormat: "SET1-S:T60",
|
|
22047
|
+
gender: "MALE",
|
|
22048
|
+
matchUpCount: 3
|
|
22049
|
+
},
|
|
22050
|
+
{
|
|
22051
|
+
scoreValue: 1,
|
|
22052
|
+
matchUpType: "SINGLES",
|
|
22053
|
+
collectionName: "Women's Singles",
|
|
22054
|
+
matchUpFormat: "SET1-S:T60",
|
|
22055
|
+
gender: "FEMALE",
|
|
22056
|
+
matchUpCount: 3
|
|
22057
|
+
},
|
|
22058
|
+
{
|
|
22059
|
+
scoreValue: 1,
|
|
22060
|
+
matchUpType: "DOUBLES",
|
|
22061
|
+
collectionName: "Men's Doubles",
|
|
22062
|
+
matchUpFormat: "SET1-S:T60",
|
|
22063
|
+
gender: "MALE",
|
|
22064
|
+
matchUpCount: 1
|
|
22065
|
+
},
|
|
22066
|
+
{
|
|
22067
|
+
matchUpValue: 1,
|
|
22068
|
+
matchUpType: "DOUBLES",
|
|
22069
|
+
collectionName: "Women's Doubles",
|
|
22070
|
+
matchUpFormat: "SET1-S:T60",
|
|
22071
|
+
gender: "FEMALE",
|
|
22072
|
+
matchUpCount: 1
|
|
22073
|
+
},
|
|
22074
|
+
{
|
|
22075
|
+
matchUpValue: 1,
|
|
22076
|
+
matchUpType: "DOUBLES",
|
|
22077
|
+
collectionName: "Mixed Doubles",
|
|
22078
|
+
matchUpFormat: "SET1-S:T60",
|
|
22079
|
+
gender: "MIXED",
|
|
22080
|
+
matchUpCount: 1
|
|
22081
|
+
}
|
|
22082
|
+
];
|
|
22083
|
+
var tieFormatName$3 = "Time Tennis";
|
|
22084
|
+
var winCriteria$3 = {
|
|
22085
|
+
aggregateValue: true
|
|
22086
|
+
};
|
|
22087
|
+
var TIME_TENNIS_TIE_FORMAT = {
|
|
22036
22088
|
collectionDefinitions: collectionDefinitions$3,
|
|
22037
22089
|
tieFormatName: tieFormatName$3,
|
|
22038
22090
|
winCriteria: winCriteria$3
|
|
@@ -22226,6 +22278,7 @@ const DOMINANT_DUO = "DOMINANT_DUO";
|
|
|
22226
22278
|
const DOMINANT_DUO_MIXED = "DOMINANT_DUO_MIXED";
|
|
22227
22279
|
const LAVER_CUP = "LAVER_CUP";
|
|
22228
22280
|
const TEAM_DOUBLES_3_AGGREGATION = "TEAM_DOUBLES_3_AGGREGATION";
|
|
22281
|
+
const TIME_TENNIS = "TIME_TENNIS";
|
|
22229
22282
|
const USTA_BREWER_CUP = "USTA_BREWER_CUP";
|
|
22230
22283
|
const USTA_OZAKI_CUP = "USTA_OZAKI_CUP";
|
|
22231
22284
|
const USTA_COLLEGE = "USTA_COLLEGE";
|
|
@@ -22295,6 +22348,7 @@ const namedFormats = {
|
|
|
22295
22348
|
[DOMINANT_DUO]: DOMINANT_DUO_TIE_FORMAT,
|
|
22296
22349
|
[DOMINANT_DUO_MIXED]: DOMINANT_DUO_MIXED_TIE_FORMAT,
|
|
22297
22350
|
[TEAM_DOUBLES_3_AGGREGATION]: TEAM_AGGREGATION_TIE_FORMAT,
|
|
22351
|
+
[TIME_TENNIS]: TIME_TENNIS_TIE_FORMAT,
|
|
22298
22352
|
[USTA_BREWER_CUP]: USTA_BREWER_CUP_TIE_FORMAT,
|
|
22299
22353
|
[USTA_OZAKI_CUP]: USTA_OZAKI_CUP_TIE_FORMAT,
|
|
22300
22354
|
[USTA_COLLEGE]: USTA_COLLEGE_TIE_FORMAT,
|