@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 +2 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
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