tods-competition-factory 2.0.13 → 2.0.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.
@@ -5169,15 +5169,9 @@ declare function setMatchUpFormat(params: SetMatchUpStatusArgs$1): ResultType |
5169
5169
  success?: boolean | undefined;
5170
5170
  error?: ErrorType | undefined;
5171
5171
  info?: string | undefined;
5172
- } | {
5173
- error: {
5174
- message: string;
5175
- code: string;
5176
- };
5177
5172
  } | {
5178
5173
  modificationsCount: number;
5179
5174
  success: boolean;
5180
- error?: undefined;
5181
5175
  };
5182
5176
 
5183
5177
  declare function checkInParticipant(params: CheckInOutParticipantArgs): any;
@@ -5413,6 +5407,17 @@ declare function getMatchUpFormatTiming({ defaultAverageMinutes, defaultRecovery
5413
5407
  };
5414
5408
  };
5415
5409
 
5410
+ type GetParticipantResultsArgs = {
5411
+ matchUps: HydratedMatchUp[];
5412
+ participantIds?: string[];
5413
+ matchUpFormat?: string;
5414
+ perPlayer?: number;
5415
+ tallyPolicy?: any;
5416
+ };
5417
+ declare function getParticipantResults({ participantIds, matchUpFormat, tallyPolicy, perPlayer, matchUps, }: GetParticipantResultsArgs): {
5418
+ participantResults: {};
5419
+ };
5420
+
5416
5421
  declare function getMatchUpDailyLimitsUpdate({ tournamentRecords }: {
5417
5422
  tournamentRecords: any;
5418
5423
  }): {
@@ -5498,17 +5503,6 @@ declare function getCheckedInParticipantIds({ matchUp }: {
5498
5503
  checkedInParticipantIds?: string[];
5499
5504
  };
5500
5505
 
5501
- type GetParticipantResultsArgs = {
5502
- matchUps: HydratedMatchUp[];
5503
- participantIds?: string[];
5504
- matchUpFormat?: string;
5505
- perPlayer?: number;
5506
- tallyPolicy?: any;
5507
- };
5508
- declare function getParticipantResults({ participantIds, matchUpFormat, tallyPolicy, perPlayer, matchUps, }: GetParticipantResultsArgs): {
5509
- participantResults: {};
5510
- };
5511
-
5512
5506
  type GetMatchUpScheduleDetailsArgs = {
5513
5507
  scheduleVisibilityFilters?: ScheduleVisibilityFilters;
5514
5508
  scheduleTiming?: ScheduleTiming;
@@ -5576,6 +5570,59 @@ declare function allCompetitionMatchUps({ scheduleVisibilityFilters, afterRecove
5576
5570
  error?: ErrorType;
5577
5571
  };
5578
5572
 
5573
+ type GetAllStructureMatchUps = {
5574
+ scheduleVisibilityFilters?: ScheduleVisibilityFilters;
5575
+ tournamentAppliedPolicies?: PolicyDefinitions;
5576
+ tournamentParticipants?: Participant[];
5577
+ policyDefinitions?: PolicyDefinitions;
5578
+ seedAssignments?: SeedAssignment[];
5579
+ provisionalPositioning?: boolean;
5580
+ context?: {
5581
+ [key: string]: any;
5582
+ };
5583
+ contextContent?: ContextContent;
5584
+ contextFilters?: MatchUpFilters;
5585
+ matchUpFilters?: MatchUpFilters;
5586
+ participantMap?: ParticipantMap;
5587
+ scheduleTiming?: ScheduleTiming;
5588
+ drawDefinition?: DrawDefinition;
5589
+ contextProfile?: ContextProfile;
5590
+ tournamentRecord?: Tournament;
5591
+ afterRecoveryTimes?: boolean;
5592
+ usePublishState?: boolean;
5593
+ exitProfiles?: ExitProfiles;
5594
+ matchUpsMap?: MatchUpsMap;
5595
+ structure?: Structure;
5596
+ publishStatus?: any;
5597
+ inContext?: boolean;
5598
+ event?: Event$1;
5599
+ };
5600
+ declare function getAllStructureMatchUps({ scheduleVisibilityFilters, tournamentAppliedPolicies, provisionalPositioning, tournamentParticipants, afterRecoveryTimes, policyDefinitions, tournamentRecord, seedAssignments, usePublishState, contextFilters, contextContent, matchUpFilters, participantMap, scheduleTiming, contextProfile, drawDefinition, publishStatus, context, exitProfiles, matchUpsMap, structure, inContext, event, }: GetAllStructureMatchUps): {
5601
+ collectionPositionMatchUps: {};
5602
+ error: {
5603
+ message: string;
5604
+ code: string;
5605
+ };
5606
+ roundMatchUps: {};
5607
+ matchUps: never[];
5608
+ roundProfile?: undefined;
5609
+ matchUpsMap?: undefined;
5610
+ } | {
5611
+ collectionPositionMatchUps: {};
5612
+ roundMatchUps: {};
5613
+ matchUps: never[];
5614
+ error?: undefined;
5615
+ roundProfile?: undefined;
5616
+ matchUpsMap?: undefined;
5617
+ } | {
5618
+ collectionPositionMatchUps: {};
5619
+ roundMatchUps: {};
5620
+ roundProfile: RoundProfile | undefined;
5621
+ matchUpsMap: MatchUpsMap;
5622
+ matchUps: any;
5623
+ error?: undefined;
5624
+ };
5625
+
5579
5626
  declare function allTournamentMatchUps(params?: GetMatchUpsArgs): ResultType & {
5580
5627
  matchUps?: HydratedMatchUp[];
5581
5628
  };
@@ -5733,59 +5780,6 @@ declare function getMatchUpContextIds({ matchUps, matchUpId }: {
5733
5780
  error?: undefined;
5734
5781
  };
5735
5782
 
5736
- type GetAllStructureMatchUps = {
5737
- scheduleVisibilityFilters?: ScheduleVisibilityFilters;
5738
- tournamentAppliedPolicies?: PolicyDefinitions;
5739
- tournamentParticipants?: Participant[];
5740
- policyDefinitions?: PolicyDefinitions;
5741
- seedAssignments?: SeedAssignment[];
5742
- provisionalPositioning?: boolean;
5743
- context?: {
5744
- [key: string]: any;
5745
- };
5746
- contextContent?: ContextContent;
5747
- contextFilters?: MatchUpFilters;
5748
- matchUpFilters?: MatchUpFilters;
5749
- participantMap?: ParticipantMap;
5750
- scheduleTiming?: ScheduleTiming;
5751
- drawDefinition?: DrawDefinition;
5752
- contextProfile?: ContextProfile;
5753
- tournamentRecord?: Tournament;
5754
- afterRecoveryTimes?: boolean;
5755
- usePublishState?: boolean;
5756
- exitProfiles?: ExitProfiles;
5757
- matchUpsMap?: MatchUpsMap;
5758
- structure?: Structure;
5759
- publishStatus?: any;
5760
- inContext?: boolean;
5761
- event?: Event$1;
5762
- };
5763
- declare function getAllStructureMatchUps({ scheduleVisibilityFilters, tournamentAppliedPolicies, provisionalPositioning, tournamentParticipants, afterRecoveryTimes, policyDefinitions, tournamentRecord, seedAssignments, usePublishState, contextFilters, contextContent, matchUpFilters, participantMap, scheduleTiming, contextProfile, drawDefinition, publishStatus, context, exitProfiles, matchUpsMap, structure, inContext, event, }: GetAllStructureMatchUps): {
5764
- collectionPositionMatchUps: {};
5765
- error: {
5766
- message: string;
5767
- code: string;
5768
- };
5769
- roundMatchUps: {};
5770
- matchUps: never[];
5771
- roundProfile?: undefined;
5772
- matchUpsMap?: undefined;
5773
- } | {
5774
- collectionPositionMatchUps: {};
5775
- roundMatchUps: {};
5776
- matchUps: never[];
5777
- error?: undefined;
5778
- roundProfile?: undefined;
5779
- matchUpsMap?: undefined;
5780
- } | {
5781
- collectionPositionMatchUps: {};
5782
- roundMatchUps: {};
5783
- roundProfile: RoundProfile | undefined;
5784
- matchUpsMap: MatchUpsMap;
5785
- matchUps: any;
5786
- error?: undefined;
5787
- };
5788
-
5789
5783
  type GetMatchUpFormatArgs = {
5790
5784
  tournamentRecord: Tournament;
5791
5785
  drawDefinition?: DrawDefinition;
@@ -7078,7 +7072,7 @@ type GetPublishStateArgs = {
7078
7072
  drawId?: string;
7079
7073
  event: Event$1;
7080
7074
  };
7081
- declare function getPublishState({ tournamentRecord, drawDefinition, eventIds, eventId, drawIds, drawId, event, }: GetPublishStateArgs): ResultType & {
7075
+ declare function getPublishState(params: GetPublishStateArgs): ResultType & {
7082
7076
  publishState?: any;
7083
7077
  };
7084
7078