zwift-data 1.20.1 → 1.20.2

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 (39) hide show
  1. package/lib/cjs/achievements.js +189 -942
  2. package/lib/cjs/bikeFrames.js +127 -742
  3. package/lib/cjs/bikeFrontWheels.js +63 -272
  4. package/lib/cjs/bikeRearWheels.js +64 -277
  5. package/lib/cjs/bikeShoes.js +19 -92
  6. package/lib/cjs/challenges.js +4 -17
  7. package/lib/cjs/glasses.js +26 -127
  8. package/lib/cjs/headgears.js +174 -547
  9. package/lib/cjs/jerseys.js +960 -4177
  10. package/lib/cjs/notableMomentTypes.js +14 -80
  11. package/lib/cjs/paintJobs.js +175 -686
  12. package/lib/cjs/routes.js +5398 -7204
  13. package/lib/cjs/runShirts.js +205 -762
  14. package/lib/cjs/runShoes.js +34 -147
  15. package/lib/cjs/runShorts.js +152 -517
  16. package/lib/cjs/segments.js +1044 -856
  17. package/lib/cjs/socks.js +121 -542
  18. package/lib/cjs/trainingPlans.js +30 -147
  19. package/lib/cjs/unlockableCategories.js +13 -50
  20. package/lib/esm/achievements.js +189 -942
  21. package/lib/esm/bikeFrames.js +127 -742
  22. package/lib/esm/bikeFrontWheels.js +63 -272
  23. package/lib/esm/bikeRearWheels.js +64 -277
  24. package/lib/esm/bikeShoes.js +19 -92
  25. package/lib/esm/challenges.js +4 -17
  26. package/lib/esm/glasses.js +26 -127
  27. package/lib/esm/headgears.js +174 -547
  28. package/lib/esm/jerseys.js +960 -4177
  29. package/lib/esm/notableMomentTypes.js +14 -80
  30. package/lib/esm/paintJobs.js +175 -686
  31. package/lib/esm/routes.js +5398 -7204
  32. package/lib/esm/runShirts.js +205 -762
  33. package/lib/esm/runShoes.js +34 -147
  34. package/lib/esm/runShorts.js +152 -517
  35. package/lib/esm/segments.js +1044 -856
  36. package/lib/esm/socks.js +121 -542
  37. package/lib/esm/trainingPlans.js +30 -147
  38. package/lib/esm/unlockableCategories.js +13 -50
  39. package/package.json +2 -1
@@ -1,84 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.notableMomentTypes = void 0;
4
- // prettier-ignore
5
4
  exports.notableMomentTypes = [
6
- {
7
- "id": 0,
8
- "name": "NEW PR!",
9
- "imageName": "NEW_PR",
10
- "priority": 1
11
- },
12
- {
13
- "id": 1,
14
- "name": "HIT DAILY TARGET!",
15
- "imageName": "MET_DAILY_TARGET",
16
- "priority": 8
17
- },
18
- {
19
- "id": 2,
20
- "name": "ACHIEVEMENT UNLOCKED!",
21
- "imageName": "ACHIEVEMENT_UNLOCKED",
22
- "priority": 5
23
- },
24
- {
25
- "id": 3,
26
- "name": "MISSION COMPLETED",
27
- "imageName": "MISSION_COMPLETED",
28
- "priority": 6
29
- },
30
- {
31
- "id": 4,
32
- "name": "UNLOCKED ITEM",
33
- "imageName": "UNLOCKED_ITEM",
34
- "priority": 4
35
- },
36
- {
37
- "id": 5,
38
- "name": "LEVEL UP!",
39
- "imageName": "GAINED_LEVEL",
40
- "priority": 2
41
- },
42
- {
43
- "id": 8,
44
- "name": "TOOK A JERSEY",
45
- "imageName": "TOOK_ARCH_JERSEY",
46
- "priority": 9
47
- },
48
- {
49
- "id": 10,
50
- "name": "COMPLETED A GOAL",
51
- "imageName": "COMPLETED_GOAL",
52
- "priority": 7
53
- },
54
- {
55
- "id": 13,
56
- "name": "FINISHED EVENT",
57
- "imageName": "FINISHED_EVENT",
58
- "priority": 11
59
- },
60
- {
61
- "id": 15,
62
- "name": "FINISHED WORKOUT",
63
- "imageName": "FINISHED_WORKOUT",
64
- "priority": 12
65
- },
66
- {
67
- "id": 17,
68
- "name": "FINISHED CHALLENGE",
69
- "imageName": "FINISHED_CHALLENGE",
70
- "priority": 10
71
- },
72
- {
73
- "id": 19,
74
- "name": "TRAINING PLAN COMPLETE!",
75
- "imageName": "TRAINING_PLAN_COMPLETE",
76
- "priority": 3
77
- },
78
- {
79
- "id": 20,
80
- "name": "ACTIVITY BESTS",
81
- "imageName": "ACTIVITY_BESTS",
82
- "priority": 13
83
- }
84
- ];
5
+ [0, "NEW PR!", "NEW_PR", 1],
6
+ [1, "HIT DAILY TARGET!", "MET_DAILY_TARGET", 8],
7
+ [2, "ACHIEVEMENT UNLOCKED!", "ACHIEVEMENT_UNLOCKED", 5],
8
+ [3, "MISSION COMPLETED", "MISSION_COMPLETED", 6],
9
+ [4, "UNLOCKED ITEM", "UNLOCKED_ITEM", 4],
10
+ [5, "LEVEL UP!", "GAINED_LEVEL", 2],
11
+ [8, "TOOK A JERSEY", "TOOK_ARCH_JERSEY", 9],
12
+ [10, "COMPLETED A GOAL", "COMPLETED_GOAL", 7],
13
+ [13, "FINISHED EVENT", "FINISHED_EVENT", 11],
14
+ [15, "FINISHED WORKOUT", "FINISHED_WORKOUT", 12],
15
+ [17, "FINISHED CHALLENGE", "FINISHED_CHALLENGE", 10],
16
+ [19, "TRAINING PLAN COMPLETE!", "TRAINING_PLAN_COMPLETE", 3],
17
+ [20, "ACTIVITY BESTS", "ACTIVITY_BESTS", 13],
18
+ ].map(([id, name, imageName, priority]) => ({ id, name, imageName, priority }));