tods-competition-factory 1.7.2 → 1.7.4
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.d.ts +7 -2
- package/dist/forge/generate.mjs +350 -223
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.mjs +1 -1
- package/dist/forge/query.mjs.map +1 -1
- package/dist/forge/transform.mjs +1 -1
- package/dist/forge/transform.mjs.map +1 -1
- package/dist/index.mjs +303 -187
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +336 -233
- 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/forge/generate.d.ts
CHANGED
|
@@ -1406,8 +1406,9 @@ type GenerateDrawMaticRoundArgs = {
|
|
|
1406
1406
|
};
|
|
1407
1407
|
restrictEntryStatus?: boolean;
|
|
1408
1408
|
drawDefinition: DrawDefinition;
|
|
1409
|
-
generateMatchUps?: boolean;
|
|
1410
1409
|
tournamentRecord: Tournament;
|
|
1410
|
+
generateMatchUps?: boolean;
|
|
1411
|
+
salted?: number | boolean;
|
|
1411
1412
|
participantIds?: string[];
|
|
1412
1413
|
addToStructure?: boolean;
|
|
1413
1414
|
maxIterations?: number;
|
|
@@ -1415,9 +1416,10 @@ type GenerateDrawMaticRoundArgs = {
|
|
|
1415
1416
|
structure?: Structure;
|
|
1416
1417
|
structureId?: string;
|
|
1417
1418
|
eventType?: TypeEnum;
|
|
1419
|
+
scaleName?: string;
|
|
1418
1420
|
drawId?: string;
|
|
1419
1421
|
};
|
|
1420
|
-
declare function generateDrawMaticRound({ maxIterations, generateMatchUps, tournamentParticipants, tournamentRecord, participantIds, addToStructure, drawDefinition, adHocRatings, structureId, matchUpIds, eventType, structure, }: GenerateDrawMaticRoundArgs): ResultType | {
|
|
1422
|
+
declare function generateDrawMaticRound({ maxIterations, generateMatchUps, tournamentParticipants, tournamentRecord, participantIds, addToStructure, drawDefinition, adHocRatings, structureId, salted, matchUpIds, eventType, structure, scaleName, }: GenerateDrawMaticRoundArgs): ResultType | {
|
|
1421
1423
|
participantIdPairings: string[][];
|
|
1422
1424
|
candidatesCount: number;
|
|
1423
1425
|
matchUps: MatchUp[];
|
|
@@ -1427,6 +1429,9 @@ declare function generateDrawMaticRound({ maxIterations, generateMatchUps, tourn
|
|
|
1427
1429
|
|
|
1428
1430
|
type DrawMaticArgs = {
|
|
1429
1431
|
tournamentParticipants?: HydratedParticipant[];
|
|
1432
|
+
adHocRatings?: {
|
|
1433
|
+
[key: string]: number;
|
|
1434
|
+
};
|
|
1430
1435
|
restrictEntryStatus?: boolean;
|
|
1431
1436
|
drawDefinition?: DrawDefinition;
|
|
1432
1437
|
tournamentRecord: Tournament;
|