@strong-together/shared 2.7.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 +4 -1
- package/dist/index.d.cts +36 -9
- package/dist/index.d.ts +36 -9
- package/dist/index.js +4 -1
- 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,
|
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;
|
|
@@ -4559,7 +4562,10 @@ declare const bootstrapContract: {
|
|
|
4559
4562
|
exerciseToSplitId: z.ZodInt;
|
|
4560
4563
|
exerciseId: z.ZodInt;
|
|
4561
4564
|
name: z.ZodString;
|
|
4562
|
-
sets: z.ZodArray<z.
|
|
4565
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
4566
|
+
orderIndex: z.ZodInt;
|
|
4567
|
+
reps: z.ZodInt;
|
|
4568
|
+
}, z.core.$strip>>;
|
|
4563
4569
|
orderIndex: z.ZodInt;
|
|
4564
4570
|
isActive: z.ZodBoolean;
|
|
4565
4571
|
targetMuscle: z.ZodString;
|
|
@@ -5488,7 +5494,10 @@ declare const getWholeUserWorkoutPlanResponseSchema: z.ZodObject<{
|
|
|
5488
5494
|
exerciseToSplitId: z.ZodInt;
|
|
5489
5495
|
exerciseId: z.ZodInt;
|
|
5490
5496
|
name: z.ZodString;
|
|
5491
|
-
sets: z.ZodArray<z.
|
|
5497
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5498
|
+
orderIndex: z.ZodInt;
|
|
5499
|
+
reps: z.ZodInt;
|
|
5500
|
+
}, z.core.$strip>>;
|
|
5492
5501
|
orderIndex: z.ZodInt;
|
|
5493
5502
|
isActive: z.ZodBoolean;
|
|
5494
5503
|
targetMuscle: z.ZodString;
|
|
@@ -5523,7 +5532,10 @@ declare const getWholeUserWorkoutPlanContract: {
|
|
|
5523
5532
|
exerciseToSplitId: z.ZodInt;
|
|
5524
5533
|
exerciseId: z.ZodInt;
|
|
5525
5534
|
name: z.ZodString;
|
|
5526
|
-
sets: z.ZodArray<z.
|
|
5535
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5536
|
+
orderIndex: z.ZodInt;
|
|
5537
|
+
reps: z.ZodInt;
|
|
5538
|
+
}, z.core.$strip>>;
|
|
5527
5539
|
orderIndex: z.ZodInt;
|
|
5528
5540
|
isActive: z.ZodBoolean;
|
|
5529
5541
|
targetMuscle: z.ZodString;
|
|
@@ -5570,7 +5582,10 @@ declare const addWorkoutResponseSchema: z.ZodObject<{
|
|
|
5570
5582
|
exerciseToSplitId: z.ZodInt;
|
|
5571
5583
|
exerciseId: z.ZodInt;
|
|
5572
5584
|
name: z.ZodString;
|
|
5573
|
-
sets: z.ZodArray<z.
|
|
5585
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5586
|
+
orderIndex: z.ZodInt;
|
|
5587
|
+
reps: z.ZodInt;
|
|
5588
|
+
}, z.core.$strip>>;
|
|
5574
5589
|
orderIndex: z.ZodInt;
|
|
5575
5590
|
isActive: z.ZodBoolean;
|
|
5576
5591
|
targetMuscle: z.ZodString;
|
|
@@ -5617,7 +5632,10 @@ declare const addWorkoutContract: {
|
|
|
5617
5632
|
exerciseToSplitId: z.ZodInt;
|
|
5618
5633
|
exerciseId: z.ZodInt;
|
|
5619
5634
|
name: z.ZodString;
|
|
5620
|
-
sets: z.ZodArray<z.
|
|
5635
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5636
|
+
orderIndex: z.ZodInt;
|
|
5637
|
+
reps: z.ZodInt;
|
|
5638
|
+
}, z.core.$strip>>;
|
|
5621
5639
|
orderIndex: z.ZodInt;
|
|
5622
5640
|
isActive: z.ZodBoolean;
|
|
5623
5641
|
targetMuscle: z.ZodString;
|
|
@@ -5664,7 +5682,10 @@ declare const exerciseInPlanQueryDtoSchema: z.ZodObject<{
|
|
|
5664
5682
|
exerciseToSplitId: z.ZodInt;
|
|
5665
5683
|
exerciseId: z.ZodInt;
|
|
5666
5684
|
name: z.ZodString;
|
|
5667
|
-
sets: z.ZodArray<z.
|
|
5685
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5686
|
+
orderIndex: z.ZodInt;
|
|
5687
|
+
reps: z.ZodInt;
|
|
5688
|
+
}, z.core.$strip>>;
|
|
5668
5689
|
orderIndex: z.ZodInt;
|
|
5669
5690
|
isActive: z.ZodBoolean;
|
|
5670
5691
|
targetMuscle: z.ZodString;
|
|
@@ -5683,7 +5704,10 @@ declare const workoutSplitQueryDtoSchema: z.ZodObject<{
|
|
|
5683
5704
|
exerciseToSplitId: z.ZodInt;
|
|
5684
5705
|
exerciseId: z.ZodInt;
|
|
5685
5706
|
name: z.ZodString;
|
|
5686
|
-
sets: z.ZodArray<z.
|
|
5707
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5708
|
+
orderIndex: z.ZodInt;
|
|
5709
|
+
reps: z.ZodInt;
|
|
5710
|
+
}, z.core.$strip>>;
|
|
5687
5711
|
orderIndex: z.ZodInt;
|
|
5688
5712
|
isActive: z.ZodBoolean;
|
|
5689
5713
|
targetMuscle: z.ZodString;
|
|
@@ -5710,7 +5734,10 @@ declare const wholeUserWorkoutPlanQueryDtoSchema: z.ZodObject<{
|
|
|
5710
5734
|
exerciseToSplitId: z.ZodInt;
|
|
5711
5735
|
exerciseId: z.ZodInt;
|
|
5712
5736
|
name: z.ZodString;
|
|
5713
|
-
sets: z.ZodArray<z.
|
|
5737
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5738
|
+
orderIndex: z.ZodInt;
|
|
5739
|
+
reps: z.ZodInt;
|
|
5740
|
+
}, z.core.$strip>>;
|
|
5714
5741
|
orderIndex: z.ZodInt;
|
|
5715
5742
|
isActive: z.ZodBoolean;
|
|
5716
5743
|
targetMuscle: z.ZodString;
|
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;
|
|
@@ -4559,7 +4562,10 @@ declare const bootstrapContract: {
|
|
|
4559
4562
|
exerciseToSplitId: z.ZodInt;
|
|
4560
4563
|
exerciseId: z.ZodInt;
|
|
4561
4564
|
name: z.ZodString;
|
|
4562
|
-
sets: z.ZodArray<z.
|
|
4565
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
4566
|
+
orderIndex: z.ZodInt;
|
|
4567
|
+
reps: z.ZodInt;
|
|
4568
|
+
}, z.core.$strip>>;
|
|
4563
4569
|
orderIndex: z.ZodInt;
|
|
4564
4570
|
isActive: z.ZodBoolean;
|
|
4565
4571
|
targetMuscle: z.ZodString;
|
|
@@ -5488,7 +5494,10 @@ declare const getWholeUserWorkoutPlanResponseSchema: z.ZodObject<{
|
|
|
5488
5494
|
exerciseToSplitId: z.ZodInt;
|
|
5489
5495
|
exerciseId: z.ZodInt;
|
|
5490
5496
|
name: z.ZodString;
|
|
5491
|
-
sets: z.ZodArray<z.
|
|
5497
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5498
|
+
orderIndex: z.ZodInt;
|
|
5499
|
+
reps: z.ZodInt;
|
|
5500
|
+
}, z.core.$strip>>;
|
|
5492
5501
|
orderIndex: z.ZodInt;
|
|
5493
5502
|
isActive: z.ZodBoolean;
|
|
5494
5503
|
targetMuscle: z.ZodString;
|
|
@@ -5523,7 +5532,10 @@ declare const getWholeUserWorkoutPlanContract: {
|
|
|
5523
5532
|
exerciseToSplitId: z.ZodInt;
|
|
5524
5533
|
exerciseId: z.ZodInt;
|
|
5525
5534
|
name: z.ZodString;
|
|
5526
|
-
sets: z.ZodArray<z.
|
|
5535
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5536
|
+
orderIndex: z.ZodInt;
|
|
5537
|
+
reps: z.ZodInt;
|
|
5538
|
+
}, z.core.$strip>>;
|
|
5527
5539
|
orderIndex: z.ZodInt;
|
|
5528
5540
|
isActive: z.ZodBoolean;
|
|
5529
5541
|
targetMuscle: z.ZodString;
|
|
@@ -5570,7 +5582,10 @@ declare const addWorkoutResponseSchema: z.ZodObject<{
|
|
|
5570
5582
|
exerciseToSplitId: z.ZodInt;
|
|
5571
5583
|
exerciseId: z.ZodInt;
|
|
5572
5584
|
name: z.ZodString;
|
|
5573
|
-
sets: z.ZodArray<z.
|
|
5585
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5586
|
+
orderIndex: z.ZodInt;
|
|
5587
|
+
reps: z.ZodInt;
|
|
5588
|
+
}, z.core.$strip>>;
|
|
5574
5589
|
orderIndex: z.ZodInt;
|
|
5575
5590
|
isActive: z.ZodBoolean;
|
|
5576
5591
|
targetMuscle: z.ZodString;
|
|
@@ -5617,7 +5632,10 @@ declare const addWorkoutContract: {
|
|
|
5617
5632
|
exerciseToSplitId: z.ZodInt;
|
|
5618
5633
|
exerciseId: z.ZodInt;
|
|
5619
5634
|
name: z.ZodString;
|
|
5620
|
-
sets: z.ZodArray<z.
|
|
5635
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5636
|
+
orderIndex: z.ZodInt;
|
|
5637
|
+
reps: z.ZodInt;
|
|
5638
|
+
}, z.core.$strip>>;
|
|
5621
5639
|
orderIndex: z.ZodInt;
|
|
5622
5640
|
isActive: z.ZodBoolean;
|
|
5623
5641
|
targetMuscle: z.ZodString;
|
|
@@ -5664,7 +5682,10 @@ declare const exerciseInPlanQueryDtoSchema: z.ZodObject<{
|
|
|
5664
5682
|
exerciseToSplitId: z.ZodInt;
|
|
5665
5683
|
exerciseId: z.ZodInt;
|
|
5666
5684
|
name: z.ZodString;
|
|
5667
|
-
sets: z.ZodArray<z.
|
|
5685
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5686
|
+
orderIndex: z.ZodInt;
|
|
5687
|
+
reps: z.ZodInt;
|
|
5688
|
+
}, z.core.$strip>>;
|
|
5668
5689
|
orderIndex: z.ZodInt;
|
|
5669
5690
|
isActive: z.ZodBoolean;
|
|
5670
5691
|
targetMuscle: z.ZodString;
|
|
@@ -5683,7 +5704,10 @@ declare const workoutSplitQueryDtoSchema: z.ZodObject<{
|
|
|
5683
5704
|
exerciseToSplitId: z.ZodInt;
|
|
5684
5705
|
exerciseId: z.ZodInt;
|
|
5685
5706
|
name: z.ZodString;
|
|
5686
|
-
sets: z.ZodArray<z.
|
|
5707
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5708
|
+
orderIndex: z.ZodInt;
|
|
5709
|
+
reps: z.ZodInt;
|
|
5710
|
+
}, z.core.$strip>>;
|
|
5687
5711
|
orderIndex: z.ZodInt;
|
|
5688
5712
|
isActive: z.ZodBoolean;
|
|
5689
5713
|
targetMuscle: z.ZodString;
|
|
@@ -5710,7 +5734,10 @@ declare const wholeUserWorkoutPlanQueryDtoSchema: z.ZodObject<{
|
|
|
5710
5734
|
exerciseToSplitId: z.ZodInt;
|
|
5711
5735
|
exerciseId: z.ZodInt;
|
|
5712
5736
|
name: z.ZodString;
|
|
5713
|
-
sets: z.ZodArray<z.
|
|
5737
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5738
|
+
orderIndex: z.ZodInt;
|
|
5739
|
+
reps: z.ZodInt;
|
|
5740
|
+
}, z.core.$strip>>;
|
|
5714
5741
|
orderIndex: z.ZodInt;
|
|
5715
5742
|
isActive: z.ZodBoolean;
|
|
5716
5743
|
targetMuscle: z.ZodString;
|
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,
|