@dgpholdings/greatoak-shared 1.0.48 → 1.0.50

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
- "Bicep",
10
- "Tricep",
11
- "Fore arm",
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
- Bicep: ["bicep-short-inner", "bicep-long-outer"],
22
- Tricep: ["brachii-lateral-rear", "brachii-long-outer"],
23
- "Fore arm": ["fore-arm-inner", "fore-arm-outer"],
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" | "Bicep" | "Tricep" | "Fore arm" | "Legs" | "Cardio" | "Grip";
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,18 +31,18 @@ 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
- videoUrl: string[];
39
+ youtubeVideoUrl: string[];
40
+ modelVideoUrl: string;
40
41
  thumbnailUrl: string;
41
42
  };
42
43
  export type TBodyPartExercises = Record<TBodyPart, TExercise[]>;
43
44
  export type TApiCreateExerciseReq = {
44
- bodyPart: TBodyPart;
45
- exercise: Omit<TExercise, "id">;
45
+ exercise: TExercise;
46
46
  };
47
47
  export type TApiCreateExerciseRes = {
48
48
  success: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dgpholdings/greatoak-shared",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "Shared TypeScript types and utilities for @dgpholdings projects",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",