@strong-together/shared 3.1.0 → 3.2.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
@@ -2569,7 +2569,11 @@ var groupedTrackingItemQueryDtoSchema = import_v433.z.object({
2569
2569
  })
2570
2570
  })
2571
2571
  });
2572
- var trackingByExerciseToSplitIdItemQueryDtoSchema = groupedTrackingItemQueryDtoSchema.shape.exerciseTracking;
2572
+ var trackingByExerciseToSplitIdItemQueryDtoSchema = groupedTrackingItemQueryDtoSchema.shape.exerciseTracking.omit({
2573
+ notes: true
2574
+ }).extend({
2575
+ workoutStartLocal: serializedDateSchema
2576
+ });
2573
2577
  var exerciseTrackingStatsQueryDtoSchema = import_v433.z.object({
2574
2578
  workoutCount: import_v433.z.coerce.number(),
2575
2579
  hasExerciseTracking: import_v433.z.boolean(),
package/dist/index.d.cts CHANGED
@@ -5479,7 +5479,6 @@ declare const getExerciseHistoryResponseSchema: z.ZodObject<{
5479
5479
  weight: z.ZodNumber;
5480
5480
  reps: z.ZodInt;
5481
5481
  }, z.core.$strip>>;
5482
- notes: z.ZodNullable<z.ZodString>;
5483
5482
  exerciseAssignment: z.ZodObject<{
5484
5483
  exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5485
5484
  orderIndex: z.ZodNullable<z.ZodInt>;
@@ -5490,6 +5489,7 @@ declare const getExerciseHistoryResponseSchema: z.ZodObject<{
5490
5489
  targetMuscle: z.ZodString;
5491
5490
  specificTargetMuscle: z.ZodString;
5492
5491
  }, z.core.$strip>;
5492
+ workoutStartLocal: z.ZodString;
5493
5493
  }, z.core.$strip>>;
5494
5494
  }, z.core.$strip>>;
5495
5495
  }, z.core.$strip>;
@@ -5508,7 +5508,6 @@ declare const getExerciseHistoryContract: {
5508
5508
  weight: z.ZodNumber;
5509
5509
  reps: z.ZodInt;
5510
5510
  }, z.core.$strip>>;
5511
- notes: z.ZodNullable<z.ZodString>;
5512
5511
  exerciseAssignment: z.ZodObject<{
5513
5512
  exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5514
5513
  orderIndex: z.ZodNullable<z.ZodInt>;
@@ -5519,6 +5518,7 @@ declare const getExerciseHistoryContract: {
5519
5518
  targetMuscle: z.ZodString;
5520
5519
  specificTargetMuscle: z.ZodString;
5521
5520
  }, z.core.$strip>;
5521
+ workoutStartLocal: z.ZodString;
5522
5522
  }, z.core.$strip>>;
5523
5523
  }, z.core.$strip>>;
5524
5524
  }, z.core.$strip>;
@@ -5916,7 +5916,6 @@ declare const exerciseHistoryQueryDtoSchema: z.ZodObject<{
5916
5916
  weight: z.ZodNumber;
5917
5917
  reps: z.ZodInt;
5918
5918
  }, z.core.$strip>>;
5919
- notes: z.ZodNullable<z.ZodString>;
5920
5919
  exerciseAssignment: z.ZodObject<{
5921
5920
  exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5922
5921
  orderIndex: z.ZodNullable<z.ZodInt>;
@@ -5927,6 +5926,7 @@ declare const exerciseHistoryQueryDtoSchema: z.ZodObject<{
5927
5926
  targetMuscle: z.ZodString;
5928
5927
  specificTargetMuscle: z.ZodString;
5929
5928
  }, z.core.$strip>;
5929
+ workoutStartLocal: z.ZodString;
5930
5930
  }, z.core.$strip>>;
5931
5931
  }, z.core.$strip>>;
5932
5932
  }, z.core.$strip>;
@@ -6119,7 +6119,6 @@ declare const exerciseHistoryRowQueryDtoSchema: z.ZodObject<{
6119
6119
  weight: z.ZodNumber;
6120
6120
  reps: z.ZodInt;
6121
6121
  }, z.core.$strip>>;
6122
- notes: z.ZodNullable<z.ZodString>;
6123
6122
  exerciseAssignment: z.ZodObject<{
6124
6123
  exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6125
6124
  orderIndex: z.ZodNullable<z.ZodInt>;
@@ -6130,6 +6129,7 @@ declare const exerciseHistoryRowQueryDtoSchema: z.ZodObject<{
6130
6129
  targetMuscle: z.ZodString;
6131
6130
  specificTargetMuscle: z.ZodString;
6132
6131
  }, z.core.$strip>;
6132
+ workoutStartLocal: z.ZodString;
6133
6133
  }, z.core.$strip>>;
6134
6134
  }, z.core.$strip>>;
6135
6135
  }, z.core.$strip>;
package/dist/index.d.ts CHANGED
@@ -5479,7 +5479,6 @@ declare const getExerciseHistoryResponseSchema: z.ZodObject<{
5479
5479
  weight: z.ZodNumber;
5480
5480
  reps: z.ZodInt;
5481
5481
  }, z.core.$strip>>;
5482
- notes: z.ZodNullable<z.ZodString>;
5483
5482
  exerciseAssignment: z.ZodObject<{
5484
5483
  exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5485
5484
  orderIndex: z.ZodNullable<z.ZodInt>;
@@ -5490,6 +5489,7 @@ declare const getExerciseHistoryResponseSchema: z.ZodObject<{
5490
5489
  targetMuscle: z.ZodString;
5491
5490
  specificTargetMuscle: z.ZodString;
5492
5491
  }, z.core.$strip>;
5492
+ workoutStartLocal: z.ZodString;
5493
5493
  }, z.core.$strip>>;
5494
5494
  }, z.core.$strip>>;
5495
5495
  }, z.core.$strip>;
@@ -5508,7 +5508,6 @@ declare const getExerciseHistoryContract: {
5508
5508
  weight: z.ZodNumber;
5509
5509
  reps: z.ZodInt;
5510
5510
  }, z.core.$strip>>;
5511
- notes: z.ZodNullable<z.ZodString>;
5512
5511
  exerciseAssignment: z.ZodObject<{
5513
5512
  exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5514
5513
  orderIndex: z.ZodNullable<z.ZodInt>;
@@ -5519,6 +5518,7 @@ declare const getExerciseHistoryContract: {
5519
5518
  targetMuscle: z.ZodString;
5520
5519
  specificTargetMuscle: z.ZodString;
5521
5520
  }, z.core.$strip>;
5521
+ workoutStartLocal: z.ZodString;
5522
5522
  }, z.core.$strip>>;
5523
5523
  }, z.core.$strip>>;
5524
5524
  }, z.core.$strip>;
@@ -5916,7 +5916,6 @@ declare const exerciseHistoryQueryDtoSchema: z.ZodObject<{
5916
5916
  weight: z.ZodNumber;
5917
5917
  reps: z.ZodInt;
5918
5918
  }, z.core.$strip>>;
5919
- notes: z.ZodNullable<z.ZodString>;
5920
5919
  exerciseAssignment: z.ZodObject<{
5921
5920
  exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5922
5921
  orderIndex: z.ZodNullable<z.ZodInt>;
@@ -5927,6 +5926,7 @@ declare const exerciseHistoryQueryDtoSchema: z.ZodObject<{
5927
5926
  targetMuscle: z.ZodString;
5928
5927
  specificTargetMuscle: z.ZodString;
5929
5928
  }, z.core.$strip>;
5929
+ workoutStartLocal: z.ZodString;
5930
5930
  }, z.core.$strip>>;
5931
5931
  }, z.core.$strip>>;
5932
5932
  }, z.core.$strip>;
@@ -6119,7 +6119,6 @@ declare const exerciseHistoryRowQueryDtoSchema: z.ZodObject<{
6119
6119
  weight: z.ZodNumber;
6120
6120
  reps: z.ZodInt;
6121
6121
  }, z.core.$strip>>;
6122
- notes: z.ZodNullable<z.ZodString>;
6123
6122
  exerciseAssignment: z.ZodObject<{
6124
6123
  exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6125
6124
  orderIndex: z.ZodNullable<z.ZodInt>;
@@ -6130,6 +6129,7 @@ declare const exerciseHistoryRowQueryDtoSchema: z.ZodObject<{
6130
6129
  targetMuscle: z.ZodString;
6131
6130
  specificTargetMuscle: z.ZodString;
6132
6131
  }, z.core.$strip>;
6132
+ workoutStartLocal: z.ZodString;
6133
6133
  }, z.core.$strip>>;
6134
6134
  }, z.core.$strip>>;
6135
6135
  }, z.core.$strip>;
package/dist/index.js CHANGED
@@ -2359,7 +2359,11 @@ var groupedTrackingItemQueryDtoSchema = z33.object({
2359
2359
  })
2360
2360
  })
2361
2361
  });
2362
- var trackingByExerciseToSplitIdItemQueryDtoSchema = groupedTrackingItemQueryDtoSchema.shape.exerciseTracking;
2362
+ var trackingByExerciseToSplitIdItemQueryDtoSchema = groupedTrackingItemQueryDtoSchema.shape.exerciseTracking.omit({
2363
+ notes: true
2364
+ }).extend({
2365
+ workoutStartLocal: serializedDateSchema
2366
+ });
2363
2367
  var exerciseTrackingStatsQueryDtoSchema = z33.object({
2364
2368
  workoutCount: z33.coerce.number(),
2365
2369
  hasExerciseTracking: z33.boolean(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strong-together/shared",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",