tods-competition-factory 2.0.0-beta.0 → 2.0.0-beta.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.
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.d.ts +174 -253
- package/dist/tods-competition-factory.development.cjs.js +580 -571
- 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 +1 -1
|
@@ -2802,15 +2802,6 @@ type AddCourtsArgs = {
|
|
|
2802
2802
|
dates: string[];
|
|
2803
2803
|
};
|
|
2804
2804
|
|
|
2805
|
-
declare function visualizeScheduledMatchUps({ scheduledMatchUps, showGlobalLog, }: {
|
|
2806
|
-
scheduledMatchUps: any;
|
|
2807
|
-
showGlobalLog: any;
|
|
2808
|
-
}): void;
|
|
2809
|
-
|
|
2810
|
-
declare function validateCategory({ category }: {
|
|
2811
|
-
category: any;
|
|
2812
|
-
}): any;
|
|
2813
|
-
|
|
2814
2805
|
/**
|
|
2815
2806
|
* generate a given number of UUIDs
|
|
2816
2807
|
*
|
|
@@ -2819,31 +2810,6 @@ declare function validateCategory({ category }: {
|
|
|
2819
2810
|
declare function UUIDS(count?: number): string[];
|
|
2820
2811
|
declare function UUID(): string;
|
|
2821
2812
|
|
|
2822
|
-
type GenderValidityCheckArgs = {
|
|
2823
|
-
referenceGender?: GenderUnion;
|
|
2824
|
-
matchUpType?: string;
|
|
2825
|
-
gender?: GenderUnion;
|
|
2826
|
-
};
|
|
2827
|
-
declare function tieFormatGenderValidityCheck(params: GenderValidityCheckArgs): ResultType;
|
|
2828
|
-
|
|
2829
|
-
declare function structureSort(a: Structure | undefined, b: Structure | undefined, config?: any): number;
|
|
2830
|
-
|
|
2831
|
-
declare function getRoundRobinGroupMatchUps({ drawPositions }: {
|
|
2832
|
-
drawPositions: any;
|
|
2833
|
-
}): {
|
|
2834
|
-
groupMatchUps: never[];
|
|
2835
|
-
uniqueMatchUpGroupings: any;
|
|
2836
|
-
};
|
|
2837
|
-
declare function drawPositionsHash(drawPositions: any): string;
|
|
2838
|
-
declare function groupRounds({ groupSize, drawPositionOffset }: {
|
|
2839
|
-
groupSize: any;
|
|
2840
|
-
drawPositionOffset: any;
|
|
2841
|
-
}): any[];
|
|
2842
|
-
declare function determineRoundNumber({ rounds, hash }: {
|
|
2843
|
-
rounds: any;
|
|
2844
|
-
hash: any;
|
|
2845
|
-
}): any;
|
|
2846
|
-
|
|
2847
2813
|
declare function numericSort(a: any, b: any): number;
|
|
2848
2814
|
|
|
2849
2815
|
/**
|
|
@@ -2870,76 +2836,6 @@ declare function isOdd(num: any): boolean | undefined;
|
|
|
2870
2836
|
declare function nextPowerOf2(n?: any): any;
|
|
2871
2837
|
declare function isConvertableInteger(n: any): boolean;
|
|
2872
2838
|
|
|
2873
|
-
type IsAdHocArgs = {
|
|
2874
|
-
drawDefinition?: DrawDefinition;
|
|
2875
|
-
structure?: any;
|
|
2876
|
-
};
|
|
2877
|
-
declare function isAdHoc({ drawDefinition, structure }: IsAdHocArgs): boolean;
|
|
2878
|
-
|
|
2879
|
-
type GetValidGroupSizesArgs = {
|
|
2880
|
-
groupSizeLimit?: number;
|
|
2881
|
-
drawSize: number;
|
|
2882
|
-
};
|
|
2883
|
-
declare function getValidGroupSizes({ drawSize, groupSizeLimit, }: GetValidGroupSizesArgs): ResultType & {
|
|
2884
|
-
validGroupSizes?: number[];
|
|
2885
|
-
};
|
|
2886
|
-
|
|
2887
|
-
type GetSeedingThresholdsArgs = {
|
|
2888
|
-
roundRobinGroupsCount?: number;
|
|
2889
|
-
participantsCount: number;
|
|
2890
|
-
};
|
|
2891
|
-
declare function getSeedingThresholds({ roundRobinGroupsCount, participantsCount, }: GetSeedingThresholdsArgs): ResultType & {
|
|
2892
|
-
seedingThresholds?: any;
|
|
2893
|
-
success?: boolean;
|
|
2894
|
-
};
|
|
2895
|
-
|
|
2896
|
-
type ScaleType = {
|
|
2897
|
-
scaleName: string;
|
|
2898
|
-
scaleDate: string;
|
|
2899
|
-
scaleValue: any;
|
|
2900
|
-
};
|
|
2901
|
-
type ScalesType = {
|
|
2902
|
-
[SINGLES_EVENT]?: ScaleType;
|
|
2903
|
-
[DOUBLES_EVENT]?: ScaleType;
|
|
2904
|
-
[TEAM_EVENT]?: ScaleType;
|
|
2905
|
-
};
|
|
2906
|
-
declare function getScaleValues({ participant }: {
|
|
2907
|
-
participant: any;
|
|
2908
|
-
}): {
|
|
2909
|
-
seedings: ScalesType;
|
|
2910
|
-
rankings: ScalesType;
|
|
2911
|
-
ratings: ScalesType;
|
|
2912
|
-
success: boolean;
|
|
2913
|
-
};
|
|
2914
|
-
|
|
2915
|
-
declare function getMatchUpContextIds({ matchUps, matchUpId }: {
|
|
2916
|
-
matchUps: any;
|
|
2917
|
-
matchUpId: any;
|
|
2918
|
-
}): {
|
|
2919
|
-
error: {
|
|
2920
|
-
message: string;
|
|
2921
|
-
code: string;
|
|
2922
|
-
};
|
|
2923
|
-
matchUpId?: undefined;
|
|
2924
|
-
drawId?: undefined;
|
|
2925
|
-
eventId?: undefined;
|
|
2926
|
-
structureId?: undefined;
|
|
2927
|
-
tournamentId?: undefined;
|
|
2928
|
-
} | {
|
|
2929
|
-
matchUpId: any;
|
|
2930
|
-
drawId: any;
|
|
2931
|
-
eventId: any;
|
|
2932
|
-
structureId: any;
|
|
2933
|
-
tournamentId: any;
|
|
2934
|
-
error?: undefined;
|
|
2935
|
-
};
|
|
2936
|
-
|
|
2937
|
-
type ParseArgs = {
|
|
2938
|
-
consideredDate?: string;
|
|
2939
|
-
category?: Category;
|
|
2940
|
-
};
|
|
2941
|
-
declare function getCategoryAgeDetails(params: ParseArgs): any;
|
|
2942
|
-
|
|
2943
2839
|
declare function generateTimeCode(index?: number): string;
|
|
2944
2840
|
|
|
2945
2841
|
/**
|
|
@@ -2971,13 +2867,6 @@ declare function JSON2CSV(arrayOfJSON?: any, config?: any): string | any[] | {
|
|
|
2971
2867
|
};
|
|
2972
2868
|
declare function flattenJSON(obj: any, keyJoiner?: string, path?: string[]): any;
|
|
2973
2869
|
|
|
2974
|
-
declare function dehydrateMatchUps({ tournamentRecord }: {
|
|
2975
|
-
tournamentRecord: any;
|
|
2976
|
-
}): {
|
|
2977
|
-
success?: boolean;
|
|
2978
|
-
error?: ErrorType;
|
|
2979
|
-
};
|
|
2980
|
-
|
|
2981
2870
|
declare function definedAttributes(obj: object, ignoreFalse?: boolean, ignoreEmptyArrays?: boolean, shallow?: boolean): any;
|
|
2982
2871
|
|
|
2983
2872
|
declare function getIsoDateString(schedule: any): any;
|
|
@@ -3007,60 +2896,8 @@ declare function generateHashCode(o: any): string | undefined;
|
|
|
3007
2896
|
|
|
3008
2897
|
declare function constantToString(str: any): any;
|
|
3009
2898
|
|
|
3010
|
-
type CompareTieFormatsArgs = {
|
|
3011
|
-
considerations?: any;
|
|
3012
|
-
descendant: TieFormat;
|
|
3013
|
-
ancestor: TieFormat;
|
|
3014
|
-
};
|
|
3015
|
-
declare function compareTieFormats({ considerations, descendant, ancestor, }: CompareTieFormatsArgs): {
|
|
3016
|
-
different: any;
|
|
3017
|
-
invalid: 0 | any[];
|
|
3018
|
-
success: boolean;
|
|
3019
|
-
matchUpFormatDifferences: any;
|
|
3020
|
-
matchUpCountDifference: number;
|
|
3021
|
-
descendantDifferences: any;
|
|
3022
|
-
ancestorDifferences: any;
|
|
3023
|
-
orderDifference: boolean;
|
|
3024
|
-
valueDifference: number;
|
|
3025
|
-
nameDifference: boolean;
|
|
3026
|
-
descendantDesc: any;
|
|
3027
|
-
ancestorDesc: any;
|
|
3028
|
-
};
|
|
3029
|
-
|
|
3030
|
-
type CalculateWinCriteriaArgs = {
|
|
3031
|
-
collectionGroups?: {
|
|
3032
|
-
groupValue?: number;
|
|
3033
|
-
groupNumber?: number;
|
|
3034
|
-
}[];
|
|
3035
|
-
collectionDefinitions?: CollectionDefinition[];
|
|
3036
|
-
};
|
|
3037
|
-
declare function calculateWinCriteria({ collectionDefinitions, collectionGroups, }: CalculateWinCriteriaArgs): {
|
|
3038
|
-
aggregateValue: boolean;
|
|
3039
|
-
valueGoal?: undefined;
|
|
3040
|
-
} | {
|
|
3041
|
-
valueGoal: number;
|
|
3042
|
-
aggregateValue?: undefined;
|
|
3043
|
-
};
|
|
3044
|
-
|
|
3045
2899
|
declare function attributeFilter(params?: any): any;
|
|
3046
2900
|
|
|
3047
|
-
type StructureActionsArgs = {
|
|
3048
|
-
drawDefinition: DrawDefinition;
|
|
3049
|
-
structureId: string;
|
|
3050
|
-
};
|
|
3051
|
-
type StructureQueryArgs = {
|
|
3052
|
-
drawDefinition: DrawDefinition;
|
|
3053
|
-
structure?: Structure;
|
|
3054
|
-
structureId?: string;
|
|
3055
|
-
};
|
|
3056
|
-
declare function isCompletedStructure(params: StructureQueryArgs): boolean;
|
|
3057
|
-
declare function allPlayoffPositionsFilled(params: StructureActionsArgs): boolean | {
|
|
3058
|
-
error: {
|
|
3059
|
-
message: string;
|
|
3060
|
-
code: string;
|
|
3061
|
-
};
|
|
3062
|
-
};
|
|
3063
|
-
|
|
3064
2901
|
declare function unique(arr: any): any;
|
|
3065
2902
|
declare function noNulls(arr: any): any;
|
|
3066
2903
|
declare function shuffleArray(arr: any): any;
|
|
@@ -3114,6 +2951,20 @@ declare function noNumeric(arr: any): any;
|
|
|
3114
2951
|
*/
|
|
3115
2952
|
declare function chunkByNth(arr: any[], chunksCount: number, shuttle?: boolean): any;
|
|
3116
2953
|
|
|
2954
|
+
declare function structureSort(a: Structure | undefined, b: Structure | undefined, config?: any): number;
|
|
2955
|
+
|
|
2956
|
+
declare function dehydrateMatchUps({ tournamentRecord }: {
|
|
2957
|
+
tournamentRecord: any;
|
|
2958
|
+
}): {
|
|
2959
|
+
success?: boolean;
|
|
2960
|
+
error?: ErrorType;
|
|
2961
|
+
};
|
|
2962
|
+
|
|
2963
|
+
declare function visualizeScheduledMatchUps({ scheduledMatchUps, showGlobalLog, }: {
|
|
2964
|
+
scheduledMatchUps: any;
|
|
2965
|
+
showGlobalLog: any;
|
|
2966
|
+
}): void;
|
|
2967
|
+
|
|
3117
2968
|
declare function setTournamentStatus({ tournamentRecord, status }: {
|
|
3118
2969
|
tournamentRecord: any;
|
|
3119
2970
|
status: any;
|
|
@@ -4617,6 +4468,137 @@ declare function getStructureReports({ firstFlightOnly, extensionProfiles, tourn
|
|
|
4617
4468
|
error?: undefined;
|
|
4618
4469
|
};
|
|
4619
4470
|
|
|
4471
|
+
declare function validateCategory({ category }: {
|
|
4472
|
+
category: any;
|
|
4473
|
+
}): any;
|
|
4474
|
+
|
|
4475
|
+
type GenderValidityCheckArgs = {
|
|
4476
|
+
referenceGender?: GenderUnion;
|
|
4477
|
+
matchUpType?: string;
|
|
4478
|
+
gender?: GenderUnion;
|
|
4479
|
+
};
|
|
4480
|
+
declare function tieFormatGenderValidityCheck(params: GenderValidityCheckArgs): ResultType;
|
|
4481
|
+
|
|
4482
|
+
declare function getRoundRobinGroupMatchUps({ drawPositions }: {
|
|
4483
|
+
drawPositions: any;
|
|
4484
|
+
}): {
|
|
4485
|
+
groupMatchUps: never[];
|
|
4486
|
+
uniqueMatchUpGroupings: any;
|
|
4487
|
+
};
|
|
4488
|
+
declare function drawPositionsHash(drawPositions: any): string;
|
|
4489
|
+
declare function groupRounds({ groupSize, drawPositionOffset }: {
|
|
4490
|
+
groupSize: any;
|
|
4491
|
+
drawPositionOffset: any;
|
|
4492
|
+
}): any[];
|
|
4493
|
+
declare function determineRoundNumber({ rounds, hash }: {
|
|
4494
|
+
rounds: any;
|
|
4495
|
+
hash: any;
|
|
4496
|
+
}): any;
|
|
4497
|
+
|
|
4498
|
+
type IsAdHocArgs = {
|
|
4499
|
+
drawDefinition?: DrawDefinition;
|
|
4500
|
+
structure?: any;
|
|
4501
|
+
};
|
|
4502
|
+
declare function isAdHoc({ drawDefinition, structure }: IsAdHocArgs): boolean;
|
|
4503
|
+
|
|
4504
|
+
type GetValidGroupSizesArgs = {
|
|
4505
|
+
groupSizeLimit?: number;
|
|
4506
|
+
drawSize: number;
|
|
4507
|
+
};
|
|
4508
|
+
declare function getValidGroupSizes({ drawSize, groupSizeLimit, }: GetValidGroupSizesArgs): ResultType & {
|
|
4509
|
+
validGroupSizes?: number[];
|
|
4510
|
+
};
|
|
4511
|
+
|
|
4512
|
+
type GetSeedingThresholdsArgs = {
|
|
4513
|
+
roundRobinGroupsCount?: number;
|
|
4514
|
+
participantsCount: number;
|
|
4515
|
+
};
|
|
4516
|
+
declare function getSeedingThresholds({ roundRobinGroupsCount, participantsCount, }: GetSeedingThresholdsArgs): ResultType & {
|
|
4517
|
+
seedingThresholds?: any;
|
|
4518
|
+
success?: boolean;
|
|
4519
|
+
};
|
|
4520
|
+
|
|
4521
|
+
declare function getScaleValues(params: any): ResultType & {
|
|
4522
|
+
valid?: boolean | undefined;
|
|
4523
|
+
};
|
|
4524
|
+
|
|
4525
|
+
declare function getMatchUpContextIds({ matchUps, matchUpId }: {
|
|
4526
|
+
matchUps: any;
|
|
4527
|
+
matchUpId: any;
|
|
4528
|
+
}): {
|
|
4529
|
+
error: {
|
|
4530
|
+
message: string;
|
|
4531
|
+
code: string;
|
|
4532
|
+
};
|
|
4533
|
+
matchUpId?: undefined;
|
|
4534
|
+
drawId?: undefined;
|
|
4535
|
+
eventId?: undefined;
|
|
4536
|
+
structureId?: undefined;
|
|
4537
|
+
tournamentId?: undefined;
|
|
4538
|
+
} | {
|
|
4539
|
+
matchUpId: any;
|
|
4540
|
+
drawId: any;
|
|
4541
|
+
eventId: any;
|
|
4542
|
+
structureId: any;
|
|
4543
|
+
tournamentId: any;
|
|
4544
|
+
error?: undefined;
|
|
4545
|
+
};
|
|
4546
|
+
|
|
4547
|
+
type CompareTieFormatsArgs = {
|
|
4548
|
+
considerations?: any;
|
|
4549
|
+
descendant: TieFormat;
|
|
4550
|
+
ancestor: TieFormat;
|
|
4551
|
+
};
|
|
4552
|
+
declare function compareTieFormats({ considerations, descendant, ancestor, }: CompareTieFormatsArgs): {
|
|
4553
|
+
different: any;
|
|
4554
|
+
invalid: 0 | any[];
|
|
4555
|
+
success: boolean;
|
|
4556
|
+
matchUpFormatDifferences: any;
|
|
4557
|
+
matchUpCountDifference: number;
|
|
4558
|
+
descendantDifferences: any;
|
|
4559
|
+
ancestorDifferences: any;
|
|
4560
|
+
orderDifference: boolean;
|
|
4561
|
+
valueDifference: number;
|
|
4562
|
+
nameDifference: boolean;
|
|
4563
|
+
descendantDesc: any;
|
|
4564
|
+
ancestorDesc: any;
|
|
4565
|
+
};
|
|
4566
|
+
|
|
4567
|
+
type CalculateWinCriteriaArgs = {
|
|
4568
|
+
collectionGroups?: {
|
|
4569
|
+
groupValue?: number;
|
|
4570
|
+
groupNumber?: number;
|
|
4571
|
+
}[];
|
|
4572
|
+
collectionDefinitions?: CollectionDefinition[];
|
|
4573
|
+
};
|
|
4574
|
+
declare function calculateWinCriteria({ collectionDefinitions, collectionGroups, }: CalculateWinCriteriaArgs): ResultType & {
|
|
4575
|
+
aggregateValue?: boolean;
|
|
4576
|
+
valueGoal?: number;
|
|
4577
|
+
};
|
|
4578
|
+
|
|
4579
|
+
type ParseArgs = {
|
|
4580
|
+
consideredDate?: string;
|
|
4581
|
+
category?: Category;
|
|
4582
|
+
};
|
|
4583
|
+
declare function getCategoryAgeDetails(params: ParseArgs): any;
|
|
4584
|
+
|
|
4585
|
+
type StructureActionsArgs = {
|
|
4586
|
+
drawDefinition: DrawDefinition;
|
|
4587
|
+
structureId: string;
|
|
4588
|
+
};
|
|
4589
|
+
type StructureQueryArgs = {
|
|
4590
|
+
drawDefinition: DrawDefinition;
|
|
4591
|
+
structure?: Structure;
|
|
4592
|
+
structureId?: string;
|
|
4593
|
+
};
|
|
4594
|
+
declare function isCompletedStructure(params: StructureQueryArgs): boolean;
|
|
4595
|
+
declare function allPlayoffPositionsFilled(params: StructureActionsArgs): boolean | {
|
|
4596
|
+
error: {
|
|
4597
|
+
message: string;
|
|
4598
|
+
code: string;
|
|
4599
|
+
};
|
|
4600
|
+
};
|
|
4601
|
+
|
|
4620
4602
|
declare function validMatchUp(matchUp: any): boolean;
|
|
4621
4603
|
declare function validMatchUps(matchUps: any): boolean;
|
|
4622
4604
|
|
|
@@ -6965,7 +6947,9 @@ declare function parse(matchUpFormatCode: string): ParsedFormat | undefined;
|
|
|
6965
6947
|
|
|
6966
6948
|
declare function stringify(matchUpFormatObject: any, preserveRedundant?: boolean): string | undefined;
|
|
6967
6949
|
|
|
6968
|
-
declare function isValidMatchUpFormat(matchUpFormat
|
|
6950
|
+
declare function isValidMatchUpFormat({ matchUpFormat, }: {
|
|
6951
|
+
matchUpFormat: string;
|
|
6952
|
+
}): boolean;
|
|
6969
6953
|
|
|
6970
6954
|
type GenerateVoluntaryConsolationArgs = {
|
|
6971
6955
|
playoffAttributes?: PlayoffAttributes;
|
|
@@ -9292,6 +9276,25 @@ declare const governors: {
|
|
|
9292
9276
|
validateLineUp: typeof validateLineUp;
|
|
9293
9277
|
validMatchUp: typeof validMatchUp;
|
|
9294
9278
|
validMatchUps: typeof validMatchUps;
|
|
9279
|
+
allPlayoffPositionsFilled: typeof allPlayoffPositionsFilled;
|
|
9280
|
+
getCategoryAgeDetails: typeof getCategoryAgeDetails;
|
|
9281
|
+
calculateWinCriteria: typeof calculateWinCriteria;
|
|
9282
|
+
compareTieFormats: typeof compareTieFormats;
|
|
9283
|
+
getMatchUpContextIds: typeof getMatchUpContextIds;
|
|
9284
|
+
getScaleValues: typeof getScaleValues;
|
|
9285
|
+
getSeedingThresholds: typeof getSeedingThresholds;
|
|
9286
|
+
getTimeItem: typeof getTimeItem;
|
|
9287
|
+
getValidGroupSizes: typeof getValidGroupSizes;
|
|
9288
|
+
isAdHoc: typeof isAdHoc;
|
|
9289
|
+
isCompletedStructure: typeof isCompletedStructure;
|
|
9290
|
+
roundRobinGroups: {
|
|
9291
|
+
getRoundRobinGroupMatchUps: typeof getRoundRobinGroupMatchUps;
|
|
9292
|
+
determineRoundNumber: typeof determineRoundNumber;
|
|
9293
|
+
drawPositionsHash: typeof drawPositionsHash;
|
|
9294
|
+
groupRounds: typeof groupRounds;
|
|
9295
|
+
};
|
|
9296
|
+
tieFormatGenderValidityCheck: typeof tieFormatGenderValidityCheck;
|
|
9297
|
+
validateCategory: typeof validateCategory;
|
|
9295
9298
|
};
|
|
9296
9299
|
reportGovernor: {
|
|
9297
9300
|
getStructureReports: typeof getStructureReports;
|
|
@@ -9416,14 +9419,14 @@ declare const governors: {
|
|
|
9416
9419
|
setTournamentStatus: typeof setTournamentStatus;
|
|
9417
9420
|
};
|
|
9418
9421
|
utilitiesGovernor: {
|
|
9422
|
+
visualizeScheduledMatchUps: typeof visualizeScheduledMatchUps;
|
|
9423
|
+
dehydrateMatchUps: typeof dehydrateMatchUps;
|
|
9424
|
+
structureSort: typeof structureSort;
|
|
9419
9425
|
allNumeric: typeof allNumeric;
|
|
9420
|
-
allPlayoffPositionsFilled: typeof allPlayoffPositionsFilled;
|
|
9421
9426
|
attributeFilter: typeof attributeFilter;
|
|
9422
|
-
calculateWinCriteria: typeof calculateWinCriteria;
|
|
9423
9427
|
chunkArray: typeof chunkArray;
|
|
9424
9428
|
chunkByNth: typeof chunkByNth;
|
|
9425
9429
|
chunkSizeProfile: typeof chunkSizeProfile;
|
|
9426
|
-
compareTieFormats: typeof compareTieFormats;
|
|
9427
9430
|
constantToString: typeof constantToString;
|
|
9428
9431
|
countValues: typeof countValues;
|
|
9429
9432
|
createMap: typeof createMap;
|
|
@@ -9455,24 +9458,15 @@ declare const governors: {
|
|
|
9455
9458
|
dateValidation: RegExp;
|
|
9456
9459
|
};
|
|
9457
9460
|
definedAttributes: typeof definedAttributes;
|
|
9458
|
-
dehydrateMatchUps: typeof dehydrateMatchUps;
|
|
9459
9461
|
extractAttributes: (accessor: any) => (element: any) => any;
|
|
9460
9462
|
flattenJSON: typeof flattenJSON;
|
|
9461
9463
|
generateHashCode: typeof generateHashCode;
|
|
9462
9464
|
generateRange: typeof generateRange;
|
|
9463
9465
|
generateTimeCode: typeof generateTimeCode;
|
|
9464
|
-
getCategoryAgeDetails: typeof getCategoryAgeDetails;
|
|
9465
|
-
getMatchUpContextIds: typeof getMatchUpContextIds;
|
|
9466
|
-
getScaleValues: typeof getScaleValues;
|
|
9467
|
-
getSeedingThresholds: typeof getSeedingThresholds;
|
|
9468
|
-
getTimeItem: typeof getTimeItem;
|
|
9469
|
-
getValidGroupSizes: typeof getValidGroupSizes;
|
|
9470
9466
|
groupValues: typeof groupValues;
|
|
9471
9467
|
hasAttributeValues: (a: any) => (o: any) => boolean;
|
|
9472
9468
|
instanceCount: typeof instanceCount;
|
|
9473
9469
|
intersection: typeof intersection;
|
|
9474
|
-
isAdHoc: typeof isAdHoc;
|
|
9475
|
-
isCompletedStructure: typeof isCompletedStructure;
|
|
9476
9470
|
isConvertableInteger: typeof isConvertableInteger;
|
|
9477
9471
|
isNumeric: typeof isNumeric;
|
|
9478
9472
|
isOdd: typeof isOdd;
|
|
@@ -9489,22 +9483,12 @@ declare const governors: {
|
|
|
9489
9483
|
overlap: typeof overlap;
|
|
9490
9484
|
randomMember: typeof randomMember;
|
|
9491
9485
|
randomPop: typeof randomPop;
|
|
9492
|
-
roundRobinGroups: {
|
|
9493
|
-
getRoundRobinGroupMatchUps: typeof getRoundRobinGroupMatchUps;
|
|
9494
|
-
determineRoundNumber: typeof determineRoundNumber;
|
|
9495
|
-
drawPositionsHash: typeof drawPositionsHash;
|
|
9496
|
-
groupRounds: typeof groupRounds;
|
|
9497
|
-
};
|
|
9498
9486
|
shuffleArray: typeof shuffleArray;
|
|
9499
|
-
structureSort: typeof structureSort;
|
|
9500
9487
|
subSort: typeof subSort;
|
|
9501
|
-
tieFormatGenderValidityCheck: typeof tieFormatGenderValidityCheck;
|
|
9502
9488
|
undefinedToNull: typeof undefinedToNull;
|
|
9503
9489
|
unique: typeof unique;
|
|
9504
9490
|
UUID: typeof UUID;
|
|
9505
9491
|
UUIDS: typeof UUIDS;
|
|
9506
|
-
validateCategory: typeof validateCategory;
|
|
9507
|
-
visualizeScheduledMatchUps: typeof visualizeScheduledMatchUps;
|
|
9508
9492
|
};
|
|
9509
9493
|
venueGovernor: {
|
|
9510
9494
|
addCourt: typeof addCourt;
|
|
@@ -9532,14 +9516,14 @@ declare const matchUpFormatCode: {
|
|
|
9532
9516
|
};
|
|
9533
9517
|
|
|
9534
9518
|
declare const utilities: {
|
|
9519
|
+
visualizeScheduledMatchUps: typeof visualizeScheduledMatchUps;
|
|
9520
|
+
dehydrateMatchUps: typeof dehydrateMatchUps;
|
|
9521
|
+
structureSort: typeof structureSort;
|
|
9535
9522
|
allNumeric: typeof allNumeric;
|
|
9536
|
-
allPlayoffPositionsFilled: typeof allPlayoffPositionsFilled;
|
|
9537
9523
|
attributeFilter: typeof attributeFilter;
|
|
9538
|
-
calculateWinCriteria: typeof calculateWinCriteria;
|
|
9539
9524
|
chunkArray: typeof chunkArray;
|
|
9540
9525
|
chunkByNth: typeof chunkByNth;
|
|
9541
9526
|
chunkSizeProfile: typeof chunkSizeProfile;
|
|
9542
|
-
compareTieFormats: typeof compareTieFormats;
|
|
9543
9527
|
constantToString: typeof constantToString;
|
|
9544
9528
|
countValues: typeof countValues;
|
|
9545
9529
|
createMap: typeof createMap;
|
|
@@ -9571,24 +9555,15 @@ declare const utilities: {
|
|
|
9571
9555
|
dateValidation: RegExp;
|
|
9572
9556
|
};
|
|
9573
9557
|
definedAttributes: typeof definedAttributes;
|
|
9574
|
-
dehydrateMatchUps: typeof dehydrateMatchUps;
|
|
9575
9558
|
extractAttributes: (accessor: any) => (element: any) => any;
|
|
9576
9559
|
flattenJSON: typeof flattenJSON;
|
|
9577
9560
|
generateHashCode: typeof generateHashCode;
|
|
9578
9561
|
generateRange: typeof generateRange;
|
|
9579
9562
|
generateTimeCode: typeof generateTimeCode;
|
|
9580
|
-
getCategoryAgeDetails: typeof getCategoryAgeDetails;
|
|
9581
|
-
getMatchUpContextIds: typeof getMatchUpContextIds;
|
|
9582
|
-
getScaleValues: typeof getScaleValues;
|
|
9583
|
-
getSeedingThresholds: typeof getSeedingThresholds;
|
|
9584
|
-
getTimeItem: typeof getTimeItem;
|
|
9585
|
-
getValidGroupSizes: typeof getValidGroupSizes;
|
|
9586
9563
|
groupValues: typeof groupValues;
|
|
9587
9564
|
hasAttributeValues: (a: any) => (o: any) => boolean;
|
|
9588
9565
|
instanceCount: typeof instanceCount;
|
|
9589
9566
|
intersection: typeof intersection;
|
|
9590
|
-
isAdHoc: typeof isAdHoc;
|
|
9591
|
-
isCompletedStructure: typeof isCompletedStructure;
|
|
9592
9567
|
isConvertableInteger: typeof isConvertableInteger;
|
|
9593
9568
|
isNumeric: typeof isNumeric;
|
|
9594
9569
|
isOdd: typeof isOdd;
|
|
@@ -9605,66 +9580,12 @@ declare const utilities: {
|
|
|
9605
9580
|
overlap: typeof overlap;
|
|
9606
9581
|
randomMember: typeof randomMember;
|
|
9607
9582
|
randomPop: typeof randomPop;
|
|
9608
|
-
roundRobinGroups: {
|
|
9609
|
-
getRoundRobinGroupMatchUps: typeof getRoundRobinGroupMatchUps;
|
|
9610
|
-
determineRoundNumber: typeof determineRoundNumber;
|
|
9611
|
-
drawPositionsHash: typeof drawPositionsHash;
|
|
9612
|
-
groupRounds: typeof groupRounds;
|
|
9613
|
-
};
|
|
9614
9583
|
shuffleArray: typeof shuffleArray;
|
|
9615
|
-
structureSort: typeof structureSort;
|
|
9616
9584
|
subSort: typeof subSort;
|
|
9617
|
-
tieFormatGenderValidityCheck: typeof tieFormatGenderValidityCheck;
|
|
9618
9585
|
undefinedToNull: typeof undefinedToNull;
|
|
9619
9586
|
unique: typeof unique;
|
|
9620
9587
|
UUID: typeof UUID;
|
|
9621
9588
|
UUIDS: typeof UUIDS;
|
|
9622
|
-
validateCategory: typeof validateCategory;
|
|
9623
|
-
visualizeScheduledMatchUps: typeof visualizeScheduledMatchUps;
|
|
9624
|
-
};
|
|
9625
|
-
|
|
9626
|
-
declare const scoreGovernor: {
|
|
9627
|
-
analyzeSet: typeof analyzeSet;
|
|
9628
|
-
checkScoreHasValue: typeof checkScoreHasValue;
|
|
9629
|
-
checkSetIsComplete: typeof checkSetIsComplete;
|
|
9630
|
-
generateScoreString: typeof generateScoreString;
|
|
9631
|
-
generateTieMatchUpScore: typeof generateTieMatchUpScore;
|
|
9632
|
-
getSetComplement: (params: {
|
|
9633
|
-
lowValue?: string | number | undefined;
|
|
9634
|
-
tiebreakAt?: number | undefined;
|
|
9635
|
-
isSide1?: boolean | undefined;
|
|
9636
|
-
NoAD?: boolean | undefined;
|
|
9637
|
-
setTo: number;
|
|
9638
|
-
}) => false | number[];
|
|
9639
|
-
getTiebreakComplement: (params: {
|
|
9640
|
-
lowValue?: string | number | undefined;
|
|
9641
|
-
tiebreakNoAd?: boolean | undefined;
|
|
9642
|
-
tiebreakTo: number;
|
|
9643
|
-
isSide1?: boolean | undefined;
|
|
9644
|
-
}) => false | number[];
|
|
9645
|
-
isValidMatchUpFormat: typeof isValidMatchUpFormat;
|
|
9646
|
-
keyValueScore: typeof keyValueScore;
|
|
9647
|
-
parseMatchUpFormat: typeof parse;
|
|
9648
|
-
reverseScore: typeof reverseScore;
|
|
9649
|
-
stringifyMatchUpFormat: typeof stringify;
|
|
9650
|
-
tidyScore: typeof tidyScore;
|
|
9651
|
-
updateTieMatchUpScore: typeof updateTieMatchUpScore;
|
|
9652
|
-
validateScore: typeof validateScore;
|
|
9653
|
-
validateTieFormat: typeof validateTieFormat;
|
|
9654
|
-
calculateHistoryScore: typeof calculateHistoryScore;
|
|
9655
|
-
setServingSide: typeof setServingSide;
|
|
9656
|
-
clearHistory: typeof clearHistory;
|
|
9657
|
-
addPoint: typeof addPoint;
|
|
9658
|
-
addGame: typeof addGame;
|
|
9659
|
-
addShot: typeof addShot;
|
|
9660
|
-
addSet: typeof addSet;
|
|
9661
|
-
redo: typeof redo;
|
|
9662
|
-
undo: typeof undo;
|
|
9663
|
-
umo: {
|
|
9664
|
-
scoreboard: () => void;
|
|
9665
|
-
addPoints: () => void;
|
|
9666
|
-
addPoint: () => void;
|
|
9667
|
-
};
|
|
9668
9589
|
};
|
|
9669
9590
|
|
|
9670
9591
|
type Notice = {
|
|
@@ -12049,4 +11970,4 @@ declare const venueConstants: {
|
|
|
12049
11970
|
OUTDOOR: string;
|
|
12050
11971
|
};
|
|
12051
11972
|
|
|
12052
|
-
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,
|
|
11973
|
+
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, surfaceConstants, engine as syncEngine, timeItemConstants, tournamentEngine, utilities, venueConstants, factoryVersion as version };
|