tods-competition-factory 2.0.0-beta.7 → 2.0.0

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.
@@ -7119,7 +7119,7 @@ declare function publishOrderOfPlay(params: any): {
7119
7119
  error?: undefined;
7120
7120
  };
7121
7121
 
7122
- declare function unPublishEvent({ removePriorValues, tournamentRecord, status, event, }: {
7122
+ declare function unPublishEvent({ removePriorValues, tournamentRecord, status, event }: {
7123
7123
  removePriorValues?: boolean | undefined;
7124
7124
  tournamentRecord: any;
7125
7125
  status?: string | undefined;
@@ -7189,14 +7189,26 @@ declare namespace mutate$4 {
7189
7189
  export { mutate$4_publishEvent as publishEvent, mutate$4_publishEventSeeding as publishEventSeeding, mutate$4_publishOrderOfPlay as publishOrderOfPlay, mutate$4_setEventDisplay as setEventDisplay, mutate$4_unPublishEvent as unPublishEvent, mutate$4_unPublishEventSeeding as unPublishEventSeeding, mutate$4_unPublishOrderOfPlay as unPublishOrderOfPlay };
7190
7190
  }
7191
7191
 
7192
+ declare function getTournamentPublishStatus({ tournamentRecord, status }: {
7193
+ tournamentRecord: any;
7194
+ status?: string | undefined;
7195
+ }): any;
7196
+
7197
+ declare function getEventPublishStatus({ event, status }: {
7198
+ event: any;
7199
+ status?: string | undefined;
7200
+ }): any;
7201
+
7192
7202
  type GetPublishStateArgs = {
7193
7203
  tournamentRecord?: Tournament;
7204
+ drawDefinition?: DrawDefinition;
7194
7205
  eventIds?: string[];
7195
7206
  drawIds?: string[];
7207
+ eventId?: string;
7196
7208
  drawId?: string;
7197
7209
  event: Event$1;
7198
7210
  };
7199
- declare function getPublishState({ tournamentRecord, eventIds, drawIds, drawId, event, }: GetPublishStateArgs): ResultType & {
7211
+ declare function getPublishState({ tournamentRecord, drawDefinition, eventIds, eventId, drawIds, drawId, event, }: GetPublishStateArgs): ResultType & {
7200
7212
  publishState?: any;
7201
7213
  };
7202
7214
 
@@ -7267,10 +7279,12 @@ declare const query$4_getAllEventData: typeof getAllEventData;
7267
7279
  declare const query$4_getCourtInfo: typeof getCourtInfo;
7268
7280
  declare const query$4_getDrawData: typeof getDrawData;
7269
7281
  declare const query$4_getEventData: typeof getEventData;
7282
+ declare const query$4_getEventPublishStatus: typeof getEventPublishStatus;
7270
7283
  declare const query$4_getPublishState: typeof getPublishState;
7284
+ declare const query$4_getTournamentPublishStatus: typeof getTournamentPublishStatus;
7271
7285
  declare const query$4_getVenueData: typeof getVenueData;
7272
7286
  declare namespace query$4 {
7273
- export { query$4_bulkUpdatePublishedEventIds as bulkUpdatePublishedEventIds, query$4_getAllEventData as getAllEventData, query$4_getCourtInfo as getCourtInfo, query$4_getDrawData as getDrawData, query$4_getEventData as getEventData, query$4_getPublishState as getPublishState, query$4_getVenueData as getVenueData };
7287
+ export { query$4_bulkUpdatePublishedEventIds as bulkUpdatePublishedEventIds, query$4_getAllEventData as getAllEventData, query$4_getCourtInfo as getCourtInfo, query$4_getDrawData as getDrawData, query$4_getEventData as getEventData, query$4_getEventPublishStatus as getEventPublishStatus, query$4_getPublishState as getPublishState, query$4_getTournamentPublishStatus as getTournamentPublishStatus, query$4_getVenueData as getVenueData };
7274
7288
  }
7275
7289
 
7276
7290
  declare const index$a_bulkUpdatePublishedEventIds: typeof bulkUpdatePublishedEventIds;
@@ -7278,7 +7292,9 @@ declare const index$a_getAllEventData: typeof getAllEventData;
7278
7292
  declare const index$a_getCourtInfo: typeof getCourtInfo;
7279
7293
  declare const index$a_getDrawData: typeof getDrawData;
7280
7294
  declare const index$a_getEventData: typeof getEventData;
7295
+ declare const index$a_getEventPublishStatus: typeof getEventPublishStatus;
7281
7296
  declare const index$a_getPublishState: typeof getPublishState;
7297
+ declare const index$a_getTournamentPublishStatus: typeof getTournamentPublishStatus;
7282
7298
  declare const index$a_getVenueData: typeof getVenueData;
7283
7299
  declare const index$a_publishEvent: typeof publishEvent;
7284
7300
  declare const index$a_publishEventSeeding: typeof publishEventSeeding;
@@ -7288,7 +7304,7 @@ declare const index$a_unPublishEvent: typeof unPublishEvent;
7288
7304
  declare const index$a_unPublishEventSeeding: typeof unPublishEventSeeding;
7289
7305
  declare const index$a_unPublishOrderOfPlay: typeof unPublishOrderOfPlay;
7290
7306
  declare namespace index$a {
7291
- export { index$a_bulkUpdatePublishedEventIds as bulkUpdatePublishedEventIds, index$a_getAllEventData as getAllEventData, index$a_getCourtInfo as getCourtInfo, index$a_getDrawData as getDrawData, index$a_getEventData as getEventData, index$a_getPublishState as getPublishState, index$a_getVenueData as getVenueData, mutate$4 as mutate, index$a_publishEvent as publishEvent, index$a_publishEventSeeding as publishEventSeeding, index$a_publishOrderOfPlay as publishOrderOfPlay, query$4 as query, index$a_setEventDisplay as setEventDisplay, index$a_unPublishEvent as unPublishEvent, index$a_unPublishEventSeeding as unPublishEventSeeding, index$a_unPublishOrderOfPlay as unPublishOrderOfPlay };
7307
+ export { index$a_bulkUpdatePublishedEventIds as bulkUpdatePublishedEventIds, index$a_getAllEventData as getAllEventData, index$a_getCourtInfo as getCourtInfo, index$a_getDrawData as getDrawData, index$a_getEventData as getEventData, index$a_getEventPublishStatus as getEventPublishStatus, index$a_getPublishState as getPublishState, index$a_getTournamentPublishStatus as getTournamentPublishStatus, index$a_getVenueData as getVenueData, mutate$4 as mutate, index$a_publishEvent as publishEvent, index$a_publishEventSeeding as publishEventSeeding, index$a_publishOrderOfPlay as publishOrderOfPlay, query$4 as query, index$a_setEventDisplay as setEventDisplay, index$a_unPublishEvent as unPublishEvent, index$a_unPublishEventSeeding as unPublishEventSeeding, index$a_unPublishOrderOfPlay as unPublishOrderOfPlay };
7292
7308
  }
7293
7309
 
7294
7310
  type FindExtensionType = {
@@ -11524,4 +11540,4 @@ declare namespace index {
11524
11540
  export { index_activeMatchUpStatuses as activeMatchUpStatuses, index_auditConstants as auditConstants, index_completedMatchUpStatuses as completedMatchUpStatuses, index_directingMatchUpStatuses as directingMatchUpStatuses, 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_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 };
11525
11541
  }
11526
11542
 
11527
- export { askEngine, asyncEngine, competitionEngine, drawDefinitionConstants, entryStatusConstants, errorConditionConstants, eventConstants, index as factoryConstants, fixtures, flightConstants, forge, genderConstants, globalState, index$2 as governors, keyValueConstants, matchUpActionConstants, matchUpEngine, index$f as matchUpFormatCode, matchUpStatusConstants, matchUpTypes, mocksEngine, participantConstants, participantRoles, participantTypes, penaltyConstants, policyConstants, positionActionConstants, resultConstants, scaleConstants, scaleEngine, surfaceConstants, syncEngine, timeItemConstants, index$1 as tools, tournamentEngine, index$1 as utilities, venueConstants, factoryVersion as version };
11543
+ export { activeMatchUpStatuses, askEngine, asyncEngine, auditConstants, competitionEngine, index$k as competitionGovernor, completedMatchUpStatuses, directingMatchUpStatuses, 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, 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 };