Sharing in case others find it useful
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update EXERCISE_MAP to use HEVY_EXERCISES constants for improved clarity and maintainability

+100 -102
+100 -102
exercise-map.ts
··· 3 3 // e.g. "Running": H.RUNNING 4 4 import { HEVY_EXERCISES as H } from './HEVY_EXERCISES.ts'; 5 5 6 - const DEFAULT_EXERCISE = undefined; 7 - 8 6 export const EXERCISE_MAP: Record<string, string | undefined> = { 9 - "Running": DEFAULT_EXERCISE, 10 - "Rowing": DEFAULT_EXERCISE, 11 - "Dumbbell Row": DEFAULT_EXERCISE, 12 - "Dumbbell Bicep Curl": DEFAULT_EXERCISE, 13 - "Dumbbell Skullcrusher": DEFAULT_EXERCISE, 14 - "Dumbbell Fly": DEFAULT_EXERCISE, 15 - "Dumbbell Incline Bench Press": DEFAULT_EXERCISE, 16 - "Bench Dip": DEFAULT_EXERCISE, 17 - "Dumbbell Goblet Squat": DEFAULT_EXERCISE, 18 - "Dumbbell Bulgarian Split Squat": DEFAULT_EXERCISE, 19 - "Kettlebell Sumo Squat": DEFAULT_EXERCISE, 20 - "Dumbbell Lunge": DEFAULT_EXERCISE, 21 - "Standing Dumbbell Calf Raise": DEFAULT_EXERCISE, 22 - "Crunches": DEFAULT_EXERCISE, 23 - "Dumbbell Bench Press": DEFAULT_EXERCISE, 24 - "Dumbbell Bent Over Row": DEFAULT_EXERCISE, 25 - "Weighted Ball Hyperextension": DEFAULT_EXERCISE, 26 - "Walking": DEFAULT_EXERCISE, 27 - "Dumbbell Shoulder Press": DEFAULT_EXERCISE, 28 - "Dumbbell Front Raise": DEFAULT_EXERCISE, 29 - "Exercise Ball Crunch": DEFAULT_EXERCISE, 30 - "Dumbbell Rear Delt Raise": DEFAULT_EXERCISE, 31 - "Dumbbell Squat": DEFAULT_EXERCISE, 32 - "Stability Ball Back Extension": DEFAULT_EXERCISE, 33 - "Jumping Jack": DEFAULT_EXERCISE, 34 - "Dumbbell Romanian Deadlift": DEFAULT_EXERCISE, 35 - "Russian Twist": DEFAULT_EXERCISE, 36 - "Ab Rollout": DEFAULT_EXERCISE, 37 - "Plank": DEFAULT_EXERCISE, 38 - "Swimming": DEFAULT_EXERCISE, 39 - "Running - Treadmill": DEFAULT_EXERCISE, 40 - "Gorilla Rows": DEFAULT_EXERCISE, 41 - "Dumbbell Tricep Extension": DEFAULT_EXERCISE, 42 - "Dumbbell Kickbacks": DEFAULT_EXERCISE, 43 - "Dumbbell Squat To Shoulder Press": DEFAULT_EXERCISE, 44 - "Single Leg Romanian Deadlift": DEFAULT_EXERCISE, 45 - "Kettlebell Swing": DEFAULT_EXERCISE, 46 - "Bicycle Crunch": DEFAULT_EXERCISE, 47 - "Iron Cross": DEFAULT_EXERCISE, 48 - "Single Leg Hip Thrust": DEFAULT_EXERCISE, 49 - "Dumbbell Superman": DEFAULT_EXERCISE, 50 - "Hammer Curls": DEFAULT_EXERCISE, 51 - "Superman with Scaption": DEFAULT_EXERCISE, 52 - "Dumbbell Hip Thrust": DEFAULT_EXERCISE, 53 - "Dumbbell Glute Bridge": DEFAULT_EXERCISE, 54 - "Loop Band Romanian Deadlift": DEFAULT_EXERCISE, 55 - "Alternating Superman": DEFAULT_EXERCISE, 56 - "Sit Up": DEFAULT_EXERCISE, 57 - "Burpee": DEFAULT_EXERCISE, 58 - "Tricep Push Up": DEFAULT_EXERCISE, 59 - "Kettlebell Single Arm Farmer Walk": DEFAULT_EXERCISE, 60 - "Cross Body Hammer Curls": DEFAULT_EXERCISE, 61 - "Push Up": DEFAULT_EXERCISE, 62 - "Lunge": DEFAULT_EXERCISE, 63 - "Single Dumbbell Sumo Squat": DEFAULT_EXERCISE, 64 - "Single Leg Glute Bridge": DEFAULT_EXERCISE, 65 - "Superman Hold": DEFAULT_EXERCISE, 66 - "Kettlebell Row": DEFAULT_EXERCISE, 67 - "Lunge Twist": DEFAULT_EXERCISE, 68 - "Standing Leg Side Circle": DEFAULT_EXERCISE, 69 - "Butt Kick": DEFAULT_EXERCISE, 70 - "Inchworm": DEFAULT_EXERCISE, 71 - "Single Arm Overhead Dumbbell Lunge": DEFAULT_EXERCISE, 72 - "Dumbbell Shrug": DEFAULT_EXERCISE, 73 - "Superman": DEFAULT_EXERCISE, 74 - "Handle Band Forward Raise": DEFAULT_EXERCISE, 75 - "Handle Band Squat": DEFAULT_EXERCISE, 76 - "Scissor Kick": DEFAULT_EXERCISE, 77 - "Dumbbell Squeeze Press": DEFAULT_EXERCISE, 78 - "Side Lunge": DEFAULT_EXERCISE, 79 - "Handle Band Rear Deltoid Fly": DEFAULT_EXERCISE, 80 - "Leg Pull-In": DEFAULT_EXERCISE, 81 - "Jump Rope": DEFAULT_EXERCISE, 82 - "Mini Loop Band Overhead Fly": DEFAULT_EXERCISE, 83 - "Mini Loop Band Lateral Shoulder Raise": DEFAULT_EXERCISE, 84 - "Handle Band Upright Row": DEFAULT_EXERCISE, 85 - "Handle Band Tricep Extension": DEFAULT_EXERCISE, 86 - "Handle Band Bicep Curl": DEFAULT_EXERCISE, 87 - "Seated Dumbbell Curl": DEFAULT_EXERCISE, 88 - "Alternating Dumbbell Bench Press": DEFAULT_EXERCISE, 89 - "Incline Tricep Push Up": DEFAULT_EXERCISE, 90 - "Mini Loop Band Kneeling Bicep Curl": DEFAULT_EXERCISE, 91 - "Leg Raise": DEFAULT_EXERCISE, 92 - "Oblique Crunch": DEFAULT_EXERCISE, 93 - "Mountain Climber": DEFAULT_EXERCISE, 94 - "Mini Loop Band Single Leg Romanian Deadlift with Row": DEFAULT_EXERCISE, 95 - "Walking Lunge": DEFAULT_EXERCISE, 96 - "Handle Band Bent Over Row": DEFAULT_EXERCISE, 97 - "Lunge Jump": DEFAULT_EXERCISE, 98 - "Handle Band Lat Pulldown": DEFAULT_EXERCISE, 99 - "Jackknife Sit-Up": DEFAULT_EXERCISE, 100 - "Cycling": DEFAULT_EXERCISE, 101 - "Single Arm Dumbbell Tricep Extension": DEFAULT_EXERCISE, 102 - "Dumbbell No Money Curls": DEFAULT_EXERCISE, 103 - "Flutter Kicks": DEFAULT_EXERCISE, 104 - "Dumbbell Lateral Raise": DEFAULT_EXERCISE, 105 - "Incline Push Up": DEFAULT_EXERCISE, 106 - "Kettlebell Upright Row": DEFAULT_EXERCISE, 107 - "Mini Loop Band Kneeling Row": DEFAULT_EXERCISE, 108 - "Air Squats": DEFAULT_EXERCISE, 7 + "Running": H.RUNNING, 8 + "Rowing": H.ROWING, 9 + "Dumbbell Row": H.DUMBBELL_ROW, 10 + "Dumbbell Bicep Curl": H.DUMBBELL_BICEP_CURL, 11 + "Dumbbell Skullcrusher": H.DUMBBELL_SKULLCRUSHER, 12 + "Dumbbell Fly": H.DUMBBELL_FLY, 13 + "Dumbbell Incline Bench Press": H.DUMBBELL_INCLINE_BENCH_PRESS, 14 + "Bench Dip": H.BENCH_DIP, 15 + "Dumbbell Goblet Squat": H.DUMBBELL_GOBLET_SQUAT, 16 + "Dumbbell Bulgarian Split Squat": H.BULGARIAN_SPLIT_SQUAT, 17 + "Kettlebell Sumo Squat": H.KETTLEBELL_SUMO_SQUAT, 18 + "Dumbbell Lunge": H.DUMBBELL_LUNGE, 19 + "Standing Dumbbell Calf Raise": H.STANDING_DUMBBELL_CALF_RAISE, 20 + "Crunches": H.CRUNCHES, 21 + "Dumbbell Bench Press": H.DUMBBELL_BENCH_PRESS, 22 + "Dumbbell Bent Over Row": H.DUMBBELL_BENT_OVER_ROW, 23 + "Weighted Ball Hyperextension": H.WEIGHTED_BALL_HYPEREXTENSION, 24 + "Walking": H.WALKING, 25 + "Dumbbell Shoulder Press": H.DUMBBELL_SHOULDER_PRESS, 26 + "Dumbbell Front Raise": H.DUMBBELL_FRONT_RAISE, 27 + "Exercise Ball Crunch": H.EXERCISE_BALL_CRUNCH, 28 + "Dumbbell Rear Delt Raise": H.DUMBBELL_REAR_DELT_RAISE, 29 + "Dumbbell Squat": H.DUMBBELL_SQUAT, 30 + "Stability Ball Back Extension": H.STABILITY_BALL_BACK_EXTENSION, 31 + "Jumping Jack": H.JUMPING_JACK, 32 + "Dumbbell Romanian Deadlift": H.DUMBBELL_ROMANIAN_DEADLIFT, 33 + "Russian Twist": H.RUSSIAN_TWIST, 34 + "Ab Rollout": H.AB_ROLLOUT, 35 + "Plank": H.PLANK, 36 + "Swimming": H.SWIMMING, 37 + "Running - Treadmill": H.RUNNING_TREADMILL, 38 + "Gorilla Rows": H.GORILLA_ROWS, 39 + "Dumbbell Tricep Extension": H.DUMBBELL_TRICEP_EXTENSION, 40 + "Dumbbell Kickbacks": H.DUMBBELL_KICKBACKS, 41 + "Dumbbell Squat To Shoulder Press": H.DUMBBELL_SQUAT_TO_SHOULDER_PRESS, 42 + "Single Leg Romanian Deadlift": H.SINGLE_LEG_ROMANIAN_DEADLIFT, 43 + "Kettlebell Swing": H.KETTLEBELL_SWING, 44 + "Bicycle Crunch": H.BICYCLE_CRUNCH, 45 + "Iron Cross": H.IRON_CROSS, 46 + "Single Leg Hip Thrust": H.SINGLE_LEG_HIP_THRUST, 47 + "Dumbbell Superman": H.DUMBBELL_SUPERMAN, 48 + "Hammer Curls": H.HAMMER_CURLS, 49 + "Superman with Scaption": H.SUPERMAN_WITH_SCAPTION, 50 + "Dumbbell Hip Thrust": H.DUMBBELL_HIP_THRUST, 51 + "Dumbbell Glute Bridge": H.DUMBBELL_GLUTE_BRIDGE, 52 + "Loop Band Romanian Deadlift": H.LOOP_BAND_ROMANIAN_DEADLIFT, 53 + "Alternating Superman": H.ALTERNATING_SUPERMAN, 54 + "Sit Up": H.SIT_UP, 55 + "Burpee": H.BURPEE, 56 + "Tricep Push Up": H.TRICEP_PUSH_UP, 57 + "Kettlebell Single Arm Farmer Walk": H.KETTLEBELL_SINGLE_ARM_FARMER_WALK, 58 + "Cross Body Hammer Curls": H.CROSS_BODY_HAMMER_CURLS, 59 + "Push Up": H.PUSH_UP, 60 + "Lunge": H.LUNGE, 61 + "Single Dumbbell Sumo Squat": H.SINGLE_DUMBBELL_SUMO_SQUAT, 62 + "Single Leg Glute Bridge": H.SINGLE_LEG_GLUTE_BRIDGE, 63 + "Superman Hold": H.SUPERMAN_HOLD, 64 + "Kettlebell Row": H.KETTLEBELL_ROW, 65 + "Lunge Twist": H.LUNGE_TWIST, 66 + "Standing Leg Side Circle": H.STANDING_LEG_SIDE_CIRCLE, 67 + "Butt Kick": H.BUTT_KICK, 68 + "Inchworm": H.INCHWORM, 69 + "Single Arm Overhead Dumbbell Lunge": H.SINGLE_ARM_OVERHEAD_DUMBBELL_LUNGE, 70 + "Dumbbell Shrug": H.DUMBBELL_SHRUG, 71 + "Superman": H.SUPERMAN, 72 + "Handle Band Forward Raise": H.HANDLE_BAND_FORWARD_RAISE, 73 + "Handle Band Squat": H.HANDLE_BAND_SQUAT, 74 + "Scissor Kick": H.SCISSOR_KICK, 75 + "Dumbbell Squeeze Press": H.DUMBBELL_SQUEEZE_PRESS, 76 + "Side Lunge": H.SIDE_LUNGE, 77 + "Handle Band Rear Deltoid Fly": H.HANDLE_BAND_REAR_DELTOID_FLY, 78 + "Leg Pull-In": H.LEG_PULL_IN, 79 + "Jump Rope": H.JUMP_ROPE, 80 + "Mini Loop Band Overhead Fly": H.MINI_LOOP_BAND_OVERHEAD_FLY, 81 + "Mini Loop Band Lateral Shoulder Raise": H.MINI_LOOP_BAND_LATERAL_SHOULDER_RAISE, 82 + "Handle Band Upright Row": H.HANDLE_BAND_UPRIGHT_ROW, 83 + "Handle Band Tricep Extension": H.HANDLE_BAND_TRICEP_EXTENSION, 84 + "Handle Band Bicep Curl": H.HANDLE_BAND_BICEP_CURL, 85 + "Seated Dumbbell Curl": H.SEATED_DUMBBELL_CURL, 86 + "Alternating Dumbbell Bench Press": H.ALTERNATING_DUMBBELL_BENCH_PRESS, 87 + "Incline Tricep Push Up": H.INCLINE_TRICEP_PUSH_UP, 88 + "Mini Loop Band Kneeling Bicep Curl": H.MINI_LOOP_BAND_KNEELING_BICEP_CURL, 89 + "Leg Raise": H.LEG_RAISE, 90 + "Oblique Crunch": H.OBLIQUE_CRUNCH, 91 + "Mountain Climber": H.MOUNTAIN_CLIMBER, 92 + "Mini Loop Band Single Leg Romanian Deadlift with Row": H.MINI_LOOP_BAND_SINGLE_LEG_ROMANIAN_DEADLIFT_WITH_ROW, 93 + "Walking Lunge": H.WALKING_LUNGE, 94 + "Handle Band Bent Over Row": H.HANDLE_BAND_BENT_OVER_ROW, 95 + "Lunge Jump": H.LUNGE_JUMP, 96 + "Handle Band Lat Pulldown": H.HANDLE_BAND_LAT_PULLDOWN, 97 + "Jackknife Sit-Up": H.JACKKNIFE_SIT_UP, 98 + "Cycling": H.CYCLING, 99 + "Single Arm Dumbbell Tricep Extension": H.SINGLE_ARM_DUMBBELL_TRICEP_EXTENSION, 100 + "Dumbbell No Money Curls": H.DUMBBELL_NO_MONEY_CURLS, 101 + "Flutter Kicks": H.FLUTTER_KICKS, 102 + "Dumbbell Lateral Raise": H.DUMBBELL_LATERAL_RAISE, 103 + "Incline Push Up": H.INCLINE_PUSH_UP, 104 + "Kettlebell Upright Row": H.KETTLEBELL_UPRIGHT_ROW, 105 + "Mini Loop Band Kneeling Row": H.MINI_LOOP_BAND_KNEELING_ROW, 106 + "Air Squats": H.AIR_SQUATS, 109 107 };