@strong-together/shared 2.6.0 → 2.7.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 CHANGED
@@ -2279,7 +2279,8 @@ var exerciseTrackingStatsQueryDtoSchema = import_v418.z.object({
2279
2279
  exerciseName: exerciseDbSchema.shape.name,
2280
2280
  prWeight: trackingSetDbSchema.shape.weight,
2281
2281
  prReps: trackingSetDbSchema.shape.reps,
2282
- prSetIndex: trackingSetDbSchema.shape.setIndex
2282
+ prSetIndex: trackingSetDbSchema.shape.setIndex,
2283
+ estimatedOneRepMax: import_v418.z.number().nullable()
2283
2284
  }))
2284
2285
  });
2285
2286
  var exerciseTrackingMapsQueryDtoSchema = import_v418.z.object({
package/dist/index.d.cts CHANGED
@@ -4417,6 +4417,7 @@ declare const bootstrapResponseSchema: z.ZodObject<{
4417
4417
  prWeight: z.ZodNumber;
4418
4418
  prReps: z.ZodInt;
4419
4419
  prSetIndex: z.ZodInt;
4420
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
4420
4421
  }, z.core.$strip>>;
4421
4422
  }, z.core.$strip>;
4422
4423
  trackingMaps: z.ZodObject<{
@@ -4595,6 +4596,7 @@ declare const bootstrapContract: {
4595
4596
  prWeight: z.ZodNumber;
4596
4597
  prReps: z.ZodInt;
4597
4598
  prSetIndex: z.ZodInt;
4599
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
4598
4600
  }, z.core.$strip>>;
4599
4601
  }, z.core.$strip>;
4600
4602
  trackingMaps: z.ZodObject<{
@@ -5907,6 +5909,7 @@ declare const getExerciseTrackingStatsResponseSchema: z.ZodObject<{
5907
5909
  prWeight: z.ZodNumber;
5908
5910
  prReps: z.ZodInt;
5909
5911
  prSetIndex: z.ZodInt;
5912
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
5910
5913
  }, z.core.$strip>>;
5911
5914
  }, z.core.$strip>;
5912
5915
  declare const getExerciseTrackingStatsContract: {
@@ -5942,6 +5945,7 @@ declare const getExerciseTrackingStatsContract: {
5942
5945
  prWeight: z.ZodNumber;
5943
5946
  prReps: z.ZodInt;
5944
5947
  prSetIndex: z.ZodInt;
5948
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
5945
5949
  }, z.core.$strip>>;
5946
5950
  }, z.core.$strip>;
5947
5951
  };
@@ -5991,6 +5995,7 @@ declare const finishUserWorkoutResponseSchema: z.ZodObject<{
5991
5995
  prWeight: z.ZodNumber;
5992
5996
  prReps: z.ZodInt;
5993
5997
  prSetIndex: z.ZodInt;
5998
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
5994
5999
  }, z.core.$strip>>;
5995
6000
  }, z.core.$strip>;
5996
6001
  trackingMaps: z.ZodObject<{
@@ -6106,6 +6111,7 @@ declare const finishUserWorkoutContract: {
6106
6111
  prWeight: z.ZodNumber;
6107
6112
  prReps: z.ZodInt;
6108
6113
  prSetIndex: z.ZodInt;
6114
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6109
6115
  }, z.core.$strip>>;
6110
6116
  }, z.core.$strip>;
6111
6117
  trackingMaps: z.ZodObject<{
@@ -6308,6 +6314,7 @@ declare const exerciseTrackingStatsQueryDtoSchema: z.ZodObject<{
6308
6314
  prWeight: z.ZodNumber;
6309
6315
  prReps: z.ZodInt;
6310
6316
  prSetIndex: z.ZodInt;
6317
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6311
6318
  }, z.core.$strip>>;
6312
6319
  }, z.core.$strip>;
6313
6320
  declare const exerciseTrackingMapsQueryDtoSchema: z.ZodObject<{
@@ -6403,6 +6410,7 @@ declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
6403
6410
  prWeight: z.ZodNumber;
6404
6411
  prReps: z.ZodInt;
6405
6412
  prSetIndex: z.ZodInt;
6413
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6406
6414
  }, z.core.$strip>>;
6407
6415
  }, z.core.$strip>;
6408
6416
  trackingMaps: z.ZodObject<{
@@ -6501,6 +6509,7 @@ declare const exerciseTrackingAndStatsRowQueryDtoSchema: z.ZodObject<{
6501
6509
  prWeight: z.ZodNumber;
6502
6510
  prReps: z.ZodInt;
6503
6511
  prSetIndex: z.ZodInt;
6512
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6504
6513
  }, z.core.$strip>>;
6505
6514
  }, z.core.$strip>;
6506
6515
  trackingMaps: z.ZodObject<{
@@ -6598,6 +6607,7 @@ declare const exerciseTrackingStatsRowQueryDtoSchema: z.ZodObject<{
6598
6607
  prWeight: z.ZodNumber;
6599
6608
  prReps: z.ZodInt;
6600
6609
  prSetIndex: z.ZodInt;
6610
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6601
6611
  }, z.core.$strip>>;
6602
6612
  }, z.core.$strip>;
6603
6613
  }, z.core.$strip>;
package/dist/index.d.ts CHANGED
@@ -4417,6 +4417,7 @@ declare const bootstrapResponseSchema: z.ZodObject<{
4417
4417
  prWeight: z.ZodNumber;
4418
4418
  prReps: z.ZodInt;
4419
4419
  prSetIndex: z.ZodInt;
4420
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
4420
4421
  }, z.core.$strip>>;
4421
4422
  }, z.core.$strip>;
4422
4423
  trackingMaps: z.ZodObject<{
@@ -4595,6 +4596,7 @@ declare const bootstrapContract: {
4595
4596
  prWeight: z.ZodNumber;
4596
4597
  prReps: z.ZodInt;
4597
4598
  prSetIndex: z.ZodInt;
4599
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
4598
4600
  }, z.core.$strip>>;
4599
4601
  }, z.core.$strip>;
4600
4602
  trackingMaps: z.ZodObject<{
@@ -5907,6 +5909,7 @@ declare const getExerciseTrackingStatsResponseSchema: z.ZodObject<{
5907
5909
  prWeight: z.ZodNumber;
5908
5910
  prReps: z.ZodInt;
5909
5911
  prSetIndex: z.ZodInt;
5912
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
5910
5913
  }, z.core.$strip>>;
5911
5914
  }, z.core.$strip>;
5912
5915
  declare const getExerciseTrackingStatsContract: {
@@ -5942,6 +5945,7 @@ declare const getExerciseTrackingStatsContract: {
5942
5945
  prWeight: z.ZodNumber;
5943
5946
  prReps: z.ZodInt;
5944
5947
  prSetIndex: z.ZodInt;
5948
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
5945
5949
  }, z.core.$strip>>;
5946
5950
  }, z.core.$strip>;
5947
5951
  };
@@ -5991,6 +5995,7 @@ declare const finishUserWorkoutResponseSchema: z.ZodObject<{
5991
5995
  prWeight: z.ZodNumber;
5992
5996
  prReps: z.ZodInt;
5993
5997
  prSetIndex: z.ZodInt;
5998
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
5994
5999
  }, z.core.$strip>>;
5995
6000
  }, z.core.$strip>;
5996
6001
  trackingMaps: z.ZodObject<{
@@ -6106,6 +6111,7 @@ declare const finishUserWorkoutContract: {
6106
6111
  prWeight: z.ZodNumber;
6107
6112
  prReps: z.ZodInt;
6108
6113
  prSetIndex: z.ZodInt;
6114
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6109
6115
  }, z.core.$strip>>;
6110
6116
  }, z.core.$strip>;
6111
6117
  trackingMaps: z.ZodObject<{
@@ -6308,6 +6314,7 @@ declare const exerciseTrackingStatsQueryDtoSchema: z.ZodObject<{
6308
6314
  prWeight: z.ZodNumber;
6309
6315
  prReps: z.ZodInt;
6310
6316
  prSetIndex: z.ZodInt;
6317
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6311
6318
  }, z.core.$strip>>;
6312
6319
  }, z.core.$strip>;
6313
6320
  declare const exerciseTrackingMapsQueryDtoSchema: z.ZodObject<{
@@ -6403,6 +6410,7 @@ declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
6403
6410
  prWeight: z.ZodNumber;
6404
6411
  prReps: z.ZodInt;
6405
6412
  prSetIndex: z.ZodInt;
6413
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6406
6414
  }, z.core.$strip>>;
6407
6415
  }, z.core.$strip>;
6408
6416
  trackingMaps: z.ZodObject<{
@@ -6501,6 +6509,7 @@ declare const exerciseTrackingAndStatsRowQueryDtoSchema: z.ZodObject<{
6501
6509
  prWeight: z.ZodNumber;
6502
6510
  prReps: z.ZodInt;
6503
6511
  prSetIndex: z.ZodInt;
6512
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6504
6513
  }, z.core.$strip>>;
6505
6514
  }, z.core.$strip>;
6506
6515
  trackingMaps: z.ZodObject<{
@@ -6598,6 +6607,7 @@ declare const exerciseTrackingStatsRowQueryDtoSchema: z.ZodObject<{
6598
6607
  prWeight: z.ZodNumber;
6599
6608
  prReps: z.ZodInt;
6600
6609
  prSetIndex: z.ZodInt;
6610
+ estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
6601
6611
  }, z.core.$strip>>;
6602
6612
  }, z.core.$strip>;
6603
6613
  }, z.core.$strip>;
package/dist/index.js CHANGED
@@ -2070,7 +2070,8 @@ var exerciseTrackingStatsQueryDtoSchema = z18.object({
2070
2070
  exerciseName: exerciseDbSchema.shape.name,
2071
2071
  prWeight: trackingSetDbSchema.shape.weight,
2072
2072
  prReps: trackingSetDbSchema.shape.reps,
2073
- prSetIndex: trackingSetDbSchema.shape.setIndex
2073
+ prSetIndex: trackingSetDbSchema.shape.setIndex,
2074
+ estimatedOneRepMax: z18.number().nullable()
2074
2075
  }))
2075
2076
  });
2076
2077
  var exerciseTrackingMapsQueryDtoSchema = z18.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strong-together/shared",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",