@time2win/t2w 2.0.3 → 2.0.4
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/CHANGELOG.md +4 -0
- package/models.d.ts +5 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## 2.0.4 - 2025-08-22
|
|
9
|
+
### Added
|
|
10
|
+
non binary gender support
|
|
11
|
+
|
|
8
12
|
## 2.0.3 - 2025-07-30
|
|
9
13
|
### Added
|
|
10
14
|
apiKey get property to retrieve the current api key
|
package/models.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare type gender =
|
|
1
|
+
declare type gender = T2WGender;
|
|
2
2
|
export interface T2WEventResponse {
|
|
3
3
|
events: T2WEvent[];
|
|
4
4
|
page: number;
|
|
@@ -274,12 +274,12 @@ export declare enum RaceStatus {
|
|
|
274
274
|
export interface ParticipantInfoOptions {
|
|
275
275
|
raceId?: number;
|
|
276
276
|
dataExtra?: ('order' | 'attributes' | 'categories' | 'uci_id' | 'chip_code' | 'externalticket' | 'contactinfo')[];
|
|
277
|
-
gender?:
|
|
277
|
+
gender?: T2WGender;
|
|
278
278
|
maxEventAge?: number;
|
|
279
279
|
}
|
|
280
280
|
export interface IndividualResultsOptions {
|
|
281
281
|
dataExtra?: ('splits' | 'laps' | 'positions' | 'attributes')[];
|
|
282
|
-
gender?:
|
|
282
|
+
gender?: T2WGender;
|
|
283
283
|
maxEventAge?: number;
|
|
284
284
|
}
|
|
285
285
|
export interface EventDataOptions {
|
|
@@ -287,10 +287,11 @@ export interface EventDataOptions {
|
|
|
287
287
|
}
|
|
288
288
|
export interface TeamResultOptions {
|
|
289
289
|
dataExtra?: ('splits' | 'attributes' | 'laps')[];
|
|
290
|
-
teamType?:
|
|
290
|
+
teamType?: T2WGender;
|
|
291
291
|
}
|
|
292
292
|
export interface TeamsWithMembersOptions {
|
|
293
293
|
raceId?: number;
|
|
294
294
|
dataExtra?: ('teammembers' | 'attributes')[];
|
|
295
295
|
}
|
|
296
|
+
export declare type T2WGender = 'M' | 'F' | 'X' | 'U';
|
|
296
297
|
export {};
|