tods-competition-factory 1.8.46 → 1.9.1

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.
@@ -1598,8 +1598,10 @@ type GetMatchUpsArgs = {
1598
1598
  drawDefinition?: DrawDefinition;
1599
1599
  afterRecoveryTimes?: boolean;
1600
1600
  useParticipantMap?: boolean;
1601
+ usePublishState?: boolean;
1601
1602
  nextMatchUps?: boolean;
1602
1603
  tournamentId?: string;
1604
+ publishStatus?: any;
1603
1605
  inContext?: boolean;
1604
1606
  event?: Event;
1605
1607
  };
@@ -2204,6 +2206,7 @@ type CompetitionMatchUpsArgs = TournamentRecordsArgs & {
2204
2206
  matchUpFilters?: MatchUpFilters;
2205
2207
  contextFilters?: MatchUpFilters;
2206
2208
  afterRecoveryTimes?: boolean;
2209
+ usePublishState?: boolean;
2207
2210
  nextMatchUps?: boolean;
2208
2211
  inContext?: boolean;
2209
2212
  };
@@ -2211,7 +2214,7 @@ declare function allCompetitionMatchUps({ scheduleVisibilityFilters, afterRecove
2211
2214
  matchUps?: HydratedMatchUp[];
2212
2215
  error?: ErrorType;
2213
2216
  };
2214
- declare function competitionMatchUps({ scheduleVisibilityFilters, participantsProfile, tournamentRecords, policyDefinitions, matchUpFilters, contextFilters, nextMatchUps, inContext, }: CompetitionMatchUpsArgs): ResultType & {
2217
+ declare function competitionMatchUps({ scheduleVisibilityFilters, participantsProfile, tournamentRecords, policyDefinitions, usePublishState, matchUpFilters, contextFilters, nextMatchUps, inContext, }: CompetitionMatchUpsArgs): ResultType & {
2215
2218
  abandonedMatchUps?: HydratedMatchUp[];
2216
2219
  completedMatchUps?: HydratedMatchUp[];
2217
2220
  upcomingMatchUps?: HydratedMatchUp[];
@@ -2251,7 +2254,7 @@ declare function allEventMatchUps(params: GetMatchUpsArgs): {
2251
2254
  };
2252
2255
  declare function tournamentMatchUps(params: GetMatchUpsArgs): GroupsMatchUpsResult;
2253
2256
  declare function eventMatchUps(params: GetMatchUpsArgs): GroupsMatchUpsResult;
2254
- declare function drawMatchUps({ participants: tournamentParticipants, tournamentAppliedPolicies, scheduleVisibilityFilters, participantsProfile, afterRecoveryTimes, policyDefinitions, useParticipantMap, tournamentRecord, contextFilters, contextProfile, contextContent, drawDefinition, matchUpFilters, participantMap, nextMatchUps, tournamentId, inContext, context, event, }: GetMatchUpsArgs): {
2257
+ declare function drawMatchUps({ participants: tournamentParticipants, tournamentAppliedPolicies, scheduleVisibilityFilters, participantsProfile, afterRecoveryTimes, policyDefinitions, useParticipantMap, tournamentRecord, usePublishState, contextFilters, contextContent, matchUpFilters, participantMap, publishStatus, contextProfile, drawDefinition, nextMatchUps, tournamentId, inContext, context, event, }: GetMatchUpsArgs): {
2255
2258
  groupInfo: any;
2256
2259
  abandonedMatchUps?: HydratedMatchUp[] | undefined;
2257
2260
  completedMatchUps?: HydratedMatchUp[] | undefined;