zwift-data 1.6.0 → 1.9.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.
Files changed (88) hide show
  1. package/lib/cjs/achievements.js +826 -0
  2. package/lib/cjs/bikeFrames.js +621 -0
  3. package/lib/cjs/bikeFrontWheels.js +241 -0
  4. package/lib/cjs/bikeRearWheels.js +246 -0
  5. package/lib/cjs/bikeShoes.js +81 -0
  6. package/lib/cjs/challenges.js +21 -0
  7. package/lib/cjs/glasses.js +121 -0
  8. package/lib/cjs/headgears.js +411 -0
  9. package/lib/cjs/index.js +54 -0
  10. package/lib/cjs/jerseys.js +3446 -0
  11. package/lib/cjs/notableMomentTypes.js +84 -0
  12. package/lib/cjs/paintJobs.js +598 -0
  13. package/lib/cjs/routes.js +4737 -0
  14. package/lib/cjs/runShirts.js +566 -0
  15. package/lib/cjs/runShoes.js +121 -0
  16. package/lib/cjs/runShorts.js +321 -0
  17. package/lib/cjs/segments.js +811 -0
  18. package/lib/cjs/socks.js +446 -0
  19. package/lib/cjs/trainingPlans.js +141 -0
  20. package/lib/cjs/types.js +2 -0
  21. package/lib/cjs/unlockableCategories.js +54 -0
  22. package/lib/cjs/worlds.js +115 -0
  23. package/lib/esm/achievements.js +823 -0
  24. package/lib/esm/bikeFrames.js +618 -0
  25. package/lib/esm/bikeFrontWheels.js +238 -0
  26. package/lib/esm/bikeRearWheels.js +243 -0
  27. package/lib/esm/bikeShoes.js +78 -0
  28. package/lib/esm/challenges.js +18 -0
  29. package/lib/esm/glasses.js +118 -0
  30. package/lib/esm/headgears.js +408 -0
  31. package/lib/esm/index.js +21 -0
  32. package/lib/esm/jerseys.js +3443 -0
  33. package/lib/esm/notableMomentTypes.js +81 -0
  34. package/lib/esm/paintJobs.js +595 -0
  35. package/lib/esm/routes.js +4734 -0
  36. package/lib/esm/runShirts.js +563 -0
  37. package/lib/esm/runShoes.js +118 -0
  38. package/lib/esm/runShorts.js +318 -0
  39. package/lib/esm/segments.js +808 -0
  40. package/lib/esm/socks.js +443 -0
  41. package/lib/esm/trainingPlans.js +138 -0
  42. package/lib/esm/types.js +1 -0
  43. package/lib/esm/unlockableCategories.js +51 -0
  44. package/lib/esm/worlds.js +112 -0
  45. package/lib/types/achievements.d.ts +2 -0
  46. package/lib/types/bikeFrames.d.ts +2 -0
  47. package/lib/types/bikeFrontWheels.d.ts +2 -0
  48. package/lib/types/bikeRearWheels.d.ts +2 -0
  49. package/lib/types/bikeShoes.d.ts +2 -0
  50. package/lib/types/challenges.d.ts +2 -0
  51. package/lib/types/glasses.d.ts +2 -0
  52. package/lib/types/headgears.d.ts +2 -0
  53. package/lib/{index.d.ts → types/index.d.ts} +21 -21
  54. package/lib/types/jerseys.d.ts +2 -0
  55. package/lib/types/notableMomentTypes.d.ts +2 -0
  56. package/lib/types/paintJobs.d.ts +2 -0
  57. package/lib/types/routes.d.ts +2 -0
  58. package/lib/types/runShirts.d.ts +2 -0
  59. package/lib/types/runShoes.d.ts +2 -0
  60. package/lib/types/runShorts.d.ts +2 -0
  61. package/lib/{segments.d.ts → types/segments.d.ts} +2 -2
  62. package/lib/types/socks.d.ts +2 -0
  63. package/lib/types/trainingPlans.d.ts +2 -0
  64. package/lib/{types.d.ts → types/types.d.ts} +263 -259
  65. package/lib/types/unlockableCategories.d.ts +2 -0
  66. package/lib/{worlds.d.ts → types/worlds.d.ts} +2 -2
  67. package/package.json +9 -11
  68. package/lib/achievements.d.ts +0 -2
  69. package/lib/bikeFrames.d.ts +0 -2
  70. package/lib/bikeFrontWheels.d.ts +0 -2
  71. package/lib/bikeRearWheels.d.ts +0 -2
  72. package/lib/bikeShoes.d.ts +0 -2
  73. package/lib/challenges.d.ts +0 -2
  74. package/lib/glasses.d.ts +0 -2
  75. package/lib/headgears.d.ts +0 -2
  76. package/lib/index.es.js +0 -1
  77. package/lib/index.js +0 -1
  78. package/lib/jersey.d.ts +0 -2
  79. package/lib/jerseys.d.ts +0 -2
  80. package/lib/notableMomentTypes.d.ts +0 -2
  81. package/lib/paintJobs.d.ts +0 -2
  82. package/lib/routes.d.ts +0 -2
  83. package/lib/runShirts.d.ts +0 -2
  84. package/lib/runShoes.d.ts +0 -2
  85. package/lib/runShorts.d.ts +0 -2
  86. package/lib/socks.d.ts +0 -2
  87. package/lib/trainingPlans.d.ts +0 -2
  88. package/lib/unlockableCategories.d.ts +0 -2
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.worlds = void 0;
4
+ exports.worlds = [
5
+ {
6
+ id: 1,
7
+ name: "Watopia",
8
+ slug: "watopia",
9
+ bounds: [
10
+ [-11.62597, 166.87747],
11
+ [-11.70255, 167.03255],
12
+ ],
13
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Watopia.png",
14
+ },
15
+ {
16
+ id: 2,
17
+ name: "Richmond",
18
+ slug: "richmond",
19
+ bounds: [
20
+ [37.5774, -77.48954],
21
+ [37.5014, -77.394],
22
+ ],
23
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Richmond.png",
24
+ },
25
+ {
26
+ id: 3,
27
+ name: "London",
28
+ slug: "london",
29
+ bounds: [
30
+ [51.5362, -0.1776],
31
+ [51.4601, -0.0555],
32
+ ],
33
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_London.png",
34
+ },
35
+ {
36
+ id: 4,
37
+ name: "New York",
38
+ slug: "new-york",
39
+ bounds: [
40
+ [40.81725, -74.0227],
41
+ [40.74085, -73.9222],
42
+ ],
43
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_NewYork.png",
44
+ },
45
+ {
46
+ id: 5,
47
+ name: "Innsbruck",
48
+ slug: "innsbruck",
49
+ bounds: [
50
+ [47.2947, 11.3501],
51
+ [47.2055, 11.4822],
52
+ ],
53
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Innsbruck.png",
54
+ },
55
+ {
56
+ id: 6,
57
+ name: "Bologna",
58
+ slug: "bologna",
59
+ bounds: [
60
+ [44.5308037, 11.26261748],
61
+ [44.45463821, 11.36991729102076],
62
+ ],
63
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Bologna.png",
64
+ },
65
+ {
66
+ id: 7,
67
+ name: "Yorkshire",
68
+ slug: "yorkshire",
69
+ bounds: [
70
+ [54.0254, -1.632],
71
+ [53.9491, -1.5022],
72
+ ],
73
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Yorkshire.png",
74
+ },
75
+ {
76
+ id: 8,
77
+ name: "Crit City",
78
+ slug: "crit-city",
79
+ bounds: [
80
+ [-10.3657, 165.7824],
81
+ [-10.4038, 165.8207],
82
+ ],
83
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_CritCity.png",
84
+ },
85
+ {
86
+ id: 10,
87
+ name: "France",
88
+ slug: "france",
89
+ bounds: [
90
+ [-21.64155, 166.1384],
91
+ [-21.7564, 166.26125],
92
+ ],
93
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_France.png",
94
+ },
95
+ {
96
+ id: 11,
97
+ name: "Paris",
98
+ slug: "paris",
99
+ bounds: [
100
+ [48.9058, 2.2561],
101
+ [48.82945, 2.3722],
102
+ ],
103
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Champs.png",
104
+ },
105
+ {
106
+ id: 12,
107
+ name: "Makuri Islands",
108
+ slug: "makuri-islands",
109
+ bounds: [
110
+ [-10.73746, 165.80468],
111
+ [-10.81405, 165.88222],
112
+ ],
113
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Japan.png",
114
+ },
115
+ ];