tods-competition-factory 1.7.3 → 1.7.5

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.
@@ -1406,33 +1406,45 @@ 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;
1414
+ encounterValue?: number;
1415
+ sameTeamValue?: number;
1413
1416
  maxIterations?: number;
1414
1417
  matchUpIds?: string[];
1415
1418
  structure?: Structure;
1416
1419
  structureId?: string;
1417
1420
  eventType?: TypeEnum;
1421
+ scaleName?: string;
1418
1422
  drawId?: string;
1419
1423
  };
1420
- declare function generateDrawMaticRound({ maxIterations, generateMatchUps, tournamentParticipants, tournamentRecord, participantIds, addToStructure, drawDefinition, adHocRatings, structureId, matchUpIds, eventType, structure, }: GenerateDrawMaticRoundArgs): ResultType | {
1424
+ declare function generateDrawMaticRound({ encounterValue, sameTeamValue, maxIterations, generateMatchUps, tournamentParticipants, tournamentRecord, participantIds, addToStructure, drawDefinition, adHocRatings, structureId, salted, matchUpIds, eventType, structure, scaleName, }: GenerateDrawMaticRoundArgs): ResultType | {
1421
1425
  participantIdPairings: string[][];
1422
1426
  candidatesCount: number;
1423
1427
  matchUps: MatchUp[];
1424
1428
  iterations: number;
1425
1429
  success: boolean;
1430
+ maxDelta: number;
1431
+ maxDiff: number;
1426
1432
  };
1427
1433
 
1428
1434
  type DrawMaticArgs = {
1429
1435
  tournamentParticipants?: HydratedParticipant[];
1436
+ adHocRatings?: {
1437
+ [key: string]: number;
1438
+ };
1430
1439
  restrictEntryStatus?: boolean;
1431
1440
  drawDefinition?: DrawDefinition;
1432
1441
  tournamentRecord: Tournament;
1433
1442
  generateMatchUps?: boolean;
1434
- addToStructure?: boolean;
1443
+ salted?: number | boolean;
1435
1444
  participantIds?: string[];
1445
+ addToStructure?: boolean;
1446
+ encounterValue?: number;
1447
+ sameTeamValue?: number;
1436
1448
  maxIterations?: number;
1437
1449
  structure?: Structure;
1438
1450
  matchUpIds?: string[];