tods-competition-factory 2.2.30 → 2.2.32-beta.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/index.mjs +9 -9
- package/dist/tods-competition-factory.d.ts +48 -10
- package/dist/tods-competition-factory.development.cjs.js +311 -84
- 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 +42 -41
|
@@ -604,10 +604,15 @@ interface CollectionValueProfile {
|
|
|
604
604
|
notes?: string;
|
|
605
605
|
}
|
|
606
606
|
declare enum GenderEnum {
|
|
607
|
-
|
|
607
|
+
FEMALE_ABBR = "F",
|
|
608
|
+
MIXED_ABBR = "X",
|
|
609
|
+
MALE_ABBR = "M",
|
|
610
|
+
ANY_ABBR = "A",
|
|
608
611
|
FEMALE = "FEMALE",
|
|
612
|
+
OTHER = "OTHER",
|
|
613
|
+
MIXED = "MIXED",
|
|
609
614
|
MALE = "MALE",
|
|
610
|
-
|
|
615
|
+
ANY = "ANY"
|
|
611
616
|
}
|
|
612
617
|
type GenderUnion = keyof typeof GenderEnum;
|
|
613
618
|
interface WinCriteria {
|
|
@@ -2862,9 +2867,10 @@ type AssignDrawPositionByeArgs = {
|
|
|
2862
2867
|
structure?: Structure;
|
|
2863
2868
|
drawPosition: number;
|
|
2864
2869
|
structureId?: string;
|
|
2870
|
+
loserMatchUp?: MatchUp;
|
|
2865
2871
|
event?: Event$1;
|
|
2866
2872
|
};
|
|
2867
|
-
declare function assignDrawPositionBye({ provisionalPositioning, isPositionAction, tournamentRecord, drawDefinition, drawPosition, matchUpsMap, structureId, structure, event, }: AssignDrawPositionByeArgs): any;
|
|
2873
|
+
declare function assignDrawPositionBye({ provisionalPositioning, isPositionAction, tournamentRecord, drawDefinition, drawPosition, loserMatchUp, matchUpsMap, structureId, structure, event, }: AssignDrawPositionByeArgs): any;
|
|
2868
2874
|
|
|
2869
2875
|
declare function addDrawDefinitionTimeItem({ drawDefinition, timeItem }: {
|
|
2870
2876
|
drawDefinition: any;
|
|
@@ -5696,6 +5702,7 @@ type SetMatchUpStatusArgs = {
|
|
|
5696
5702
|
policyDefinitions?: PolicyDefinitions;
|
|
5697
5703
|
disableScoreValidation?: boolean;
|
|
5698
5704
|
allowChangePropagation?: boolean;
|
|
5705
|
+
propagateExitStatus?: boolean;
|
|
5699
5706
|
tournamentRecord: Tournament;
|
|
5700
5707
|
drawDefinition: DrawDefinition;
|
|
5701
5708
|
disableAutoCalc?: boolean;
|
|
@@ -5711,9 +5718,35 @@ type SetMatchUpStatusArgs = {
|
|
|
5711
5718
|
event?: Event$1;
|
|
5712
5719
|
outcome?: any;
|
|
5713
5720
|
};
|
|
5714
|
-
declare function setMatchUpStatus(params: SetMatchUpStatusArgs):
|
|
5721
|
+
declare function setMatchUpStatus(params: SetMatchUpStatusArgs): ResultType | {
|
|
5722
|
+
success?: boolean;
|
|
5723
|
+
error?: ErrorType;
|
|
5724
|
+
info?: string;
|
|
5725
|
+
} | {
|
|
5726
|
+
error: {
|
|
5727
|
+
message: string;
|
|
5728
|
+
code: string;
|
|
5729
|
+
};
|
|
5730
|
+
};
|
|
5715
5731
|
|
|
5716
|
-
declare function bulkMatchUpStatusUpdate(params: any):
|
|
5732
|
+
declare function bulkMatchUpStatusUpdate(params: any): ResultType | {
|
|
5733
|
+
success?: boolean;
|
|
5734
|
+
error?: ErrorType;
|
|
5735
|
+
info?: string;
|
|
5736
|
+
} | {
|
|
5737
|
+
error: {
|
|
5738
|
+
message: string;
|
|
5739
|
+
code: string;
|
|
5740
|
+
};
|
|
5741
|
+
} | {
|
|
5742
|
+
error: {
|
|
5743
|
+
message: string;
|
|
5744
|
+
code: string;
|
|
5745
|
+
};
|
|
5746
|
+
info: {
|
|
5747
|
+
outcomes: any;
|
|
5748
|
+
};
|
|
5749
|
+
};
|
|
5717
5750
|
|
|
5718
5751
|
declare function setDelegatedOutcome(params: any): {
|
|
5719
5752
|
success?: boolean;
|
|
@@ -12404,11 +12437,16 @@ declare const flightConstants: {
|
|
|
12404
12437
|
};
|
|
12405
12438
|
|
|
12406
12439
|
declare const genderConstants: {
|
|
12407
|
-
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
|
|
12440
|
+
FEMALE_ABBR: string;
|
|
12441
|
+
OTHER_ABBR: string;
|
|
12442
|
+
MIXED_ABBR: string;
|
|
12443
|
+
MALE_ABBR: string;
|
|
12444
|
+
ANY_ABBR: string;
|
|
12445
|
+
FEMALE: string;
|
|
12446
|
+
MIXED: string;
|
|
12447
|
+
OTHER: string;
|
|
12448
|
+
MALE: string;
|
|
12449
|
+
ANY: string;
|
|
12412
12450
|
};
|
|
12413
12451
|
|
|
12414
12452
|
declare const keyValueConstants: {
|