tods-competition-factory 2.2.3 → 2.2.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.
@@ -553,6 +553,17 @@ interface TeamCompetitor {
553
553
  timeItems?: TimeItem[];
554
554
  updatedAt?: Date | string;
555
555
  }
556
+ interface Team {
557
+ gender?: GenderEnum;
558
+ homeVenueIds?: string[];
559
+ nativeTeamName?: string;
560
+ otherTeamNames?: string[];
561
+ parentOrganisationId?: string;
562
+ personIds?: string[];
563
+ previousTeamNames?: string[];
564
+ teamId: string;
565
+ teamName?: string;
566
+ }
556
567
  interface CollectionAssignment {
557
568
  collectionId: string;
558
569
  collectionPosition: number;
@@ -1194,6 +1205,7 @@ declare enum WeightUnitEnum {
1194
1205
  GRAM = "GRAM",
1195
1206
  KILOGRAM = "KILOGRAM"
1196
1207
  }
1208
+ type WeightUnitUnion = keyof typeof WeightUnitEnum;
1197
1209
  interface UnifiedPersonID {
1198
1210
  createdAt?: Date | string;
1199
1211
  extensions?: Extension[];
@@ -2103,6 +2115,15 @@ type FactoryEngine = {
2103
2115
  type TournamentRecords = {
2104
2116
  [key: string]: Tournament;
2105
2117
  };
2118
+ type Directives = {
2119
+ pipe?: {
2120
+ [key: string]: boolean;
2121
+ };
2122
+ params?: {
2123
+ [key: string]: any;
2124
+ };
2125
+ method: string;
2126
+ }[];
2106
2127
  type CheckInOutParticipantArgs = {
2107
2128
  tournamentRecord: Tournament;
2108
2129
  drawDefinition: DrawDefinition;
@@ -2114,6 +2135,10 @@ type CheckInOutParticipantArgs = {
2114
2135
  type ScheduleTimesResult = {
2115
2136
  scheduleTime: string;
2116
2137
  };
2138
+ type SeedBlock = {
2139
+ drawPositions: number[];
2140
+ seedNumbers: number[];
2141
+ };
2117
2142
  type SeedingProfile = {
2118
2143
  groupSeedingThreshold?: number;
2119
2144
  positioning?: string;
@@ -2419,6 +2444,11 @@ type ScheduleTiming = {
2419
2444
  };
2420
2445
  }[];
2421
2446
  };
2447
+ type Substitution = {
2448
+ previousParticipantId: string;
2449
+ substitutionOrder: number;
2450
+ participantId: string;
2451
+ };
2422
2452
  type PlayoffAttributes = {
2423
2453
  [key: string | number]: {
2424
2454
  name: string;
@@ -2426,6 +2456,21 @@ type PlayoffAttributes = {
2426
2456
  };
2427
2457
  };
2428
2458
  type LineUp = TeamCompetitor[];
2459
+ type StructureProfile = {
2460
+ distanceFromMain?: number;
2461
+ drawSources: string[];
2462
+ drawTargets: string[];
2463
+ progeny?: string[];
2464
+ sources: string[];
2465
+ targets: string[];
2466
+ rootStage?: string;
2467
+ stage?: string;
2468
+ };
2469
+ type IdCollections = {
2470
+ groupParticipants: string[];
2471
+ pairParticipants: string[];
2472
+ teamParticipants: string[];
2473
+ };
2429
2474
  type Request$1 = {
2430
2475
  requestType: string;
2431
2476
  requestId: string;
@@ -11548,4 +11593,4 @@ declare namespace index {
11548
11593
  export { index_activeMatchUpStatuses as activeMatchUpStatuses, index_auditConstants as auditConstants, index_completedMatchUpStatuses as completedMatchUpStatuses, index_directingMatchUpStatuses as directingMatchUpStatuses, index_displayConstants as displayConstants, index_drawDefinitionConstants as drawDefinitionConstants, index_entryStatusConstants as entryStatusConstants, index_errorConditionConstants as errorConditionConstants, index_eventConstants as eventConstants, index_extensionConstants as extensionConstants, index_flightConstants as flightConstants, index_genderConstants as genderConstants, index_keyValueConstants as keyValueConstants, index_matchUpActionConstants as matchUpActionConstants, index_matchUpStatusConstants as matchUpStatusConstants, index_matchUpTypes as matchUpTypes, index_nonDirectingMatchUpStatuses as nonDirectingMatchUpStatuses, index_particicipantsRequiredMatchUpStatuses as particicipantsRequiredMatchUpStatuses, index_participantConstants as participantConstants, index_participantRoles as participantRoles, index_participantTypes as participantTypes, index_penaltyConstants as penaltyConstants, index_policyConstants as policyConstants, index_positionActionConstants as positionActionConstants, index_ratingConstants as ratingConstants, index_recoveryTimeRequiredMatchUpStatuses as recoveryTimeRequiredMatchUpStatuses, index_requestConstants as requestConstants, index_resourceContants as resourceContants, index_resultConstants as resultConstants, index_scaleConstants as scaleConstants, index_scheduleConstants as scheduleConstants, index_sortingConstants as sortingConstants, index_surfaceConstants as surfaceConstants, index_tieFormatConstants as tieFormatConstants, index_timeItemConstants as timeItemConstants, index_topicConstants as topicConstants, index_tournamentConstants as tournamentConstants, index_upcomingMatchUpStatuses as upcomingMatchUpStatuses, index_validMatchUpStatuses as validMatchUpStatuses, index_venueConstants as venueConstants, index_weekdayConstants as weekdayConstants };
11549
11594
  }
11550
11595
 
11551
- export { activeMatchUpStatuses, askEngine, asyncEngine, auditConstants, competitionEngine, index$k as competitionGovernor, completedMatchUpStatuses, directingMatchUpStatuses, displayConstants, drawDefinitionConstants, index$j as drawsGovernor, index$i as entriesGovernor, entryStatusConstants, errorConditionConstants, eventConstants, index$h as eventGovernor, extensionConstants, index as factoryConstants, fixtures, flightConstants, forge, genderConstants, index$g as generationGovernor, globalState, index$2 as governors, keyValueConstants, matchUpActionConstants, matchUpEngine, index$f as matchUpFormatCode, index$f as matchUpFormatGovernor, index$e as matchUpGovernor, matchUpStatusConstants, matchUpTypes, mocksEngine, index$d as mocksGovernor, nonDirectingMatchUpStatuses, particicipantsRequiredMatchUpStatuses, participantConstants, index$c as participantGovernor, participantRoles, participantTypes, penaltyConstants, policyConstants, index$b as policyGovernor, positionActionConstants, index$a as publishingGovernor, index$9 as queryGovernor, ratingConstants, recoveryTimeRequiredMatchUpStatuses, index$8 as reportGovernor, requestConstants, resourceContants, resultConstants, scaleConstants, scaleEngine, scheduleConstants, index$7 as scheduleGovernor, index$6 as scoreGovernor, sortingConstants, surfaceConstants, syncEngine, tieFormatConstants, index$5 as tieFormatGovernor, timeItemConstants, index$1 as tools, topicConstants, tournamentConstants, tournamentEngine, index$4 as tournamentGovernor, upcomingMatchUpStatuses, index$1 as utilities, validMatchUpStatuses, venueConstants, index$3 as venueGovernor, factoryVersion as version, weekdayConstants };
11596
+ export { type AddScheduleAttributeArgs, type Address, type AddressProps, type AddressTypeUnion, type Availability, type BallTypeUnion, type BiographicalInformation, type Booking, type Category, type CategoryUnion, type CheckInOutParticipantArgs, type CollectionAssignment, type CollectionDefinition, type CollectionGroup, type CollectionValueProfile, type Contact, type ContextContent, type ContextProfile, type CountryCodeUnion, type Court, type CourtPosition, type CourtPositionUnion, type Directives, type DisciplineUnion, type DrawDefinition, type DrawLink, type DrawLinkSource, type DrawLinkTarget, type DrawMaticArgs, type DrawStatusUnion, type DrawTypeUnion, type Entry, type EntryStatusUnion, type Event$1 as Event, type EventTypeUnion, type ExitProfiles, type Extension, type FactoryEngine, type FinishingPositionUnion, type Flight, type FlightProfile, type Game, type GenderUnion, type GenerateDrawDefinitionArgs, type GetMatchUpsArgs, type GroupInfo, type GroupsMatchUpsResult, type HydratedCourt, type HydratedMatchUp, type HydratedParticipant, type HydratedSide, type HydratedVenue, type IdCollections, type IndoorOutdoorUnion, type Interleave, type LengthUnitUnion, type LineUp, type LinkTypeUnion, type MappedMatchUps, type MappedParticipant, type MatchUp, type MatchUpFilters, type MatchUpFinishingPositionRange, type MatchUpStatusUnion, type MatchUpsMap, type OnlineResource, type OnlineResourceTypeUnion, type Organisation, type Participant, type ParticipantFilters, type ParticipantMap, type ParticipantRoleUnion, type ParticipantStatusUnion, type ParticipantTypeUnion, type ParticipantsProfile, type Penalty, type PenaltyTypeUnion, type Person, type PersonData, type PersonRequests, type PlayingDoubleHandCodeUnion, type PlayingHandCodeUnion, type PlayoffAttributes, type Point, type PolicyDefinitions, type PositionAssignment, type PositioningProfileUnion, type PrizeMoney, type QueueMethod, type RegistrationProfile, type ResultType, type RoundProfile, type ScaleAttributes, type ScaleItem, type ScheduleAnalysis, type ScheduleConflict, type ScheduleTimesResult, type ScheduleTiming, type ScheduleVisibilityFilters, type ScheduledMatchUpArgs, type Score, type SeedAssignment, type SeedBlock, type SeedingProfile, type SeedingProfileUnion, type Set, type SexUnion, type Shot, type ShotDetailUnion, type ShotOutcomeUnion, type ShotTypeUnion, type Side, type StageTypeUnion, type Structure, type StructureParticipation, type StructureProfile, type StructureSortConfig, type StructureTypeUnion, type Substitution, type SurfaceCategoryUnion, type Tally, type Team, type TeamCompetitor, type TeamKey, type TieFormat, type TimeItem, type Tournament, type TournamentLevelUnion, type TournamentRecords, type TournamentStatusUnion, type UnifiedPersonID, type UnifiedTournamentID, type UnifiedVenueID, type Venue, type WeightUnitUnion, type WheelchairClassUnion, type WinCriteria, type WinReasonUnion, activeMatchUpStatuses, askEngine, asyncEngine, auditConstants, competitionEngine, index$k as competitionGovernor, completedMatchUpStatuses, directingMatchUpStatuses, displayConstants, drawDefinitionConstants, index$j as drawsGovernor, index$i as entriesGovernor, entryStatusConstants, errorConditionConstants, eventConstants, index$h as eventGovernor, extensionConstants, index as factoryConstants, fixtures, flightConstants, forge, genderConstants, index$g as generationGovernor, globalState, index$2 as governors, keyValueConstants, matchUpActionConstants, matchUpEngine, index$f as matchUpFormatCode, index$f as matchUpFormatGovernor, index$e as matchUpGovernor, matchUpStatusConstants, matchUpTypes, mocksEngine, index$d as mocksGovernor, nonDirectingMatchUpStatuses, particicipantsRequiredMatchUpStatuses, participantConstants, index$c as participantGovernor, participantRoles, participantTypes, penaltyConstants, policyConstants, index$b as policyGovernor, positionActionConstants, index$a as publishingGovernor, index$9 as queryGovernor, ratingConstants, recoveryTimeRequiredMatchUpStatuses, index$8 as reportGovernor, requestConstants, resourceContants, resultConstants, scaleConstants, scaleEngine, scheduleConstants, index$7 as scheduleGovernor, index$6 as scoreGovernor, sortingConstants, surfaceConstants, syncEngine, tieFormatConstants, index$5 as tieFormatGovernor, timeItemConstants, index$1 as tools, topicConstants, tournamentConstants, tournamentEngine, index$4 as tournamentGovernor, upcomingMatchUpStatuses, index$1 as utilities, validMatchUpStatuses, venueConstants, index$3 as venueGovernor, factoryVersion as version, weekdayConstants, type weekdayUnion };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  function factoryVersion() {
6
- return '2.2.3';
6
+ return '2.2.4';
7
7
  }
8
8
 
9
9
  const SINGLES_MATCHUP = 'SINGLES';