-
Notifications
You must be signed in to change notification settings - Fork 104
/
exercise.d.ts
78 lines (72 loc) · 1.63 KB
/
exercise.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
export enum Muscle {
abdominals = "abdominals",
hamstrings = "hamstrings",
calves = "calves",
shoulders = "shoulders",
adductors = "adductors",
glutes = "glutes",
quadriceps = "quadriceps",
biceps = "biceps",
forearms = "forearms",
abductors = "abductors",
triceps = "triceps",
chest = "chest",
lower_back = "lower back",
traps = "traps",
middle_back = "middle back",
lats = "lats",
neck = "neck",
}
export enum Force {
pull = "pull",
push = "push",
static = "static",
}
export enum Level {
beginner = "beginner",
intermediate = "intermediate",
expert = "expert",
}
export enum Mechanic {
compound = "compound",
isolation = "isolation",
}
export enum Equipment {
body = "body only",
machine = "machine",
kettlebells = "kettlebells",
dumbbell = "dumbbell",
cable = "cable",
barbell = "barbell",
bands = "bands",
medicine_ball = "medicine ball",
exercise_ball = "exercise ball",
e_z_curl_bar = "e-z curl bar",
foam_roll = "foam roll",
}
export enum Category {
strength = "strength",
stretching = "stretching",
plyometrics = "plyometrics",
strongman = "strongman",
powerlifting = "powerlifting",
cardio = "cardio",
olympic_weightlifting = "olympic weightlifting",
crossfit = "crossfit",
weighted_bodyweight = "weighted bodyweight",
assisted_bodyweight = "assisted bodyweight",
}
export interface Exercise {
name: string;
aliases?: string[];
primaryMuscles: Muscle[];
secondaryMuscles: Muscle[];
force?: Force;
level: Level;
mechanic?: Mechanic;
equipment?: Equipment;
category: Category;
instructions: string[];
description?: string;
tips?: string[];
}