tods-competition-factory 1.8.21 → 1.8.22
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 +0 -1
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.mjs +0 -1
- package/dist/forge/query.mjs.map +1 -1
- package/dist/forge/transform.mjs.map +1 -1
- package/dist/index.mjs +2 -6
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +3 -3
- 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 +4 -4
package/dist/index.mjs
CHANGED
|
@@ -2382,7 +2382,7 @@ const matchUpFormatCode = {
|
|
|
2382
2382
|
};
|
|
2383
2383
|
|
|
2384
2384
|
function factoryVersion() {
|
|
2385
|
-
return "1.8.
|
|
2385
|
+
return "1.8.22";
|
|
2386
2386
|
}
|
|
2387
2387
|
|
|
2388
2388
|
function getObjectTieFormat(obj) {
|
|
@@ -6778,7 +6778,6 @@ const DIRECT_ENTRY_STATUSES = [
|
|
|
6778
6778
|
const STRUCTURE_SELECTED_STATUSES = [
|
|
6779
6779
|
CONFIRMED,
|
|
6780
6780
|
DIRECT_ACCEPTANCE,
|
|
6781
|
-
FEED_IN,
|
|
6782
6781
|
JUNIOR_EXEMPT,
|
|
6783
6782
|
LUCKY_LOSER,
|
|
6784
6783
|
QUALIFIER,
|
|
@@ -59430,10 +59429,7 @@ function isValidForQualifying({ structureId, drawDefinition }) {
|
|
|
59430
59429
|
if (result.error)
|
|
59431
59430
|
return result;
|
|
59432
59431
|
const targetFeedProfiles = result.links.target.flatMap((t) => t.target.feedProfile).filter(Boolean);
|
|
59433
|
-
const valid =
|
|
59434
|
-
[BOTTOM_UP, TOP_DOWN, RANDOM],
|
|
59435
|
-
targetFeedProfiles
|
|
59436
|
-
).length;
|
|
59432
|
+
const valid = !intersection([BOTTOM_UP, TOP_DOWN, RANDOM], targetFeedProfiles).length;
|
|
59437
59433
|
return { ...SUCCESS, valid };
|
|
59438
59434
|
}
|
|
59439
59435
|
|