tods-competition-factory 2.0.0-alpha.0 → 2.0.0-alpha.1

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.
@@ -2137,6 +2137,12 @@ type FactoryEngine = {
2137
2137
  type TournamentRecords = {
2138
2138
  [key: string]: Tournament;
2139
2139
  };
2140
+ type Directives = {
2141
+ params?: {
2142
+ [key: string]: any;
2143
+ };
2144
+ method: string;
2145
+ }[];
2140
2146
  type CheckInOutParticipantArgs = {
2141
2147
  tournamentRecord: Tournament;
2142
2148
  drawDefinition: DrawDefinition;
@@ -2148,6 +2154,10 @@ type CheckInOutParticipantArgs = {
2148
2154
  type ScheduleTimesResult = {
2149
2155
  scheduleTime: string;
2150
2156
  };
2157
+ type SeedBlock = {
2158
+ drawPositions: number[];
2159
+ seedNumbers: number[];
2160
+ };
2151
2161
  type SeedingProfile = {
2152
2162
  groupSeedingThreshold?: number;
2153
2163
  positioning?: string;
@@ -2428,6 +2438,9 @@ type GroupsMatchUpsResult = {
2428
2438
  success?: boolean;
2429
2439
  error?: ErrorType;
2430
2440
  };
2441
+ type ExitProfiles = {
2442
+ [key: string]: string[];
2443
+ };
2431
2444
  type MinutesMapping = {
2432
2445
  categoryNames: string[];
2433
2446
  minutes: any;
@@ -2448,6 +2461,11 @@ type ScheduleTiming = {
2448
2461
  };
2449
2462
  }[];
2450
2463
  };
2464
+ type Substitution = {
2465
+ previousParticipantId: string;
2466
+ substitutionOrder: number;
2467
+ participantId: string;
2468
+ };
2451
2469
  type PlayoffAttributes = {
2452
2470
  [key: string | number]: {
2453
2471
  name: string;
@@ -2455,6 +2473,21 @@ type PlayoffAttributes = {
2455
2473
  };
2456
2474
  };
2457
2475
  type LineUp = TeamCompetitor[];
2476
+ type StructureProfile = {
2477
+ distanceFromMain?: number;
2478
+ drawSources: string[];
2479
+ drawTargets: string[];
2480
+ progeny?: string[];
2481
+ sources: string[];
2482
+ targets: string[];
2483
+ rootStage?: string;
2484
+ stage?: string;
2485
+ };
2486
+ type IdCollections = {
2487
+ groupParticipants: string[];
2488
+ pairParticipants: string[];
2489
+ teamParticipants: string[];
2490
+ };
2458
2491
  type Request$1 = {
2459
2492
  requestType: string;
2460
2493
  requestId: string;
@@ -2474,6 +2507,50 @@ type AddScheduleAttributeArgs = {
2474
2507
  event?: Event$1;
2475
2508
  };
2476
2509
 
2510
+ type factoryTypes_AddScheduleAttributeArgs = AddScheduleAttributeArgs;
2511
+ type factoryTypes_AddressProps = AddressProps;
2512
+ type factoryTypes_CheckInOutParticipantArgs = CheckInOutParticipantArgs;
2513
+ type factoryTypes_ContextContent = ContextContent;
2514
+ type factoryTypes_ContextProfile = ContextProfile;
2515
+ type factoryTypes_Directives = Directives;
2516
+ type factoryTypes_ExitProfiles = ExitProfiles;
2517
+ type factoryTypes_FactoryEngine = FactoryEngine;
2518
+ type factoryTypes_Flight = Flight;
2519
+ type factoryTypes_FlightProfile = FlightProfile;
2520
+ type factoryTypes_GetMatchUpsArgs = GetMatchUpsArgs;
2521
+ type factoryTypes_GroupInfo = GroupInfo;
2522
+ type factoryTypes_GroupsMatchUpsResult = GroupsMatchUpsResult;
2523
+ type factoryTypes_IdCollections = IdCollections;
2524
+ type factoryTypes_LineUp = LineUp;
2525
+ type factoryTypes_MappedParticipant = MappedParticipant;
2526
+ type factoryTypes_ParticipantFilters = ParticipantFilters;
2527
+ type factoryTypes_ParticipantMap = ParticipantMap;
2528
+ type factoryTypes_ParticipantsProfile = ParticipantsProfile;
2529
+ type factoryTypes_PersonData = PersonData;
2530
+ type factoryTypes_PersonRequests = PersonRequests;
2531
+ type factoryTypes_PlayoffAttributes = PlayoffAttributes;
2532
+ type factoryTypes_PolicyDefinitions = PolicyDefinitions;
2533
+ type factoryTypes_QueueMethod = QueueMethod;
2534
+ type factoryTypes_RoundProfile = RoundProfile;
2535
+ type factoryTypes_ScaleAttributes = ScaleAttributes;
2536
+ type factoryTypes_ScaleItem = ScaleItem;
2537
+ type factoryTypes_ScheduleAnalysis = ScheduleAnalysis;
2538
+ type factoryTypes_ScheduleConflict = ScheduleConflict;
2539
+ type factoryTypes_ScheduleTimesResult = ScheduleTimesResult;
2540
+ type factoryTypes_ScheduleTiming = ScheduleTiming;
2541
+ type factoryTypes_ScheduleVisibilityFilters = ScheduleVisibilityFilters;
2542
+ type factoryTypes_SeedBlock = SeedBlock;
2543
+ type factoryTypes_SeedingProfile = SeedingProfile;
2544
+ type factoryTypes_StructureParticipation = StructureParticipation;
2545
+ type factoryTypes_StructureProfile = StructureProfile;
2546
+ type factoryTypes_StructureSortConfig = StructureSortConfig;
2547
+ type factoryTypes_Substitution = Substitution;
2548
+ type factoryTypes_TeamKey = TeamKey;
2549
+ type factoryTypes_TournamentRecords = TournamentRecords;
2550
+ declare namespace factoryTypes {
2551
+ export type { factoryTypes_AddScheduleAttributeArgs as AddScheduleAttributeArgs, factoryTypes_AddressProps as AddressProps, factoryTypes_CheckInOutParticipantArgs as CheckInOutParticipantArgs, factoryTypes_ContextContent as ContextContent, factoryTypes_ContextProfile as ContextProfile, factoryTypes_Directives as Directives, factoryTypes_ExitProfiles as ExitProfiles, factoryTypes_FactoryEngine as FactoryEngine, factoryTypes_Flight as Flight, factoryTypes_FlightProfile as FlightProfile, factoryTypes_GetMatchUpsArgs as GetMatchUpsArgs, factoryTypes_GroupInfo as GroupInfo, factoryTypes_GroupsMatchUpsResult as GroupsMatchUpsResult, factoryTypes_IdCollections as IdCollections, factoryTypes_LineUp as LineUp, factoryTypes_MappedParticipant as MappedParticipant, factoryTypes_ParticipantFilters as ParticipantFilters, factoryTypes_ParticipantMap as ParticipantMap, factoryTypes_ParticipantsProfile as ParticipantsProfile, factoryTypes_PersonData as PersonData, factoryTypes_PersonRequests as PersonRequests, factoryTypes_PlayoffAttributes as PlayoffAttributes, factoryTypes_PolicyDefinitions as PolicyDefinitions, factoryTypes_QueueMethod as QueueMethod, factoryTypes_RoundProfile as RoundProfile, factoryTypes_ScaleAttributes as ScaleAttributes, factoryTypes_ScaleItem as ScaleItem, factoryTypes_ScheduleAnalysis as ScheduleAnalysis, factoryTypes_ScheduleConflict as ScheduleConflict, factoryTypes_ScheduleTimesResult as ScheduleTimesResult, factoryTypes_ScheduleTiming as ScheduleTiming, factoryTypes_ScheduleVisibilityFilters as ScheduleVisibilityFilters, factoryTypes_SeedBlock as SeedBlock, factoryTypes_SeedingProfile as SeedingProfile, factoryTypes_StructureParticipation as StructureParticipation, factoryTypes_StructureProfile as StructureProfile, factoryTypes_StructureSortConfig as StructureSortConfig, factoryTypes_Substitution as Substitution, factoryTypes_TeamKey as TeamKey, factoryTypes_TournamentRecords as TournamentRecords };
2552
+ }
2553
+
2477
2554
  type ModifyVenueArgs = {
2478
2555
  tournamentRecords?: TournamentRecords;
2479
2556
  tournamentRecord?: Tournament;
@@ -3741,9 +3818,7 @@ declare function removeMatchUpCourtAssignment(params: any): {
3741
3818
  };
3742
3819
 
3743
3820
  type RemoveEventMatchUpFormatTimingArgs = {
3744
- tournamentRecords?: {
3745
- [key: string]: Tournament;
3746
- };
3821
+ tournamentRecords?: TournamentRecords;
3747
3822
  tournamentRecord?: Tournament;
3748
3823
  eventId: string;
3749
3824
  event?: Event$1;
@@ -5557,6 +5632,13 @@ winsLimit, event, }: GetEligibleVoluntaryConsolationParticipantsArgs): {
5557
5632
  error?: ErrorType;
5558
5633
  };
5559
5634
 
5635
+ type getDrawTypeCoercionArgs = {
5636
+ policyDefinitions?: PolicyDefinitions;
5637
+ appliedPolicies?: PolicyDefinitions;
5638
+ drawType?: string;
5639
+ };
5640
+ declare function getDrawTypeCoercion({ policyDefinitions, appliedPolicies, drawType, }: getDrawTypeCoercionArgs): any;
5641
+
5560
5642
  declare function getDrawParticipantRepresentativeIds({ drawDefinition }: {
5561
5643
  drawDefinition: any;
5562
5644
  }): (ResultType & {
@@ -5978,7 +6060,6 @@ declare function categoryCanContain({ childCategory, withDetails, category, }: C
5978
6060
 
5979
6061
  /**
5980
6062
  *
5981
- * @param {object} tournamentRecord - passed in automatically by tournamentEngine
5982
6063
  * @param {object[]} outcomes - array of outcomes to be applied to matchUps, relevent attributes: { eventId: string; drawId: string; }
5983
6064
  *
5984
6065
  */
@@ -6083,16 +6164,6 @@ declare function allCompetitionMatchUps({ scheduleVisibilityFilters, afterRecove
6083
6164
  error?: ErrorType;
6084
6165
  };
6085
6166
 
6086
- declare function publishOrderOfPlay(params: any): {
6087
- error: {
6088
- message: string;
6089
- code: string;
6090
- };
6091
- } | {
6092
- success: boolean;
6093
- error?: undefined;
6094
- };
6095
-
6096
6167
  declare function unPublishOrderOfPlay(params: any): {
6097
6168
  error: {
6098
6169
  message: string;
@@ -6103,49 +6174,6 @@ declare function unPublishOrderOfPlay(params: any): {
6103
6174
  error?: undefined;
6104
6175
  };
6105
6176
 
6106
- type PublishingDetail = {
6107
- roundLimit?: number;
6108
- published?: boolean;
6109
- embargo?: string;
6110
- };
6111
- type DrawPublishingDetails = {
6112
- structureDetails?: {
6113
- [key: string]: PublishingDetail;
6114
- };
6115
- stageDetails?: {
6116
- [key: string]: PublishingDetail;
6117
- };
6118
- publishingDetail: PublishingDetail;
6119
- structureIdsToRemove?: string[];
6120
- structureIdsToAdd?: string[];
6121
- stagesToRemove?: string[];
6122
- stagesToAdd?: string[];
6123
- };
6124
- type PublishEventType = {
6125
- includePositionAssignments?: boolean;
6126
- policyDefinitions?: PolicyDefinitions;
6127
- removePriorValues?: boolean;
6128
- tournamentRecord: Tournament;
6129
- drawIds?: string[];
6130
- status?: string;
6131
- event?: Event$1;
6132
- drawDetails?: {
6133
- [key: string]: DrawPublishingDetails;
6134
- };
6135
- drawIdsToRemove?: string[];
6136
- drawIdsToAdd?: string[];
6137
- };
6138
- declare function publishEvent(params: PublishEventType): ResultType | {
6139
- error: {
6140
- message: string;
6141
- code: string;
6142
- };
6143
- } | {
6144
- eventData: any;
6145
- success: boolean;
6146
- error?: undefined;
6147
- };
6148
-
6149
6177
  declare function unPublishEvent({ removePriorValues, tournamentRecord, status, event, }: {
6150
6178
  removePriorValues?: boolean | undefined;
6151
6179
  tournamentRecord: any;
@@ -6193,6 +6221,16 @@ type SetEventDisplaySettings = {
6193
6221
  };
6194
6222
  declare function setEventDisplay({ removePriorValues, tournamentRecord, displaySettings, status, event, }: SetEventDisplaySettings): ResultType;
6195
6223
 
6224
+ declare function publishOrderOfPlay(params: any): {
6225
+ error: {
6226
+ message: string;
6227
+ code: string;
6228
+ };
6229
+ } | {
6230
+ success: boolean;
6231
+ error?: undefined;
6232
+ };
6233
+
6196
6234
  declare function publishEventSeeding({ removePriorValues, stageSeedingScaleNames, seedingScaleNames, tournamentRecord, status, drawIds, event, }: {
6197
6235
  removePriorValues?: boolean | undefined;
6198
6236
  stageSeedingScaleNames: any;
@@ -6228,11 +6266,75 @@ declare function unPublishEventSeeding({ removePriorValues, seedingScaleNames, t
6228
6266
  error?: undefined;
6229
6267
  };
6230
6268
 
6231
- declare function getDrawData(params: any): {
6232
- structures?: any[];
6269
+ type PublishingDetail = {
6270
+ roundLimit?: number;
6271
+ published?: boolean;
6272
+ embargo?: string;
6273
+ };
6274
+ type DrawPublishingDetails = {
6275
+ structureDetails?: {
6276
+ [key: string]: PublishingDetail;
6277
+ };
6278
+ stageDetails?: {
6279
+ [key: string]: PublishingDetail;
6280
+ };
6281
+ publishingDetail: PublishingDetail;
6282
+ structureIdsToRemove?: string[];
6283
+ structureIdsToAdd?: string[];
6284
+ stagesToRemove?: string[];
6285
+ stagesToAdd?: string[];
6286
+ };
6287
+ type PublishEventType = {
6288
+ includePositionAssignments?: boolean;
6289
+ policyDefinitions?: PolicyDefinitions;
6290
+ removePriorValues?: boolean;
6291
+ tournamentRecord: Tournament;
6292
+ drawIds?: string[];
6293
+ status?: string;
6294
+ event?: Event$1;
6295
+ drawDetails?: {
6296
+ [key: string]: DrawPublishingDetails;
6297
+ };
6298
+ drawIdsToRemove?: string[];
6299
+ drawIdsToAdd?: string[];
6300
+ };
6301
+ declare function publishEvent(params: PublishEventType): ResultType | {
6302
+ error: {
6303
+ message: string;
6304
+ code: string;
6305
+ };
6306
+ } | {
6307
+ eventData: any;
6308
+ success: boolean;
6309
+ error?: undefined;
6310
+ };
6311
+
6312
+ type GetVenueDataArgs = {
6313
+ tournamentRecord: Tournament;
6314
+ venueId: string;
6315
+ };
6316
+ declare function getVenueData({ tournamentRecord, venueId }: GetVenueDataArgs): {
6233
6317
  success?: boolean;
6234
6318
  error?: ErrorType;
6235
- drawInfo?: any;
6319
+ venueData?: any;
6320
+ };
6321
+
6322
+ declare function getTournamentInfo({ tournamentRecord }: {
6323
+ tournamentRecord: any;
6324
+ }): {
6325
+ tournamentInfo?: any;
6326
+ error?: ErrorType;
6327
+ };
6328
+
6329
+ type GetPublishStateArgs = {
6330
+ tournamentRecord?: Tournament;
6331
+ eventIds?: string[];
6332
+ drawIds?: string[];
6333
+ drawId?: string;
6334
+ event: Event$1;
6335
+ };
6336
+ declare function getPublishState({ tournamentRecord, eventIds, drawIds, drawId, event, }: GetPublishStateArgs): ResultType & {
6337
+ publishState?: any;
6236
6338
  };
6237
6339
 
6238
6340
  type GetEventDataArgs = {
@@ -6251,6 +6353,24 @@ declare function getEventData(params: GetEventDataArgs): {
6251
6353
  eventData?: any;
6252
6354
  };
6253
6355
 
6356
+ declare function getDrawData(params: any): {
6357
+ structures?: any[];
6358
+ success?: boolean;
6359
+ error?: ErrorType;
6360
+ drawInfo?: any;
6361
+ };
6362
+
6363
+ type GetCourtInfoArgs = {
6364
+ tournamentRecord: Tournament;
6365
+ internalUse?: boolean;
6366
+ courtId: string;
6367
+ };
6368
+ declare function getCourtInfo({ tournamentRecord, internalUse, courtId, }: GetCourtInfoArgs): {
6369
+ error?: ErrorType;
6370
+ success?: boolean;
6371
+ courtInfo?: any;
6372
+ };
6373
+
6254
6374
  declare function getAllEventData({ tournamentRecord, policyDefinitions }: {
6255
6375
  tournamentRecord: any;
6256
6376
  policyDefinitions: any;
@@ -6269,34 +6389,6 @@ declare function getAllEventData({ tournamentRecord, policyDefinitions }: {
6269
6389
  error?: undefined;
6270
6390
  };
6271
6391
 
6272
- type GetCourtInfoArgs = {
6273
- tournamentRecord: Tournament;
6274
- internalUse?: boolean;
6275
- courtId: string;
6276
- };
6277
- declare function getCourtInfo({ tournamentRecord, internalUse, courtId, }: GetCourtInfoArgs): {
6278
- error?: ErrorType;
6279
- success?: boolean;
6280
- courtInfo?: any;
6281
- };
6282
-
6283
- type GetVenueDataArgs = {
6284
- tournamentRecord: Tournament;
6285
- venueId: string;
6286
- };
6287
- declare function getVenueData({ tournamentRecord, venueId }: GetVenueDataArgs): {
6288
- success?: boolean;
6289
- error?: ErrorType;
6290
- venueData?: any;
6291
- };
6292
-
6293
- declare function getTournamentInfo({ tournamentRecord }: {
6294
- tournamentRecord: any;
6295
- }): {
6296
- tournamentInfo?: any;
6297
- error?: ErrorType;
6298
- };
6299
-
6300
6392
  type RemovePolicyArgs = {
6301
6393
  tournamentRecords?: TournamentRecords;
6302
6394
  tournamentRecord?: Tournament;
@@ -9071,19 +9163,20 @@ declare const governors: {
9071
9163
  removePolicy: typeof removePolicy;
9072
9164
  };
9073
9165
  publishingGovernor: {
9074
- getTournamentInfo: typeof getTournamentInfo;
9075
- getVenueData: typeof getVenueData;
9076
- getCourtInfo: typeof getCourtInfo;
9077
9166
  getAllEventData: typeof getAllEventData;
9078
- getEventData: typeof getEventData;
9167
+ getCourtInfo: typeof getCourtInfo;
9079
9168
  getDrawData: typeof getDrawData;
9080
- unPublishEventSeeding: typeof unPublishEventSeeding;
9169
+ getEventData: typeof getEventData;
9170
+ getPublishState: typeof getPublishState;
9171
+ getTournamentInfo: typeof getTournamentInfo;
9172
+ getVenueData: typeof getVenueData;
9173
+ publishEvent: typeof publishEvent;
9081
9174
  publishEventSeeding: typeof publishEventSeeding;
9175
+ publishOrderOfPlay: typeof publishOrderOfPlay;
9082
9176
  setEventDisplay: typeof setEventDisplay;
9083
9177
  unPublishEvent: typeof unPublishEvent;
9084
- publishEvent: typeof publishEvent;
9178
+ unPublishEventSeeding: typeof unPublishEventSeeding;
9085
9179
  unPublishOrderOfPlay: typeof unPublishOrderOfPlay;
9086
- publishOrderOfPlay: typeof publishOrderOfPlay;
9087
9180
  };
9088
9181
  queryGovernor: {
9089
9182
  allCompetitionMatchUps: typeof allCompetitionMatchUps;
@@ -9131,6 +9224,7 @@ declare const governors: {
9131
9224
  getCourts: typeof getCourts;
9132
9225
  getDrawDefinitionTimeItem: typeof getDrawDefinitionTimeItem;
9133
9226
  getDrawParticipantRepresentativeIds: typeof getDrawParticipantRepresentativeIds;
9227
+ getDrawTypeCoercion: typeof getDrawTypeCoercion;
9134
9228
  getEligibleVoluntaryConsolationParticipants: typeof getEligibleVoluntaryConsolationParticipants;
9135
9229
  getEntriesAndSeedsCount: typeof getEntriesAndSeedsCount;
9136
9230
  getEvent: typeof getEvent;
@@ -9569,6 +9663,154 @@ declare const scoreGovernor: {
9569
9663
  };
9570
9664
  };
9571
9665
 
9666
+ type Notice = {
9667
+ topic: string;
9668
+ payload: any;
9669
+ key?: string;
9670
+ };
9671
+ type DevContextType = {
9672
+ errors?: boolean | string[];
9673
+ params?: boolean | string[];
9674
+ result?: boolean | string[];
9675
+ exclude?: string[];
9676
+ [key: string]: any;
9677
+ } | boolean;
9678
+ type ImplemtationGlobalStateTypes = {
9679
+ tournamentRecords: TournamentRecords;
9680
+ tournamentId?: string | undefined;
9681
+ methods: {
9682
+ [key: string]: any;
9683
+ };
9684
+ disableNotifications: boolean;
9685
+ subscriptions: any;
9686
+ notices: Notice[];
9687
+ modified: boolean;
9688
+ };
9689
+ declare function setStateProvider(globalStateProvider?: {
9690
+ [key: string]: any;
9691
+ }): {
9692
+ success: boolean;
9693
+ };
9694
+ declare function createInstanceState(): {
9695
+ error: unknown;
9696
+ success?: undefined;
9697
+ } | {
9698
+ success: boolean;
9699
+ error?: undefined;
9700
+ };
9701
+ /**
9702
+ * if contextCriteria, check whether all contextCriteria keys values are equivalent with globalState.devContext object
9703
+ */
9704
+ declare function getDevContext(contextCriteria?: {
9705
+ [key: string]: any;
9706
+ }): DevContextType;
9707
+ declare function timeKeeper(action?: string, timer?: string): any;
9708
+ declare function setGlobalLog(loggingFx?: any): void;
9709
+ declare function setDevContext(value?: DevContextType): void;
9710
+ declare function disableNotifications(): void;
9711
+ declare function enableNotifications(): void;
9712
+ type DeepCopyAttributes = {
9713
+ threshold?: number;
9714
+ stringify?: string[];
9715
+ ignore?: string[];
9716
+ toJSON?: string[];
9717
+ };
9718
+ declare function setDeepCopy(value: boolean, attributes: DeepCopyAttributes): void;
9719
+ declare function deepCopyEnabled(): {
9720
+ threshold?: number | undefined;
9721
+ modulate?: any;
9722
+ stringify: string[];
9723
+ ignore: any;
9724
+ toJSON: string[];
9725
+ enabled: boolean;
9726
+ };
9727
+ declare function setSubscriptions(params: any): any;
9728
+ declare function setMethods(params?: {
9729
+ [key: string]: any;
9730
+ }): any;
9731
+ declare function cycleMutationStatus(): any;
9732
+ declare function addNotice(notice: Notice): any;
9733
+ type GetNoticesArgs = {
9734
+ topic: string;
9735
+ };
9736
+ declare function getMethods(): {
9737
+ [key: string]: any;
9738
+ };
9739
+ declare function getNotices(params: GetNoticesArgs): string[];
9740
+ type DeleteNoticeArgs = {
9741
+ topic?: string;
9742
+ key: string;
9743
+ };
9744
+ declare function deleteNotice({ key, topic }: DeleteNoticeArgs): any;
9745
+ declare function deleteNotices(): any;
9746
+ declare function getTopics(): any;
9747
+ type CallListenerArgs = {
9748
+ notices: Notice[];
9749
+ topic: string;
9750
+ };
9751
+ declare function callListener(payload: any): Promise<any>;
9752
+ declare function getTournamentId(): any;
9753
+ declare function getTournamentRecord(tournamentId: string): any;
9754
+ declare function getTournamentRecords(): any;
9755
+ declare function setTournamentRecord(tournamentRecord: ResultType): any;
9756
+ declare function setTournamentRecords(tournamentRecords: any): any;
9757
+ declare function setTournamentId(tournamentId?: string): {
9758
+ success?: boolean;
9759
+ error?: ErrorType;
9760
+ };
9761
+ declare function removeTournamentRecord(tournamentId: string): any;
9762
+ declare function getProvider(): any;
9763
+ type HandleCaughtErrorArgs = {
9764
+ engineName?: string;
9765
+ methodName: string;
9766
+ params: any;
9767
+ err: any;
9768
+ };
9769
+ declare function handleCaughtError({ engineName, methodName, params, err, }: HandleCaughtErrorArgs): any;
9770
+ declare function globalLog(engine: string, log: any): void;
9771
+
9772
+ type globalState_CallListenerArgs = CallListenerArgs;
9773
+ type globalState_DeepCopyAttributes = DeepCopyAttributes;
9774
+ type globalState_DeleteNoticeArgs = DeleteNoticeArgs;
9775
+ type globalState_DevContextType = DevContextType;
9776
+ type globalState_GetNoticesArgs = GetNoticesArgs;
9777
+ type globalState_HandleCaughtErrorArgs = HandleCaughtErrorArgs;
9778
+ type globalState_ImplemtationGlobalStateTypes = ImplemtationGlobalStateTypes;
9779
+ type globalState_Notice = Notice;
9780
+ declare const globalState_addNotice: typeof addNotice;
9781
+ declare const globalState_callListener: typeof callListener;
9782
+ declare const globalState_createInstanceState: typeof createInstanceState;
9783
+ declare const globalState_cycleMutationStatus: typeof cycleMutationStatus;
9784
+ declare const globalState_deepCopyEnabled: typeof deepCopyEnabled;
9785
+ declare const globalState_deleteNotice: typeof deleteNotice;
9786
+ declare const globalState_deleteNotices: typeof deleteNotices;
9787
+ declare const globalState_disableNotifications: typeof disableNotifications;
9788
+ declare const globalState_enableNotifications: typeof enableNotifications;
9789
+ declare const globalState_getDevContext: typeof getDevContext;
9790
+ declare const globalState_getMethods: typeof getMethods;
9791
+ declare const globalState_getNotices: typeof getNotices;
9792
+ declare const globalState_getProvider: typeof getProvider;
9793
+ declare const globalState_getTopics: typeof getTopics;
9794
+ declare const globalState_getTournamentId: typeof getTournamentId;
9795
+ declare const globalState_getTournamentRecord: typeof getTournamentRecord;
9796
+ declare const globalState_getTournamentRecords: typeof getTournamentRecords;
9797
+ declare const globalState_globalLog: typeof globalLog;
9798
+ declare const globalState_handleCaughtError: typeof handleCaughtError;
9799
+ declare const globalState_removeTournamentRecord: typeof removeTournamentRecord;
9800
+ declare const globalState_setDeepCopy: typeof setDeepCopy;
9801
+ declare const globalState_setDevContext: typeof setDevContext;
9802
+ declare const globalState_setGlobalLog: typeof setGlobalLog;
9803
+ declare const globalState_setMethods: typeof setMethods;
9804
+ declare const globalState_setStateProvider: typeof setStateProvider;
9805
+ declare const globalState_setSubscriptions: typeof setSubscriptions;
9806
+ declare const globalState_setTournamentId: typeof setTournamentId;
9807
+ declare const globalState_setTournamentRecord: typeof setTournamentRecord;
9808
+ declare const globalState_setTournamentRecords: typeof setTournamentRecords;
9809
+ declare const globalState_timeKeeper: typeof timeKeeper;
9810
+ declare namespace globalState {
9811
+ export { type globalState_CallListenerArgs as CallListenerArgs, type globalState_DeepCopyAttributes as DeepCopyAttributes, type globalState_DeleteNoticeArgs as DeleteNoticeArgs, type globalState_DevContextType as DevContextType, type globalState_GetNoticesArgs as GetNoticesArgs, type globalState_HandleCaughtErrorArgs as HandleCaughtErrorArgs, type globalState_ImplemtationGlobalStateTypes as ImplemtationGlobalStateTypes, type globalState_Notice as Notice, globalState_addNotice as addNotice, globalState_callListener as callListener, globalState_createInstanceState as createInstanceState, globalState_cycleMutationStatus as cycleMutationStatus, globalState_deepCopyEnabled as deepCopyEnabled, globalState_deleteNotice as deleteNotice, globalState_deleteNotices as deleteNotices, globalState_disableNotifications as disableNotifications, globalState_enableNotifications as enableNotifications, globalState_getDevContext as getDevContext, globalState_getMethods as getMethods, globalState_getNotices as getNotices, globalState_getProvider as getProvider, globalState_getTopics as getTopics, globalState_getTournamentId as getTournamentId, globalState_getTournamentRecord as getTournamentRecord, globalState_getTournamentRecords as getTournamentRecords, globalState_globalLog as globalLog, globalState_handleCaughtError as handleCaughtError, globalState_removeTournamentRecord as removeTournamentRecord, globalState_setDeepCopy as setDeepCopy, globalState_setDevContext as setDevContext, globalState_setGlobalLog as setGlobalLog, globalState_setMethods as setMethods, globalState_setStateProvider as setStateProvider, globalState_setSubscriptions as setSubscriptions, globalState_setTournamentId as setTournamentId, globalState_setTournamentRecord as setTournamentRecord, globalState_setTournamentRecords as setTournamentRecords, globalState_timeKeeper as timeKeeper };
9812
+ }
9813
+
9572
9814
  declare const forge: {};
9573
9815
 
9574
9816
  declare function asyncEngine(test?: boolean): FactoryEngine & {
@@ -11498,27 +11740,6 @@ declare const factoryConstants: {
11498
11740
  };
11499
11741
  };
11500
11742
 
11501
- declare const participantRoles: {
11502
- ADMINISTRATION: any;
11503
- CAPTAIN: any;
11504
- COACH: any;
11505
- COMPETITOR: any;
11506
- MEDIA: any;
11507
- MEDICAL: any;
11508
- OFFICIAL: any;
11509
- OTHER: any;
11510
- SECURITY: any;
11511
- };
11512
-
11513
- declare const matchUpTypes: {
11514
- SINGLES_MATCHUP: string;
11515
- SINGLES: string;
11516
- DOUBLES_MATCHUP: string;
11517
- DOUBLES: string;
11518
- TEAM_MATCHUP: string;
11519
- TEAM: string;
11520
- };
11521
-
11522
11743
  declare const drawDefinitionConstants: {
11523
11744
  MAIN: string;
11524
11745
  QUALIFYING: string;
@@ -11699,6 +11920,27 @@ declare const matchUpStatusConstants: {
11699
11920
  WALKOVER: any;
11700
11921
  };
11701
11922
 
11923
+ declare const matchUpTypes: {
11924
+ SINGLES_MATCHUP: string;
11925
+ SINGLES: string;
11926
+ DOUBLES_MATCHUP: string;
11927
+ DOUBLES: string;
11928
+ TEAM_MATCHUP: string;
11929
+ TEAM: string;
11930
+ };
11931
+
11932
+ declare const participantRoles: {
11933
+ ADMINISTRATION: any;
11934
+ CAPTAIN: any;
11935
+ COACH: any;
11936
+ COMPETITOR: any;
11937
+ MEDIA: any;
11938
+ MEDICAL: any;
11939
+ OFFICIAL: any;
11940
+ OTHER: any;
11941
+ SECURITY: any;
11942
+ };
11943
+
11702
11944
  declare const penaltyConstants: {
11703
11945
  COACHING: string;
11704
11946
  BALL_ABUSE: string;
@@ -11803,32 +12045,4 @@ declare const venueConstants: {
11803
12045
  OUTDOOR: string;
11804
12046
  };
11805
12047
 
11806
- type DevContextType = {
11807
- errors?: boolean | string[];
11808
- params?: boolean | string[];
11809
- result?: boolean | string[];
11810
- exclude?: string[];
11811
- [key: string]: any;
11812
- } | boolean;
11813
- declare function setStateProvider(globalStateProvider?: {
11814
- [key: string]: any;
11815
- }): {
11816
- success: boolean;
11817
- };
11818
- declare function setGlobalLog(loggingFx?: any): void;
11819
- declare function setDevContext(value?: DevContextType): void;
11820
- type DeepCopyAttributes = {
11821
- threshold?: number;
11822
- stringify?: string[];
11823
- ignore?: string[];
11824
- toJSON?: string[];
11825
- };
11826
- declare function setDeepCopy(value: boolean, attributes: DeepCopyAttributes): void;
11827
- declare function setSubscriptions(params: any): any;
11828
- type GetNoticesArgs = {
11829
- topic: string;
11830
- };
11831
- declare function getNotices(params: GetNoticesArgs): string[];
11832
- declare function deleteNotices(): any;
11833
-
11834
- export { askEngine, asyncEngine, competitionEngine, deleteNotices, drawDefinitionConstants, entryStatusConstants, errorConditionConstants, eventConstants, factoryConstants, fixtures, flightConstants, forge, genderConstants, getNotices, governors, keyValueConstants, matchUpActionConstants, matchUpEngine, matchUpFormatCode, matchUpStatusConstants, matchUpTypes, mocksEngine, participantConstants, participantRoles, participantTypes, penaltyConstants, policyConstants, positionActionConstants, resultConstants, scaleConstants, scaleEngine, scoreGovernor, setDeepCopy, setDevContext, setGlobalLog, setStateProvider, setSubscriptions, surfaceConstants, engine as syncEngine, timeItemConstants, tournamentEngine, utilities, venueConstants, factoryVersion as version };
12048
+ export { askEngine, asyncEngine, competitionEngine, drawDefinitionConstants, entryStatusConstants, errorConditionConstants, eventConstants, factoryConstants, factoryTypes, fixtures, flightConstants, forge, genderConstants, globalState, governors, keyValueConstants, matchUpActionConstants, matchUpEngine, matchUpFormatCode, matchUpStatusConstants, matchUpTypes, mocksEngine, participantConstants, participantRoles, participantTypes, penaltyConstants, policyConstants, positionActionConstants, resultConstants, scaleConstants, scaleEngine, scoreGovernor, surfaceConstants, engine as syncEngine, timeItemConstants, tournamentEngine, utilities, venueConstants, factoryVersion as version };