@sunsteel/contracts 0.2.0 → 0.2.3

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/dist/index.cjs CHANGED
@@ -41,7 +41,8 @@ var PROGRESSION_SCHEMES = [
41
41
  "NONE",
42
42
  "DOUBLE_PROGRESSION",
43
43
  "DYNAMIC_DOUBLE_PROGRESSION",
44
- "PROGRAMMED_RTF"
44
+ "PROGRAMMED_RTF",
45
+ "PROGRAMMED_RTF_HYPERTROPHY"
45
46
  ];
46
47
  var MUSCLE_GROUPS = [
47
48
  "PECTORAL",
package/dist/index.d.cts CHANGED
@@ -6,7 +6,7 @@ declare const WEIGHT_UNITS: readonly ["KG", "LB"];
6
6
  type WeightUnit = (typeof WEIGHT_UNITS)[number];
7
7
  declare const REP_TYPES: readonly ["FIXED", "RANGE"];
8
8
  type RepType = (typeof REP_TYPES)[number];
9
- declare const PROGRESSION_SCHEMES: readonly ["NONE", "DOUBLE_PROGRESSION", "DYNAMIC_DOUBLE_PROGRESSION", "PROGRAMMED_RTF"];
9
+ declare const PROGRESSION_SCHEMES: readonly ["NONE", "DOUBLE_PROGRESSION", "DYNAMIC_DOUBLE_PROGRESSION", "PROGRAMMED_RTF", "PROGRAMMED_RTF_HYPERTROPHY"];
10
10
  type ProgressionScheme = (typeof PROGRESSION_SCHEMES)[number];
11
11
  declare const MUSCLE_GROUPS: readonly ["PECTORAL", "LATISSIMUS_DORSI", "DELTOID", "TRAPEZIUS", "BICEPS", "TRICEPS", "FOREARM", "ABDOMINAL", "OBLIQUE", "ERECTOR_SPINAE", "GLUTEUS", "QUADRICEPS", "HAMSTRINGS", "CALVES"];
12
12
  type MuscleGroup = (typeof MUSCLE_GROUPS)[number];
@@ -26,11 +26,13 @@ interface RoutineSet {
26
26
  minReps?: number | null;
27
27
  maxReps?: number | null;
28
28
  weight?: number | null;
29
+ rir?: number | null;
29
30
  }
30
31
  interface RoutineExercise {
31
32
  id: string;
32
33
  order: number;
33
34
  restSeconds: number;
35
+ note?: string | null;
34
36
  progressionScheme: ProgressionScheme;
35
37
  minWeightIncrement: number;
36
38
  programTMKg?: number;
@@ -48,6 +50,7 @@ interface CreateRoutineExerciseInput {
48
50
  exerciseId: string;
49
51
  order?: number;
50
52
  restSeconds: number;
53
+ note?: string;
51
54
  progressionScheme: ProgressionScheme;
52
55
  minWeightIncrement: number;
53
56
  programTMKg?: number;
@@ -148,6 +151,7 @@ interface WorkoutSession {
148
151
  id: string;
149
152
  order: number;
150
153
  restSeconds?: number | null;
154
+ note?: string | null;
151
155
  progressionScheme: ProgressionScheme;
152
156
  minWeightIncrement: number;
153
157
  exercise: {
@@ -164,6 +168,7 @@ interface WorkoutSession {
164
168
  minReps?: number | null;
165
169
  maxReps?: number | null;
166
170
  weight?: number | null;
171
+ rir?: number | null;
167
172
  }>;
168
173
  }>;
169
174
  };
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ declare const WEIGHT_UNITS: readonly ["KG", "LB"];
6
6
  type WeightUnit = (typeof WEIGHT_UNITS)[number];
7
7
  declare const REP_TYPES: readonly ["FIXED", "RANGE"];
8
8
  type RepType = (typeof REP_TYPES)[number];
9
- declare const PROGRESSION_SCHEMES: readonly ["NONE", "DOUBLE_PROGRESSION", "DYNAMIC_DOUBLE_PROGRESSION", "PROGRAMMED_RTF"];
9
+ declare const PROGRESSION_SCHEMES: readonly ["NONE", "DOUBLE_PROGRESSION", "DYNAMIC_DOUBLE_PROGRESSION", "PROGRAMMED_RTF", "PROGRAMMED_RTF_HYPERTROPHY"];
10
10
  type ProgressionScheme = (typeof PROGRESSION_SCHEMES)[number];
11
11
  declare const MUSCLE_GROUPS: readonly ["PECTORAL", "LATISSIMUS_DORSI", "DELTOID", "TRAPEZIUS", "BICEPS", "TRICEPS", "FOREARM", "ABDOMINAL", "OBLIQUE", "ERECTOR_SPINAE", "GLUTEUS", "QUADRICEPS", "HAMSTRINGS", "CALVES"];
12
12
  type MuscleGroup = (typeof MUSCLE_GROUPS)[number];
@@ -26,11 +26,13 @@ interface RoutineSet {
26
26
  minReps?: number | null;
27
27
  maxReps?: number | null;
28
28
  weight?: number | null;
29
+ rir?: number | null;
29
30
  }
30
31
  interface RoutineExercise {
31
32
  id: string;
32
33
  order: number;
33
34
  restSeconds: number;
35
+ note?: string | null;
34
36
  progressionScheme: ProgressionScheme;
35
37
  minWeightIncrement: number;
36
38
  programTMKg?: number;
@@ -48,6 +50,7 @@ interface CreateRoutineExerciseInput {
48
50
  exerciseId: string;
49
51
  order?: number;
50
52
  restSeconds: number;
53
+ note?: string;
51
54
  progressionScheme: ProgressionScheme;
52
55
  minWeightIncrement: number;
53
56
  programTMKg?: number;
@@ -148,6 +151,7 @@ interface WorkoutSession {
148
151
  id: string;
149
152
  order: number;
150
153
  restSeconds?: number | null;
154
+ note?: string | null;
151
155
  progressionScheme: ProgressionScheme;
152
156
  minWeightIncrement: number;
153
157
  exercise: {
@@ -164,6 +168,7 @@ interface WorkoutSession {
164
168
  minReps?: number | null;
165
169
  maxReps?: number | null;
166
170
  weight?: number | null;
171
+ rir?: number | null;
167
172
  }>;
168
173
  }>;
169
174
  };
package/dist/index.js CHANGED
@@ -11,7 +11,8 @@ var PROGRESSION_SCHEMES = [
11
11
  "NONE",
12
12
  "DOUBLE_PROGRESSION",
13
13
  "DYNAMIC_DOUBLE_PROGRESSION",
14
- "PROGRAMMED_RTF"
14
+ "PROGRAMMED_RTF",
15
+ "PROGRAMMED_RTF_HYPERTROPHY"
15
16
  ];
16
17
  var MUSCLE_GROUPS = [
17
18
  "PECTORAL",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunsteel/contracts",
3
- "version": "0.2.0",
3
+ "version": "0.2.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com//sunsteel-contracts.git"