tods-competition-factory 1.8.10 → 1.8.11
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.
- package/dist/forge/generate.mjs +21 -14
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.d.ts +6 -4
- package/dist/forge/query.mjs +252 -1216
- package/dist/forge/query.mjs.map +1 -1
- package/dist/forge/transform.mjs.map +1 -1
- package/dist/index.mjs +1936 -1920
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +1955 -1944
- package/dist/tods-competition-factory.development.cjs.js.map +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js.map +1 -1
- package/package.json +2 -2
package/dist/forge/query.d.ts
CHANGED
|
@@ -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,
|
|
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,
|
|
2168
|
+
declare function publicFindParticipant({ tournamentRecords, policyDefinitions, contextProfile, participantId, personId, }: PublicFindParticipantArgs): {
|
|
2167
2169
|
participant?: HydratedParticipant;
|
|
2168
2170
|
tournamentId?: string;
|
|
2169
2171
|
error?: ErrorType;
|