tods-competition-factory 1.7.10 → 1.7.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 +15 -11
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.mjs +5 -2
- package/dist/forge/query.mjs.map +1 -1
- package/dist/index.mjs +51 -50
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +63 -54
- 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 +1 -1
package/dist/forge/query.mjs
CHANGED
|
@@ -13104,9 +13104,12 @@ function getSourceStructureIdsAndRelevantLinks({
|
|
|
13104
13104
|
return { sourceStructureIds, relevantLinks };
|
|
13105
13105
|
}
|
|
13106
13106
|
|
|
13107
|
-
function getAssignedParticipantIds({
|
|
13107
|
+
function getAssignedParticipantIds({
|
|
13108
|
+
drawDefinition,
|
|
13109
|
+
stages
|
|
13110
|
+
}) {
|
|
13108
13111
|
const stageStructures = (drawDefinition?.structures || []).filter(
|
|
13109
|
-
(structure) => !stages?.length || stages.includes(structure.stage)
|
|
13112
|
+
(structure) => !stages?.length || structure.stage && stages.includes(structure.stage)
|
|
13110
13113
|
);
|
|
13111
13114
|
return stageStructures.map((structure) => {
|
|
13112
13115
|
const { positionAssignments } = getPositionAssignments({
|