tods-competition-factory 1.8.34 → 1.8.36
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 +26 -12
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.mjs +1 -2
- package/dist/forge/query.mjs.map +1 -1
- package/dist/index.mjs +91 -45
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +216 -150
- 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 +5 -5
package/dist/forge/query.mjs
CHANGED
|
@@ -12356,12 +12356,11 @@ function getParticipantEntries(params) {
|
|
|
12356
12356
|
const targetParticipantIds = participantFilters?.participantIds;
|
|
12357
12357
|
const getRelevantParticipantIds = (participantId) => {
|
|
12358
12358
|
const relevantParticipantIds = [participantId];
|
|
12359
|
-
relevantParticipantIds.push(participantId);
|
|
12360
12359
|
participantMap[participantId]?.participant.individualParticipantIds?.forEach(
|
|
12361
12360
|
(individualParticiapntId) => relevantParticipantIds.push(individualParticiapntId)
|
|
12362
12361
|
);
|
|
12363
12362
|
return relevantParticipantIds.some(
|
|
12364
|
-
(
|
|
12363
|
+
(id) => !targetParticipantIds?.length || targetParticipantIds.includes(id)
|
|
12365
12364
|
) ? relevantParticipantIds : [];
|
|
12366
12365
|
};
|
|
12367
12366
|
const withOpts = {
|