tods-competition-factory 2.3.0 → 2.3.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 +6 -6
- package/dist/tods-competition-factory.d.ts +12 -12
- package/dist/tods-competition-factory.development.cjs.js +206 -201
- 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 +7 -7
|
@@ -6106,7 +6106,7 @@ declare function getMatchUpScheduleDetails(params: GetMatchUpScheduleDetailsArgs
|
|
|
6106
6106
|
endDate?: undefined;
|
|
6107
6107
|
} | {
|
|
6108
6108
|
schedule: any;
|
|
6109
|
-
endDate:
|
|
6109
|
+
endDate: string | undefined;
|
|
6110
6110
|
error?: undefined;
|
|
6111
6111
|
};
|
|
6112
6112
|
|
|
@@ -8139,8 +8139,8 @@ declare function getCompetitionPenalties({ tournamentRecords }: GetCompetitionPe
|
|
|
8139
8139
|
declare function getCompetitionDateRange({ tournamentRecords }: {
|
|
8140
8140
|
tournamentRecords: TournamentRecords;
|
|
8141
8141
|
}): {
|
|
8142
|
-
startDate?:
|
|
8143
|
-
endDate?:
|
|
8142
|
+
startDate?: string;
|
|
8143
|
+
endDate?: string;
|
|
8144
8144
|
error?: ErrorType;
|
|
8145
8145
|
};
|
|
8146
8146
|
|
|
@@ -9405,9 +9405,9 @@ declare function generateBookings({ defaultRecoveryMinutes, averageMatchUpMinute
|
|
|
9405
9405
|
recoveryMinutes: number | undefined;
|
|
9406
9406
|
averageMinutes: number | undefined;
|
|
9407
9407
|
periodLength: number;
|
|
9408
|
-
startTime:
|
|
9408
|
+
startTime: string | undefined;
|
|
9409
9409
|
courtId: any;
|
|
9410
|
-
endTime:
|
|
9410
|
+
endTime: string;
|
|
9411
9411
|
venueId: any;
|
|
9412
9412
|
}[] | undefined;
|
|
9413
9413
|
relevantMatchUps: HydratedMatchUp[] | undefined;
|
|
@@ -11160,7 +11160,7 @@ declare function dehydrateMatchUps({ tournamentRecord }: {
|
|
|
11160
11160
|
error?: ErrorType;
|
|
11161
11161
|
};
|
|
11162
11162
|
|
|
11163
|
-
declare function getIsoDateString(schedule: any):
|
|
11163
|
+
declare function getIsoDateString(schedule: any): string | undefined;
|
|
11164
11164
|
declare function validTimeValue(value: any): boolean;
|
|
11165
11165
|
declare function DateHHMM(date: any): string;
|
|
11166
11166
|
declare function timeUTC(date?: any): number;
|
|
@@ -11171,15 +11171,15 @@ declare function isDate(dateArg: any): boolean;
|
|
|
11171
11171
|
declare function generateDateRange(startDt?: any, endDt?: any): string[];
|
|
11172
11172
|
declare function isISODateString(dateString: any): boolean;
|
|
11173
11173
|
declare function isTimeString(timeString: any): boolean;
|
|
11174
|
-
declare function timeStringMinutes(timeString?: any):
|
|
11175
|
-
declare function extractTime(dateString: any):
|
|
11176
|
-
declare function extractDate(dateString: any):
|
|
11177
|
-
declare function convertTime(value: any, time24?: any, keepDate?: any):
|
|
11174
|
+
declare function timeStringMinutes(timeString?: any): number;
|
|
11175
|
+
declare function extractTime(dateString: any): string | undefined;
|
|
11176
|
+
declare function extractDate(dateString: any): string;
|
|
11177
|
+
declare function convertTime(value: any, time24?: any, keepDate?: any): string | undefined;
|
|
11178
11178
|
declare function addDays(date: any, days?: number): string;
|
|
11179
11179
|
declare function addWeek(date: any): string;
|
|
11180
11180
|
declare function getDateByWeek(week: any, year: any, dateFormat: any, sunday?: boolean): string;
|
|
11181
|
-
declare function timeToDate(timeString: any, date?: undefined): Date;
|
|
11182
|
-
declare function addMinutesToTimeString(timeString?: any, minutes?: any):
|
|
11181
|
+
declare function timeToDate(timeString: any, date?: string | undefined): Date;
|
|
11182
|
+
declare function addMinutesToTimeString(timeString?: any, minutes?: any): string;
|
|
11183
11183
|
declare function sameDay(date1: any, date2: any): boolean;
|
|
11184
11184
|
declare const dateTime: {
|
|
11185
11185
|
addDays: typeof addDays;
|