zwift-data 1.7.0 → 1.9.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.
Files changed (50) hide show
  1. package/lib/cjs/achievements.js +45 -0
  2. package/lib/cjs/bikeFrames.js +7 -1
  3. package/lib/cjs/bikeFrontWheels.js +5 -0
  4. package/lib/cjs/bikeRearWheels.js +5 -0
  5. package/lib/cjs/bikeShoes.js +5 -0
  6. package/lib/cjs/glasses.js +5 -0
  7. package/lib/cjs/headgears.js +15 -0
  8. package/lib/cjs/jerseys.js +35 -0
  9. package/lib/cjs/paintJobs.js +5 -13
  10. package/lib/cjs/routes.js +291 -30
  11. package/lib/cjs/runShirts.js +10 -0
  12. package/lib/cjs/runShorts.js +10 -0
  13. package/lib/cjs/segments.js +75 -0
  14. package/lib/cjs/socks.js +20 -0
  15. package/lib/cjs/worlds.js +11 -0
  16. package/lib/esm/achievements.js +45 -0
  17. package/lib/esm/bikeFrames.js +7 -1
  18. package/lib/esm/bikeFrontWheels.js +5 -0
  19. package/lib/esm/bikeRearWheels.js +5 -0
  20. package/lib/esm/bikeShoes.js +5 -0
  21. package/lib/esm/glasses.js +5 -0
  22. package/lib/esm/headgears.js +15 -0
  23. package/lib/esm/jerseys.js +35 -0
  24. package/lib/esm/paintJobs.js +5 -13
  25. package/lib/esm/routes.js +291 -30
  26. package/lib/esm/runShirts.js +10 -0
  27. package/lib/esm/runShorts.js +10 -0
  28. package/lib/esm/segments.js +75 -0
  29. package/lib/esm/socks.js +20 -0
  30. package/lib/esm/worlds.js +11 -0
  31. package/lib/types/achievements.d.ts +1 -1
  32. package/lib/types/bikeFrames.d.ts +1 -1
  33. package/lib/types/bikeFrontWheels.d.ts +1 -1
  34. package/lib/types/bikeRearWheels.d.ts +1 -1
  35. package/lib/types/bikeShoes.d.ts +1 -1
  36. package/lib/types/challenges.d.ts +1 -1
  37. package/lib/types/glasses.d.ts +1 -1
  38. package/lib/types/headgears.d.ts +1 -1
  39. package/lib/types/jerseys.d.ts +1 -1
  40. package/lib/types/notableMomentTypes.d.ts +1 -1
  41. package/lib/types/paintJobs.d.ts +1 -1
  42. package/lib/types/routes.d.ts +1 -1
  43. package/lib/types/runShirts.d.ts +1 -1
  44. package/lib/types/runShoes.d.ts +1 -1
  45. package/lib/types/runShorts.d.ts +1 -1
  46. package/lib/types/socks.d.ts +1 -1
  47. package/lib/types/trainingPlans.d.ts +1 -1
  48. package/lib/types/types.d.ts +6 -2
  49. package/lib/types/unlockableCategories.d.ts +1 -1
  50. package/package.json +3 -2
package/lib/cjs/worlds.js CHANGED
@@ -10,6 +10,7 @@ exports.worlds = [
10
10
  [-11.62597, 166.87747],
11
11
  [-11.70255, 167.03255],
12
12
  ],
13
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Watopia.png",
13
14
  },
14
15
  {
15
16
  id: 2,
@@ -19,6 +20,7 @@ exports.worlds = [
19
20
  [37.5774, -77.48954],
20
21
  [37.5014, -77.394],
21
22
  ],
23
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Richmond.png",
22
24
  },
23
25
  {
24
26
  id: 3,
@@ -28,6 +30,7 @@ exports.worlds = [
28
30
  [51.5362, -0.1776],
29
31
  [51.4601, -0.0555],
30
32
  ],
33
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_London.png",
31
34
  },
32
35
  {
33
36
  id: 4,
@@ -37,6 +40,7 @@ exports.worlds = [
37
40
  [40.81725, -74.0227],
38
41
  [40.74085, -73.9222],
39
42
  ],
43
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_NewYork.png",
40
44
  },
41
45
  {
42
46
  id: 5,
@@ -46,6 +50,7 @@ exports.worlds = [
46
50
  [47.2947, 11.3501],
47
51
  [47.2055, 11.4822],
48
52
  ],
53
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Innsbruck.png",
49
54
  },
50
55
  {
51
56
  id: 6,
@@ -55,6 +60,7 @@ exports.worlds = [
55
60
  [44.5308037, 11.26261748],
56
61
  [44.45463821, 11.36991729102076],
57
62
  ],
63
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Bologna.png",
58
64
  },
59
65
  {
60
66
  id: 7,
@@ -64,6 +70,7 @@ exports.worlds = [
64
70
  [54.0254, -1.632],
65
71
  [53.9491, -1.5022],
66
72
  ],
73
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Yorkshire.png",
67
74
  },
68
75
  {
69
76
  id: 8,
@@ -73,6 +80,7 @@ exports.worlds = [
73
80
  [-10.3657, 165.7824],
74
81
  [-10.4038, 165.8207],
75
82
  ],
83
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_CritCity.png",
76
84
  },
77
85
  {
78
86
  id: 10,
@@ -82,6 +90,7 @@ exports.worlds = [
82
90
  [-21.64155, 166.1384],
83
91
  [-21.7564, 166.26125],
84
92
  ],
93
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_France.png",
85
94
  },
86
95
  {
87
96
  id: 11,
@@ -91,6 +100,7 @@ exports.worlds = [
91
100
  [48.9058, 2.2561],
92
101
  [48.82945, 2.3722],
93
102
  ],
103
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Champs.png",
94
104
  },
95
105
  {
96
106
  id: 12,
@@ -100,5 +110,6 @@ exports.worlds = [
100
110
  [-10.73746, 165.80468],
101
111
  [-10.81405, 165.88222],
102
112
  ],
113
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Japan.png",
103
114
  },
104
115
  ];
@@ -774,5 +774,50 @@ export const achievements = [
774
774
  "id": 161,
775
775
  "name": "FARMLAND LOOP",
776
776
  "imageName": "RouteComplete"
777
+ },
778
+ {
779
+ "id": 164,
780
+ "name": "RAILWAYS AND ROOFTOPS",
781
+ "imageName": "RouteComplete"
782
+ },
783
+ {
784
+ "id": 165,
785
+ "name": "ROOFTOP RENDEZVOUS",
786
+ "imageName": "RouteComplete"
787
+ },
788
+ {
789
+ "id": 166,
790
+ "name": "NEON FLATS",
791
+ "imageName": "RouteComplete"
792
+ },
793
+ {
794
+ "id": 167,
795
+ "name": "SPRINTER'S PLAYGROUND",
796
+ "imageName": "RouteComplete"
797
+ },
798
+ {
799
+ "id": 168,
800
+ "name": "NEOKYO ALL-NIGHTER",
801
+ "imageName": "RouteComplete"
802
+ },
803
+ {
804
+ "id": 169,
805
+ "name": "SLEEPLESS CITY",
806
+ "imageName": "RouteComplete"
807
+ },
808
+ {
809
+ "id": 170,
810
+ "name": "WANDERING FLATS",
811
+ "imageName": "RouteComplete"
812
+ },
813
+ {
814
+ "id": 171,
815
+ "name": "TEMPLES AND TOWERS",
816
+ "imageName": "RouteComplete"
817
+ },
818
+ {
819
+ "id": 176,
820
+ "name": "NEOKYO CRIT COURSE",
821
+ "imageName": "RouteComplete"
777
822
  }
778
823
  ];
@@ -67,7 +67,7 @@ export const bikeFrames = [
67
67
  {
68
68
  "id": 390579581,
69
69
  "name": "Canyon Aeroad Team Edition",
70
- "modelYear": 2015,
70
+ "modelYear": 2021,
71
71
  "isTT": false
72
72
  },
73
73
  {
@@ -303,6 +303,12 @@ export const bikeFrames = [
303
303
  "modelYear": 2015,
304
304
  "isTT": false
305
305
  },
306
+ {
307
+ "id": 2132445842,
308
+ "name": "Uranium UraniumNuclear2021",
309
+ "modelYear": 2021,
310
+ "isTT": false
311
+ },
306
312
  {
307
313
  "id": 2205705045,
308
314
  "name": "Giant TCR Advanced SL",
@@ -229,5 +229,10 @@ export const bikeFrontWheels = [
229
229
  "id": 4235764609,
230
230
  "name": "Shimano C40",
231
231
  "imageName": "Wheel_ShimanoDuraAceC40"
232
+ },
233
+ {
234
+ "id": 4237316283,
235
+ "name": "FFWD RYOT55",
236
+ "imageName": "Wheel_FFWDRYOT55"
232
237
  }
233
238
  ];
@@ -230,6 +230,11 @@ export const bikeRearWheels = [
230
230
  "name": "Zwift 32mm Carbon",
231
231
  "imageName": "Wheel_CampagnoloLow"
232
232
  },
233
+ {
234
+ "id": 4151096267,
235
+ "name": "FFWD RYOT55",
236
+ "imageName": "Wheel_FFWDRYOT55"
237
+ },
233
238
  {
234
239
  "id": 4183014640,
235
240
  "name": "Zipp 404",
@@ -40,6 +40,11 @@ export const bikeShoes = [
40
40
  "name": "Zwift Academy Tri 2019",
41
41
  "imageName": "ShoesZwiftAcademyTri2020"
42
42
  },
43
+ {
44
+ "id": 2659789772,
45
+ "name": "2021 Neokyo Shoes",
46
+ "imageName": "Neokyoshoe"
47
+ },
43
48
  {
44
49
  "id": 3238688697,
45
50
  "name": "Mavic Cosmic",
@@ -50,6 +50,11 @@ export const glasses = [
50
50
  "name": "Oakley Flight Jacket",
51
51
  "imageName": "Glasses_ZA2018Womens"
52
52
  },
53
+ {
54
+ "id": 1988601419,
55
+ "name": "Tour de Zwift 2022 Run Sunglasses",
56
+ "imageName": "Glasses_TdZGlasses2021"
57
+ },
53
58
  {
54
59
  "id": 2002800339,
55
60
  "name": "Weskers",
@@ -20,6 +20,11 @@ export const headgears = [
20
20
  "name": "Giro Vanquish",
21
21
  "imageName": "GiroVanquish"
22
22
  },
23
+ {
24
+ "id": 407446488,
25
+ "name": "Tour de Zwift 2022 Ride Cap",
26
+ "imageName": "CyclingCapTourDeZwift2022_thumb"
27
+ },
23
28
  {
24
29
  "id": 471358119,
25
30
  "name": "Run Festival Hat",
@@ -65,6 +70,11 @@ export const headgears = [
65
70
  "name": "Newsy",
66
71
  "imageName": "Newsy"
67
72
  },
73
+ {
74
+ "id": 788235908,
75
+ "name": "Tour de Zwift 2022 Run Cap",
76
+ "imageName": "RunningCapTourDeZwift2022_thumb"
77
+ },
68
78
  {
69
79
  "id": 935052582,
70
80
  "name": "Zwift Helmet",
@@ -125,6 +135,11 @@ export const headgears = [
125
135
  "name": "ABUS GameChanger",
126
136
  "imageName": "AbusGameChangerWhite2021"
127
137
  },
138
+ {
139
+ "id": 1394595133,
140
+ "name": "2021 Neokyo Helmet",
141
+ "imageName": "NeokyoHelmet2021"
142
+ },
128
143
  {
129
144
  "id": 1409224145,
130
145
  "name": "Limar Air Speed White",
@@ -165,6 +165,11 @@ export const jerseys = [
165
165
  "name": "ZNC - Belgium",
166
166
  "imageName": "ZwiftNationalChampions_thumb"
167
167
  },
168
+ {
169
+ "id": 216011959,
170
+ "name": "2021 Neokyo Kit",
171
+ "imageName": "Neokyo2021_thumb"
172
+ },
168
173
  {
169
174
  "id": 225381880,
170
175
  "name": "Pinarello Dogma",
@@ -590,6 +595,11 @@ export const jerseys = [
590
595
  "name": "Richie Carapaz Cycling Club",
591
596
  "imageName": "RichieCarapazCC2021_thumb"
592
597
  },
598
+ {
599
+ "id": 750929824,
600
+ "name": "Tour de Zwift 2022 Ride Kit",
601
+ "imageName": "TourDeZwift2022_thumb"
602
+ },
593
603
  {
594
604
  "id": 751130480,
595
605
  "name": "Stages Kit",
@@ -855,6 +865,11 @@ export const jerseys = [
855
865
  "name": "CA Technologies 2018",
856
866
  "imageName": "CaTech2018_thumb"
857
867
  },
868
+ {
869
+ "id": 1066013543,
870
+ "name": "Eric Min T Day Jersey",
871
+ "imageName": "EricMinTDay2021_thumb"
872
+ },
858
873
  {
859
874
  "id": 1072467839,
860
875
  "name": "Giant Ride Like King 2020",
@@ -1350,6 +1365,11 @@ export const jerseys = [
1350
1365
  "name": "QT2 Systems 2019",
1351
1366
  "imageName": "QT2Systems2019_thumb"
1352
1367
  },
1368
+ {
1369
+ "id": 1647663707,
1370
+ "name": "Garmin Tacx Kit",
1371
+ "imageName": "GarminTacx2021_thumb"
1372
+ },
1353
1373
  {
1354
1374
  "id": 1648628196,
1355
1375
  "name": "Fluoro 1",
@@ -1360,6 +1380,11 @@ export const jerseys = [
1360
1380
  "name": "Betty Designs Pink",
1361
1381
  "imageName": "BettyDesignsPink_thumb"
1362
1382
  },
1383
+ {
1384
+ "id": 1652462599,
1385
+ "name": "Next-Enshored Kit",
1386
+ "imageName": "NextEnshored2021_thumb"
1387
+ },
1363
1388
  {
1364
1389
  "id": 1670790093,
1365
1390
  "name": "Super League Blue",
@@ -2405,6 +2430,11 @@ export const jerseys = [
2405
2430
  "name": "Team Type 1",
2406
2431
  "imageName": "TeamType1_thumb"
2407
2432
  },
2433
+ {
2434
+ "id": 3185255681,
2435
+ "name": "BCBR Gravel Kit",
2436
+ "imageName": "BCBRGravel2021_thumb"
2437
+ },
2408
2438
  {
2409
2439
  "id": 3189709644,
2410
2440
  "name": "Biehler Syndicate Jersey",
@@ -2675,6 +2705,11 @@ export const jerseys = [
2675
2705
  "name": "Rapha Women's Souplesse",
2676
2706
  "imageName": "RaphaSouplesse02_thumb"
2677
2707
  },
2708
+ {
2709
+ "id": 3455961079,
2710
+ "name": "Plush Global Kit",
2711
+ "imageName": "PlushGlobal2021_thumb"
2712
+ },
2678
2713
  {
2679
2714
  "id": 3459652898,
2680
2715
  "name": "Schleck Gran Fondo",
@@ -28,10 +28,6 @@ export const paintJobs = [
28
28
  "id": 375521613,
29
29
  "name": "Cube Cube Litening-Cube Litening 2018"
30
30
  },
31
- {
32
- "id": 415595801,
33
- "name": "Canyon Aeroad Team Edition-Movistar"
34
- },
35
31
  {
36
32
  "id": 425646960,
37
33
  "name": "Zwift Carbon-Zwift Light"
@@ -56,10 +52,6 @@ export const paintJobs = [
56
52
  "id": 528364824,
57
53
  "name": "Specialized Ruby S-Works-Nordic Red"
58
54
  },
59
- {
60
- "id": 543174731,
61
- "name": "Canyon Aeroad Team Edition-Canyon SRAM 2020"
62
- },
63
55
  {
64
56
  "id": 544441031,
65
57
  "name": "Canyon Speedmax Team Edition-Canyon/SRAM"
@@ -292,6 +284,10 @@ export const paintJobs = [
292
284
  "id": 2184650643,
293
285
  "name": "Canyon Aeroad 2015-ZA 2018"
294
286
  },
287
+ {
288
+ "id": 2193987910,
289
+ "name": "Uranium UraniumNuclear2021-base"
290
+ },
295
291
  {
296
292
  "id": 2217760637,
297
293
  "name": "Trek Emonda SL-Emonda SL"
@@ -380,10 +376,6 @@ export const paintJobs = [
380
376
  "id": 2730699339,
381
377
  "name": "Zwift Buffalo Fahrrad-Buffalo Fahrrad"
382
378
  },
383
- {
384
- "id": 2763046996,
385
- "name": "Canyon Aeroad Team Edition-Canyon Aeroad Team"
386
- },
387
379
  {
388
380
  "id": 2814305325,
389
381
  "name": "Scott ScottAddict2021-base"
@@ -438,7 +430,7 @@ export const paintJobs = [
438
430
  },
439
431
  {
440
432
  "id": 3104241597,
441
- "name": "Canyon Aeroad 2021-Canyon SRAM Aeroad 2021"
433
+ "name": "Canyon Aeroad Team Edition-Canyon SRAM 2021"
442
434
  },
443
435
  {
444
436
  "id": 3123827548,