@dgpholdings/greatoak-shared 1.0.48 → 1.0.49
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.
|
@@ -6,9 +6,9 @@ exports.bodyCategories = [
|
|
|
6
6
|
"Core",
|
|
7
7
|
"Shoulders",
|
|
8
8
|
"Back",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"Biceps",
|
|
10
|
+
"Triceps",
|
|
11
|
+
"Forearms",
|
|
12
12
|
"Legs",
|
|
13
13
|
"Cardio",
|
|
14
14
|
"Grip",
|
|
@@ -18,9 +18,9 @@ exports.bodySubCategories = {
|
|
|
18
18
|
Core: ["abs-lower", "abs-upper", "obliques"],
|
|
19
19
|
Shoulders: ["deltoids-front", "lateral-deltoids-center"],
|
|
20
20
|
Back: ["trapezius", "latissimus-dorsi", "rhomboids", "lower-back"],
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
Biceps: ["bicep-short-inner", "bicep-long-outer"],
|
|
22
|
+
Triceps: ["brachii-lateral-rear", "brachii-long-outer"],
|
|
23
|
+
Forearms: ["fore-arm-inner", "fore-arm-outer"],
|
|
24
24
|
Legs: [
|
|
25
25
|
"hamstrings",
|
|
26
26
|
"calf-inner",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TRecord } from "./TApiExerciseRecord";
|
|
2
|
-
export type TBodyPart = "Chest" | "Core" | "Shoulders" | "Back" | "
|
|
2
|
+
export type TBodyPart = "Chest" | "Core" | "Shoulders" | "Back" | "Biceps" | "Triceps" | "Forearms" | "Legs" | "Cardio" | "Grip";
|
|
3
3
|
export declare enum EBodyParts {
|
|
4
4
|
"pectoralis-major" = "Pectoralis upper",
|
|
5
5
|
"pectoralis-minor" = "Pectoralis lower",
|
|
@@ -31,19 +31,17 @@ export type TBodyPartKeys = Array<keyof typeof EBodyParts>;
|
|
|
31
31
|
export type TExercise = {
|
|
32
32
|
exerciseId: string;
|
|
33
33
|
name: string;
|
|
34
|
-
bodyPart: TBodyPart;
|
|
34
|
+
bodyPart: TBodyPart[];
|
|
35
35
|
recordType: TRecord["type"];
|
|
36
36
|
primaryMuscles: TBodyPartKeys;
|
|
37
37
|
secondaryMuscles: TBodyPartKeys;
|
|
38
38
|
otherName?: string;
|
|
39
|
-
|
|
39
|
+
youtubeVideoUrl: string[];
|
|
40
|
+
modelVideoUrl: string;
|
|
40
41
|
thumbnailUrl: string;
|
|
41
42
|
};
|
|
42
43
|
export type TBodyPartExercises = Record<TBodyPart, TExercise[]>;
|
|
43
|
-
export type TApiCreateExerciseReq =
|
|
44
|
-
bodyPart: TBodyPart;
|
|
45
|
-
exercise: Omit<TExercise, "id">;
|
|
46
|
-
};
|
|
44
|
+
export type TApiCreateExerciseReq = TExercise;
|
|
47
45
|
export type TApiCreateExerciseRes = {
|
|
48
46
|
success: boolean;
|
|
49
47
|
message: string;
|