tods-competition-factory 2.1.13 → 2.1.14

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.
@@ -2754,13 +2754,13 @@ type StructurePositionAssignmentType = {
2754
2754
  type AutomatedPlayoffPositioningArgs = {
2755
2755
  provisionalPositioning?: boolean;
2756
2756
  seedingProfile?: SeedingProfile;
2757
- tournamentRecord: Tournament;
2757
+ tournamentRecord?: Tournament;
2758
2758
  drawDefinition: DrawDefinition;
2759
2759
  applyPositioning?: boolean;
2760
2760
  structureId: string;
2761
2761
  placeByes?: boolean;
2762
2762
  seedsOnly?: boolean;
2763
- event: Event$1;
2763
+ event?: Event$1;
2764
2764
  };
2765
2765
  declare function automatedPlayoffPositioning(params: AutomatedPlayoffPositioningArgs): {
2766
2766
  structurePositionAssignments?: StructurePositionAssignmentType[];
@@ -6036,24 +6036,24 @@ declare function getMatchUpType(params: {
6036
6036
  };
6037
6037
 
6038
6038
  declare function analyzeMatchUp(params?: any): ResultType & {
6039
- matchUpScoringFormat?: any;
6040
- validMatchUpOutcome?: boolean;
6041
- calculatedWinningSide?: number;
6042
- validMatchUpWinningSide?: boolean;
6043
6039
  completedSetsHaveValidOutcomes?: boolean;
6040
+ validMatchUpWinningSide?: boolean;
6041
+ calculatedWinningSide?: number;
6044
6042
  isLastSetWithValues?: boolean;
6045
- completedSetsCount?: number;
6043
+ validMatchUpOutcome?: boolean;
6044
+ sideTiebreakScores?: number[];
6046
6045
  isCompletedMatchUp?: boolean;
6046
+ completedSetsCount?: number;
6047
6047
  isValidSideNumber?: boolean;
6048
+ matchUpScoringFormat?: any;
6048
6049
  hasExistingValue?: boolean;
6049
- existingValue?: number;
6050
+ sidePointScores?: number[];
6051
+ sideGameScores?: number[];
6050
6052
  expectTimedSet?: boolean;
6053
+ isCompletedSet?: boolean;
6051
6054
  isExistingSet?: boolean;
6055
+ existingValue?: number;
6052
6056
  isActiveSet?: boolean;
6053
- isCompletedSet?: boolean;
6054
- sideGameScores?: number[];
6055
- sidePointScores?: number[];
6056
- sideTiebreakScores?: number[];
6057
6057
  winningSide?: number;
6058
6058
  };
6059
6059
 
@@ -6238,8 +6238,8 @@ declare function generateOutcome(params: any): {
6238
6238
  scoreStringSide1: string;
6239
6239
  side2ScoreString: string;
6240
6240
  };
6241
- winningSide: any;
6242
6241
  matchUpStatus: string;
6242
+ winningSide: any;
6243
6243
  };
6244
6244
  error?: undefined;
6245
6245
  matchUpStatusProfile?: undefined;
@@ -6256,6 +6256,8 @@ declare function generateOutcome(params: any): {
6256
6256
  matchUpStatusProfile?: undefined;
6257
6257
  } | {
6258
6258
  outcome: {
6259
+ winningSide: any;
6260
+ matchUpStatus: string;
6259
6261
  score: {
6260
6262
  sets: any;
6261
6263
  scoreStringSide1: string | {
@@ -6267,8 +6269,6 @@ declare function generateOutcome(params: any): {
6267
6269
  info?: string | ErrorType | undefined;
6268
6270
  };
6269
6271
  } | undefined;
6270
- winningSide: any;
6271
- matchUpStatus: string;
6272
6272
  };
6273
6273
  error?: undefined;
6274
6274
  matchUpStatusProfile?: undefined;
@@ -6859,9 +6859,9 @@ declare function getParticipants(params: GetParticipantsArgs): {
6859
6859
  participants?: HydratedParticipant[];
6860
6860
  missingParticipantIds?: string[];
6861
6861
  participantMap?: ParticipantMap;
6862
+ matchUps?: HydratedMatchUp[];
6862
6863
  derivedEventInfo?: any;
6863
6864
  derivedDrawInfo?: any;
6864
- matchUps?: MatchUp[];
6865
6865
  mappedMatchUps?: any;
6866
6866
  error?: ErrorType;
6867
6867
  success?: boolean;
@@ -7411,9 +7411,16 @@ declare function getTournamentPersons({ tournamentRecord, participantFilters }:
7411
7411
  error?: undefined;
7412
7412
  };
7413
7413
 
7414
- declare function getAggregateTeamResults(params: any): (ResultType & {
7414
+ type GetAggregateTeamResultsArgs = {
7415
+ finishingPositionRangeBounsPoints?: {
7416
+ [key: string]: number;
7417
+ };
7418
+ tournamentRecord: Tournament;
7419
+ };
7420
+ declare function getAggregateTeamResults(params: GetAggregateTeamResultsArgs): (ResultType & {
7415
7421
  valid?: boolean | undefined;
7416
7422
  }) | {
7423
+ individualResults: {};
7417
7424
  teamResults: {};
7418
7425
  success: boolean;
7419
7426
  };
@@ -8874,9 +8881,10 @@ type CheckSetIsCompleteArgs = {
8874
8881
  isDecidingSet?: boolean;
8875
8882
  isTiebreakSet?: boolean;
8876
8883
  matchUpFormat?: string;
8884
+ isTimedSet?: boolean;
8877
8885
  set: any;
8878
8886
  };
8879
- declare function checkSetIsComplete({ ignoreTiebreak, matchUpScoringFormat, matchUpFormat, isTiebreakSet, isDecidingSet, set, }: CheckSetIsCompleteArgs): boolean | {
8887
+ declare function checkSetIsComplete({ ignoreTiebreak, matchUpScoringFormat, matchUpFormat, isTiebreakSet, isDecidingSet, isTimedSet, set, }: CheckSetIsCompleteArgs): boolean | {
8880
8888
  error: {
8881
8889
  message: string;
8882
8890
  code: string;
@@ -9151,6 +9159,8 @@ declare function createTournamentRecord(params: any): any;
9151
9159
  type CopyTournamentRecordArgs = {
9152
9160
  tournamentRecord: Tournament;
9153
9161
  copyParticipants?: boolean;
9162
+ extensionList?: string[];
9163
+ itemTypeList?: string[];
9154
9164
  tournamentName: string;
9155
9165
  startDate: string;
9156
9166
  endDate?: string;
@@ -9160,15 +9170,9 @@ declare function copyTournamentRecord(params: CopyTournamentRecordArgs): (Result
9160
9170
  }) | {
9161
9171
  tournamentRecord: {
9162
9172
  participants: any[];
9163
- parentOrganisation: {
9164
- onlineResources?: OnlineResource[] | undefined;
9165
- organisationAbbreviation?: string | undefined;
9166
- parentOrganisationId?: string | undefined;
9167
- extensions?: Extension[] | undefined;
9168
- organisationName?: string | undefined;
9169
- organisationId?: string | undefined;
9170
- notes?: string | undefined;
9171
- };
9173
+ parentOrganisation: any;
9174
+ extensions: any;
9175
+ timeItems: any;
9172
9176
  events: any[];
9173
9177
  weekdays: {
9174
9178
  [x: number]: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";