zwift-data 1.26.0 → 1.28.0

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.
@@ -135,6 +135,10 @@ export interface Route {
135
135
  * `true`, if the route is available for meetups
136
136
  */
137
137
  supportsMeetups: boolean;
138
+ /**
139
+ * Url of the route on Zwifter Bikes
140
+ */
141
+ zwifterBikesUrl?: string;
138
142
  }
139
143
  export type Sport = "running" | "cycling";
140
144
  export interface Segment {
@@ -182,6 +186,10 @@ export interface Segment {
182
186
  * Rating of a climb segment. Only available if `type=climb`.
183
187
  */
184
188
  climbType?: "HC" | "4" | "3" | "2" | "1";
189
+ /**
190
+ * Url of the route on Zwifter Bikes
191
+ */
192
+ zwifterBikesUrl?: string;
185
193
  }
186
194
  export type SegmentType = "sprint" | "climb" | "segment";
187
195
  export interface BikeFrame {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zwift-data",
3
- "version": "1.26.0",
3
+ "version": "1.28.0",
4
4
  "description": "Data about Zwift worlds, routes and segments",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/andipaetzold/zwift-data#readme",
29
29
  "devDependencies": {
30
- "@octokit/rest": "19.0.13",
30
+ "@octokit/rest": "20.0.1",
31
31
  "@semantic-release/changelog": "6.0.3",
32
32
  "@semantic-release/git": "10.0.1",
33
33
  "@tsconfig/recommended": "1.0.2",