@strong-together/shared 2.6.0 → 2.8.0
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 +6 -2
- package/dist/index.d.cts +46 -9
- package/dist/index.d.ts +46 -9
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2108,7 +2108,10 @@ var exerciseInPlanQueryDtoSchema = import_v416.z.object({
|
|
|
2108
2108
|
exerciseToSplitId: exerciseToWorkoutSplitDbSchema.shape.id,
|
|
2109
2109
|
exerciseId: exerciseDbSchema.shape.id,
|
|
2110
2110
|
name: exerciseDbSchema.shape.name,
|
|
2111
|
-
sets: import_v416.z.array(
|
|
2111
|
+
sets: import_v416.z.array(import_v416.z.object({
|
|
2112
|
+
orderIndex: workoutSetDbSchema.shape.orderIndex,
|
|
2113
|
+
reps: workoutSetDbSchema.shape.reps
|
|
2114
|
+
})),
|
|
2112
2115
|
orderIndex: exerciseToWorkoutSplitDbSchema.shape.orderIndex,
|
|
2113
2116
|
isActive: exerciseToWorkoutSplitDbSchema.shape.isActive,
|
|
2114
2117
|
targetMuscle: exerciseDbSchema.shape.targetMuscle,
|
|
@@ -2279,7 +2282,8 @@ var exerciseTrackingStatsQueryDtoSchema = import_v418.z.object({
|
|
|
2279
2282
|
exerciseName: exerciseDbSchema.shape.name,
|
|
2280
2283
|
prWeight: trackingSetDbSchema.shape.weight,
|
|
2281
2284
|
prReps: trackingSetDbSchema.shape.reps,
|
|
2282
|
-
prSetIndex: trackingSetDbSchema.shape.setIndex
|
|
2285
|
+
prSetIndex: trackingSetDbSchema.shape.setIndex,
|
|
2286
|
+
estimatedOneRepMax: import_v418.z.number().nullable()
|
|
2283
2287
|
}))
|
|
2284
2288
|
});
|
|
2285
2289
|
var exerciseTrackingMapsQueryDtoSchema = import_v418.z.object({
|
package/dist/index.d.cts
CHANGED
|
@@ -4380,7 +4380,10 @@ declare const bootstrapResponseSchema: z.ZodObject<{
|
|
|
4380
4380
|
exerciseToSplitId: z.ZodInt;
|
|
4381
4381
|
exerciseId: z.ZodInt;
|
|
4382
4382
|
name: z.ZodString;
|
|
4383
|
-
sets: z.ZodArray<z.
|
|
4383
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
4384
|
+
orderIndex: z.ZodInt;
|
|
4385
|
+
reps: z.ZodInt;
|
|
4386
|
+
}, z.core.$strip>>;
|
|
4384
4387
|
orderIndex: z.ZodInt;
|
|
4385
4388
|
isActive: z.ZodBoolean;
|
|
4386
4389
|
targetMuscle: z.ZodString;
|
|
@@ -4417,6 +4420,7 @@ declare const bootstrapResponseSchema: z.ZodObject<{
|
|
|
4417
4420
|
prWeight: z.ZodNumber;
|
|
4418
4421
|
prReps: z.ZodInt;
|
|
4419
4422
|
prSetIndex: z.ZodInt;
|
|
4423
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
4420
4424
|
}, z.core.$strip>>;
|
|
4421
4425
|
}, z.core.$strip>;
|
|
4422
4426
|
trackingMaps: z.ZodObject<{
|
|
@@ -4558,7 +4562,10 @@ declare const bootstrapContract: {
|
|
|
4558
4562
|
exerciseToSplitId: z.ZodInt;
|
|
4559
4563
|
exerciseId: z.ZodInt;
|
|
4560
4564
|
name: z.ZodString;
|
|
4561
|
-
sets: z.ZodArray<z.
|
|
4565
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
4566
|
+
orderIndex: z.ZodInt;
|
|
4567
|
+
reps: z.ZodInt;
|
|
4568
|
+
}, z.core.$strip>>;
|
|
4562
4569
|
orderIndex: z.ZodInt;
|
|
4563
4570
|
isActive: z.ZodBoolean;
|
|
4564
4571
|
targetMuscle: z.ZodString;
|
|
@@ -4595,6 +4602,7 @@ declare const bootstrapContract: {
|
|
|
4595
4602
|
prWeight: z.ZodNumber;
|
|
4596
4603
|
prReps: z.ZodInt;
|
|
4597
4604
|
prSetIndex: z.ZodInt;
|
|
4605
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
4598
4606
|
}, z.core.$strip>>;
|
|
4599
4607
|
}, z.core.$strip>;
|
|
4600
4608
|
trackingMaps: z.ZodObject<{
|
|
@@ -5486,7 +5494,10 @@ declare const getWholeUserWorkoutPlanResponseSchema: z.ZodObject<{
|
|
|
5486
5494
|
exerciseToSplitId: z.ZodInt;
|
|
5487
5495
|
exerciseId: z.ZodInt;
|
|
5488
5496
|
name: z.ZodString;
|
|
5489
|
-
sets: z.ZodArray<z.
|
|
5497
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5498
|
+
orderIndex: z.ZodInt;
|
|
5499
|
+
reps: z.ZodInt;
|
|
5500
|
+
}, z.core.$strip>>;
|
|
5490
5501
|
orderIndex: z.ZodInt;
|
|
5491
5502
|
isActive: z.ZodBoolean;
|
|
5492
5503
|
targetMuscle: z.ZodString;
|
|
@@ -5521,7 +5532,10 @@ declare const getWholeUserWorkoutPlanContract: {
|
|
|
5521
5532
|
exerciseToSplitId: z.ZodInt;
|
|
5522
5533
|
exerciseId: z.ZodInt;
|
|
5523
5534
|
name: z.ZodString;
|
|
5524
|
-
sets: z.ZodArray<z.
|
|
5535
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5536
|
+
orderIndex: z.ZodInt;
|
|
5537
|
+
reps: z.ZodInt;
|
|
5538
|
+
}, z.core.$strip>>;
|
|
5525
5539
|
orderIndex: z.ZodInt;
|
|
5526
5540
|
isActive: z.ZodBoolean;
|
|
5527
5541
|
targetMuscle: z.ZodString;
|
|
@@ -5568,7 +5582,10 @@ declare const addWorkoutResponseSchema: z.ZodObject<{
|
|
|
5568
5582
|
exerciseToSplitId: z.ZodInt;
|
|
5569
5583
|
exerciseId: z.ZodInt;
|
|
5570
5584
|
name: z.ZodString;
|
|
5571
|
-
sets: z.ZodArray<z.
|
|
5585
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5586
|
+
orderIndex: z.ZodInt;
|
|
5587
|
+
reps: z.ZodInt;
|
|
5588
|
+
}, z.core.$strip>>;
|
|
5572
5589
|
orderIndex: z.ZodInt;
|
|
5573
5590
|
isActive: z.ZodBoolean;
|
|
5574
5591
|
targetMuscle: z.ZodString;
|
|
@@ -5615,7 +5632,10 @@ declare const addWorkoutContract: {
|
|
|
5615
5632
|
exerciseToSplitId: z.ZodInt;
|
|
5616
5633
|
exerciseId: z.ZodInt;
|
|
5617
5634
|
name: z.ZodString;
|
|
5618
|
-
sets: z.ZodArray<z.
|
|
5635
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5636
|
+
orderIndex: z.ZodInt;
|
|
5637
|
+
reps: z.ZodInt;
|
|
5638
|
+
}, z.core.$strip>>;
|
|
5619
5639
|
orderIndex: z.ZodInt;
|
|
5620
5640
|
isActive: z.ZodBoolean;
|
|
5621
5641
|
targetMuscle: z.ZodString;
|
|
@@ -5662,7 +5682,10 @@ declare const exerciseInPlanQueryDtoSchema: z.ZodObject<{
|
|
|
5662
5682
|
exerciseToSplitId: z.ZodInt;
|
|
5663
5683
|
exerciseId: z.ZodInt;
|
|
5664
5684
|
name: z.ZodString;
|
|
5665
|
-
sets: z.ZodArray<z.
|
|
5685
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5686
|
+
orderIndex: z.ZodInt;
|
|
5687
|
+
reps: z.ZodInt;
|
|
5688
|
+
}, z.core.$strip>>;
|
|
5666
5689
|
orderIndex: z.ZodInt;
|
|
5667
5690
|
isActive: z.ZodBoolean;
|
|
5668
5691
|
targetMuscle: z.ZodString;
|
|
@@ -5681,7 +5704,10 @@ declare const workoutSplitQueryDtoSchema: z.ZodObject<{
|
|
|
5681
5704
|
exerciseToSplitId: z.ZodInt;
|
|
5682
5705
|
exerciseId: z.ZodInt;
|
|
5683
5706
|
name: z.ZodString;
|
|
5684
|
-
sets: z.ZodArray<z.
|
|
5707
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5708
|
+
orderIndex: z.ZodInt;
|
|
5709
|
+
reps: z.ZodInt;
|
|
5710
|
+
}, z.core.$strip>>;
|
|
5685
5711
|
orderIndex: z.ZodInt;
|
|
5686
5712
|
isActive: z.ZodBoolean;
|
|
5687
5713
|
targetMuscle: z.ZodString;
|
|
@@ -5708,7 +5734,10 @@ declare const wholeUserWorkoutPlanQueryDtoSchema: z.ZodObject<{
|
|
|
5708
5734
|
exerciseToSplitId: z.ZodInt;
|
|
5709
5735
|
exerciseId: z.ZodInt;
|
|
5710
5736
|
name: z.ZodString;
|
|
5711
|
-
sets: z.ZodArray<z.
|
|
5737
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5738
|
+
orderIndex: z.ZodInt;
|
|
5739
|
+
reps: z.ZodInt;
|
|
5740
|
+
}, z.core.$strip>>;
|
|
5712
5741
|
orderIndex: z.ZodInt;
|
|
5713
5742
|
isActive: z.ZodBoolean;
|
|
5714
5743
|
targetMuscle: z.ZodString;
|
|
@@ -5907,6 +5936,7 @@ declare const getExerciseTrackingStatsResponseSchema: z.ZodObject<{
|
|
|
5907
5936
|
prWeight: z.ZodNumber;
|
|
5908
5937
|
prReps: z.ZodInt;
|
|
5909
5938
|
prSetIndex: z.ZodInt;
|
|
5939
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
5910
5940
|
}, z.core.$strip>>;
|
|
5911
5941
|
}, z.core.$strip>;
|
|
5912
5942
|
declare const getExerciseTrackingStatsContract: {
|
|
@@ -5942,6 +5972,7 @@ declare const getExerciseTrackingStatsContract: {
|
|
|
5942
5972
|
prWeight: z.ZodNumber;
|
|
5943
5973
|
prReps: z.ZodInt;
|
|
5944
5974
|
prSetIndex: z.ZodInt;
|
|
5975
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
5945
5976
|
}, z.core.$strip>>;
|
|
5946
5977
|
}, z.core.$strip>;
|
|
5947
5978
|
};
|
|
@@ -5991,6 +6022,7 @@ declare const finishUserWorkoutResponseSchema: z.ZodObject<{
|
|
|
5991
6022
|
prWeight: z.ZodNumber;
|
|
5992
6023
|
prReps: z.ZodInt;
|
|
5993
6024
|
prSetIndex: z.ZodInt;
|
|
6025
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
5994
6026
|
}, z.core.$strip>>;
|
|
5995
6027
|
}, z.core.$strip>;
|
|
5996
6028
|
trackingMaps: z.ZodObject<{
|
|
@@ -6106,6 +6138,7 @@ declare const finishUserWorkoutContract: {
|
|
|
6106
6138
|
prWeight: z.ZodNumber;
|
|
6107
6139
|
prReps: z.ZodInt;
|
|
6108
6140
|
prSetIndex: z.ZodInt;
|
|
6141
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6109
6142
|
}, z.core.$strip>>;
|
|
6110
6143
|
}, z.core.$strip>;
|
|
6111
6144
|
trackingMaps: z.ZodObject<{
|
|
@@ -6308,6 +6341,7 @@ declare const exerciseTrackingStatsQueryDtoSchema: z.ZodObject<{
|
|
|
6308
6341
|
prWeight: z.ZodNumber;
|
|
6309
6342
|
prReps: z.ZodInt;
|
|
6310
6343
|
prSetIndex: z.ZodInt;
|
|
6344
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6311
6345
|
}, z.core.$strip>>;
|
|
6312
6346
|
}, z.core.$strip>;
|
|
6313
6347
|
declare const exerciseTrackingMapsQueryDtoSchema: z.ZodObject<{
|
|
@@ -6403,6 +6437,7 @@ declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
|
|
|
6403
6437
|
prWeight: z.ZodNumber;
|
|
6404
6438
|
prReps: z.ZodInt;
|
|
6405
6439
|
prSetIndex: z.ZodInt;
|
|
6440
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6406
6441
|
}, z.core.$strip>>;
|
|
6407
6442
|
}, z.core.$strip>;
|
|
6408
6443
|
trackingMaps: z.ZodObject<{
|
|
@@ -6501,6 +6536,7 @@ declare const exerciseTrackingAndStatsRowQueryDtoSchema: z.ZodObject<{
|
|
|
6501
6536
|
prWeight: z.ZodNumber;
|
|
6502
6537
|
prReps: z.ZodInt;
|
|
6503
6538
|
prSetIndex: z.ZodInt;
|
|
6539
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6504
6540
|
}, z.core.$strip>>;
|
|
6505
6541
|
}, z.core.$strip>;
|
|
6506
6542
|
trackingMaps: z.ZodObject<{
|
|
@@ -6598,6 +6634,7 @@ declare const exerciseTrackingStatsRowQueryDtoSchema: z.ZodObject<{
|
|
|
6598
6634
|
prWeight: z.ZodNumber;
|
|
6599
6635
|
prReps: z.ZodInt;
|
|
6600
6636
|
prSetIndex: z.ZodInt;
|
|
6637
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6601
6638
|
}, z.core.$strip>>;
|
|
6602
6639
|
}, z.core.$strip>;
|
|
6603
6640
|
}, z.core.$strip>;
|
package/dist/index.d.ts
CHANGED
|
@@ -4380,7 +4380,10 @@ declare const bootstrapResponseSchema: z.ZodObject<{
|
|
|
4380
4380
|
exerciseToSplitId: z.ZodInt;
|
|
4381
4381
|
exerciseId: z.ZodInt;
|
|
4382
4382
|
name: z.ZodString;
|
|
4383
|
-
sets: z.ZodArray<z.
|
|
4383
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
4384
|
+
orderIndex: z.ZodInt;
|
|
4385
|
+
reps: z.ZodInt;
|
|
4386
|
+
}, z.core.$strip>>;
|
|
4384
4387
|
orderIndex: z.ZodInt;
|
|
4385
4388
|
isActive: z.ZodBoolean;
|
|
4386
4389
|
targetMuscle: z.ZodString;
|
|
@@ -4417,6 +4420,7 @@ declare const bootstrapResponseSchema: z.ZodObject<{
|
|
|
4417
4420
|
prWeight: z.ZodNumber;
|
|
4418
4421
|
prReps: z.ZodInt;
|
|
4419
4422
|
prSetIndex: z.ZodInt;
|
|
4423
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
4420
4424
|
}, z.core.$strip>>;
|
|
4421
4425
|
}, z.core.$strip>;
|
|
4422
4426
|
trackingMaps: z.ZodObject<{
|
|
@@ -4558,7 +4562,10 @@ declare const bootstrapContract: {
|
|
|
4558
4562
|
exerciseToSplitId: z.ZodInt;
|
|
4559
4563
|
exerciseId: z.ZodInt;
|
|
4560
4564
|
name: z.ZodString;
|
|
4561
|
-
sets: z.ZodArray<z.
|
|
4565
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
4566
|
+
orderIndex: z.ZodInt;
|
|
4567
|
+
reps: z.ZodInt;
|
|
4568
|
+
}, z.core.$strip>>;
|
|
4562
4569
|
orderIndex: z.ZodInt;
|
|
4563
4570
|
isActive: z.ZodBoolean;
|
|
4564
4571
|
targetMuscle: z.ZodString;
|
|
@@ -4595,6 +4602,7 @@ declare const bootstrapContract: {
|
|
|
4595
4602
|
prWeight: z.ZodNumber;
|
|
4596
4603
|
prReps: z.ZodInt;
|
|
4597
4604
|
prSetIndex: z.ZodInt;
|
|
4605
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
4598
4606
|
}, z.core.$strip>>;
|
|
4599
4607
|
}, z.core.$strip>;
|
|
4600
4608
|
trackingMaps: z.ZodObject<{
|
|
@@ -5486,7 +5494,10 @@ declare const getWholeUserWorkoutPlanResponseSchema: z.ZodObject<{
|
|
|
5486
5494
|
exerciseToSplitId: z.ZodInt;
|
|
5487
5495
|
exerciseId: z.ZodInt;
|
|
5488
5496
|
name: z.ZodString;
|
|
5489
|
-
sets: z.ZodArray<z.
|
|
5497
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5498
|
+
orderIndex: z.ZodInt;
|
|
5499
|
+
reps: z.ZodInt;
|
|
5500
|
+
}, z.core.$strip>>;
|
|
5490
5501
|
orderIndex: z.ZodInt;
|
|
5491
5502
|
isActive: z.ZodBoolean;
|
|
5492
5503
|
targetMuscle: z.ZodString;
|
|
@@ -5521,7 +5532,10 @@ declare const getWholeUserWorkoutPlanContract: {
|
|
|
5521
5532
|
exerciseToSplitId: z.ZodInt;
|
|
5522
5533
|
exerciseId: z.ZodInt;
|
|
5523
5534
|
name: z.ZodString;
|
|
5524
|
-
sets: z.ZodArray<z.
|
|
5535
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5536
|
+
orderIndex: z.ZodInt;
|
|
5537
|
+
reps: z.ZodInt;
|
|
5538
|
+
}, z.core.$strip>>;
|
|
5525
5539
|
orderIndex: z.ZodInt;
|
|
5526
5540
|
isActive: z.ZodBoolean;
|
|
5527
5541
|
targetMuscle: z.ZodString;
|
|
@@ -5568,7 +5582,10 @@ declare const addWorkoutResponseSchema: z.ZodObject<{
|
|
|
5568
5582
|
exerciseToSplitId: z.ZodInt;
|
|
5569
5583
|
exerciseId: z.ZodInt;
|
|
5570
5584
|
name: z.ZodString;
|
|
5571
|
-
sets: z.ZodArray<z.
|
|
5585
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5586
|
+
orderIndex: z.ZodInt;
|
|
5587
|
+
reps: z.ZodInt;
|
|
5588
|
+
}, z.core.$strip>>;
|
|
5572
5589
|
orderIndex: z.ZodInt;
|
|
5573
5590
|
isActive: z.ZodBoolean;
|
|
5574
5591
|
targetMuscle: z.ZodString;
|
|
@@ -5615,7 +5632,10 @@ declare const addWorkoutContract: {
|
|
|
5615
5632
|
exerciseToSplitId: z.ZodInt;
|
|
5616
5633
|
exerciseId: z.ZodInt;
|
|
5617
5634
|
name: z.ZodString;
|
|
5618
|
-
sets: z.ZodArray<z.
|
|
5635
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5636
|
+
orderIndex: z.ZodInt;
|
|
5637
|
+
reps: z.ZodInt;
|
|
5638
|
+
}, z.core.$strip>>;
|
|
5619
5639
|
orderIndex: z.ZodInt;
|
|
5620
5640
|
isActive: z.ZodBoolean;
|
|
5621
5641
|
targetMuscle: z.ZodString;
|
|
@@ -5662,7 +5682,10 @@ declare const exerciseInPlanQueryDtoSchema: z.ZodObject<{
|
|
|
5662
5682
|
exerciseToSplitId: z.ZodInt;
|
|
5663
5683
|
exerciseId: z.ZodInt;
|
|
5664
5684
|
name: z.ZodString;
|
|
5665
|
-
sets: z.ZodArray<z.
|
|
5685
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5686
|
+
orderIndex: z.ZodInt;
|
|
5687
|
+
reps: z.ZodInt;
|
|
5688
|
+
}, z.core.$strip>>;
|
|
5666
5689
|
orderIndex: z.ZodInt;
|
|
5667
5690
|
isActive: z.ZodBoolean;
|
|
5668
5691
|
targetMuscle: z.ZodString;
|
|
@@ -5681,7 +5704,10 @@ declare const workoutSplitQueryDtoSchema: z.ZodObject<{
|
|
|
5681
5704
|
exerciseToSplitId: z.ZodInt;
|
|
5682
5705
|
exerciseId: z.ZodInt;
|
|
5683
5706
|
name: z.ZodString;
|
|
5684
|
-
sets: z.ZodArray<z.
|
|
5707
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5708
|
+
orderIndex: z.ZodInt;
|
|
5709
|
+
reps: z.ZodInt;
|
|
5710
|
+
}, z.core.$strip>>;
|
|
5685
5711
|
orderIndex: z.ZodInt;
|
|
5686
5712
|
isActive: z.ZodBoolean;
|
|
5687
5713
|
targetMuscle: z.ZodString;
|
|
@@ -5708,7 +5734,10 @@ declare const wholeUserWorkoutPlanQueryDtoSchema: z.ZodObject<{
|
|
|
5708
5734
|
exerciseToSplitId: z.ZodInt;
|
|
5709
5735
|
exerciseId: z.ZodInt;
|
|
5710
5736
|
name: z.ZodString;
|
|
5711
|
-
sets: z.ZodArray<z.
|
|
5737
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5738
|
+
orderIndex: z.ZodInt;
|
|
5739
|
+
reps: z.ZodInt;
|
|
5740
|
+
}, z.core.$strip>>;
|
|
5712
5741
|
orderIndex: z.ZodInt;
|
|
5713
5742
|
isActive: z.ZodBoolean;
|
|
5714
5743
|
targetMuscle: z.ZodString;
|
|
@@ -5907,6 +5936,7 @@ declare const getExerciseTrackingStatsResponseSchema: z.ZodObject<{
|
|
|
5907
5936
|
prWeight: z.ZodNumber;
|
|
5908
5937
|
prReps: z.ZodInt;
|
|
5909
5938
|
prSetIndex: z.ZodInt;
|
|
5939
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
5910
5940
|
}, z.core.$strip>>;
|
|
5911
5941
|
}, z.core.$strip>;
|
|
5912
5942
|
declare const getExerciseTrackingStatsContract: {
|
|
@@ -5942,6 +5972,7 @@ declare const getExerciseTrackingStatsContract: {
|
|
|
5942
5972
|
prWeight: z.ZodNumber;
|
|
5943
5973
|
prReps: z.ZodInt;
|
|
5944
5974
|
prSetIndex: z.ZodInt;
|
|
5975
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
5945
5976
|
}, z.core.$strip>>;
|
|
5946
5977
|
}, z.core.$strip>;
|
|
5947
5978
|
};
|
|
@@ -5991,6 +6022,7 @@ declare const finishUserWorkoutResponseSchema: z.ZodObject<{
|
|
|
5991
6022
|
prWeight: z.ZodNumber;
|
|
5992
6023
|
prReps: z.ZodInt;
|
|
5993
6024
|
prSetIndex: z.ZodInt;
|
|
6025
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
5994
6026
|
}, z.core.$strip>>;
|
|
5995
6027
|
}, z.core.$strip>;
|
|
5996
6028
|
trackingMaps: z.ZodObject<{
|
|
@@ -6106,6 +6138,7 @@ declare const finishUserWorkoutContract: {
|
|
|
6106
6138
|
prWeight: z.ZodNumber;
|
|
6107
6139
|
prReps: z.ZodInt;
|
|
6108
6140
|
prSetIndex: z.ZodInt;
|
|
6141
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6109
6142
|
}, z.core.$strip>>;
|
|
6110
6143
|
}, z.core.$strip>;
|
|
6111
6144
|
trackingMaps: z.ZodObject<{
|
|
@@ -6308,6 +6341,7 @@ declare const exerciseTrackingStatsQueryDtoSchema: z.ZodObject<{
|
|
|
6308
6341
|
prWeight: z.ZodNumber;
|
|
6309
6342
|
prReps: z.ZodInt;
|
|
6310
6343
|
prSetIndex: z.ZodInt;
|
|
6344
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6311
6345
|
}, z.core.$strip>>;
|
|
6312
6346
|
}, z.core.$strip>;
|
|
6313
6347
|
declare const exerciseTrackingMapsQueryDtoSchema: z.ZodObject<{
|
|
@@ -6403,6 +6437,7 @@ declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
|
|
|
6403
6437
|
prWeight: z.ZodNumber;
|
|
6404
6438
|
prReps: z.ZodInt;
|
|
6405
6439
|
prSetIndex: z.ZodInt;
|
|
6440
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6406
6441
|
}, z.core.$strip>>;
|
|
6407
6442
|
}, z.core.$strip>;
|
|
6408
6443
|
trackingMaps: z.ZodObject<{
|
|
@@ -6501,6 +6536,7 @@ declare const exerciseTrackingAndStatsRowQueryDtoSchema: z.ZodObject<{
|
|
|
6501
6536
|
prWeight: z.ZodNumber;
|
|
6502
6537
|
prReps: z.ZodInt;
|
|
6503
6538
|
prSetIndex: z.ZodInt;
|
|
6539
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6504
6540
|
}, z.core.$strip>>;
|
|
6505
6541
|
}, z.core.$strip>;
|
|
6506
6542
|
trackingMaps: z.ZodObject<{
|
|
@@ -6598,6 +6634,7 @@ declare const exerciseTrackingStatsRowQueryDtoSchema: z.ZodObject<{
|
|
|
6598
6634
|
prWeight: z.ZodNumber;
|
|
6599
6635
|
prReps: z.ZodInt;
|
|
6600
6636
|
prSetIndex: z.ZodInt;
|
|
6637
|
+
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
6601
6638
|
}, z.core.$strip>>;
|
|
6602
6639
|
}, z.core.$strip>;
|
|
6603
6640
|
}, z.core.$strip>;
|
package/dist/index.js
CHANGED
|
@@ -1899,7 +1899,10 @@ var exerciseInPlanQueryDtoSchema = z16.object({
|
|
|
1899
1899
|
exerciseToSplitId: exerciseToWorkoutSplitDbSchema.shape.id,
|
|
1900
1900
|
exerciseId: exerciseDbSchema.shape.id,
|
|
1901
1901
|
name: exerciseDbSchema.shape.name,
|
|
1902
|
-
sets: z16.array(
|
|
1902
|
+
sets: z16.array(z16.object({
|
|
1903
|
+
orderIndex: workoutSetDbSchema.shape.orderIndex,
|
|
1904
|
+
reps: workoutSetDbSchema.shape.reps
|
|
1905
|
+
})),
|
|
1903
1906
|
orderIndex: exerciseToWorkoutSplitDbSchema.shape.orderIndex,
|
|
1904
1907
|
isActive: exerciseToWorkoutSplitDbSchema.shape.isActive,
|
|
1905
1908
|
targetMuscle: exerciseDbSchema.shape.targetMuscle,
|
|
@@ -2070,7 +2073,8 @@ var exerciseTrackingStatsQueryDtoSchema = z18.object({
|
|
|
2070
2073
|
exerciseName: exerciseDbSchema.shape.name,
|
|
2071
2074
|
prWeight: trackingSetDbSchema.shape.weight,
|
|
2072
2075
|
prReps: trackingSetDbSchema.shape.reps,
|
|
2073
|
-
prSetIndex: trackingSetDbSchema.shape.setIndex
|
|
2076
|
+
prSetIndex: trackingSetDbSchema.shape.setIndex,
|
|
2077
|
+
estimatedOneRepMax: z18.number().nullable()
|
|
2074
2078
|
}))
|
|
2075
2079
|
});
|
|
2076
2080
|
var exerciseTrackingMapsQueryDtoSchema = z18.object({
|