hevy-shared 1.0.633 → 1.0.635

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 +10 -0
  2. package/package.json +1 -1
package/built/index.d.ts CHANGED
@@ -750,6 +750,13 @@ export interface WorkoutExercise {
750
750
  volume_doubling_enabled: boolean;
751
751
  sets: WorkoutExerciseSet[];
752
752
  }
753
+ export type WorkoutLike = {
754
+ id: number;
755
+ user_id: string;
756
+ profile_pic?: string;
757
+ username: string;
758
+ priority: number;
759
+ };
753
760
  export interface WorkoutComment {
754
761
  id: number;
755
762
  username: string;
@@ -778,8 +785,11 @@ export interface Workout {
778
785
  index: number;
779
786
  name: string;
780
787
  description?: string;
788
+ /** @deprecated 2.3.4 */
781
789
  like_count: number;
790
+ /** @deprecated 2.3.4 */
782
791
  like_images: string[];
792
+ workout_likes: WorkoutLike[];
783
793
  comment_count: number;
784
794
  comments: WorkoutComment[];
785
795
  /** @deprecated 1.28.13 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.633",
3
+ "version": "1.0.635",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",