hevy-shared 1.0.819 → 1.0.820

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.
package/built/async.d.ts CHANGED
@@ -38,4 +38,10 @@ type MethodDecorator<T> = (target: unknown, propertyKey: string | symbol, descri
38
38
  export declare function synchronized(queue: boolean): MethodDecorator<Promise<any>>;
39
39
  export declare function synchronized(queue: boolean, id: any): MethodDecorator<Promise<any>>;
40
40
  export declare function synchronized(target: unknown, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<(...args: any[]) => Promise<any>>): void;
41
+ /** @deprecated Using this on a synchronous function has no effect */
42
+ export declare function synchronized(queue: boolean): MethodDecorator<any>;
43
+ /** @deprecated Using this on a synchronous function has no effect */
44
+ export declare function synchronized(queue: boolean, id: any): MethodDecorator<any>;
45
+ /** @deprecated Using this on a synchronous function has no effect */
46
+ export declare function synchronized(target: unknown, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<(...args: any[]) => any>): void;
41
47
  export {};
package/built/index.d.ts CHANGED
@@ -558,6 +558,7 @@ export interface UserProfile {
558
558
  routines: RoutineMetadata[];
559
559
  weekly_workout_durations: WeeklyWorkoutDuration[];
560
560
  mutual_followers: PreviewMutualUser[];
561
+ streak_count: number;
561
562
  }
562
563
  export interface PublicUserProfile {
563
564
  private_profile: boolean;
@@ -1250,25 +1251,6 @@ export interface PostHevyTrainerProgramRequestBody {
1250
1251
  workout_duration_minutes?: WorkoutDurationMinutes;
1251
1252
  };
1252
1253
  }
1253
- export interface UpdateHevyTrainerProgramRequestBody {
1254
- program: {
1255
- programId: string;
1256
- title: string;
1257
- level: TrainingLevel;
1258
- goal: TrainingGoal;
1259
- equipments: HevyTrainerProgramEquipment[];
1260
- weekly_frequency: WeeklyTrainingFrequency;
1261
- focus_muscle?: SimplifiedMuscleGroup;
1262
- next_workout_index?: number;
1263
- workout_duration_minutes?: WorkoutDurationMinutes;
1264
- routines: {
1265
- id: string;
1266
- title: string;
1267
- notes: string | null;
1268
- exercises: RoutineUpdateExercise[];
1269
- }[];
1270
- };
1271
- }
1272
1254
  export declare const measurementsList: readonly ["weight_kg", "lean_mass_kg", "fat_percent", "neck_cm", "shoulder_cm", "chest_cm", "left_bicep_cm", "right_bicep_cm", "left_forearm_cm", "right_forearm_cm", "abdomen", "waist", "hips", "left_thigh", "right_thigh", "left_calf", "right_calf"];
1273
1255
  type MeasurementProperties = {
1274
1256
  [key in typeof measurementsList[number]]?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.819",
3
+ "version": "1.0.820",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",