tods-competition-factory 2.0.0 → 2.0.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.
@@ -2901,10 +2901,10 @@ type DeleteAdHocMatchUpsArgs = {
2901
2901
  tournamentRecord?: Tournament;
2902
2902
  drawDefinition: DrawDefinition;
2903
2903
  matchUpIds?: string[];
2904
- structureId: string;
2904
+ structureId?: string;
2905
2905
  event?: Event$1;
2906
2906
  };
2907
- declare function deleteAdHocMatchUps({ tournamentRecord, matchUpIds, drawDefinition, structureId, event, }: DeleteAdHocMatchUpsArgs): {
2907
+ declare function deleteAdHocMatchUps(params: DeleteAdHocMatchUpsArgs): {
2908
2908
  error: {
2909
2909
  message: string;
2910
2910
  code: string;
@@ -2939,11 +2939,12 @@ declare function updateTeamLineUp({ drawDefinition, participantId, tieFormat, li
2939
2939
  error?: ErrorType;
2940
2940
  };
2941
2941
 
2942
- declare function addAdHocMatchUps({ tournamentRecord, drawDefinition, structureId, matchUps }: {
2942
+ declare function addAdHocMatchUps({ tournamentRecord, drawDefinition, structureId, matchUps, event }: {
2943
2943
  tournamentRecord: any;
2944
2944
  drawDefinition: any;
2945
2945
  structureId: any;
2946
2946
  matchUps: any;
2947
+ event: any;
2947
2948
  }): ResultType;
2948
2949
 
2949
2950
  type ModifyDrawNameArgs = {
@@ -3686,6 +3687,7 @@ type DrawMaticArgs = {
3686
3687
  restrictEntryStatus?: boolean;
3687
3688
  tournamentRecord: Tournament;
3688
3689
  drawDefinition: DrawDefinition;
3690
+ enableDoubleRobin?: boolean;
3689
3691
  generateMatchUps?: boolean;
3690
3692
  eventType?: EventTypeUnion;
3691
3693
  salted?: number | boolean;
@@ -3719,6 +3721,7 @@ type GenerateDrawDefinitionArgs = {
3719
3721
  structureName?: string;
3720
3722
  structureId?: string;
3721
3723
  };
3724
+ enforceMinimumDrawSize?: boolean;
3722
3725
  ignoreAllowedDrawTypes?: boolean;
3723
3726
  qualifyingPlaceholder?: boolean;
3724
3727
  considerEventEntries?: boolean;