tods-competition-factory 1.8.10 → 1.8.12

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.
@@ -2058,10 +2058,9 @@ type GetParticipantScaleItemArgs = {
2058
2058
  policyDefinitions?: PolicyDefinitions;
2059
2059
  scaleAttributes: ScaleAttributes;
2060
2060
  participantId?: string;
2061
- inContext?: boolean;
2062
2061
  personId?: string;
2063
2062
  };
2064
- declare function getParticipantScaleItem({ tournamentRecords, policyDefinitions, scaleAttributes, participantId, inContext, personId, }: GetParticipantScaleItemArgs): ResultType & {
2063
+ declare function getParticipantScaleItem({ tournamentRecords, policyDefinitions, scaleAttributes, participantId, personId, }: GetParticipantScaleItemArgs): ResultType & {
2065
2064
  scaleItem?: ScaleItem;
2066
2065
  };
2067
2066
 
@@ -2155,15 +2154,18 @@ declare function getCompetitionParticipants(params: any): {
2155
2154
  success: boolean;
2156
2155
  competitionParticipants: HydratedParticipant[];
2157
2156
  participantIdsWithConflicts: string[];
2157
+ mappedMatchUps: {
2158
+ [key: string]: MatchUp;
2159
+ };
2158
2160
  error?: undefined;
2159
2161
  };
2160
2162
  type PublicFindParticipantArgs = TournamentRecordsArgs & {
2161
2163
  policyDefinitions?: PolicyDefinitions;
2164
+ contextProfile?: ContextProfile;
2162
2165
  participantId?: string;
2163
- inContext?: boolean;
2164
2166
  personId?: string;
2165
2167
  };
2166
- declare function publicFindParticipant({ policyDefinitions, tournamentRecords, participantId, inContext, personId, }: PublicFindParticipantArgs): {
2168
+ declare function publicFindParticipant({ tournamentRecords, policyDefinitions, contextProfile, participantId, personId, }: PublicFindParticipantArgs): {
2167
2169
  participant?: HydratedParticipant;
2168
2170
  tournamentId?: string;
2169
2171
  error?: ErrorType;