tods-competition-factory 2.0.0-beta.3 → 2.0.0-beta.5
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 +4 -3
- package/dist/tods-competition-factory.development.cjs.js +557 -759
- 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 +5 -5
|
@@ -1352,6 +1352,7 @@ type HydratedParticipant = {
|
|
|
1352
1352
|
} & Participant;
|
|
1353
1353
|
type HydratedSide = Side & {
|
|
1354
1354
|
participant?: HydratedParticipant;
|
|
1355
|
+
[key: string | number]: any;
|
|
1355
1356
|
};
|
|
1356
1357
|
|
|
1357
1358
|
type ErrorType = {
|
|
@@ -5737,7 +5738,7 @@ type GetAssignedParticipantIdsArgs = {
|
|
|
5737
5738
|
drawDefinition: DrawDefinition;
|
|
5738
5739
|
stages?: StageTypeUnion[];
|
|
5739
5740
|
};
|
|
5740
|
-
declare function getAssignedParticipantIds({ drawDefinition, stages
|
|
5741
|
+
declare function getAssignedParticipantIds({ drawDefinition, stages }: GetAssignedParticipantIdsArgs): ResultType & {
|
|
5741
5742
|
assignedParticipantIds?: string[];
|
|
5742
5743
|
};
|
|
5743
5744
|
|
|
@@ -6558,7 +6559,7 @@ declare function modifyIndividualParticipantIds({ individualParticipantIds, grou
|
|
|
6558
6559
|
tournamentRecord: any;
|
|
6559
6560
|
}): ResultType;
|
|
6560
6561
|
|
|
6561
|
-
declare function mergeParticipants({ participants: incomingParticipants, tournamentRecord, arraysToMerge
|
|
6562
|
+
declare function mergeParticipants({ participants: incomingParticipants, tournamentRecord, arraysToMerge }: {
|
|
6562
6563
|
participants?: never[] | undefined;
|
|
6563
6564
|
tournamentRecord: any;
|
|
6564
6565
|
arraysToMerge: any;
|
|
@@ -7681,7 +7682,7 @@ type RemoveStructureArgs = {
|
|
|
7681
7682
|
force?: boolean;
|
|
7682
7683
|
event: Event$1;
|
|
7683
7684
|
};
|
|
7684
|
-
declare function removeStructure({ tournamentRecord, drawDefinition, structureId, event, force
|
|
7685
|
+
declare function removeStructure({ tournamentRecord, drawDefinition, structureId, event, force }: RemoveStructureArgs): {
|
|
7685
7686
|
error: {
|
|
7686
7687
|
message: string;
|
|
7687
7688
|
code: string;
|