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,112 @@
1
+ export const worlds = [
2
+ {
3
+ id: 1,
4
+ name: "Watopia",
5
+ slug: "watopia",
6
+ bounds: [
7
+ [-11.62597, 166.87747],
8
+ [-11.70255, 167.03255],
9
+ ],
10
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Watopia.png",
11
+ },
12
+ {
13
+ id: 2,
14
+ name: "Richmond",
15
+ slug: "richmond",
16
+ bounds: [
17
+ [37.5774, -77.48954],
18
+ [37.5014, -77.394],
19
+ ],
20
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Richmond.png",
21
+ },
22
+ {
23
+ id: 3,
24
+ name: "London",
25
+ slug: "london",
26
+ bounds: [
27
+ [51.5362, -0.1776],
28
+ [51.4601, -0.0555],
29
+ ],
30
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_London.png",
31
+ },
32
+ {
33
+ id: 4,
34
+ name: "New York",
35
+ slug: "new-york",
36
+ bounds: [
37
+ [40.81725, -74.0227],
38
+ [40.74085, -73.9222],
39
+ ],
40
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_NewYork.png",
41
+ },
42
+ {
43
+ id: 5,
44
+ name: "Innsbruck",
45
+ slug: "innsbruck",
46
+ bounds: [
47
+ [47.2947, 11.3501],
48
+ [47.2055, 11.4822],
49
+ ],
50
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Innsbruck.png",
51
+ },
52
+ {
53
+ id: 6,
54
+ name: "Bologna",
55
+ slug: "bologna",
56
+ bounds: [
57
+ [44.5308037, 11.26261748],
58
+ [44.45463821, 11.36991729102076],
59
+ ],
60
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Bologna.png",
61
+ },
62
+ {
63
+ id: 7,
64
+ name: "Yorkshire",
65
+ slug: "yorkshire",
66
+ bounds: [
67
+ [54.0254, -1.632],
68
+ [53.9491, -1.5022],
69
+ ],
70
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Yorkshire.png",
71
+ },
72
+ {
73
+ id: 8,
74
+ name: "Crit City",
75
+ slug: "crit-city",
76
+ bounds: [
77
+ [-10.3657, 165.7824],
78
+ [-10.4038, 165.8207],
79
+ ],
80
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_CritCity.png",
81
+ },
82
+ {
83
+ id: 10,
84
+ name: "France",
85
+ slug: "france",
86
+ bounds: [
87
+ [-21.64155, 166.1384],
88
+ [-21.7564, 166.26125],
89
+ ],
90
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_France.png",
91
+ },
92
+ {
93
+ id: 11,
94
+ name: "Paris",
95
+ slug: "paris",
96
+ bounds: [
97
+ [48.9058, 2.2561],
98
+ [48.82945, 2.3722],
99
+ ],
100
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Champs.png",
101
+ },
102
+ {
103
+ id: 12,
104
+ name: "Makuri Islands",
105
+ slug: "makuri-islands",
106
+ bounds: [
107
+ [-10.73746, 165.80468],
108
+ [-10.81405, 165.88222],
109
+ ],
110
+ imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Japan.png",
111
+ },
112
+ ];
@@ -0,0 +1,2 @@
1
+ import { Achievements } from "./types";
2
+ export declare const achievements: ReadonlyArray<Achievements>;
@@ -0,0 +1,2 @@
1
+ import { BikeFrame } from "./types";
2
+ export declare const bikeFrames: ReadonlyArray<BikeFrame>;
@@ -0,0 +1,2 @@
1
+ import { BikeFrontWheel } from "./types";
2
+ export declare const bikeFrontWheels: ReadonlyArray<BikeFrontWheel>;
@@ -0,0 +1,2 @@
1
+ import { BikeRearWheel } from "./types";
2
+ export declare const bikeRearWheels: ReadonlyArray<BikeRearWheel>;
@@ -0,0 +1,2 @@
1
+ import { BikeShoe } from "./types";
2
+ export declare const bikeShoes: ReadonlyArray<BikeShoe>;
@@ -0,0 +1,2 @@
1
+ import { Challenge } from "./types";
2
+ export declare const challenges: ReadonlyArray<Challenge>;
@@ -0,0 +1,2 @@
1
+ import { Glass } from "./types";
2
+ export declare const glasses: ReadonlyArray<Glass>;
@@ -0,0 +1,2 @@
1
+ import { Headgear } from "./types";
2
+ export declare const headgears: ReadonlyArray<Headgear>;
@@ -1,21 +1,21 @@
1
- export { achievements } from "./achievements";
2
- export { bikeFrames } from "./bikeFrames";
3
- export { bikeFrontWheels } from "./bikeFrontWheels";
4
- export { bikeRearWheels } from "./bikeRearWheels";
5
- export { bikeShoes } from "./bikeShoes";
6
- export { challenges } from "./challenges";
7
- export { glasses } from "./glasses";
8
- export { headgears } from "./headgears";
9
- export { jerseys } from "./jersey";
10
- export { notableMomentTypes } from "./notableMomentTypes";
11
- export { paintJobs } from "./paintJobs";
12
- export { routes } from "./routes";
13
- export { runShirts } from "./runShirts";
14
- export { runShoes } from "./runShoes";
15
- export { runShorts } from "./runShorts";
16
- export { segments } from "./segments";
17
- export { socks } from "./socks";
18
- export { trainingPlans } from "./trainingPlans";
19
- export * from "./types";
20
- export { unlockableCategories } from "./unlockableCategories";
21
- export { worlds } from "./worlds";
1
+ export { achievements } from "./achievements";
2
+ export { bikeFrames } from "./bikeFrames";
3
+ export { bikeFrontWheels } from "./bikeFrontWheels";
4
+ export { bikeRearWheels } from "./bikeRearWheels";
5
+ export { bikeShoes } from "./bikeShoes";
6
+ export { challenges } from "./challenges";
7
+ export { glasses } from "./glasses";
8
+ export { headgears } from "./headgears";
9
+ export { jerseys } from "./jerseys";
10
+ export { notableMomentTypes } from "./notableMomentTypes";
11
+ export { paintJobs } from "./paintJobs";
12
+ export { routes } from "./routes";
13
+ export { runShirts } from "./runShirts";
14
+ export { runShoes } from "./runShoes";
15
+ export { runShorts } from "./runShorts";
16
+ export { segments } from "./segments";
17
+ export { socks } from "./socks";
18
+ export { trainingPlans } from "./trainingPlans";
19
+ export * from "./types";
20
+ export { unlockableCategories } from "./unlockableCategories";
21
+ export { worlds } from "./worlds";
@@ -0,0 +1,2 @@
1
+ import { Jersey } from "./types";
2
+ export declare const jerseys: ReadonlyArray<Jersey>;
@@ -0,0 +1,2 @@
1
+ import { NotableMomentType } from "./types";
2
+ export declare const notableMomentTypes: ReadonlyArray<NotableMomentType>;
@@ -0,0 +1,2 @@
1
+ import { PaintJob } from "./types";
2
+ export declare const paintJobs: ReadonlyArray<PaintJob>;
@@ -0,0 +1,2 @@
1
+ import { Route } from "./types";
2
+ export declare const routes: ReadonlyArray<Route>;
@@ -0,0 +1,2 @@
1
+ import { RunShirt } from "./types";
2
+ export declare const runShirts: ReadonlyArray<RunShirt>;
@@ -0,0 +1,2 @@
1
+ import { RunShoe } from "./types";
2
+ export declare const runShoes: ReadonlyArray<RunShoe>;
@@ -0,0 +1,2 @@
1
+ import { RunShort } from "./types";
2
+ export declare const runShorts: ReadonlyArray<RunShort>;
@@ -1,2 +1,2 @@
1
- import { Segment } from "./types";
2
- export declare const segments: ReadonlyArray<Segment>;
1
+ import { Segment } from "./types";
2
+ export declare const segments: ReadonlyArray<Segment>;
@@ -0,0 +1,2 @@
1
+ import { Sock } from "./types";
2
+ export declare const socks: ReadonlyArray<Sock>;
@@ -0,0 +1,2 @@
1
+ import { TrainingPlan } from "./types";
2
+ export declare const trainingPlans: ReadonlyArray<TrainingPlan>;