@dgpholdings/greatoak-shared 1.0.79 → 1.0.81
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { TBodyPart, TBodyPartKeys } from "../types";
|
|
1
|
+
import { TBodyPart, TBodyPartKeys, TTrainingType } from "../types";
|
|
2
2
|
export declare const bodyCategories: TBodyPart[];
|
|
3
3
|
export declare const bodySubCategories: Record<TBodyPart, TBodyPartKeys>;
|
|
4
|
+
export declare const trainingTypes: readonly TTrainingType[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bodySubCategories = exports.bodyCategories = void 0;
|
|
3
|
+
exports.trainingTypes = exports.bodySubCategories = exports.bodyCategories = void 0;
|
|
4
4
|
exports.bodyCategories = [
|
|
5
5
|
"Chest",
|
|
6
6
|
"Core",
|
|
@@ -30,3 +30,10 @@ exports.bodySubCategories = {
|
|
|
30
30
|
],
|
|
31
31
|
Cardio: ["cardio"],
|
|
32
32
|
};
|
|
33
|
+
exports.trainingTypes = [
|
|
34
|
+
"band",
|
|
35
|
+
"body-weight",
|
|
36
|
+
"weight",
|
|
37
|
+
"yoga",
|
|
38
|
+
"cardio",
|
|
39
|
+
];
|
|
@@ -35,7 +35,7 @@ export type TExercise = {
|
|
|
35
35
|
recordType: TRecord["type"];
|
|
36
36
|
primaryMuscles: TBodyPartKeys;
|
|
37
37
|
secondaryMuscles: TBodyPartKeys;
|
|
38
|
-
trainingTypes: TTrainingType;
|
|
38
|
+
trainingTypes: TTrainingType[];
|
|
39
39
|
otherName?: string;
|
|
40
40
|
youtubeVideoUrl: string[];
|
|
41
41
|
modelVideoUrl: string;
|