tods-competition-factory 1.8.27 → 1.8.29

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.
@@ -16357,9 +16357,9 @@ function genderValidityCheck({
16357
16357
  stack
16358
16358
  });
16359
16359
  }
16360
- if (matchUpType === TypeEnum.Singles && referenceGender === MIXED)
16360
+ if (referenceGender === MIXED && (gender !== MIXED || matchUpType === TypeEnum.Singles))
16361
16361
  return decorateResult({
16362
- info: "matchUpType SINGLES is invalid for gender MIXED",
16362
+ info: "MIXED events can only contain MIXED doubles collections",
16363
16363
  result: { error: INVALID_GENDER, valid: false },
16364
16364
  stack
16365
16365
  });