hevy-shared 1.0.600 → 1.0.602

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.
Files changed (2) hide show
  1. package/built/index.d.ts +6 -0
  2. package/package.json +1 -1
package/built/index.d.ts CHANGED
@@ -579,6 +579,9 @@ export declare const isExerciseType: (x: any) => x is ExerciseType;
579
579
  export type CustomExerciseType = Exclude<ExerciseType, 'floors_duration' | 'steps_duration'>;
580
580
  export declare const customExericseTypes: CustomExerciseType[];
581
581
  export declare const isCustomExerciseType: (x: any) => x is CustomExerciseType;
582
+ export type TrainingGoal = 'strength' | 'build_muscle' | 'fat_loss';
583
+ export type TrainingLevel = 'beginner' | 'intermediate' | 'advanced';
584
+ export type ExerciseCategory = 'isolation' | 'compound' | 'assistance-compound';
582
585
  /**
583
586
  * Base properties that all exercise templates must have
584
587
  */
@@ -625,6 +628,9 @@ export interface LibraryExercise extends BaseExerciseTemplate {
625
628
  localised_instructions?: {
626
629
  [language in InstructionsLanguage]?: string;
627
630
  };
631
+ goal: TrainingGoal[] | undefined;
632
+ level: TrainingLevel[] | undefined;
633
+ category: ExerciseCategory | undefined;
628
634
  }
629
635
  /**
630
636
  * Custom exercises are user-created templates with minimal properties
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.600",
3
+ "version": "1.0.602",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",