@achref-thamri/exercises 0.0.0-stage → 1.0.0

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.
@@ -0,0 +1,29 @@
1
+ export declare const MUSCLES: readonly ["chest", "back", "shoulders", "biceps", "triceps", "quads", "hamstrings", "glutes", "calves", "abs"];
2
+ export declare const EQUIPMENT: readonly ["bodyweight", "dumbbell", "barbell", "kettlebell", "cable", "band", "pullup-bar", "bench", "chest-press-machine", "pec-deck", "lat-pulldown", "seated-row-machine", "shoulder-press-machine", "leg-press", "leg-extension", "leg-curl", "smith-machine", "hip-thrust-machine", "calf-raise-machine"];
3
+ export declare const MECHANICS: readonly ["compound", "isolation"];
4
+ export declare const LEVELS: readonly ["beginner", "intermediate", "expert"];
5
+ type MuscleGroup = (typeof MUSCLES)[number];
6
+ type Equipment = (typeof EQUIPMENT)[number];
7
+ type Mechanic = (typeof MECHANICS)[number];
8
+ type Level = (typeof LEVELS)[number];
9
+ type ExerciseSource = {
10
+ name: string;
11
+ id: string;
12
+ };
13
+ type Exercise = {
14
+ id: string;
15
+ name: string;
16
+ muscles: {
17
+ primary: MuscleGroup;
18
+ secondary: readonly MuscleGroup[];
19
+ };
20
+ equipment: readonly Equipment[];
21
+ mechanic: Mechanic;
22
+ level: Level;
23
+ steps: readonly string[];
24
+ tips?: readonly string[];
25
+ source?: ExerciseSource;
26
+ };
27
+ type ExerciseSummary = Omit<Exercise, "steps">;
28
+ export declare const exercises: readonly ExerciseSummary[];
29
+ export type { Equipment, Exercise, ExerciseSource, ExerciseSummary, Level, Mechanic, MuscleGroup };
@@ -0,0 +1,29 @@
1
+ export declare const MUSCLES: readonly ["chest", "back", "shoulders", "biceps", "triceps", "quads", "hamstrings", "glutes", "calves", "abs"];
2
+ export declare const EQUIPMENT: readonly ["bodyweight", "dumbbell", "barbell", "kettlebell", "cable", "band", "pullup-bar", "bench", "chest-press-machine", "pec-deck", "lat-pulldown", "seated-row-machine", "shoulder-press-machine", "leg-press", "leg-extension", "leg-curl", "smith-machine", "hip-thrust-machine", "calf-raise-machine"];
3
+ export declare const MECHANICS: readonly ["compound", "isolation"];
4
+ export declare const LEVELS: readonly ["beginner", "intermediate", "expert"];
5
+ type MuscleGroup = (typeof MUSCLES)[number];
6
+ type Equipment = (typeof EQUIPMENT)[number];
7
+ type Mechanic = (typeof MECHANICS)[number];
8
+ type Level = (typeof LEVELS)[number];
9
+ type ExerciseSource = {
10
+ name: string;
11
+ id: string;
12
+ };
13
+ type Exercise = {
14
+ id: string;
15
+ name: string;
16
+ muscles: {
17
+ primary: MuscleGroup;
18
+ secondary: readonly MuscleGroup[];
19
+ };
20
+ equipment: readonly Equipment[];
21
+ mechanic: Mechanic;
22
+ level: Level;
23
+ steps: readonly string[];
24
+ tips?: readonly string[];
25
+ source?: ExerciseSource;
26
+ };
27
+ type ExerciseSummary = Omit<Exercise, "steps">;
28
+ export declare const exercises: readonly ExerciseSummary[];
29
+ export type { Equipment, Exercise, ExerciseSource, ExerciseSummary, Level, Mechanic, MuscleGroup };