hevy-shared 1.0.1043 → 1.0.1045

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 +8 -0
  2. package/package.json +1 -1
package/built/index.d.ts CHANGED
@@ -1128,6 +1128,14 @@ export interface PostTrainerProgramV3RequestBody {
1128
1128
  cardio_preference: CardioPreference;
1129
1129
  templates: PostTrainerWorkoutTemplate[];
1130
1130
  };
1131
+ /**
1132
+ * Whether to delete (archive) the caller's currently active Hevy Trainer
1133
+ * program before creating the new one. Creating a program implicitly
1134
+ * replaces any active program, so this must be set explicitly:
1135
+ * - `false` — fail with `ActiveProgramExists` (409) if one already exists.
1136
+ * - `true` — archive the existing active program, then create the new one.
1137
+ */
1138
+ deleteActiveProgram: boolean;
1131
1139
  }
1132
1140
  export interface UpdateTrainerProgramV3RequestBody {
1133
1141
  program: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.1043",
3
+ "version": "1.0.1045",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",