Skip to content

Commit

Permalink
feat: June 2024 update (#119)
Browse files Browse the repository at this point in the history
* fix: update data from game dictionary

* feat: add route details

* feat: add route details

* fix: remove duplicate segment

* feat: add segments

* chore: remove `imageUrl`

---------

Co-authored-by: Andi Pätzold [bot] <[email protected]>
Co-authored-by: Andi Pätzold <[email protected]>
  • Loading branch information
3 people committed Jun 14, 2024
1 parent 47a1a6d commit 5d35d9d
Show file tree
Hide file tree
Showing 9 changed files with 737 additions and 23 deletions.
141 changes: 141 additions & 0 deletions data/routes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2311,4 +2311,145 @@ export const routes = [
"https://whatsonzwift.com/world/scotland/route/glasgow-reverse",
zwiftInsiderUrl: "https://zwiftinsider.com/glasgow-crit-circuit-reverse",
},
{
id: 183635628,
slug: "elevation-evaluation",
segments: [
"sasquatch-sprint",
"the-grade-kom",
"woodland-sprint-rev",
"sasquatch-sprint-rev",
],
stravaSegmentId: 37049454,
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/route/elevation-evaluation",
zwiftInsiderUrl: "https://zwiftinsider.com/route/elevation-evaluation",
},
{
id: 226950646,
slug: "mayan-san-remo",
segments: ["mayan-mountainside-kom", "itza-kom"],
stravaSegmentId: 37098607,
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/route/mayan-san-remo",
zwiftInsiderUrl: "https://zwiftinsider.com/route/mayan-san-remo",
},
{
id: 270817258,
slug: "tides-and-temples",
segments: [
"sasquatch-sprint",
"woodland-sprint",
"stoneway-sprint",
"acropolis-sprint",
],
stravaSegmentId: 37041912,
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/route/tides-and-temples",
zwiftInsiderUrl: "https://zwiftinsider.com/route/tides-and-temples",
},
{
id: 1631692097,
slug: "glyph-heights",
segments: [
"acropolis-sprint-rev",
"stoneway-sprint-rev",
"mayan-mountainside-kom",
"itza-kom",
],
stravaSegmentId: 37011748,
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/route/glyph-heights",
zwiftInsiderUrl: "https://zwiftinsider.com/route/glyph-heights",
},
{
id: 2333249368,
slug: "itza-climb-finish",
segments: [
"woodland-sprint-rev",
"sasquatch-sprint-rev",
"acropolis-sprint-rev",
"stoneway-sprint-rev",
"mayan-mountainside-kom",
"itza-kom",
],
stravaSegmentId: 37097998,
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/route/itza-climb-finish",
zwiftInsiderUrl: "https://zwiftinsider.com/route/itza-climb-finish",
},
{
id: 3324272424,
slug: "snowman",
segments: ["watopia-sprint-rev", "mayan-mountainside-kom", "itza-kom"],
stravaSegmentId: 37049460,
whatsOnZwiftUrl: "https://whatsonzwift.com/world/watopia/route/snowman",
zwiftInsiderUrl: "https://zwiftinsider.com/route/snowman",
},
{
id: 3532866973,
slug: "oh-hill-no",
segments: ["the-grade-kom"],
stravaSegmentId: 37011743,
whatsOnZwiftUrl: "https://whatsonzwift.com/world/watopia/route/oh-hill-no",
zwiftInsiderUrl: "https://zwiftinsider.com/route/oh-hill-no",
},
{
id: 3558689342,
slug: "peak-performance",
segments: [
"titans-grove-kom-rev",
"woodland-sprint-rev",
"sasquatch-sprint-rev",
"the-grade-kom",
],
stravaSegmentId: 37047817,
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/route/peak-performance",
zwiftInsiderUrl: "https://zwiftinsider.com/route/peak-performance",
},
{
id: 4131664304,
slug: "itza-party",
segments: [
"zwift-kom",
"titans-grove-kom-rev",
"woodland-sprint-rev",
"sasquatch-sprint-rev",
"acropolis-sprint-rev",
"stoneway-sprint-rev",
"mayan-mountainside-kom",
"itza-kom",
],
stravaSegmentId: 37098941,
whatsOnZwiftUrl: "https://whatsonzwift.com/world/watopia/route/itza-party",
zwiftInsiderUrl: "https://zwiftinsider.com/route/itza-party",
},
{
id: 4280627426,
slug: "mayan-mash",
segments: [
"acropolis-sprint-rev",
"stoneway-sprint-rev",
"mayan-mountainside-kom",
"itza-kom",
],
stravaSegmentId: 37039844,
whatsOnZwiftUrl: "https://whatsonzwift.com/world/watopia/route/mayan-mash",
zwiftInsiderUrl: "https://zwiftinsider.com/route/mayan-mash",
},
{
id: 2768300955,
slug: "coastal-crown-loop",
segments: [
"itza-kom",
"acropolis-sprint-rev",
"stoneway-sprint-rev",
"mayan-mountainside-kom",
],
stravaSegmentId: 37039562,
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/route/coastal-crown-loop",
zwiftInsiderUrl: "https://zwiftinsider.com/route/coastal-crown-loop",
},
];
39 changes: 39 additions & 0 deletions data/segments.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1182,4 +1182,43 @@ export const segments = [
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/segment/woodland-sprint/reverse",
},
{
name: "Itza KOM",
slug: "itza-kom",
distance: 3.75,
elevation: 95,
avgIncline: 2,
type: "climb",
world: "watopia",
stravaSegmentId: 37039571,
stravaSegmentUrl: "https://www.strava.com/segments/37039571",
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/segment/itza-kom/forward",
},
{
name: "Mayan Mountainside KOM",
slug: "mayan-mountainside-kom",
distance: 1.99,
elevation: 62,
avgIncline: 3.1,
type: "climb",
world: "watopia",
stravaSegmentId: 37049451,
stravaSegmentUrl: "https://www.strava.com/segments/37049451",
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/segment/mayan-mountainside-kom/forward",
},
{
name: "The Grade KOM",
slug: "the-grade-kom",
distance: 3.52,
elevation: 305,
avgIncline: 8.6,
type: "climb",
world: "watopia",
stravaSegmentId: 37033150,
stravaSegmentUrl: "https://www.strava.com/segments/37033150",
whatsOnZwiftUrl:
"https://whatsonzwift.com/world/watopia/segment/the-grade/forward",
},
];
12 changes: 0 additions & 12 deletions data/worlds.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,49 @@ export const worlds = [
{
gameDictionary: "WATOPIA",
slug: "watopia",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Watopia.png",
},
{
gameDictionary: "NEWYORK",
slug: "new-york",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_NewYork.png",
},
{
gameDictionary: "RICHMOND",
slug: "richmond",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Richmond.png",
},
{
gameDictionary: "LONDON",
slug: "london",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_London.png",
},
{
gameDictionary: "INNSBRUCK",
slug: "innsbruck",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Innsbruck.png",
},
{
gameDictionary: "BOLOGNATT",
slug: "bologna",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Bologna.png",
},
{
gameDictionary: "YORKSHIRE",
slug: "yorkshire",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Yorkshire.png",
},
{
gameDictionary: "CRITCITY",
slug: "crit-city",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_CritCity.png",
},
{
gameDictionary: "PARIS",
slug: "paris",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Champs.png",
},
{
gameDictionary: "MAKURIISLANDS",
slug: "makuri-islands",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Japan.png",
},
{
gameDictionary: "FRANCE",
slug: "france",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_France.png",
},
{
gameDictionary: "SCOTLAND",
slug: "scotland",
imageUrl: "https://cdn.zwift.com/static/images/maps/MiniMap_Scotland.png",
},
];
13 changes: 12 additions & 1 deletion src/achievements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export const achievements: ReadonlyArray<Achievement> = (
[201, "TURF N SURF", "RouteComplete"],
[202, "LA REINE", "RouteComplete"],
[203, "GOTHAM GRIND", "RouteComplete"],
[204, "WATOPIAS WAISTBAND", "RouteComplete"],
[204, "WATOPIA'S WAISTBAND", "RouteComplete"],
[205, "RICHMOND UCI REVERSE", "RouteComplete"],
[206, "ROLLING HIGHLANDS", "RouteComplete"],
[207, "CITY AND THE SGURR", "RouteComplete"],
Expand Down Expand Up @@ -224,5 +224,16 @@ export const achievements: ReadonlyArray<Achievement> = (
[233, "HILLY ROUTE REVERSE", "RouteComplete"],
[234, "LONDON CLASSIQUE REVERSE", "RouteComplete"],
[235, "PARK PERIMETER REVERSE", "RouteComplete"],
[236, "OH HILL NO", "RouteComplete"],
[237, "COASTAL CROWN LOOP", "RouteComplete"],
[238, "GLYPH HEIGHTS", "RouteComplete"],
[239, "MAYAN MASH", "RouteComplete"],
[240, "TIDES AND TEMPLES", "RouteComplete"],
[242, "PEAK PERFORMANCE", "RouteComplete"],
[243, "SNOWMAN", "RouteComplete"],
[246, "MAYAN SAN REMO", "RouteComplete"],
[247, "ITZA CLIMB FINISH", "RouteComplete"],
[248, "ITZA PARTY", "RouteComplete"],
[250, "ELEVATION EVALUATION", "RouteComplete"],
] as const
).map(([id, name, imageName]) => ({ id, name, imageName }));
4 changes: 2 additions & 2 deletions src/headgears.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const headgears: ReadonlyArray<Headgear> = (
[1208445863, "Team BikeExchange Cap", "CyclingCapBikeExchange2022_thumb"],
[1225125243, "None", "none"],
[1247929422, "Zwift Cycling Cap", "CyclingCap_Orange"],
[1292376041, "LOC_ACCESSORY_LAZERBULLET", "LazerBullet"],
[1292376041, "Lazer Vento", "LazerBullet"],
[1295867791, "HEP", "CylcingCapHEP_thumb2022"],
[1356164614, "Giro Eclipse", "GiroEclipse2021"],
[
Expand Down Expand Up @@ -137,7 +137,7 @@ export const headgears: ReadonlyArray<Headgear> = (
"Tour of Watopia Fall 2023 Run Cap",
"RunningCapToWFall2023_thumb",
],
[2763919224, "ZRL2021", "ZRL2021_thumb"],
[2763919224, "ZRL Winner", "ZRL2021_thumb"],
[2803157511, "Saucony Outpace Cap", "RunnerCapSaucony2021_thumb"],
[2828152591, "Liv Backwards Cap", "BackwardsCyclingCapLiv2022_thumb"],
[
Expand Down
3 changes: 2 additions & 1 deletion src/jerseys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ export const jerseys: ReadonlyArray<Jersey> = (
],
[1033576880, "Sub 8", "Sub82022_thumb"],
[1040478737, "2XU Cycling", "2XUCycling2021_thumb"],
[1051970139, "Santini Grand Depart", "TdFGreen2020_thumb"],
[1051970139, "Santini Grand Depart", "TdF2024_thumb"],
[1055383332, "zFondo Mar 2021", "ZFondo2021Mar_thumb"],
[1065184178, "CA Technologies 2018", "CaTech2018_thumb"],
[1066013543, "Eric Min T Day Jersey", "EricMinTDay2021_thumb"],
Expand Down Expand Up @@ -863,6 +863,7 @@ export const jerseys: ReadonlyArray<Jersey> = (
[3058092866, "Castelli Virtual Aero Red", "CastelliVirtualAero_Red_thumb"],
[3058164798, "Lionel Sanders No Limits", "no_limits_thumb"],
[3061523465, "Rowe & King", "RoweAndKing_thumb"],
[3062740627, "2024 Zwift Academy", "ZwiftAcademy2024_thumb"],
[3068843682, "JZQc", "JZQc2023_thumb"],
[3068939527, "Cycling Tips", "CyclingTips_thumb"],
[3073658735, "Haute Route Watopia 2021 Kit", "HauteRoute2021_thumb"],
Expand Down
6 changes: 6 additions & 0 deletions src/paintJobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const paintJobs: ReadonlyArray<PaintJob> = (
[97563820, "Zwift Carbon-Madison Genesis Zero"],
[120539752, "Ventum One-Ventum One Ironman"],
[234063120, "Giant TCR Advanced SL-TCR Blue"],
[253698565, "Zwift Aero-Zwift Ride"],
[304373641, "Trek Speed Concept 2021-Base"],
[352352109, "Pinarello Dogma 65.1-Beta Scheme"],
[375521613, "Cube Cube Litening-Cube Litening 2018"],
Expand Down Expand Up @@ -94,6 +95,7 @@ export const paintJobs: ReadonlyArray<PaintJob> = (
],
[2169696877, "Canyon CanyonSpeedmaxCRSLXDisc2021-Black/White"],
[2184650643, "Canyon Aeroad 2015-ZA 2018"],
[2190028435, "Zwift TT-Zwift TT"],
[2193987910, "Uranium UraniumNuclear2021-base"],
[2217760637, "Trek Emonda SL-Emonda SL"],
[2229015867, "Cervelo S5-ZA 2018"],
Expand Down Expand Up @@ -126,6 +128,7 @@ export const paintJobs: ReadonlyArray<PaintJob> = (
[2850354759, "BMC Timemachine01-BMC Timemachine01 Black"],
[2878178034, "BMC SLR01-SLR01 1"],
[2893476115, "Specialized Tarmac-Specialized S-Works"],
[2911859369, "Zwift Concept Z1-Zwift Concept"],
[2922759853, "Lauf Lauf True Grit-LaufTrueGrit"],
[2957255713, "Specialized Tarmac SL7-Legion of LA"],
[2968318986, "Chapter2 Chapter2TOA2021-TOA"],
Expand All @@ -140,6 +143,7 @@ export const paintJobs: ReadonlyArray<PaintJob> = (
[3123827548, "Cannondale CAAD12-Caad12 2"],
[3137926703, "Zwift Steel-Zwift"],
[3218850857, "Pinarello Dogma F12-Ineos"],
[3221919186, "Zwift TT-Zwift Ride"],
[3231090416, "Scott Plasma-Scott Plasma"],
[3246887345, "Cervelo S5-Cavendish"],
[3286096170, "Cube Aerium-Cube Aerium 2019"],
Expand Down Expand Up @@ -171,6 +175,7 @@ export const paintJobs: ReadonlyArray<PaintJob> = (
[3877664587, "Pinarello DogmaX2024-Dogma X"],
[3959514452, "Factor One-One Israel"],
[3962435618, "BMC SLR01-SLR01 2"],
[3980357855, "Zwift Concept Z1-Zwift Ride"],
[3985070191, "Specialized Ruby-Chameleon Black"],
[3989678949, "Zwift Carbon-Zwift Dark"],
[3997469847, "BMC Timemachine01-BMC Timemachine01 Yellow"],
Expand All @@ -179,6 +184,7 @@ export const paintJobs: ReadonlyArray<PaintJob> = (
[4047656247, "Specialized Tarmac Pro-Bora Hansgrohe"],
[4058065922, "Scott Spark RC-Scott Spark"],
[4075164819, "Giant TCR Advanced SL-Alpecin"],
[4158375362, "Zwift Carbon-Zwift Ride"],
[4200526546, "Ridley Noah Fast 2019-Ridley Noah Fast 2019"],
[4254181772, "Cannondale CAAD12-Caad12 1"],
[4285075766, "Canyon Aeroad 2021-Canyon Aeroad 2020 ZA Men"],
Expand Down
Loading

0 comments on commit 5d35d9d

Please sign in to comment.