tods-competition-factory 2.1.10 → 2.1.12
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/index.mjs +9 -9
- package/dist/tods-competition-factory.d.ts +333 -7
- package/dist/tods-competition-factory.development.cjs.js +28998 -28808
- 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 +9 -9
|
@@ -4226,7 +4226,7 @@ type AddEventEntriesArgs = {
|
|
|
4226
4226
|
entryStatus?: EntryStatusUnion;
|
|
4227
4227
|
drawDefinition?: DrawDefinition;
|
|
4228
4228
|
autoEntryPositions?: boolean;
|
|
4229
|
-
tournamentRecord
|
|
4229
|
+
tournamentRecord?: Tournament;
|
|
4230
4230
|
entryStageSequence?: number;
|
|
4231
4231
|
ignoreStageSpace?: boolean;
|
|
4232
4232
|
entryStage?: StageTypeUnion;
|
|
@@ -4299,6 +4299,32 @@ declare namespace index$i {
|
|
|
4299
4299
|
export { index$i_addDrawEntries as addDrawEntries, index$i_addEventEntries as addEventEntries, index$i_addEventEntryPairs as addEventEntryPairs, index$i_destroyPairEntries as destroyPairEntries, index$i_destroyPairEntry as destroyPairEntry, index$i_getEntriesAndSeedsCount as getEntriesAndSeedsCount, index$i_getMaxEntryPosition as getMaxEntryPosition, index$i_modifyEntriesStatus as modifyEntriesStatus, index$i_modifyEventEntries as modifyEventEntries, mutate$b as mutate, index$i_promoteAlternate as promoteAlternate, index$i_promoteAlternates as promoteAlternates, query$a as query, index$i_removeDrawEntries as removeDrawEntries, index$i_removeEventEntries as removeEventEntries, index$i_setEntryPosition as setEntryPosition, index$i_setEntryPositions as setEntryPositions };
|
|
4300
4300
|
}
|
|
4301
4301
|
|
|
4302
|
+
type GenerateEventsFromTieFormatArgs = {
|
|
4303
|
+
entryStatus?: EntryStatusUnion;
|
|
4304
|
+
addEntriesFromTeams?: boolean;
|
|
4305
|
+
tournamentRecord: Tournament;
|
|
4306
|
+
tieFormatName?: string;
|
|
4307
|
+
tieFormat?: TieFormat;
|
|
4308
|
+
addEvents?: boolean;
|
|
4309
|
+
uuids?: string[];
|
|
4310
|
+
};
|
|
4311
|
+
declare function generateEventsFromTieFormat(params: GenerateEventsFromTieFormatArgs): ResultType | {
|
|
4312
|
+
context?: {
|
|
4313
|
+
[key: string]: any;
|
|
4314
|
+
} | undefined;
|
|
4315
|
+
error?: ErrorType | undefined;
|
|
4316
|
+
event?: Event$1 | undefined;
|
|
4317
|
+
info?: any;
|
|
4318
|
+
} | {
|
|
4319
|
+
events: Event$1[];
|
|
4320
|
+
success: boolean;
|
|
4321
|
+
};
|
|
4322
|
+
|
|
4323
|
+
declare const generate$4_generateEventsFromTieFormat: typeof generateEventsFromTieFormat;
|
|
4324
|
+
declare namespace generate$4 {
|
|
4325
|
+
export { generate$4_generateEventsFromTieFormat as generateEventsFromTieFormat };
|
|
4326
|
+
}
|
|
4327
|
+
|
|
4302
4328
|
declare function deleteFlightProfileAndFlightDraws({ autoPublish, tournamentRecord, auditData, event, force }: {
|
|
4303
4329
|
autoPublish?: boolean | undefined;
|
|
4304
4330
|
tournamentRecord: any;
|
|
@@ -4862,6 +4888,7 @@ declare const index$h_deleteDrawDefinitions: typeof deleteDrawDefinitions;
|
|
|
4862
4888
|
declare const index$h_deleteEvents: typeof deleteEvents;
|
|
4863
4889
|
declare const index$h_deleteFlightAndFlightDraw: typeof deleteFlightAndFlightDraw;
|
|
4864
4890
|
declare const index$h_deleteFlightProfileAndFlightDraws: typeof deleteFlightProfileAndFlightDraws;
|
|
4891
|
+
declare const index$h_generateEventsFromTieFormat: typeof generateEventsFromTieFormat;
|
|
4865
4892
|
declare const index$h_getCategoryAgeDetails: typeof getCategoryAgeDetails;
|
|
4866
4893
|
declare const index$h_getEvent: typeof getEvent;
|
|
4867
4894
|
declare const index$h_getEventProperties: typeof getEventProperties;
|
|
@@ -4884,7 +4911,7 @@ declare const index$h_setEventStartDate: typeof setEventStartDate;
|
|
|
4884
4911
|
declare const index$h_updateDrawIdsOrder: typeof updateDrawIdsOrder;
|
|
4885
4912
|
declare const index$h_validateCategory: typeof validateCategory;
|
|
4886
4913
|
declare namespace index$h {
|
|
4887
|
-
export { index$h_addDrawDefinition as addDrawDefinition, index$h_addEvent as addEvent, index$h_addFlight as addFlight, index$h_assignSeedPositions as assignSeedPositions, index$h_attachFlightProfile as attachFlightProfile, index$h_categoryCanContain as categoryCanContain, index$h_deleteDrawDefinitions as deleteDrawDefinitions, index$h_deleteEvents as deleteEvents, index$h_deleteFlightAndFlightDraw as deleteFlightAndFlightDraw, index$h_deleteFlightProfileAndFlightDraws as deleteFlightProfileAndFlightDraws, index$h_getCategoryAgeDetails as getCategoryAgeDetails, index$h_getEvent as getEvent, index$h_getEventProperties as getEventProperties, index$h_getEventStructures as getEventStructures, index$h_getEventTimeItem as getEventTimeItem, index$h_getEvents as getEvents, index$h_getFlightProfile as getFlightProfile, index$h_getScaledEntries as getScaledEntries, index$h_modifyEvent as modifyEvent, index$h_modifyEventMatchUpFormatTiming as modifyEventMatchUpFormatTiming, index$h_modifyPairAssignment as modifyPairAssignment, mutate$a as mutate, query$9 as query, index$h_refreshEventDrawOrder as refreshEventDrawOrder, index$h_removeEventMatchUpFormatTiming as removeEventMatchUpFormatTiming, index$h_removeScaleValues as removeScaleValues, index$h_removeSeeding as removeSeeding, index$h_setEventDates as setEventDates, index$h_setEventDisplay as setEventDisplay, index$h_setEventEndDate as setEventEndDate, index$h_setEventStartDate as setEventStartDate, index$h_updateDrawIdsOrder as updateDrawIdsOrder, index$h_validateCategory as validateCategory };
|
|
4914
|
+
export { index$h_addDrawDefinition as addDrawDefinition, index$h_addEvent as addEvent, index$h_addFlight as addFlight, index$h_assignSeedPositions as assignSeedPositions, index$h_attachFlightProfile as attachFlightProfile, index$h_categoryCanContain as categoryCanContain, index$h_deleteDrawDefinitions as deleteDrawDefinitions, index$h_deleteEvents as deleteEvents, index$h_deleteFlightAndFlightDraw as deleteFlightAndFlightDraw, index$h_deleteFlightProfileAndFlightDraws as deleteFlightProfileAndFlightDraws, generate$4 as generate, index$h_generateEventsFromTieFormat as generateEventsFromTieFormat, index$h_getCategoryAgeDetails as getCategoryAgeDetails, index$h_getEvent as getEvent, index$h_getEventProperties as getEventProperties, index$h_getEventStructures as getEventStructures, index$h_getEventTimeItem as getEventTimeItem, index$h_getEvents as getEvents, index$h_getFlightProfile as getFlightProfile, index$h_getScaledEntries as getScaledEntries, index$h_modifyEvent as modifyEvent, index$h_modifyEventMatchUpFormatTiming as modifyEventMatchUpFormatTiming, index$h_modifyPairAssignment as modifyPairAssignment, mutate$a as mutate, query$9 as query, index$h_refreshEventDrawOrder as refreshEventDrawOrder, index$h_removeEventMatchUpFormatTiming as removeEventMatchUpFormatTiming, index$h_removeScaleValues as removeScaleValues, index$h_removeSeeding as removeSeeding, index$h_setEventDates as setEventDates, index$h_setEventDisplay as setEventDisplay, index$h_setEventEndDate as setEventEndDate, index$h_setEventStartDate as setEventStartDate, index$h_updateDrawIdsOrder as updateDrawIdsOrder, index$h_validateCategory as validateCategory };
|
|
4888
4915
|
}
|
|
4889
4916
|
|
|
4890
4917
|
declare function getRoundRobinGroupMatchUps({ drawPositions }: {
|
|
@@ -5596,6 +5623,7 @@ type GetMatchUpScheduleDetailsArgs = {
|
|
|
5596
5623
|
scheduleVisibilityFilters?: ScheduleVisibilityFilters;
|
|
5597
5624
|
scheduleTiming?: ScheduleTiming;
|
|
5598
5625
|
tournamentRecord?: Tournament;
|
|
5626
|
+
drawDefinition?: DrawDefinition;
|
|
5599
5627
|
matchUpType?: EventTypeUnion;
|
|
5600
5628
|
afterRecoveryTimes?: boolean;
|
|
5601
5629
|
usePublishState?: boolean;
|
|
@@ -5686,7 +5714,7 @@ type GetAllStructureMatchUps = {
|
|
|
5686
5714
|
inContext?: boolean;
|
|
5687
5715
|
event?: Event$1;
|
|
5688
5716
|
};
|
|
5689
|
-
declare function getAllStructureMatchUps(
|
|
5717
|
+
declare function getAllStructureMatchUps(params: GetAllStructureMatchUps): {
|
|
5690
5718
|
collectionPositionMatchUps: {};
|
|
5691
5719
|
error: {
|
|
5692
5720
|
message: string;
|
|
@@ -7383,6 +7411,13 @@ declare function getTournamentPersons({ tournamentRecord, participantFilters }:
|
|
|
7383
7411
|
error?: undefined;
|
|
7384
7412
|
};
|
|
7385
7413
|
|
|
7414
|
+
declare function getAggregateTeamResults(params: any): (ResultType & {
|
|
7415
|
+
valid?: boolean | undefined;
|
|
7416
|
+
}) | {
|
|
7417
|
+
teamResults: {};
|
|
7418
|
+
success: boolean;
|
|
7419
|
+
};
|
|
7420
|
+
|
|
7386
7421
|
declare function analyzeTournament({ tournamentRecord }: {
|
|
7387
7422
|
tournamentRecord: any;
|
|
7388
7423
|
}): {
|
|
@@ -7405,6 +7440,26 @@ declare function getTournamentInfo(params?: {
|
|
|
7405
7440
|
error?: ErrorType;
|
|
7406
7441
|
};
|
|
7407
7442
|
|
|
7443
|
+
type GetTournamentPointsArgs = {
|
|
7444
|
+
participantFilters?: ParticipantFilters;
|
|
7445
|
+
policyDefinitions?: PolicyDefinitions;
|
|
7446
|
+
tournamentRecord: Tournament;
|
|
7447
|
+
level?: number;
|
|
7448
|
+
};
|
|
7449
|
+
declare function getTournamentPoints({ participantFilters, policyDefinitions, tournamentRecord, level, }: GetTournamentPointsArgs): {
|
|
7450
|
+
error: {
|
|
7451
|
+
message: string;
|
|
7452
|
+
code: string;
|
|
7453
|
+
};
|
|
7454
|
+
} | {
|
|
7455
|
+
success: boolean;
|
|
7456
|
+
participantsWithOutcomes: HydratedParticipant[] | undefined;
|
|
7457
|
+
personPoints: {};
|
|
7458
|
+
pairPoints: {};
|
|
7459
|
+
teamPoints: {};
|
|
7460
|
+
error?: undefined;
|
|
7461
|
+
};
|
|
7462
|
+
|
|
7408
7463
|
declare function analyzeDraws({ tournamentRecord }: {
|
|
7409
7464
|
tournamentRecord: any;
|
|
7410
7465
|
}): {
|
|
@@ -7415,6 +7470,7 @@ declare function analyzeDraws({ tournamentRecord }: {
|
|
|
7415
7470
|
|
|
7416
7471
|
declare const query$4_analyzeDraws: typeof analyzeDraws;
|
|
7417
7472
|
declare const query$4_analyzeTournament: typeof analyzeTournament;
|
|
7473
|
+
declare const query$4_getAggregateTeamResults: typeof getAggregateTeamResults;
|
|
7418
7474
|
declare const query$4_getAllowedDrawTypes: typeof getAllowedDrawTypes;
|
|
7419
7475
|
declare const query$4_getAllowedMatchUpFormats: typeof getAllowedMatchUpFormats;
|
|
7420
7476
|
declare const query$4_getAppliedPolicies: typeof getAppliedPolicies;
|
|
@@ -7424,10 +7480,11 @@ declare const query$4_getPolicyDefinitions: typeof getPolicyDefinitions;
|
|
|
7424
7480
|
declare const query$4_getTournamentInfo: typeof getTournamentInfo;
|
|
7425
7481
|
declare const query$4_getTournamentPenalties: typeof getTournamentPenalties;
|
|
7426
7482
|
declare const query$4_getTournamentPersons: typeof getTournamentPersons;
|
|
7483
|
+
declare const query$4_getTournamentPoints: typeof getTournamentPoints;
|
|
7427
7484
|
declare const query$4_getTournamentStructures: typeof getTournamentStructures;
|
|
7428
7485
|
declare const query$4_getTournamentTimeItem: typeof getTournamentTimeItem;
|
|
7429
7486
|
declare namespace query$4 {
|
|
7430
|
-
export { query$4_analyzeDraws as analyzeDraws, query$4_analyzeTournament as analyzeTournament, query$4_getAllowedDrawTypes as getAllowedDrawTypes, query$4_getAllowedMatchUpFormats as getAllowedMatchUpFormats, query$4_getAppliedPolicies as getAppliedPolicies, query$4_getCompetitionDateRange as getCompetitionDateRange, query$4_getCompetitionPenalties as getCompetitionPenalties, query$4_getPolicyDefinitions as getPolicyDefinitions, query$4_getTournamentInfo as getTournamentInfo, query$4_getTournamentPenalties as getTournamentPenalties, query$4_getTournamentPersons as getTournamentPersons, query$4_getTournamentStructures as getTournamentStructures, query$4_getTournamentTimeItem as getTournamentTimeItem };
|
|
7487
|
+
export { query$4_analyzeDraws as analyzeDraws, query$4_analyzeTournament as analyzeTournament, query$4_getAggregateTeamResults as getAggregateTeamResults, query$4_getAllowedDrawTypes as getAllowedDrawTypes, query$4_getAllowedMatchUpFormats as getAllowedMatchUpFormats, query$4_getAppliedPolicies as getAppliedPolicies, query$4_getCompetitionDateRange as getCompetitionDateRange, query$4_getCompetitionPenalties as getCompetitionPenalties, query$4_getPolicyDefinitions as getPolicyDefinitions, query$4_getTournamentInfo as getTournamentInfo, query$4_getTournamentPenalties as getTournamentPenalties, query$4_getTournamentPersons as getTournamentPersons, query$4_getTournamentPoints as getTournamentPoints, query$4_getTournamentStructures as getTournamentStructures, query$4_getTournamentTimeItem as getTournamentTimeItem };
|
|
7431
7488
|
}
|
|
7432
7489
|
|
|
7433
7490
|
type GenderValidityCheckArgs = {
|
|
@@ -7710,6 +7767,7 @@ declare const index$9_filterMatchUps: typeof filterMatchUps;
|
|
|
7710
7767
|
declare const index$9_filterParticipants: typeof filterParticipants;
|
|
7711
7768
|
declare const index$9_findExtension: typeof findExtension;
|
|
7712
7769
|
declare const index$9_findVenue: typeof findVenue;
|
|
7770
|
+
declare const index$9_getAggregateTeamResults: typeof getAggregateTeamResults;
|
|
7713
7771
|
declare const index$9_getAllDrawMatchUps: typeof getAllDrawMatchUps;
|
|
7714
7772
|
declare const index$9_getAllEventData: typeof getAllEventData;
|
|
7715
7773
|
declare const index$9_getAllStructureMatchUps: typeof getAllStructureMatchUps;
|
|
@@ -7794,6 +7852,7 @@ declare const index$9_getTournamentIds: typeof getTournamentIds;
|
|
|
7794
7852
|
declare const index$9_getTournamentInfo: typeof getTournamentInfo;
|
|
7795
7853
|
declare const index$9_getTournamentPenalties: typeof getTournamentPenalties;
|
|
7796
7854
|
declare const index$9_getTournamentPersons: typeof getTournamentPersons;
|
|
7855
|
+
declare const index$9_getTournamentPoints: typeof getTournamentPoints;
|
|
7797
7856
|
declare const index$9_getTournamentPublishStatus: typeof getTournamentPublishStatus;
|
|
7798
7857
|
declare const index$9_getTournamentStructures: typeof getTournamentStructures;
|
|
7799
7858
|
declare const index$9_getTournamentTimeItem: typeof getTournamentTimeItem;
|
|
@@ -7818,7 +7877,7 @@ declare const index$9_validMatchUps: typeof validMatchUps;
|
|
|
7818
7877
|
declare const index$9_validateCollectionDefinition: typeof validateCollectionDefinition;
|
|
7819
7878
|
declare const index$9_validateLineUp: typeof validateLineUp;
|
|
7820
7879
|
declare namespace index$9 {
|
|
7821
|
-
export { index$9_addGoesTo as addGoesTo, index$9_allCompetitionMatchUps as allCompetitionMatchUps, index$9_allDrawMatchUps as allDrawMatchUps, index$9_allEventMatchUps as allEventMatchUps, index$9_allPlayoffPositionsFilled as allPlayoffPositionsFilled, index$9_allTournamentMatchUps as allTournamentMatchUps, index$9_analyzeDraws as analyzeDraws, index$9_analyzeMatchUp as analyzeMatchUp, index$9_analyzeTournament as analyzeTournament, index$9_bulkUpdatePublishedEventIds as bulkUpdatePublishedEventIds, index$9_calculateWinCriteria as calculateWinCriteria, index$9_categoryCanContain as categoryCanContain, index$9_checkMatchUpIsComplete as checkMatchUpIsComplete, index$9_checkValidEntries as checkValidEntries, index$9_compareTieFormats as compareTieFormats, index$9_competitionScheduleMatchUps as competitionScheduleMatchUps, index$9_courtGridRows as courtGridRows, index$9_credits as credits, index$9_drawMatchUps as drawMatchUps, index$9_eventMatchUps as eventMatchUps, index$9_filterMatchUps as filterMatchUps, index$9_filterParticipants as filterParticipants, publicFindDrawDefinition as findDrawDefinition, index$9_findExtension as findExtension, index$9_findVenue as findVenue, index$9_getAllDrawMatchUps as getAllDrawMatchUps, index$9_getAllEventData as getAllEventData, index$9_getAllStructureMatchUps as getAllStructureMatchUps, index$9_getAllowedDrawTypes as getAllowedDrawTypes, index$9_getAllowedMatchUpFormats as getAllowedMatchUpFormats, index$9_getAppliedPolicies as getAppliedPolicies, index$9_getAssignedParticipantIds as getAssignedParticipantIds, index$9_getAvailableMatchUpsCount as getAvailableMatchUpsCount, index$9_getAvailablePlayoffProfiles as getAvailablePlayoffProfiles, index$9_getCategoryAgeDetails as getCategoryAgeDetails, index$9_getCheckedInParticipantIds as getCheckedInParticipantIds, index$9_getCompetitionDateRange as getCompetitionDateRange, index$9_getCompetitionMatchUps as getCompetitionMatchUps, index$9_getCompetitionParticipants as getCompetitionParticipants, index$9_getCompetitionPenalties as getCompetitionPenalties, index$9_getCompetitionVenues as getCompetitionVenues, index$9_getCourtInfo as getCourtInfo, index$9_getCourts as getCourts, index$9_getDrawData as getDrawData, index$9_getDrawDefinitionTimeItem as getDrawDefinitionTimeItem, index$9_getDrawParticipantRepresentativeIds as getDrawParticipantRepresentativeIds, index$9_getDrawStructures as getDrawStructures, index$9_getDrawTypeCoercion as getDrawTypeCoercion, index$9_getEligibleVoluntaryConsolationParticipants as getEligibleVoluntaryConsolationParticipants, index$9_getEntriesAndSeedsCount as getEntriesAndSeedsCount, index$9_getEvent as getEvent, index$9_getEventData as getEventData, index$9_getEventMatchUpFormatTiming as getEventMatchUpFormatTiming, index$9_getEventProperties as getEventProperties, index$9_getEventPublishStatus as getEventPublishStatus, index$9_getEventStructures as getEventStructures, index$9_getEventTimeItem as getEventTimeItem, index$9_getEvents as getEvents, index$9_getFlightProfile as getFlightProfile, index$9_getHomeParticipantId as getHomeParticipantId, index$9_getLinkedTournamentIds as getLinkedTournamentIds, index$9_getMatchUpCompetitiveProfile as getMatchUpCompetitiveProfile, index$9_getMatchUpContextIds as getMatchUpContextIds, index$9_getMatchUpDailyLimits as getMatchUpDailyLimits, index$9_getMatchUpDailyLimitsUpdate as getMatchUpDailyLimitsUpdate, index$9_getMatchUpDependencies as getMatchUpDependencies, index$9_getMatchUpFormat as getMatchUpFormat, index$9_getMatchUpFormatTiming as getMatchUpFormatTiming, index$9_getMatchUpFormatTimingUpdate as getMatchUpFormatTimingUpdate, index$9_getMatchUpScheduleDetails as getMatchUpScheduleDetails, index$9_getMatchUpType as getMatchUpType, index$9_getMatchUpsMap as getMatchUpsMap, index$9_getMatchUpsStats as getMatchUpsStats, index$9_getMaxEntryPosition as getMaxEntryPosition, index$9_getModifiedMatchUpFormatTiming as getModifiedMatchUpFormatTiming, index$9_getPairedParticipant as getPairedParticipant, index$9_getParticipantEventDetails as getParticipantEventDetails, index$9_getParticipantIdFinishingPositions as getParticipantIdFinishingPositions, index$9_getParticipantMembership as getParticipantMembership, index$9_getParticipantResults as getParticipantResults, index$9_getParticipantScaleItem as getParticipantScaleItem, index$9_getParticipantSchedules as getParticipantSchedules, index$9_getParticipantSignInStatus as getParticipantSignInStatus, index$9_getParticipantTimeItem as getParticipantTimeItem, index$9_getParticipants as getParticipants, index$9_getPersonRequests as getPersonRequests, index$9_getPolicyDefinitions as getPolicyDefinitions, index$9_getPositionAssignments as getPositionAssignments, index$9_getPositionsPlayedOff as getPositionsPlayedOff, index$9_getPredictiveAccuracy as getPredictiveAccuracy, index$9_getProfileRounds as getProfileRounds, index$9_getPublishState as getPublishState, index$9_getRoundMatchUps as getRoundMatchUps, index$9_getRounds as getRounds, index$9_getScaleValues as getScaleValues, index$9_getScaledEntries as getScaledEntries, index$9_getScheduledRoundsDetails as getScheduledRoundsDetails, index$9_getSchedulingProfile as getSchedulingProfile, index$9_getSchedulingProfileIssues as getSchedulingProfileIssues, index$9_getSeedingThresholds as getSeedingThresholds, index$9_getSeedsCount as getSeedsCount, index$9_getStructureSeedAssignments as getStructureSeedAssignments, index$9_getTeamLineUp as getTeamLineUp, index$9_getTieFormat as getTieFormat, index$9_getTimeItem as getTimeItem, index$9_getTournamentIds as getTournamentIds, index$9_getTournamentInfo as getTournamentInfo, index$9_getTournamentPenalties as getTournamentPenalties, index$9_getTournamentPersons as getTournamentPersons, index$9_getTournamentPublishStatus as getTournamentPublishStatus, index$9_getTournamentStructures as getTournamentStructures, index$9_getTournamentTimeItem as getTournamentTimeItem, index$9_getValidGroupSizes as getValidGroupSizes, index$9_getVenueData as getVenueData, index$9_getVenuesAndCourts as getVenuesAndCourts, index$9_isAdHoc as isAdHoc, index$9_isCompletedStructure as isCompletedStructure, index$9_isValidForQualifying as isValidForQualifying, index$9_isValidMatchUpFormat as isValidMatchUpFormat, index$9_matchUpActions as matchUpActions, index$9_participantScaleItem as participantScaleItem, index$9_participantScheduledMatchUps as participantScheduledMatchUps, index$9_positionActions as positionActions, index$9_publicFindCourt as publicFindCourt, index$9_publicFindVenue as publicFindVenue, index$9_tallyParticipantResults as tallyParticipantResults, index$9_tieFormatGenderValidityCheck as tieFormatGenderValidityCheck, index$9_tournamentMatchUps as tournamentMatchUps, index$9_validMatchUp as validMatchUp, index$9_validMatchUps as validMatchUps, index$9_validateCollectionDefinition as validateCollectionDefinition, index$9_validateLineUp as validateLineUp };
|
|
7880
|
+
export { index$9_addGoesTo as addGoesTo, index$9_allCompetitionMatchUps as allCompetitionMatchUps, index$9_allDrawMatchUps as allDrawMatchUps, index$9_allEventMatchUps as allEventMatchUps, index$9_allPlayoffPositionsFilled as allPlayoffPositionsFilled, index$9_allTournamentMatchUps as allTournamentMatchUps, index$9_analyzeDraws as analyzeDraws, index$9_analyzeMatchUp as analyzeMatchUp, index$9_analyzeTournament as analyzeTournament, index$9_bulkUpdatePublishedEventIds as bulkUpdatePublishedEventIds, index$9_calculateWinCriteria as calculateWinCriteria, index$9_categoryCanContain as categoryCanContain, index$9_checkMatchUpIsComplete as checkMatchUpIsComplete, index$9_checkValidEntries as checkValidEntries, index$9_compareTieFormats as compareTieFormats, index$9_competitionScheduleMatchUps as competitionScheduleMatchUps, index$9_courtGridRows as courtGridRows, index$9_credits as credits, index$9_drawMatchUps as drawMatchUps, index$9_eventMatchUps as eventMatchUps, index$9_filterMatchUps as filterMatchUps, index$9_filterParticipants as filterParticipants, publicFindDrawDefinition as findDrawDefinition, index$9_findExtension as findExtension, index$9_findVenue as findVenue, index$9_getAggregateTeamResults as getAggregateTeamResults, index$9_getAllDrawMatchUps as getAllDrawMatchUps, index$9_getAllEventData as getAllEventData, index$9_getAllStructureMatchUps as getAllStructureMatchUps, index$9_getAllowedDrawTypes as getAllowedDrawTypes, index$9_getAllowedMatchUpFormats as getAllowedMatchUpFormats, index$9_getAppliedPolicies as getAppliedPolicies, index$9_getAssignedParticipantIds as getAssignedParticipantIds, index$9_getAvailableMatchUpsCount as getAvailableMatchUpsCount, index$9_getAvailablePlayoffProfiles as getAvailablePlayoffProfiles, index$9_getCategoryAgeDetails as getCategoryAgeDetails, index$9_getCheckedInParticipantIds as getCheckedInParticipantIds, index$9_getCompetitionDateRange as getCompetitionDateRange, index$9_getCompetitionMatchUps as getCompetitionMatchUps, index$9_getCompetitionParticipants as getCompetitionParticipants, index$9_getCompetitionPenalties as getCompetitionPenalties, index$9_getCompetitionVenues as getCompetitionVenues, index$9_getCourtInfo as getCourtInfo, index$9_getCourts as getCourts, index$9_getDrawData as getDrawData, index$9_getDrawDefinitionTimeItem as getDrawDefinitionTimeItem, index$9_getDrawParticipantRepresentativeIds as getDrawParticipantRepresentativeIds, index$9_getDrawStructures as getDrawStructures, index$9_getDrawTypeCoercion as getDrawTypeCoercion, index$9_getEligibleVoluntaryConsolationParticipants as getEligibleVoluntaryConsolationParticipants, index$9_getEntriesAndSeedsCount as getEntriesAndSeedsCount, index$9_getEvent as getEvent, index$9_getEventData as getEventData, index$9_getEventMatchUpFormatTiming as getEventMatchUpFormatTiming, index$9_getEventProperties as getEventProperties, index$9_getEventPublishStatus as getEventPublishStatus, index$9_getEventStructures as getEventStructures, index$9_getEventTimeItem as getEventTimeItem, index$9_getEvents as getEvents, index$9_getFlightProfile as getFlightProfile, index$9_getHomeParticipantId as getHomeParticipantId, index$9_getLinkedTournamentIds as getLinkedTournamentIds, index$9_getMatchUpCompetitiveProfile as getMatchUpCompetitiveProfile, index$9_getMatchUpContextIds as getMatchUpContextIds, index$9_getMatchUpDailyLimits as getMatchUpDailyLimits, index$9_getMatchUpDailyLimitsUpdate as getMatchUpDailyLimitsUpdate, index$9_getMatchUpDependencies as getMatchUpDependencies, index$9_getMatchUpFormat as getMatchUpFormat, index$9_getMatchUpFormatTiming as getMatchUpFormatTiming, index$9_getMatchUpFormatTimingUpdate as getMatchUpFormatTimingUpdate, index$9_getMatchUpScheduleDetails as getMatchUpScheduleDetails, index$9_getMatchUpType as getMatchUpType, index$9_getMatchUpsMap as getMatchUpsMap, index$9_getMatchUpsStats as getMatchUpsStats, index$9_getMaxEntryPosition as getMaxEntryPosition, index$9_getModifiedMatchUpFormatTiming as getModifiedMatchUpFormatTiming, index$9_getPairedParticipant as getPairedParticipant, index$9_getParticipantEventDetails as getParticipantEventDetails, index$9_getParticipantIdFinishingPositions as getParticipantIdFinishingPositions, index$9_getParticipantMembership as getParticipantMembership, index$9_getParticipantResults as getParticipantResults, index$9_getParticipantScaleItem as getParticipantScaleItem, index$9_getParticipantSchedules as getParticipantSchedules, index$9_getParticipantSignInStatus as getParticipantSignInStatus, index$9_getParticipantTimeItem as getParticipantTimeItem, index$9_getParticipants as getParticipants, index$9_getPersonRequests as getPersonRequests, index$9_getPolicyDefinitions as getPolicyDefinitions, index$9_getPositionAssignments as getPositionAssignments, index$9_getPositionsPlayedOff as getPositionsPlayedOff, index$9_getPredictiveAccuracy as getPredictiveAccuracy, index$9_getProfileRounds as getProfileRounds, index$9_getPublishState as getPublishState, index$9_getRoundMatchUps as getRoundMatchUps, index$9_getRounds as getRounds, index$9_getScaleValues as getScaleValues, index$9_getScaledEntries as getScaledEntries, index$9_getScheduledRoundsDetails as getScheduledRoundsDetails, index$9_getSchedulingProfile as getSchedulingProfile, index$9_getSchedulingProfileIssues as getSchedulingProfileIssues, index$9_getSeedingThresholds as getSeedingThresholds, index$9_getSeedsCount as getSeedsCount, index$9_getStructureSeedAssignments as getStructureSeedAssignments, index$9_getTeamLineUp as getTeamLineUp, index$9_getTieFormat as getTieFormat, index$9_getTimeItem as getTimeItem, index$9_getTournamentIds as getTournamentIds, index$9_getTournamentInfo as getTournamentInfo, index$9_getTournamentPenalties as getTournamentPenalties, index$9_getTournamentPersons as getTournamentPersons, index$9_getTournamentPoints as getTournamentPoints, index$9_getTournamentPublishStatus as getTournamentPublishStatus, index$9_getTournamentStructures as getTournamentStructures, index$9_getTournamentTimeItem as getTournamentTimeItem, index$9_getValidGroupSizes as getValidGroupSizes, index$9_getVenueData as getVenueData, index$9_getVenuesAndCourts as getVenuesAndCourts, index$9_isAdHoc as isAdHoc, index$9_isCompletedStructure as isCompletedStructure, index$9_isValidForQualifying as isValidForQualifying, index$9_isValidMatchUpFormat as isValidMatchUpFormat, index$9_matchUpActions as matchUpActions, index$9_participantScaleItem as participantScaleItem, index$9_participantScheduledMatchUps as participantScheduledMatchUps, index$9_positionActions as positionActions, index$9_publicFindCourt as publicFindCourt, index$9_publicFindVenue as publicFindVenue, index$9_tallyParticipantResults as tallyParticipantResults, index$9_tieFormatGenderValidityCheck as tieFormatGenderValidityCheck, index$9_tournamentMatchUps as tournamentMatchUps, index$9_validMatchUp as validMatchUp, index$9_validMatchUps as validMatchUps, index$9_validateCollectionDefinition as validateCollectionDefinition, index$9_validateLineUp as validateLineUp };
|
|
7822
7881
|
}
|
|
7823
7882
|
|
|
7824
7883
|
type StatCounters = {
|
|
@@ -9089,9 +9148,272 @@ declare namespace index$5 {
|
|
|
9089
9148
|
|
|
9090
9149
|
declare function createTournamentRecord(params: any): any;
|
|
9091
9150
|
|
|
9151
|
+
type CopyTournamentRecordArgs = {
|
|
9152
|
+
tournamentRecord: Tournament;
|
|
9153
|
+
copyParticipants?: boolean;
|
|
9154
|
+
tournamentName: string;
|
|
9155
|
+
startDate: string;
|
|
9156
|
+
endDate?: string;
|
|
9157
|
+
};
|
|
9158
|
+
declare function copyTournamentRecord(params: CopyTournamentRecordArgs): (ResultType & {
|
|
9159
|
+
valid?: boolean | undefined;
|
|
9160
|
+
}) | {
|
|
9161
|
+
tournamentRecord: {
|
|
9162
|
+
participants: any[];
|
|
9163
|
+
parentOrganisation: {
|
|
9164
|
+
onlineResources?: OnlineResource[] | undefined;
|
|
9165
|
+
organisationAbbreviation?: string | undefined;
|
|
9166
|
+
parentOrganisationId?: string | undefined;
|
|
9167
|
+
extensions?: Extension[] | undefined;
|
|
9168
|
+
organisationName?: string | undefined;
|
|
9169
|
+
organisationId?: string | undefined;
|
|
9170
|
+
notes?: string | undefined;
|
|
9171
|
+
};
|
|
9172
|
+
events: any[];
|
|
9173
|
+
weekdays: {
|
|
9174
|
+
[x: number]: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";
|
|
9175
|
+
length?: number | undefined;
|
|
9176
|
+
toString?: (() => string) | undefined;
|
|
9177
|
+
toLocaleString?: (() => string) | undefined;
|
|
9178
|
+
pop?: (() => "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined) | undefined;
|
|
9179
|
+
push?: ((...items: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => number) | undefined;
|
|
9180
|
+
concat?: {
|
|
9181
|
+
(...items: ConcatArray<"MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN">[]): ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[];
|
|
9182
|
+
(...items: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | ConcatArray<"MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN">)[]): ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[];
|
|
9183
|
+
} | undefined;
|
|
9184
|
+
join?: ((separator?: string | undefined) => string) | undefined;
|
|
9185
|
+
reverse?: (() => ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) | undefined;
|
|
9186
|
+
shift?: (() => "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined) | undefined;
|
|
9187
|
+
slice?: ((start?: number | undefined, end?: number | undefined) => ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) | undefined;
|
|
9188
|
+
sort?: ((compareFn?: ((a: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", b: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN") => number) | undefined) => ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) | undefined;
|
|
9189
|
+
splice?: {
|
|
9190
|
+
(start: number, deleteCount?: number | undefined): ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[];
|
|
9191
|
+
(start: number, deleteCount: number, ...items: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]): ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[];
|
|
9192
|
+
} | undefined;
|
|
9193
|
+
unshift?: ((...items: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => number) | undefined;
|
|
9194
|
+
indexOf?: ((searchElement: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", fromIndex?: number | undefined) => number) | undefined;
|
|
9195
|
+
lastIndexOf?: ((searchElement: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", fromIndex?: number | undefined) => number) | undefined;
|
|
9196
|
+
every?: {
|
|
9197
|
+
<S extends "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN">(predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => value is S, thisArg?: any): this is S[];
|
|
9198
|
+
(predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => unknown, thisArg?: any): boolean;
|
|
9199
|
+
} | undefined;
|
|
9200
|
+
some?: ((predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => unknown, thisArg?: any) => boolean) | undefined;
|
|
9201
|
+
forEach?: ((callbackfn: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => void, thisArg?: any) => void) | undefined;
|
|
9202
|
+
map?: (<U>(callbackfn: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => U, thisArg?: any) => U[]) | undefined;
|
|
9203
|
+
filter?: {
|
|
9204
|
+
<S_1 extends "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN">(predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => value is S_1, thisArg?: any): S_1[];
|
|
9205
|
+
(predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => unknown, thisArg?: any): ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[];
|
|
9206
|
+
} | undefined;
|
|
9207
|
+
reduce?: {
|
|
9208
|
+
(callbackfn: (previousValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentIndex: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN"): "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";
|
|
9209
|
+
(callbackfn: (previousValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentIndex: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", initialValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN"): "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";
|
|
9210
|
+
<U_1>(callbackfn: (previousValue: U_1, currentValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentIndex: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => U_1, initialValue: U_1): U_1;
|
|
9211
|
+
} | undefined;
|
|
9212
|
+
reduceRight?: {
|
|
9213
|
+
(callbackfn: (previousValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentIndex: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN"): "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";
|
|
9214
|
+
(callbackfn: (previousValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentIndex: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", initialValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN"): "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";
|
|
9215
|
+
<U_2>(callbackfn: (previousValue: U_2, currentValue: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", currentIndex: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => U_2, initialValue: U_2): U_2;
|
|
9216
|
+
} | undefined;
|
|
9217
|
+
find?: {
|
|
9218
|
+
<S_2 extends "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN">(predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, obj: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => value is S_2, thisArg?: any): S_2 | undefined;
|
|
9219
|
+
(predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, obj: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => unknown, thisArg?: any): "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined;
|
|
9220
|
+
} | undefined;
|
|
9221
|
+
findIndex?: ((predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, obj: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => unknown, thisArg?: any) => number) | undefined;
|
|
9222
|
+
fill?: ((value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", start?: number | undefined, end?: number | undefined) => ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) | undefined;
|
|
9223
|
+
copyWithin?: ((target: number, start: number, end?: number | undefined) => ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) | undefined;
|
|
9224
|
+
entries?: (() => IterableIterator<[number, "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN"]>) | undefined;
|
|
9225
|
+
keys?: (() => IterableIterator<number>) | undefined;
|
|
9226
|
+
values?: (() => IterableIterator<"MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN">) | undefined;
|
|
9227
|
+
includes?: ((searchElement: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", fromIndex?: number | undefined) => boolean) | undefined;
|
|
9228
|
+
flatMap?: (<U_3, This = undefined>(callback: (this: This, value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | undefined;
|
|
9229
|
+
flat?: (<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]) | undefined;
|
|
9230
|
+
at?: ((index: number) => "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined) | undefined;
|
|
9231
|
+
findLast?: {
|
|
9232
|
+
<S_3 extends "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN">(predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => value is S_3, thisArg?: any): S_3 | undefined;
|
|
9233
|
+
(predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => unknown, thisArg?: any): "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined;
|
|
9234
|
+
} | undefined;
|
|
9235
|
+
findLastIndex?: ((predicate: (value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", index: number, array: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) => unknown, thisArg?: any) => number) | undefined;
|
|
9236
|
+
toReversed?: (() => ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) | undefined;
|
|
9237
|
+
toSorted?: ((compareFn?: ((a: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN", b: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN") => number) | undefined) => ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) | undefined;
|
|
9238
|
+
toSpliced?: {
|
|
9239
|
+
(start: number, deleteCount: number, ...items: ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]): ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[];
|
|
9240
|
+
(start: number, deleteCount?: number | undefined): ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[];
|
|
9241
|
+
} | undefined;
|
|
9242
|
+
with?: ((index: number, value: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN") => ("MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN")[]) | undefined;
|
|
9243
|
+
[Symbol.iterator]?: (() => IterableIterator<"MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN">) | undefined;
|
|
9244
|
+
[Symbol.unscopables]?: {
|
|
9245
|
+
[x: number]: boolean | undefined;
|
|
9246
|
+
length?: boolean | undefined;
|
|
9247
|
+
toString?: boolean | undefined;
|
|
9248
|
+
toLocaleString?: boolean | undefined;
|
|
9249
|
+
pop?: boolean | undefined;
|
|
9250
|
+
push?: boolean | undefined;
|
|
9251
|
+
concat?: boolean | undefined;
|
|
9252
|
+
join?: boolean | undefined;
|
|
9253
|
+
reverse?: boolean | undefined;
|
|
9254
|
+
shift?: boolean | undefined;
|
|
9255
|
+
slice?: boolean | undefined;
|
|
9256
|
+
sort?: boolean | undefined;
|
|
9257
|
+
splice?: boolean | undefined;
|
|
9258
|
+
unshift?: boolean | undefined;
|
|
9259
|
+
indexOf?: boolean | undefined;
|
|
9260
|
+
lastIndexOf?: boolean | undefined;
|
|
9261
|
+
every?: boolean | undefined;
|
|
9262
|
+
some?: boolean | undefined;
|
|
9263
|
+
forEach?: boolean | undefined;
|
|
9264
|
+
map?: boolean | undefined;
|
|
9265
|
+
filter?: boolean | undefined;
|
|
9266
|
+
reduce?: boolean | undefined;
|
|
9267
|
+
reduceRight?: boolean | undefined;
|
|
9268
|
+
find?: boolean | undefined;
|
|
9269
|
+
findIndex?: boolean | undefined;
|
|
9270
|
+
fill?: boolean | undefined;
|
|
9271
|
+
copyWithin?: boolean | undefined;
|
|
9272
|
+
entries?: boolean | undefined;
|
|
9273
|
+
keys?: boolean | undefined;
|
|
9274
|
+
values?: boolean | undefined;
|
|
9275
|
+
includes?: boolean | undefined;
|
|
9276
|
+
flatMap?: boolean | undefined;
|
|
9277
|
+
flat?: boolean | undefined;
|
|
9278
|
+
at?: boolean | undefined;
|
|
9279
|
+
findLast?: boolean | undefined;
|
|
9280
|
+
findLastIndex?: boolean | undefined;
|
|
9281
|
+
toReversed?: boolean | undefined;
|
|
9282
|
+
toSorted?: boolean | undefined;
|
|
9283
|
+
toSpliced?: boolean | undefined;
|
|
9284
|
+
with?: boolean | undefined;
|
|
9285
|
+
[Symbol.iterator]?: boolean | undefined;
|
|
9286
|
+
readonly [Symbol.unscopables]?: boolean | undefined;
|
|
9287
|
+
} | undefined;
|
|
9288
|
+
};
|
|
9289
|
+
venues: {
|
|
9290
|
+
[x: number]: Venue;
|
|
9291
|
+
length?: number | undefined;
|
|
9292
|
+
toString?: (() => string) | undefined;
|
|
9293
|
+
toLocaleString?: (() => string) | undefined;
|
|
9294
|
+
pop?: (() => Venue | undefined) | undefined;
|
|
9295
|
+
push?: ((...items: Venue[]) => number) | undefined;
|
|
9296
|
+
concat?: {
|
|
9297
|
+
(...items: ConcatArray<Venue>[]): Venue[];
|
|
9298
|
+
(...items: (Venue | ConcatArray<Venue>)[]): Venue[];
|
|
9299
|
+
} | undefined;
|
|
9300
|
+
join?: ((separator?: string | undefined) => string) | undefined;
|
|
9301
|
+
reverse?: (() => Venue[]) | undefined;
|
|
9302
|
+
shift?: (() => Venue | undefined) | undefined;
|
|
9303
|
+
slice?: ((start?: number | undefined, end?: number | undefined) => Venue[]) | undefined;
|
|
9304
|
+
sort?: ((compareFn?: ((a: Venue, b: Venue) => number) | undefined) => Venue[]) | undefined;
|
|
9305
|
+
splice?: {
|
|
9306
|
+
(start: number, deleteCount?: number | undefined): Venue[];
|
|
9307
|
+
(start: number, deleteCount: number, ...items: Venue[]): Venue[];
|
|
9308
|
+
} | undefined;
|
|
9309
|
+
unshift?: ((...items: Venue[]) => number) | undefined;
|
|
9310
|
+
indexOf?: ((searchElement: Venue, fromIndex?: number | undefined) => number) | undefined;
|
|
9311
|
+
lastIndexOf?: ((searchElement: Venue, fromIndex?: number | undefined) => number) | undefined;
|
|
9312
|
+
every?: {
|
|
9313
|
+
<S_4 extends Venue>(predicate: (value: Venue, index: number, array: Venue[]) => value is S_4, thisArg?: any): this is S_4[];
|
|
9314
|
+
(predicate: (value: Venue, index: number, array: Venue[]) => unknown, thisArg?: any): boolean;
|
|
9315
|
+
} | undefined;
|
|
9316
|
+
some?: ((predicate: (value: Venue, index: number, array: Venue[]) => unknown, thisArg?: any) => boolean) | undefined;
|
|
9317
|
+
forEach?: ((callbackfn: (value: Venue, index: number, array: Venue[]) => void, thisArg?: any) => void) | undefined;
|
|
9318
|
+
map?: (<U_4>(callbackfn: (value: Venue, index: number, array: Venue[]) => U_4, thisArg?: any) => U_4[]) | undefined;
|
|
9319
|
+
filter?: {
|
|
9320
|
+
<S_5 extends Venue>(predicate: (value: Venue, index: number, array: Venue[]) => value is S_5, thisArg?: any): S_5[];
|
|
9321
|
+
(predicate: (value: Venue, index: number, array: Venue[]) => unknown, thisArg?: any): Venue[];
|
|
9322
|
+
} | undefined;
|
|
9323
|
+
reduce?: {
|
|
9324
|
+
(callbackfn: (previousValue: Venue, currentValue: Venue, currentIndex: number, array: Venue[]) => Venue): Venue;
|
|
9325
|
+
(callbackfn: (previousValue: Venue, currentValue: Venue, currentIndex: number, array: Venue[]) => Venue, initialValue: Venue): Venue;
|
|
9326
|
+
<U_5>(callbackfn: (previousValue: U_5, currentValue: Venue, currentIndex: number, array: Venue[]) => U_5, initialValue: U_5): U_5;
|
|
9327
|
+
} | undefined;
|
|
9328
|
+
reduceRight?: {
|
|
9329
|
+
(callbackfn: (previousValue: Venue, currentValue: Venue, currentIndex: number, array: Venue[]) => Venue): Venue;
|
|
9330
|
+
(callbackfn: (previousValue: Venue, currentValue: Venue, currentIndex: number, array: Venue[]) => Venue, initialValue: Venue): Venue;
|
|
9331
|
+
<U_6>(callbackfn: (previousValue: U_6, currentValue: Venue, currentIndex: number, array: Venue[]) => U_6, initialValue: U_6): U_6;
|
|
9332
|
+
} | undefined;
|
|
9333
|
+
find?: {
|
|
9334
|
+
<S_6 extends Venue>(predicate: (value: Venue, index: number, obj: Venue[]) => value is S_6, thisArg?: any): S_6 | undefined;
|
|
9335
|
+
(predicate: (value: Venue, index: number, obj: Venue[]) => unknown, thisArg?: any): Venue | undefined;
|
|
9336
|
+
} | undefined;
|
|
9337
|
+
findIndex?: ((predicate: (value: Venue, index: number, obj: Venue[]) => unknown, thisArg?: any) => number) | undefined;
|
|
9338
|
+
fill?: ((value: Venue, start?: number | undefined, end?: number | undefined) => Venue[]) | undefined;
|
|
9339
|
+
copyWithin?: ((target: number, start: number, end?: number | undefined) => Venue[]) | undefined;
|
|
9340
|
+
entries?: (() => IterableIterator<[number, Venue]>) | undefined;
|
|
9341
|
+
keys?: (() => IterableIterator<number>) | undefined;
|
|
9342
|
+
values?: (() => IterableIterator<Venue>) | undefined;
|
|
9343
|
+
includes?: ((searchElement: Venue, fromIndex?: number | undefined) => boolean) | undefined;
|
|
9344
|
+
flatMap?: (<U_7, This_1 = undefined>(callback: (this: This_1, value: Venue, index: number, array: Venue[]) => U_7 | readonly U_7[], thisArg?: This_1 | undefined) => U_7[]) | undefined;
|
|
9345
|
+
flat?: (<A_1, D_1 extends number = 1>(this: A_1, depth?: D_1 | undefined) => FlatArray<A_1, D_1>[]) | undefined;
|
|
9346
|
+
at?: ((index: number) => Venue | undefined) | undefined;
|
|
9347
|
+
findLast?: {
|
|
9348
|
+
<S_7 extends Venue>(predicate: (value: Venue, index: number, array: Venue[]) => value is S_7, thisArg?: any): S_7 | undefined;
|
|
9349
|
+
(predicate: (value: Venue, index: number, array: Venue[]) => unknown, thisArg?: any): Venue | undefined;
|
|
9350
|
+
} | undefined;
|
|
9351
|
+
findLastIndex?: ((predicate: (value: Venue, index: number, array: Venue[]) => unknown, thisArg?: any) => number) | undefined;
|
|
9352
|
+
toReversed?: (() => Venue[]) | undefined;
|
|
9353
|
+
toSorted?: ((compareFn?: ((a: Venue, b: Venue) => number) | undefined) => Venue[]) | undefined;
|
|
9354
|
+
toSpliced?: {
|
|
9355
|
+
(start: number, deleteCount: number, ...items: Venue[]): Venue[];
|
|
9356
|
+
(start: number, deleteCount?: number | undefined): Venue[];
|
|
9357
|
+
} | undefined;
|
|
9358
|
+
with?: ((index: number, value: Venue) => Venue[]) | undefined;
|
|
9359
|
+
[Symbol.iterator]?: (() => IterableIterator<Venue>) | undefined;
|
|
9360
|
+
[Symbol.unscopables]?: {
|
|
9361
|
+
[x: number]: boolean | undefined;
|
|
9362
|
+
length?: boolean | undefined;
|
|
9363
|
+
toString?: boolean | undefined;
|
|
9364
|
+
toLocaleString?: boolean | undefined;
|
|
9365
|
+
pop?: boolean | undefined;
|
|
9366
|
+
push?: boolean | undefined;
|
|
9367
|
+
concat?: boolean | undefined;
|
|
9368
|
+
join?: boolean | undefined;
|
|
9369
|
+
reverse?: boolean | undefined;
|
|
9370
|
+
shift?: boolean | undefined;
|
|
9371
|
+
slice?: boolean | undefined;
|
|
9372
|
+
sort?: boolean | undefined;
|
|
9373
|
+
splice?: boolean | undefined;
|
|
9374
|
+
unshift?: boolean | undefined;
|
|
9375
|
+
indexOf?: boolean | undefined;
|
|
9376
|
+
lastIndexOf?: boolean | undefined;
|
|
9377
|
+
every?: boolean | undefined;
|
|
9378
|
+
some?: boolean | undefined;
|
|
9379
|
+
forEach?: boolean | undefined;
|
|
9380
|
+
map?: boolean | undefined;
|
|
9381
|
+
filter?: boolean | undefined;
|
|
9382
|
+
reduce?: boolean | undefined;
|
|
9383
|
+
reduceRight?: boolean | undefined;
|
|
9384
|
+
find?: boolean | undefined;
|
|
9385
|
+
findIndex?: boolean | undefined;
|
|
9386
|
+
fill?: boolean | undefined;
|
|
9387
|
+
copyWithin?: boolean | undefined;
|
|
9388
|
+
entries?: boolean | undefined;
|
|
9389
|
+
keys?: boolean | undefined;
|
|
9390
|
+
values?: boolean | undefined;
|
|
9391
|
+
includes?: boolean | undefined;
|
|
9392
|
+
flatMap?: boolean | undefined;
|
|
9393
|
+
flat?: boolean | undefined;
|
|
9394
|
+
at?: boolean | undefined;
|
|
9395
|
+
findLast?: boolean | undefined;
|
|
9396
|
+
findLastIndex?: boolean | undefined;
|
|
9397
|
+
toReversed?: boolean | undefined;
|
|
9398
|
+
toSorted?: boolean | undefined;
|
|
9399
|
+
toSpliced?: boolean | undefined;
|
|
9400
|
+
with?: boolean | undefined;
|
|
9401
|
+
[Symbol.iterator]?: boolean | undefined;
|
|
9402
|
+
readonly [Symbol.unscopables]?: boolean | undefined;
|
|
9403
|
+
} | undefined;
|
|
9404
|
+
};
|
|
9405
|
+
tournamentName: string;
|
|
9406
|
+
startDate: string;
|
|
9407
|
+
tournamentId: string;
|
|
9408
|
+
endDate: string;
|
|
9409
|
+
};
|
|
9410
|
+
success: boolean;
|
|
9411
|
+
};
|
|
9412
|
+
|
|
9413
|
+
declare const generate$1_copyTournamentRecord: typeof copyTournamentRecord;
|
|
9092
9414
|
declare const generate$1_createTournamentRecord: typeof createTournamentRecord;
|
|
9093
9415
|
declare namespace generate$1 {
|
|
9094
|
-
export { generate$1_createTournamentRecord as createTournamentRecord };
|
|
9416
|
+
export { generate$1_copyTournamentRecord as copyTournamentRecord, generate$1_createTournamentRecord as createTournamentRecord };
|
|
9095
9417
|
}
|
|
9096
9418
|
|
|
9097
9419
|
declare function setTournamentStatus({ tournamentRecord, status }: {
|
|
@@ -9406,7 +9728,9 @@ declare const index$4_addTournamentExtension: typeof addTournamentExtension;
|
|
|
9406
9728
|
declare const index$4_addTournamentTimeItem: typeof addTournamentTimeItem;
|
|
9407
9729
|
declare const index$4_analyzeDraws: typeof analyzeDraws;
|
|
9408
9730
|
declare const index$4_analyzeTournament: typeof analyzeTournament;
|
|
9731
|
+
declare const index$4_copyTournamentRecord: typeof copyTournamentRecord;
|
|
9409
9732
|
declare const index$4_createTournamentRecord: typeof createTournamentRecord;
|
|
9733
|
+
declare const index$4_getAggregateTeamResults: typeof getAggregateTeamResults;
|
|
9410
9734
|
declare const index$4_getAllowedDrawTypes: typeof getAllowedDrawTypes;
|
|
9411
9735
|
declare const index$4_getAllowedMatchUpFormats: typeof getAllowedMatchUpFormats;
|
|
9412
9736
|
declare const index$4_getAppliedPolicies: typeof getAppliedPolicies;
|
|
@@ -9416,6 +9740,7 @@ declare const index$4_getPolicyDefinitions: typeof getPolicyDefinitions;
|
|
|
9416
9740
|
declare const index$4_getTournamentInfo: typeof getTournamentInfo;
|
|
9417
9741
|
declare const index$4_getTournamentPenalties: typeof getTournamentPenalties;
|
|
9418
9742
|
declare const index$4_getTournamentPersons: typeof getTournamentPersons;
|
|
9743
|
+
declare const index$4_getTournamentPoints: typeof getTournamentPoints;
|
|
9419
9744
|
declare const index$4_getTournamentStructures: typeof getTournamentStructures;
|
|
9420
9745
|
declare const index$4_getTournamentTimeItem: typeof getTournamentTimeItem;
|
|
9421
9746
|
declare const index$4_removeDrawDefinitionExtension: typeof removeDrawDefinitionExtension;
|
|
@@ -9433,7 +9758,7 @@ declare const index$4_setTournamentNotes: typeof setTournamentNotes;
|
|
|
9433
9758
|
declare const index$4_setTournamentStartDate: typeof setTournamentStartDate;
|
|
9434
9759
|
declare const index$4_setTournamentStatus: typeof setTournamentStatus;
|
|
9435
9760
|
declare namespace index$4 {
|
|
9436
|
-
export { index$4_addDrawDefinitionExtension as addDrawDefinitionExtension, index$4_addEventExtension as addEventExtension, index$4_addEventTimeItem as addEventTimeItem, index$4_addExtension as addExtension, index$4_addNotes as addNotes, index$4_addOnlineResource as addOnlineResource, index$4_addParticipantExtension as addParticipantExtension, index$4_addParticipantTimeItem as addParticipantTimeItem, index$4_addTimeItem as addTimeItem, index$4_addTournamentExtension as addTournamentExtension, index$4_addTournamentTimeItem as addTournamentTimeItem, index$4_analyzeDraws as analyzeDraws, index$4_analyzeTournament as analyzeTournament, index$4_createTournamentRecord as createTournamentRecord, generate$1 as generate, index$4_getAllowedDrawTypes as getAllowedDrawTypes, index$4_getAllowedMatchUpFormats as getAllowedMatchUpFormats, index$4_getAppliedPolicies as getAppliedPolicies, index$4_getCompetitionDateRange as getCompetitionDateRange, index$4_getCompetitionPenalties as getCompetitionPenalties, index$4_getPolicyDefinitions as getPolicyDefinitions, index$4_getTournamentInfo as getTournamentInfo, index$4_getTournamentPenalties as getTournamentPenalties, index$4_getTournamentPersons as getTournamentPersons, index$4_getTournamentStructures as getTournamentStructures, index$4_getTournamentTimeItem as getTournamentTimeItem, mutate$1 as mutate, query$4 as query, index$4_removeDrawDefinitionExtension as removeDrawDefinitionExtension, index$4_removeEventExtension as removeEventExtension, index$4_removeExtension as removeExtension, index$4_removeNotes as removeNotes, index$4_removeOnlineResource as removeOnlineResource, index$4_removeParticipantExtension as removeParticipantExtension, index$4_removeTournamentExtension as removeTournamentExtension, index$4_setTournamentCategories as setTournamentCategories, index$4_setTournamentDates as setTournamentDates, index$4_setTournamentEndDate as setTournamentEndDate, index$4_setTournamentName as setTournamentName, index$4_setTournamentNotes as setTournamentNotes, index$4_setTournamentStartDate as setTournamentStartDate, index$4_setTournamentStatus as setTournamentStatus };
|
|
9761
|
+
export { index$4_addDrawDefinitionExtension as addDrawDefinitionExtension, index$4_addEventExtension as addEventExtension, index$4_addEventTimeItem as addEventTimeItem, index$4_addExtension as addExtension, index$4_addNotes as addNotes, index$4_addOnlineResource as addOnlineResource, index$4_addParticipantExtension as addParticipantExtension, index$4_addParticipantTimeItem as addParticipantTimeItem, index$4_addTimeItem as addTimeItem, index$4_addTournamentExtension as addTournamentExtension, index$4_addTournamentTimeItem as addTournamentTimeItem, index$4_analyzeDraws as analyzeDraws, index$4_analyzeTournament as analyzeTournament, index$4_copyTournamentRecord as copyTournamentRecord, index$4_createTournamentRecord as createTournamentRecord, generate$1 as generate, index$4_getAggregateTeamResults as getAggregateTeamResults, index$4_getAllowedDrawTypes as getAllowedDrawTypes, index$4_getAllowedMatchUpFormats as getAllowedMatchUpFormats, index$4_getAppliedPolicies as getAppliedPolicies, index$4_getCompetitionDateRange as getCompetitionDateRange, index$4_getCompetitionPenalties as getCompetitionPenalties, index$4_getPolicyDefinitions as getPolicyDefinitions, index$4_getTournamentInfo as getTournamentInfo, index$4_getTournamentPenalties as getTournamentPenalties, index$4_getTournamentPersons as getTournamentPersons, index$4_getTournamentPoints as getTournamentPoints, index$4_getTournamentStructures as getTournamentStructures, index$4_getTournamentTimeItem as getTournamentTimeItem, mutate$1 as mutate, query$4 as query, index$4_removeDrawDefinitionExtension as removeDrawDefinitionExtension, index$4_removeEventExtension as removeEventExtension, index$4_removeExtension as removeExtension, index$4_removeNotes as removeNotes, index$4_removeOnlineResource as removeOnlineResource, index$4_removeParticipantExtension as removeParticipantExtension, index$4_removeTournamentExtension as removeTournamentExtension, index$4_setTournamentCategories as setTournamentCategories, index$4_setTournamentDates as setTournamentDates, index$4_setTournamentEndDate as setTournamentEndDate, index$4_setTournamentName as setTournamentName, index$4_setTournamentNotes as setTournamentNotes, index$4_setTournamentStartDate as setTournamentStartDate, index$4_setTournamentStatus as setTournamentStatus };
|
|
9437
9762
|
}
|
|
9438
9763
|
|
|
9439
9764
|
declare const generate_generateCourts: typeof generateCourts;
|
|
@@ -11279,6 +11604,7 @@ declare const topicConstants: {
|
|
|
11279
11604
|
ADD_MATCHUPS: string;
|
|
11280
11605
|
ADD_PARTICIPANTS: string;
|
|
11281
11606
|
ADD_SCALE_ITEMS: string;
|
|
11607
|
+
ADD_EVENT: string;
|
|
11282
11608
|
ADD_VENUE: string;
|
|
11283
11609
|
AUDIT: string;
|
|
11284
11610
|
DATA_ISSUE: string;
|