@strong-together/shared 2.4.0 → 2.5.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
@@ -75,8 +75,12 @@ __export(index_exports, {
75
75
  exerciseTrackingAndStatsRowQueryDtoSchema: () => exerciseTrackingAndStatsRowQueryDtoSchema,
76
76
  exerciseTrackingDbSchema: () => exerciseTrackingDbSchema,
77
77
  exerciseTrackingIdQueryDtoSchema: () => exerciseTrackingIdQueryDtoSchema,
78
+ exerciseTrackingMapsQueryDtoSchema: () => exerciseTrackingMapsQueryDtoSchema,
79
+ exerciseTrackingMapsRowQueryDtoSchema: () => exerciseTrackingMapsRowQueryDtoSchema,
78
80
  exerciseTrackingPrMaxQueryDtoSchema: () => exerciseTrackingPrMaxQueryDtoSchema,
79
81
  exerciseTrackingSetExpandedViewDbSchema: () => exerciseTrackingSetExpandedViewDbSchema,
82
+ exerciseTrackingStatsQueryDtoSchema: () => exerciseTrackingStatsQueryDtoSchema,
83
+ exerciseTrackingStatsRowQueryDtoSchema: () => exerciseTrackingStatsRowQueryDtoSchema,
80
84
  exercisesMapByMuscleQueryDtoSchema: () => exercisesMapByMuscleQueryDtoSchema,
81
85
  finishUserWorkoutContract: () => finishUserWorkoutContract,
82
86
  finishUserWorkoutResponseSchema: () => finishUserWorkoutResponseSchema,
@@ -100,6 +104,8 @@ __export(index_exports, {
100
104
  getExerciseTrackingContract: () => getExerciseTrackingContract,
101
105
  getExerciseTrackingRequestSchema: () => getExerciseTrackingRequestSchema,
102
106
  getExerciseTrackingResponseSchema: () => getExerciseTrackingResponseSchema,
107
+ getExerciseTrackingStatsContract: () => getExerciseTrackingStatsContract,
108
+ getExerciseTrackingStatsResponseSchema: () => getExerciseTrackingStatsResponseSchema,
103
109
  getPresignedUrlFromS3Contract: () => getPresignedUrlFromS3Contract,
104
110
  getPresignedUrlFromS3RequestSchema: () => getPresignedUrlFromS3RequestSchema,
105
111
  getPresignedUrlFromS3ResponseSchema: () => getPresignedUrlFromS3ResponseSchema,
@@ -2256,39 +2262,47 @@ var groupedTrackingItemQueryDtoSchema = import_v418.z.object({
2256
2262
  })
2257
2263
  })
2258
2264
  });
2259
- var exerciseTrackingAndStatsQueryDtoSchema = import_v418.z.object({
2260
- trackingStats: import_v418.z.object({
2261
- workoutCount: import_v418.z.coerce.number(),
2262
- hasExerciseTracking: import_v418.z.boolean(),
2263
- workoutTargets: import_v418.z.object({
2264
- workoutCountThisWeek: import_v418.z.coerce.number(),
2265
- workoutCountScheduledPerWeek: import_v418.z.coerce.number(),
2266
- weekStreak: import_v418.z.coerce.number()
2267
- }),
2268
- lastWorkoutStats: import_v418.z.object({
2269
- workoutDate: import_v418.z.string().nullable(),
2270
- workoutSplitName: workoutSplitDbSchema.shape.name.nullable(),
2271
- exerciseTrackedCount: import_v418.z.coerce.number().nullable(),
2272
- setTrackedCount: import_v418.z.coerce.number().nullable()
2273
- }),
2274
- prs: import_v418.z.array(import_v418.z.object({
2275
- exerciseToSplitId: exerciseTrackingDbSchema.shape.exerciseToSplitId,
2276
- exerciseId: exerciseDbSchema.shape.id,
2277
- exerciseName: exerciseDbSchema.shape.name,
2278
- prWeight: trackingSetDbSchema.shape.weight,
2279
- prReps: trackingSetDbSchema.shape.reps,
2280
- prSetIndex: trackingSetDbSchema.shape.setIndex
2281
- }))
2265
+ var exerciseTrackingStatsQueryDtoSchema = import_v418.z.object({
2266
+ workoutCount: import_v418.z.coerce.number(),
2267
+ hasExerciseTracking: import_v418.z.boolean(),
2268
+ workoutTargets: import_v418.z.object({
2269
+ workoutCountThisWeek: import_v418.z.coerce.number(),
2270
+ workoutCountScheduledPerWeek: import_v418.z.coerce.number(),
2271
+ weekStreak: import_v418.z.coerce.number()
2282
2272
  }),
2283
- trackingMaps: import_v418.z.object({
2284
- byDate: import_v418.z.record(import_v418.z.string(), import_v418.z.array(groupedTrackingItemQueryDtoSchema)),
2285
- byExerciseToSplitId: import_v418.z.record(import_v418.z.string(), import_v418.z.array(groupedTrackingItemQueryDtoSchema)),
2286
- bySplitName: import_v418.z.record(import_v418.z.string(), import_v418.z.array(groupedTrackingItemQueryDtoSchema))
2287
- })
2273
+ lastWorkoutStats: import_v418.z.object({
2274
+ workoutDate: import_v418.z.string().nullable(),
2275
+ workoutSplitName: workoutSplitDbSchema.shape.name.nullable(),
2276
+ exerciseTrackedCount: import_v418.z.coerce.number().nullable(),
2277
+ setTrackedCount: import_v418.z.coerce.number().nullable()
2278
+ }),
2279
+ prs: import_v418.z.array(import_v418.z.object({
2280
+ exerciseToSplitId: exerciseTrackingDbSchema.shape.exerciseToSplitId,
2281
+ exerciseId: exerciseDbSchema.shape.id,
2282
+ exerciseName: exerciseDbSchema.shape.name,
2283
+ prWeight: trackingSetDbSchema.shape.weight,
2284
+ prReps: trackingSetDbSchema.shape.reps,
2285
+ prSetIndex: trackingSetDbSchema.shape.setIndex
2286
+ }))
2287
+ });
2288
+ var exerciseTrackingMapsQueryDtoSchema = import_v418.z.object({
2289
+ byDate: import_v418.z.record(import_v418.z.string(), import_v418.z.array(groupedTrackingItemQueryDtoSchema)),
2290
+ byExerciseToSplitId: import_v418.z.record(import_v418.z.string(), import_v418.z.array(groupedTrackingItemQueryDtoSchema)),
2291
+ bySplitName: import_v418.z.record(import_v418.z.string(), import_v418.z.array(groupedTrackingItemQueryDtoSchema))
2292
+ });
2293
+ var exerciseTrackingAndStatsQueryDtoSchema = import_v418.z.object({
2294
+ trackingStats: exerciseTrackingStatsQueryDtoSchema,
2295
+ trackingMaps: exerciseTrackingMapsQueryDtoSchema
2288
2296
  });
2289
2297
  var exerciseTrackingAndStatsRowQueryDtoSchema = import_v418.z.object({
2290
2298
  data: exerciseTrackingAndStatsQueryDtoSchema
2291
2299
  });
2300
+ var exerciseTrackingStatsRowQueryDtoSchema = import_v418.z.object({
2301
+ data: exerciseTrackingStatsQueryDtoSchema
2302
+ });
2303
+ var exerciseTrackingMapsRowQueryDtoSchema = import_v418.z.object({
2304
+ data: exerciseTrackingMapsQueryDtoSchema
2305
+ });
2292
2306
  var workoutSplitLookupQueryDtoSchema = import_v418.z.object({
2293
2307
  workoutSplitId: workoutSplitDbSchema.shape.id
2294
2308
  });
@@ -2635,11 +2649,16 @@ var getExerciseTrackingRequestSchema = import_v435.z.object({
2635
2649
  tz: import_v435.z.string().optional()
2636
2650
  })
2637
2651
  });
2638
- var getExerciseTrackingResponseSchema = exerciseTrackingAndStatsQueryDtoSchema;
2652
+ var getExerciseTrackingResponseSchema = exerciseTrackingMapsQueryDtoSchema;
2639
2653
  var getExerciseTrackingContract = {
2640
2654
  request: getExerciseTrackingRequestSchema,
2641
2655
  response: getExerciseTrackingResponseSchema
2642
2656
  };
2657
+ var getExerciseTrackingStatsResponseSchema = exerciseTrackingStatsQueryDtoSchema;
2658
+ var getExerciseTrackingStatsContract = {
2659
+ request: getExerciseTrackingRequestSchema,
2660
+ response: getExerciseTrackingStatsResponseSchema
2661
+ };
2643
2662
  var finishWorkoutRequestSchema = import_v435.z.object({
2644
2663
  body: import_v435.z.object({
2645
2664
  workout: import_v435.z.array(finishedWorkoutEntryQueryDtoSchema),
@@ -2709,8 +2728,12 @@ var finishUserWorkoutContract = {
2709
2728
  exerciseTrackingAndStatsRowQueryDtoSchema,
2710
2729
  exerciseTrackingDbSchema,
2711
2730
  exerciseTrackingIdQueryDtoSchema,
2731
+ exerciseTrackingMapsQueryDtoSchema,
2732
+ exerciseTrackingMapsRowQueryDtoSchema,
2712
2733
  exerciseTrackingPrMaxQueryDtoSchema,
2713
2734
  exerciseTrackingSetExpandedViewDbSchema,
2735
+ exerciseTrackingStatsQueryDtoSchema,
2736
+ exerciseTrackingStatsRowQueryDtoSchema,
2714
2737
  exercisesMapByMuscleQueryDtoSchema,
2715
2738
  finishUserWorkoutContract,
2716
2739
  finishUserWorkoutResponseSchema,
@@ -2734,6 +2757,8 @@ var finishUserWorkoutContract = {
2734
2757
  getExerciseTrackingContract,
2735
2758
  getExerciseTrackingRequestSchema,
2736
2759
  getExerciseTrackingResponseSchema,
2760
+ getExerciseTrackingStatsContract,
2761
+ getExerciseTrackingStatsResponseSchema,
2737
2762
  getPresignedUrlFromS3Contract,
2738
2763
  getPresignedUrlFromS3RequestSchema,
2739
2764
  getPresignedUrlFromS3ResponseSchema,
package/dist/index.d.cts CHANGED
@@ -5741,30 +5741,77 @@ declare const getExerciseTrackingRequestSchema: z.ZodObject<{
5741
5741
  }, z.core.$strip>;
5742
5742
  }, z.core.$strip>;
5743
5743
  declare const getExerciseTrackingResponseSchema: z.ZodObject<{
5744
- trackingStats: z.ZodObject<{
5745
- workoutCount: z.ZodCoercedNumber<unknown>;
5746
- hasExerciseTracking: z.ZodBoolean;
5747
- workoutTargets: z.ZodObject<{
5748
- workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5749
- workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5750
- weekStreak: z.ZodCoercedNumber<unknown>;
5744
+ byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5745
+ exerciseTracking: z.ZodObject<{
5746
+ exerciseTrackingId: z.ZodInt;
5747
+ sets: z.ZodArray<z.ZodObject<{
5748
+ setIndex: z.ZodInt;
5749
+ weight: z.ZodNumber;
5750
+ reps: z.ZodInt;
5751
+ }, z.core.$strip>>;
5752
+ notes: z.ZodNullable<z.ZodString>;
5753
+ exerciseAssignment: z.ZodObject<{
5754
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5755
+ orderIndex: z.ZodNullable<z.ZodInt>;
5756
+ exerciseId: z.ZodInt;
5757
+ workoutSplitId: z.ZodInt;
5758
+ workoutSplitName: z.ZodString;
5759
+ exerciseName: z.ZodString;
5760
+ targetMuscle: z.ZodString;
5761
+ specificTargetMuscle: z.ZodString;
5762
+ }, z.core.$strip>;
5751
5763
  }, z.core.$strip>;
5752
- lastWorkoutStats: z.ZodObject<{
5753
- workoutDate: z.ZodNullable<z.ZodString>;
5754
- workoutSplitName: z.ZodNullable<z.ZodString>;
5755
- exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5756
- setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5764
+ }, z.core.$strip>>>;
5765
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5766
+ exerciseTracking: z.ZodObject<{
5767
+ exerciseTrackingId: z.ZodInt;
5768
+ sets: z.ZodArray<z.ZodObject<{
5769
+ setIndex: z.ZodInt;
5770
+ weight: z.ZodNumber;
5771
+ reps: z.ZodInt;
5772
+ }, z.core.$strip>>;
5773
+ notes: z.ZodNullable<z.ZodString>;
5774
+ exerciseAssignment: z.ZodObject<{
5775
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5776
+ orderIndex: z.ZodNullable<z.ZodInt>;
5777
+ exerciseId: z.ZodInt;
5778
+ workoutSplitId: z.ZodInt;
5779
+ workoutSplitName: z.ZodString;
5780
+ exerciseName: z.ZodString;
5781
+ targetMuscle: z.ZodString;
5782
+ specificTargetMuscle: z.ZodString;
5783
+ }, z.core.$strip>;
5784
+ }, z.core.$strip>;
5785
+ }, z.core.$strip>>>;
5786
+ bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5787
+ exerciseTracking: z.ZodObject<{
5788
+ exerciseTrackingId: z.ZodInt;
5789
+ sets: z.ZodArray<z.ZodObject<{
5790
+ setIndex: z.ZodInt;
5791
+ weight: z.ZodNumber;
5792
+ reps: z.ZodInt;
5793
+ }, z.core.$strip>>;
5794
+ notes: z.ZodNullable<z.ZodString>;
5795
+ exerciseAssignment: z.ZodObject<{
5796
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5797
+ orderIndex: z.ZodNullable<z.ZodInt>;
5798
+ exerciseId: z.ZodInt;
5799
+ workoutSplitId: z.ZodInt;
5800
+ workoutSplitName: z.ZodString;
5801
+ exerciseName: z.ZodString;
5802
+ targetMuscle: z.ZodString;
5803
+ specificTargetMuscle: z.ZodString;
5804
+ }, z.core.$strip>;
5805
+ }, z.core.$strip>;
5806
+ }, z.core.$strip>>>;
5807
+ }, z.core.$strip>;
5808
+ declare const getExerciseTrackingContract: {
5809
+ request: z.ZodObject<{
5810
+ query: z.ZodObject<{
5811
+ tz: z.ZodOptional<z.ZodString>;
5757
5812
  }, z.core.$strip>;
5758
- prs: z.ZodArray<z.ZodObject<{
5759
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5760
- exerciseId: z.ZodInt;
5761
- exerciseName: z.ZodString;
5762
- prWeight: z.ZodNumber;
5763
- prReps: z.ZodInt;
5764
- prSetIndex: z.ZodInt;
5765
- }, z.core.$strip>>;
5766
5813
  }, z.core.$strip>;
5767
- trackingMaps: z.ZodObject<{
5814
+ response: z.ZodObject<{
5768
5815
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5769
5816
  exerciseTracking: z.ZodObject<{
5770
5817
  exerciseTrackingId: z.ZodInt;
@@ -5829,102 +5876,58 @@ declare const getExerciseTrackingResponseSchema: z.ZodObject<{
5829
5876
  }, z.core.$strip>;
5830
5877
  }, z.core.$strip>>>;
5831
5878
  }, z.core.$strip>;
5879
+ };
5880
+ declare const getExerciseTrackingStatsResponseSchema: z.ZodObject<{
5881
+ workoutCount: z.ZodCoercedNumber<unknown>;
5882
+ hasExerciseTracking: z.ZodBoolean;
5883
+ workoutTargets: z.ZodObject<{
5884
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5885
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5886
+ weekStreak: z.ZodCoercedNumber<unknown>;
5887
+ }, z.core.$strip>;
5888
+ lastWorkoutStats: z.ZodObject<{
5889
+ workoutDate: z.ZodNullable<z.ZodString>;
5890
+ workoutSplitName: z.ZodNullable<z.ZodString>;
5891
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5892
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5893
+ }, z.core.$strip>;
5894
+ prs: z.ZodArray<z.ZodObject<{
5895
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5896
+ exerciseId: z.ZodInt;
5897
+ exerciseName: z.ZodString;
5898
+ prWeight: z.ZodNumber;
5899
+ prReps: z.ZodInt;
5900
+ prSetIndex: z.ZodInt;
5901
+ }, z.core.$strip>>;
5832
5902
  }, z.core.$strip>;
5833
- declare const getExerciseTrackingContract: {
5903
+ declare const getExerciseTrackingStatsContract: {
5834
5904
  request: z.ZodObject<{
5835
5905
  query: z.ZodObject<{
5836
5906
  tz: z.ZodOptional<z.ZodString>;
5837
5907
  }, z.core.$strip>;
5838
5908
  }, z.core.$strip>;
5839
5909
  response: z.ZodObject<{
5840
- trackingStats: z.ZodObject<{
5841
- workoutCount: z.ZodCoercedNumber<unknown>;
5842
- hasExerciseTracking: z.ZodBoolean;
5843
- workoutTargets: z.ZodObject<{
5844
- workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5845
- workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5846
- weekStreak: z.ZodCoercedNumber<unknown>;
5847
- }, z.core.$strip>;
5848
- lastWorkoutStats: z.ZodObject<{
5849
- workoutDate: z.ZodNullable<z.ZodString>;
5850
- workoutSplitName: z.ZodNullable<z.ZodString>;
5851
- exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5852
- setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5853
- }, z.core.$strip>;
5854
- prs: z.ZodArray<z.ZodObject<{
5855
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5856
- exerciseId: z.ZodInt;
5857
- exerciseName: z.ZodString;
5858
- prWeight: z.ZodNumber;
5859
- prReps: z.ZodInt;
5860
- prSetIndex: z.ZodInt;
5861
- }, z.core.$strip>>;
5910
+ workoutCount: z.ZodCoercedNumber<unknown>;
5911
+ hasExerciseTracking: z.ZodBoolean;
5912
+ workoutTargets: z.ZodObject<{
5913
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5914
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5915
+ weekStreak: z.ZodCoercedNumber<unknown>;
5862
5916
  }, z.core.$strip>;
5863
- trackingMaps: z.ZodObject<{
5864
- byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5865
- exerciseTracking: z.ZodObject<{
5866
- exerciseTrackingId: z.ZodInt;
5867
- sets: z.ZodArray<z.ZodObject<{
5868
- setIndex: z.ZodInt;
5869
- weight: z.ZodNumber;
5870
- reps: z.ZodInt;
5871
- }, z.core.$strip>>;
5872
- notes: z.ZodNullable<z.ZodString>;
5873
- exerciseAssignment: z.ZodObject<{
5874
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5875
- orderIndex: z.ZodNullable<z.ZodInt>;
5876
- exerciseId: z.ZodInt;
5877
- workoutSplitId: z.ZodInt;
5878
- workoutSplitName: z.ZodString;
5879
- exerciseName: z.ZodString;
5880
- targetMuscle: z.ZodString;
5881
- specificTargetMuscle: z.ZodString;
5882
- }, z.core.$strip>;
5883
- }, z.core.$strip>;
5884
- }, z.core.$strip>>>;
5885
- byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5886
- exerciseTracking: z.ZodObject<{
5887
- exerciseTrackingId: z.ZodInt;
5888
- sets: z.ZodArray<z.ZodObject<{
5889
- setIndex: z.ZodInt;
5890
- weight: z.ZodNumber;
5891
- reps: z.ZodInt;
5892
- }, z.core.$strip>>;
5893
- notes: z.ZodNullable<z.ZodString>;
5894
- exerciseAssignment: z.ZodObject<{
5895
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5896
- orderIndex: z.ZodNullable<z.ZodInt>;
5897
- exerciseId: z.ZodInt;
5898
- workoutSplitId: z.ZodInt;
5899
- workoutSplitName: z.ZodString;
5900
- exerciseName: z.ZodString;
5901
- targetMuscle: z.ZodString;
5902
- specificTargetMuscle: z.ZodString;
5903
- }, z.core.$strip>;
5904
- }, z.core.$strip>;
5905
- }, z.core.$strip>>>;
5906
- bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5907
- exerciseTracking: z.ZodObject<{
5908
- exerciseTrackingId: z.ZodInt;
5909
- sets: z.ZodArray<z.ZodObject<{
5910
- setIndex: z.ZodInt;
5911
- weight: z.ZodNumber;
5912
- reps: z.ZodInt;
5913
- }, z.core.$strip>>;
5914
- notes: z.ZodNullable<z.ZodString>;
5915
- exerciseAssignment: z.ZodObject<{
5916
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5917
- orderIndex: z.ZodNullable<z.ZodInt>;
5918
- exerciseId: z.ZodInt;
5919
- workoutSplitId: z.ZodInt;
5920
- workoutSplitName: z.ZodString;
5921
- exerciseName: z.ZodString;
5922
- targetMuscle: z.ZodString;
5923
- specificTargetMuscle: z.ZodString;
5924
- }, z.core.$strip>;
5925
- }, z.core.$strip>;
5926
- }, z.core.$strip>>>;
5917
+ lastWorkoutStats: z.ZodObject<{
5918
+ workoutDate: z.ZodNullable<z.ZodString>;
5919
+ workoutSplitName: z.ZodNullable<z.ZodString>;
5920
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5921
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5927
5922
  }, z.core.$strip>;
5923
+ prs: z.ZodArray<z.ZodObject<{
5924
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5925
+ exerciseId: z.ZodInt;
5926
+ exerciseName: z.ZodString;
5927
+ prWeight: z.ZodNumber;
5928
+ prReps: z.ZodInt;
5929
+ prSetIndex: z.ZodInt;
5930
+ }, z.core.$strip>>;
5928
5931
  }, z.core.$strip>;
5929
5932
  };
5930
5933
  declare const finishWorkoutRequestSchema: z.ZodObject<{
@@ -6147,6 +6150,7 @@ declare const finishUserWorkoutContract: {
6147
6150
  };
6148
6151
  type GetExerciseTrackingQuery = QueryOf<typeof getExerciseTrackingContract>;
6149
6152
  type GetExerciseTrackingResponse = ResponseOf<typeof getExerciseTrackingContract>;
6153
+ type GetExerciseTrackingStatsResponse = ResponseOf<typeof getExerciseTrackingStatsContract>;
6150
6154
  type FinishUserWorkoutBody = BodyOf<typeof finishUserWorkoutContract>;
6151
6155
  type FinishUserWorkoutResponse = ResponseOf<typeof finishUserWorkoutContract>;
6152
6156
 
@@ -6250,6 +6254,94 @@ declare const trackingBySplitNameItemQueryDtoSchema: z.ZodObject<{
6250
6254
  weight: z.ZodArray<z.ZodNumber>;
6251
6255
  workoutDate: z.ZodString;
6252
6256
  }, z.core.$strip>;
6257
+ declare const exerciseTrackingStatsQueryDtoSchema: z.ZodObject<{
6258
+ workoutCount: z.ZodCoercedNumber<unknown>;
6259
+ hasExerciseTracking: z.ZodBoolean;
6260
+ workoutTargets: z.ZodObject<{
6261
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
6262
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
6263
+ weekStreak: z.ZodCoercedNumber<unknown>;
6264
+ }, z.core.$strip>;
6265
+ lastWorkoutStats: z.ZodObject<{
6266
+ workoutDate: z.ZodNullable<z.ZodString>;
6267
+ workoutSplitName: z.ZodNullable<z.ZodString>;
6268
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6269
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6270
+ }, z.core.$strip>;
6271
+ prs: z.ZodArray<z.ZodObject<{
6272
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6273
+ exerciseId: z.ZodInt;
6274
+ exerciseName: z.ZodString;
6275
+ prWeight: z.ZodNumber;
6276
+ prReps: z.ZodInt;
6277
+ prSetIndex: z.ZodInt;
6278
+ }, z.core.$strip>>;
6279
+ }, z.core.$strip>;
6280
+ declare const exerciseTrackingMapsQueryDtoSchema: z.ZodObject<{
6281
+ byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6282
+ exerciseTracking: z.ZodObject<{
6283
+ exerciseTrackingId: z.ZodInt;
6284
+ sets: z.ZodArray<z.ZodObject<{
6285
+ setIndex: z.ZodInt;
6286
+ weight: z.ZodNumber;
6287
+ reps: z.ZodInt;
6288
+ }, z.core.$strip>>;
6289
+ notes: z.ZodNullable<z.ZodString>;
6290
+ exerciseAssignment: z.ZodObject<{
6291
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6292
+ orderIndex: z.ZodNullable<z.ZodInt>;
6293
+ exerciseId: z.ZodInt;
6294
+ workoutSplitId: z.ZodInt;
6295
+ workoutSplitName: z.ZodString;
6296
+ exerciseName: z.ZodString;
6297
+ targetMuscle: z.ZodString;
6298
+ specificTargetMuscle: z.ZodString;
6299
+ }, z.core.$strip>;
6300
+ }, z.core.$strip>;
6301
+ }, z.core.$strip>>>;
6302
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6303
+ exerciseTracking: z.ZodObject<{
6304
+ exerciseTrackingId: z.ZodInt;
6305
+ sets: z.ZodArray<z.ZodObject<{
6306
+ setIndex: z.ZodInt;
6307
+ weight: z.ZodNumber;
6308
+ reps: z.ZodInt;
6309
+ }, z.core.$strip>>;
6310
+ notes: z.ZodNullable<z.ZodString>;
6311
+ exerciseAssignment: z.ZodObject<{
6312
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6313
+ orderIndex: z.ZodNullable<z.ZodInt>;
6314
+ exerciseId: z.ZodInt;
6315
+ workoutSplitId: z.ZodInt;
6316
+ workoutSplitName: z.ZodString;
6317
+ exerciseName: z.ZodString;
6318
+ targetMuscle: z.ZodString;
6319
+ specificTargetMuscle: z.ZodString;
6320
+ }, z.core.$strip>;
6321
+ }, z.core.$strip>;
6322
+ }, z.core.$strip>>>;
6323
+ bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6324
+ exerciseTracking: z.ZodObject<{
6325
+ exerciseTrackingId: z.ZodInt;
6326
+ sets: z.ZodArray<z.ZodObject<{
6327
+ setIndex: z.ZodInt;
6328
+ weight: z.ZodNumber;
6329
+ reps: z.ZodInt;
6330
+ }, z.core.$strip>>;
6331
+ notes: z.ZodNullable<z.ZodString>;
6332
+ exerciseAssignment: z.ZodObject<{
6333
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6334
+ orderIndex: z.ZodNullable<z.ZodInt>;
6335
+ exerciseId: z.ZodInt;
6336
+ workoutSplitId: z.ZodInt;
6337
+ workoutSplitName: z.ZodString;
6338
+ exerciseName: z.ZodString;
6339
+ targetMuscle: z.ZodString;
6340
+ specificTargetMuscle: z.ZodString;
6341
+ }, z.core.$strip>;
6342
+ }, z.core.$strip>;
6343
+ }, z.core.$strip>>>;
6344
+ }, z.core.$strip>;
6253
6345
  declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
6254
6346
  trackingStats: z.ZodObject<{
6255
6347
  workoutCount: z.ZodCoercedNumber<unknown>;
@@ -6433,6 +6525,98 @@ declare const exerciseTrackingAndStatsRowQueryDtoSchema: z.ZodObject<{
6433
6525
  }, z.core.$strip>;
6434
6526
  }, z.core.$strip>;
6435
6527
  }, z.core.$strip>;
6528
+ declare const exerciseTrackingStatsRowQueryDtoSchema: z.ZodObject<{
6529
+ data: z.ZodObject<{
6530
+ workoutCount: z.ZodCoercedNumber<unknown>;
6531
+ hasExerciseTracking: z.ZodBoolean;
6532
+ workoutTargets: z.ZodObject<{
6533
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
6534
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
6535
+ weekStreak: z.ZodCoercedNumber<unknown>;
6536
+ }, z.core.$strip>;
6537
+ lastWorkoutStats: z.ZodObject<{
6538
+ workoutDate: z.ZodNullable<z.ZodString>;
6539
+ workoutSplitName: z.ZodNullable<z.ZodString>;
6540
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6541
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6542
+ }, z.core.$strip>;
6543
+ prs: z.ZodArray<z.ZodObject<{
6544
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6545
+ exerciseId: z.ZodInt;
6546
+ exerciseName: z.ZodString;
6547
+ prWeight: z.ZodNumber;
6548
+ prReps: z.ZodInt;
6549
+ prSetIndex: z.ZodInt;
6550
+ }, z.core.$strip>>;
6551
+ }, z.core.$strip>;
6552
+ }, z.core.$strip>;
6553
+ declare const exerciseTrackingMapsRowQueryDtoSchema: z.ZodObject<{
6554
+ data: z.ZodObject<{
6555
+ byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6556
+ exerciseTracking: z.ZodObject<{
6557
+ exerciseTrackingId: z.ZodInt;
6558
+ sets: z.ZodArray<z.ZodObject<{
6559
+ setIndex: z.ZodInt;
6560
+ weight: z.ZodNumber;
6561
+ reps: z.ZodInt;
6562
+ }, z.core.$strip>>;
6563
+ notes: z.ZodNullable<z.ZodString>;
6564
+ exerciseAssignment: z.ZodObject<{
6565
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6566
+ orderIndex: z.ZodNullable<z.ZodInt>;
6567
+ exerciseId: z.ZodInt;
6568
+ workoutSplitId: z.ZodInt;
6569
+ workoutSplitName: z.ZodString;
6570
+ exerciseName: z.ZodString;
6571
+ targetMuscle: z.ZodString;
6572
+ specificTargetMuscle: z.ZodString;
6573
+ }, z.core.$strip>;
6574
+ }, z.core.$strip>;
6575
+ }, z.core.$strip>>>;
6576
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6577
+ exerciseTracking: z.ZodObject<{
6578
+ exerciseTrackingId: z.ZodInt;
6579
+ sets: z.ZodArray<z.ZodObject<{
6580
+ setIndex: z.ZodInt;
6581
+ weight: z.ZodNumber;
6582
+ reps: z.ZodInt;
6583
+ }, z.core.$strip>>;
6584
+ notes: z.ZodNullable<z.ZodString>;
6585
+ exerciseAssignment: z.ZodObject<{
6586
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6587
+ orderIndex: z.ZodNullable<z.ZodInt>;
6588
+ exerciseId: z.ZodInt;
6589
+ workoutSplitId: z.ZodInt;
6590
+ workoutSplitName: z.ZodString;
6591
+ exerciseName: z.ZodString;
6592
+ targetMuscle: z.ZodString;
6593
+ specificTargetMuscle: z.ZodString;
6594
+ }, z.core.$strip>;
6595
+ }, z.core.$strip>;
6596
+ }, z.core.$strip>>>;
6597
+ bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6598
+ exerciseTracking: z.ZodObject<{
6599
+ exerciseTrackingId: z.ZodInt;
6600
+ sets: z.ZodArray<z.ZodObject<{
6601
+ setIndex: z.ZodInt;
6602
+ weight: z.ZodNumber;
6603
+ reps: z.ZodInt;
6604
+ }, z.core.$strip>>;
6605
+ notes: z.ZodNullable<z.ZodString>;
6606
+ exerciseAssignment: z.ZodObject<{
6607
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6608
+ orderIndex: z.ZodNullable<z.ZodInt>;
6609
+ exerciseId: z.ZodInt;
6610
+ workoutSplitId: z.ZodInt;
6611
+ workoutSplitName: z.ZodString;
6612
+ exerciseName: z.ZodString;
6613
+ targetMuscle: z.ZodString;
6614
+ specificTargetMuscle: z.ZodString;
6615
+ }, z.core.$strip>;
6616
+ }, z.core.$strip>;
6617
+ }, z.core.$strip>>>;
6618
+ }, z.core.$strip>;
6619
+ }, z.core.$strip>;
6436
6620
  /** SQL row resolving the workout split for an exercise assignment. */
6437
6621
  declare const workoutSplitLookupQueryDtoSchema: z.ZodObject<{
6438
6622
  workoutSplitId: z.ZodInt;
@@ -6453,9 +6637,13 @@ type TrackingByDateItemQueryDto = z.infer<typeof trackingByDateItemQueryDtoSchem
6453
6637
  type TrackingBySplitNameItemQueryDto = z.infer<typeof trackingBySplitNameItemQueryDtoSchema>;
6454
6638
  type ExerciseTrackingAndStatsQueryDto = z.infer<typeof exerciseTrackingAndStatsQueryDtoSchema>;
6455
6639
  type ExerciseTrackingAndStatsRowQueryDto = z.infer<typeof exerciseTrackingAndStatsRowQueryDtoSchema>;
6640
+ type ExerciseTrackingStatsQueryDto = z.infer<typeof exerciseTrackingStatsQueryDtoSchema>;
6641
+ type ExerciseTrackingStatsRowQueryDto = z.infer<typeof exerciseTrackingStatsRowQueryDtoSchema>;
6642
+ type ExerciseTrackingMapsQueryDto = z.infer<typeof exerciseTrackingMapsQueryDtoSchema>;
6643
+ type ExerciseTrackingMapsRowQueryDto = z.infer<typeof exerciseTrackingMapsRowQueryDtoSchema>;
6456
6644
  type WorkoutSplitLookupQueryDto = z.infer<typeof workoutSplitLookupQueryDtoSchema>;
6457
6645
  type WorkoutSummaryIdQueryDto = z.infer<typeof workoutSummaryIdQueryDtoSchema>;
6458
6646
  type ExerciseTrackingIdQueryDto = z.infer<typeof exerciseTrackingIdQueryDtoSchema>;
6459
6647
  type FinishedWorkoutEntryQueryDto = z.infer<typeof finishedWorkoutEntryQueryDtoSchema>;
6460
6648
 
6461
- export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AddUserAerobicsBody, type AddWorkoutBody, type AddWorkoutResponse, type AddWorkoutSplitPayloadQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type BootstrapRequestQuery, type BootstrapResponse, type ChangeEmailAndVerifyBody, type ChangeEmailTokenPayloadDto, type CheckUserVerifyQuery, type Contract, type CreateUserBody, type CreateUserResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteUserProfilePicBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseInPlanQueryDto, type ExerciseMapByMuscleRowQueryDto, type ExerciseMetadataQueryDto, type ExerciseRow, type ExerciseToWorkoutSplitRow, type ExerciseTrackingAnalysisQueryDto, type ExerciseTrackingAndStatsQueryDto, type ExerciseTrackingAndStatsRowQueryDto, type ExerciseTrackingIdQueryDto, type ExerciseTrackingPrMaxQueryDto, type ExerciseTrackingRow, type ExercisesMapByMuscleQueryDto, type FinishUserWorkoutBody, type FinishUserWorkoutResponse, type FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GenerateTicketBody, type GenerateTicketResponse, type GetAllExercisesExerciseQueryDto, type GetAllExercisesResponse, type GetAllUserMessagesQuery, type GetAllUserMessagesResponse, type GetAnalyticsResponse, type GetAuthenticatedUserByIdResponse, type GetExerciseTrackingQuery, type GetExerciseTrackingResponse, type GetPresignedUrlFromS3Body, type GetPresignedUrlFromS3Response, type GetUserAerobicsQuery, type GetWholeUserWorkoutPlanQuery, type GetWholeUserWorkoutPlanResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type LoginRequestBody, type LoginResponse, type LogoutResponse, type MarkMessageAsReadParams, type MarkMessageAsReadResponse, type MessageAfterSendQueryDto, type MessageAsReadQueryDto, type MessageRow, type OAuthCreatedUserRowQueryDto, type OAuthLinkQueryDto, type OAuthLinkRowQueryDto, type OAuthLoginResponse, type OAuthLookupQueryDto, type OAuthLookupRawQueryDto, type OAuthLookupRowQueryDto, type ParamsOf, type QueryOf, type RefreshTokenResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveUserPushTokenBody, type SendChangePassEmailBody, type SendVerificationMailBody, type SetProfilePicAndUpdateDBResponse, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateAuthenticatedUserResponse, type UpdateUserBody, type UserAerobicsQueryDto, type UserAerobicsResponse, type UserAerobicsRowQueryDto, type UserAfterBumpQueryDto, type UserByIdentifierQueryDto, type UserByIdentifierRawQueryDto, type UserByIdentifierRowQueryDto, type UserByUsernameRawQueryDto, type UserByUsernameRowQueryDto, type UserConflictQueryDto, type UserDataQueryDto, type UserDataResponse, type UserDataRowQueryDto, type UserExistsQueryDto, type UserInsert, type UserMessageIdentityQueryDto, type UserProfilePicQueryDto, type UserRow, type UserToHourlyReminderQueryDto, type UserWithNotificationsEnabledQueryDto, type VerifyUserAccountQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutExerciseMetadataQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSplitsMapItemQueryDto, type WorkoutSplitsMapQueryDto, type WorkoutSplitsRowQueryDto, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, addAerobicsRequestSchema, addUserAerobicsContract, addWorkoutContract, addWorkoutRequestSchema, addWorkoutResponseSchema, addWorkoutSplitPayloadQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, bootstrapContract, bootstrapRequestSchema, bootstrapResponseSchema, changeEmailAndVerifyContract, changeEmailAndVerifyRequestSchema, changeEmailTokenPayloadDtoSchema, checkUserVerifyContract, checkUserVerifyRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePicRequestSchema, deleteUserProfilePicContract, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exercisesMapByMuscleQueryDtoSchema, finishUserWorkoutContract, finishUserWorkoutResponseSchema, finishWorkoutRequestSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, generateTicketContract, generateTicketRequestSchema, generateTicketResponseSchema, getAerobicsRequestSchema, getAllExercisesContract, getAllExercisesExerciseQueryDtoSchema, getAllExercisesResponseSchema, getAllMessagesRequestSchema, getAllUserMessagesContract, getAllUserMessagesResponseSchema, getAnalyticsContract, getAnalyticsResponseSchema, getAuthenticatedUserByIdContract, getAuthenticatedUserByIdResponseSchema, getExerciseTrackingContract, getExerciseTrackingRequestSchema, getExerciseTrackingResponseSchema, getPresignedUrlFromS3Contract, getPresignedUrlFromS3RequestSchema, getPresignedUrlFromS3ResponseSchema, getUserAerobicsContract, getWholeUserWorkoutPlanContract, getWholeUserWorkoutPlanResponseSchema, getWholeWorkoutPlanRequestSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveUserPushTokenContract, saveUserPushTokenRequestSchema, sendChangePassEmailContract, sendChangePassEmailRequestSchema, sendVerificationMailContract, sendVerificationMailRequestSchema, serializedDateSchema, setProfilePicAndUpdateDBContract, setProfilePicAndUpdateDBResponseSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateAuthenticatedUserContract, updateAuthenticatedUserResponseSchema, updateUserRequestSchema, userAerobicsQueryDtoSchema, userAerobicsResponseSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyAccountRequestSchema, verifyUserAccountContract, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutExerciseMetadataQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSplitsMapItemQueryDtoSchema, workoutSplitsMapQueryDtoSchema, workoutSplitsRowQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
6649
+ export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AddUserAerobicsBody, type AddWorkoutBody, type AddWorkoutResponse, type AddWorkoutSplitPayloadQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type BootstrapRequestQuery, type BootstrapResponse, type ChangeEmailAndVerifyBody, type ChangeEmailTokenPayloadDto, type CheckUserVerifyQuery, type Contract, type CreateUserBody, type CreateUserResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteUserProfilePicBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseInPlanQueryDto, type ExerciseMapByMuscleRowQueryDto, type ExerciseMetadataQueryDto, type ExerciseRow, type ExerciseToWorkoutSplitRow, type ExerciseTrackingAnalysisQueryDto, type ExerciseTrackingAndStatsQueryDto, type ExerciseTrackingAndStatsRowQueryDto, type ExerciseTrackingIdQueryDto, type ExerciseTrackingMapsQueryDto, type ExerciseTrackingMapsRowQueryDto, type ExerciseTrackingPrMaxQueryDto, type ExerciseTrackingRow, type ExerciseTrackingStatsQueryDto, type ExerciseTrackingStatsRowQueryDto, type ExercisesMapByMuscleQueryDto, type FinishUserWorkoutBody, type FinishUserWorkoutResponse, type FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GenerateTicketBody, type GenerateTicketResponse, type GetAllExercisesExerciseQueryDto, type GetAllExercisesResponse, type GetAllUserMessagesQuery, type GetAllUserMessagesResponse, type GetAnalyticsResponse, type GetAuthenticatedUserByIdResponse, type GetExerciseTrackingQuery, type GetExerciseTrackingResponse, type GetExerciseTrackingStatsResponse, type GetPresignedUrlFromS3Body, type GetPresignedUrlFromS3Response, type GetUserAerobicsQuery, type GetWholeUserWorkoutPlanQuery, type GetWholeUserWorkoutPlanResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type LoginRequestBody, type LoginResponse, type LogoutResponse, type MarkMessageAsReadParams, type MarkMessageAsReadResponse, type MessageAfterSendQueryDto, type MessageAsReadQueryDto, type MessageRow, type OAuthCreatedUserRowQueryDto, type OAuthLinkQueryDto, type OAuthLinkRowQueryDto, type OAuthLoginResponse, type OAuthLookupQueryDto, type OAuthLookupRawQueryDto, type OAuthLookupRowQueryDto, type ParamsOf, type QueryOf, type RefreshTokenResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveUserPushTokenBody, type SendChangePassEmailBody, type SendVerificationMailBody, type SetProfilePicAndUpdateDBResponse, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateAuthenticatedUserResponse, type UpdateUserBody, type UserAerobicsQueryDto, type UserAerobicsResponse, type UserAerobicsRowQueryDto, type UserAfterBumpQueryDto, type UserByIdentifierQueryDto, type UserByIdentifierRawQueryDto, type UserByIdentifierRowQueryDto, type UserByUsernameRawQueryDto, type UserByUsernameRowQueryDto, type UserConflictQueryDto, type UserDataQueryDto, type UserDataResponse, type UserDataRowQueryDto, type UserExistsQueryDto, type UserInsert, type UserMessageIdentityQueryDto, type UserProfilePicQueryDto, type UserRow, type UserToHourlyReminderQueryDto, type UserWithNotificationsEnabledQueryDto, type VerifyUserAccountQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutExerciseMetadataQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSplitsMapItemQueryDto, type WorkoutSplitsMapQueryDto, type WorkoutSplitsRowQueryDto, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, addAerobicsRequestSchema, addUserAerobicsContract, addWorkoutContract, addWorkoutRequestSchema, addWorkoutResponseSchema, addWorkoutSplitPayloadQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, bootstrapContract, bootstrapRequestSchema, bootstrapResponseSchema, changeEmailAndVerifyContract, changeEmailAndVerifyRequestSchema, changeEmailTokenPayloadDtoSchema, checkUserVerifyContract, checkUserVerifyRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePicRequestSchema, deleteUserProfilePicContract, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingMapsQueryDtoSchema, exerciseTrackingMapsRowQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exerciseTrackingStatsQueryDtoSchema, exerciseTrackingStatsRowQueryDtoSchema, exercisesMapByMuscleQueryDtoSchema, finishUserWorkoutContract, finishUserWorkoutResponseSchema, finishWorkoutRequestSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, generateTicketContract, generateTicketRequestSchema, generateTicketResponseSchema, getAerobicsRequestSchema, getAllExercisesContract, getAllExercisesExerciseQueryDtoSchema, getAllExercisesResponseSchema, getAllMessagesRequestSchema, getAllUserMessagesContract, getAllUserMessagesResponseSchema, getAnalyticsContract, getAnalyticsResponseSchema, getAuthenticatedUserByIdContract, getAuthenticatedUserByIdResponseSchema, getExerciseTrackingContract, getExerciseTrackingRequestSchema, getExerciseTrackingResponseSchema, getExerciseTrackingStatsContract, getExerciseTrackingStatsResponseSchema, getPresignedUrlFromS3Contract, getPresignedUrlFromS3RequestSchema, getPresignedUrlFromS3ResponseSchema, getUserAerobicsContract, getWholeUserWorkoutPlanContract, getWholeUserWorkoutPlanResponseSchema, getWholeWorkoutPlanRequestSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveUserPushTokenContract, saveUserPushTokenRequestSchema, sendChangePassEmailContract, sendChangePassEmailRequestSchema, sendVerificationMailContract, sendVerificationMailRequestSchema, serializedDateSchema, setProfilePicAndUpdateDBContract, setProfilePicAndUpdateDBResponseSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateAuthenticatedUserContract, updateAuthenticatedUserResponseSchema, updateUserRequestSchema, userAerobicsQueryDtoSchema, userAerobicsResponseSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyAccountRequestSchema, verifyUserAccountContract, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutExerciseMetadataQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSplitsMapItemQueryDtoSchema, workoutSplitsMapQueryDtoSchema, workoutSplitsRowQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
package/dist/index.d.ts CHANGED
@@ -5741,30 +5741,77 @@ declare const getExerciseTrackingRequestSchema: z.ZodObject<{
5741
5741
  }, z.core.$strip>;
5742
5742
  }, z.core.$strip>;
5743
5743
  declare const getExerciseTrackingResponseSchema: z.ZodObject<{
5744
- trackingStats: z.ZodObject<{
5745
- workoutCount: z.ZodCoercedNumber<unknown>;
5746
- hasExerciseTracking: z.ZodBoolean;
5747
- workoutTargets: z.ZodObject<{
5748
- workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5749
- workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5750
- weekStreak: z.ZodCoercedNumber<unknown>;
5744
+ byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5745
+ exerciseTracking: z.ZodObject<{
5746
+ exerciseTrackingId: z.ZodInt;
5747
+ sets: z.ZodArray<z.ZodObject<{
5748
+ setIndex: z.ZodInt;
5749
+ weight: z.ZodNumber;
5750
+ reps: z.ZodInt;
5751
+ }, z.core.$strip>>;
5752
+ notes: z.ZodNullable<z.ZodString>;
5753
+ exerciseAssignment: z.ZodObject<{
5754
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5755
+ orderIndex: z.ZodNullable<z.ZodInt>;
5756
+ exerciseId: z.ZodInt;
5757
+ workoutSplitId: z.ZodInt;
5758
+ workoutSplitName: z.ZodString;
5759
+ exerciseName: z.ZodString;
5760
+ targetMuscle: z.ZodString;
5761
+ specificTargetMuscle: z.ZodString;
5762
+ }, z.core.$strip>;
5751
5763
  }, z.core.$strip>;
5752
- lastWorkoutStats: z.ZodObject<{
5753
- workoutDate: z.ZodNullable<z.ZodString>;
5754
- workoutSplitName: z.ZodNullable<z.ZodString>;
5755
- exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5756
- setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5764
+ }, z.core.$strip>>>;
5765
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5766
+ exerciseTracking: z.ZodObject<{
5767
+ exerciseTrackingId: z.ZodInt;
5768
+ sets: z.ZodArray<z.ZodObject<{
5769
+ setIndex: z.ZodInt;
5770
+ weight: z.ZodNumber;
5771
+ reps: z.ZodInt;
5772
+ }, z.core.$strip>>;
5773
+ notes: z.ZodNullable<z.ZodString>;
5774
+ exerciseAssignment: z.ZodObject<{
5775
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5776
+ orderIndex: z.ZodNullable<z.ZodInt>;
5777
+ exerciseId: z.ZodInt;
5778
+ workoutSplitId: z.ZodInt;
5779
+ workoutSplitName: z.ZodString;
5780
+ exerciseName: z.ZodString;
5781
+ targetMuscle: z.ZodString;
5782
+ specificTargetMuscle: z.ZodString;
5783
+ }, z.core.$strip>;
5784
+ }, z.core.$strip>;
5785
+ }, z.core.$strip>>>;
5786
+ bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5787
+ exerciseTracking: z.ZodObject<{
5788
+ exerciseTrackingId: z.ZodInt;
5789
+ sets: z.ZodArray<z.ZodObject<{
5790
+ setIndex: z.ZodInt;
5791
+ weight: z.ZodNumber;
5792
+ reps: z.ZodInt;
5793
+ }, z.core.$strip>>;
5794
+ notes: z.ZodNullable<z.ZodString>;
5795
+ exerciseAssignment: z.ZodObject<{
5796
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5797
+ orderIndex: z.ZodNullable<z.ZodInt>;
5798
+ exerciseId: z.ZodInt;
5799
+ workoutSplitId: z.ZodInt;
5800
+ workoutSplitName: z.ZodString;
5801
+ exerciseName: z.ZodString;
5802
+ targetMuscle: z.ZodString;
5803
+ specificTargetMuscle: z.ZodString;
5804
+ }, z.core.$strip>;
5805
+ }, z.core.$strip>;
5806
+ }, z.core.$strip>>>;
5807
+ }, z.core.$strip>;
5808
+ declare const getExerciseTrackingContract: {
5809
+ request: z.ZodObject<{
5810
+ query: z.ZodObject<{
5811
+ tz: z.ZodOptional<z.ZodString>;
5757
5812
  }, z.core.$strip>;
5758
- prs: z.ZodArray<z.ZodObject<{
5759
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5760
- exerciseId: z.ZodInt;
5761
- exerciseName: z.ZodString;
5762
- prWeight: z.ZodNumber;
5763
- prReps: z.ZodInt;
5764
- prSetIndex: z.ZodInt;
5765
- }, z.core.$strip>>;
5766
5813
  }, z.core.$strip>;
5767
- trackingMaps: z.ZodObject<{
5814
+ response: z.ZodObject<{
5768
5815
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5769
5816
  exerciseTracking: z.ZodObject<{
5770
5817
  exerciseTrackingId: z.ZodInt;
@@ -5829,102 +5876,58 @@ declare const getExerciseTrackingResponseSchema: z.ZodObject<{
5829
5876
  }, z.core.$strip>;
5830
5877
  }, z.core.$strip>>>;
5831
5878
  }, z.core.$strip>;
5879
+ };
5880
+ declare const getExerciseTrackingStatsResponseSchema: z.ZodObject<{
5881
+ workoutCount: z.ZodCoercedNumber<unknown>;
5882
+ hasExerciseTracking: z.ZodBoolean;
5883
+ workoutTargets: z.ZodObject<{
5884
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5885
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5886
+ weekStreak: z.ZodCoercedNumber<unknown>;
5887
+ }, z.core.$strip>;
5888
+ lastWorkoutStats: z.ZodObject<{
5889
+ workoutDate: z.ZodNullable<z.ZodString>;
5890
+ workoutSplitName: z.ZodNullable<z.ZodString>;
5891
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5892
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5893
+ }, z.core.$strip>;
5894
+ prs: z.ZodArray<z.ZodObject<{
5895
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5896
+ exerciseId: z.ZodInt;
5897
+ exerciseName: z.ZodString;
5898
+ prWeight: z.ZodNumber;
5899
+ prReps: z.ZodInt;
5900
+ prSetIndex: z.ZodInt;
5901
+ }, z.core.$strip>>;
5832
5902
  }, z.core.$strip>;
5833
- declare const getExerciseTrackingContract: {
5903
+ declare const getExerciseTrackingStatsContract: {
5834
5904
  request: z.ZodObject<{
5835
5905
  query: z.ZodObject<{
5836
5906
  tz: z.ZodOptional<z.ZodString>;
5837
5907
  }, z.core.$strip>;
5838
5908
  }, z.core.$strip>;
5839
5909
  response: z.ZodObject<{
5840
- trackingStats: z.ZodObject<{
5841
- workoutCount: z.ZodCoercedNumber<unknown>;
5842
- hasExerciseTracking: z.ZodBoolean;
5843
- workoutTargets: z.ZodObject<{
5844
- workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5845
- workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5846
- weekStreak: z.ZodCoercedNumber<unknown>;
5847
- }, z.core.$strip>;
5848
- lastWorkoutStats: z.ZodObject<{
5849
- workoutDate: z.ZodNullable<z.ZodString>;
5850
- workoutSplitName: z.ZodNullable<z.ZodString>;
5851
- exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5852
- setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5853
- }, z.core.$strip>;
5854
- prs: z.ZodArray<z.ZodObject<{
5855
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5856
- exerciseId: z.ZodInt;
5857
- exerciseName: z.ZodString;
5858
- prWeight: z.ZodNumber;
5859
- prReps: z.ZodInt;
5860
- prSetIndex: z.ZodInt;
5861
- }, z.core.$strip>>;
5910
+ workoutCount: z.ZodCoercedNumber<unknown>;
5911
+ hasExerciseTracking: z.ZodBoolean;
5912
+ workoutTargets: z.ZodObject<{
5913
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5914
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5915
+ weekStreak: z.ZodCoercedNumber<unknown>;
5862
5916
  }, z.core.$strip>;
5863
- trackingMaps: z.ZodObject<{
5864
- byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5865
- exerciseTracking: z.ZodObject<{
5866
- exerciseTrackingId: z.ZodInt;
5867
- sets: z.ZodArray<z.ZodObject<{
5868
- setIndex: z.ZodInt;
5869
- weight: z.ZodNumber;
5870
- reps: z.ZodInt;
5871
- }, z.core.$strip>>;
5872
- notes: z.ZodNullable<z.ZodString>;
5873
- exerciseAssignment: z.ZodObject<{
5874
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5875
- orderIndex: z.ZodNullable<z.ZodInt>;
5876
- exerciseId: z.ZodInt;
5877
- workoutSplitId: z.ZodInt;
5878
- workoutSplitName: z.ZodString;
5879
- exerciseName: z.ZodString;
5880
- targetMuscle: z.ZodString;
5881
- specificTargetMuscle: z.ZodString;
5882
- }, z.core.$strip>;
5883
- }, z.core.$strip>;
5884
- }, z.core.$strip>>>;
5885
- byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5886
- exerciseTracking: z.ZodObject<{
5887
- exerciseTrackingId: z.ZodInt;
5888
- sets: z.ZodArray<z.ZodObject<{
5889
- setIndex: z.ZodInt;
5890
- weight: z.ZodNumber;
5891
- reps: z.ZodInt;
5892
- }, z.core.$strip>>;
5893
- notes: z.ZodNullable<z.ZodString>;
5894
- exerciseAssignment: z.ZodObject<{
5895
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5896
- orderIndex: z.ZodNullable<z.ZodInt>;
5897
- exerciseId: z.ZodInt;
5898
- workoutSplitId: z.ZodInt;
5899
- workoutSplitName: z.ZodString;
5900
- exerciseName: z.ZodString;
5901
- targetMuscle: z.ZodString;
5902
- specificTargetMuscle: z.ZodString;
5903
- }, z.core.$strip>;
5904
- }, z.core.$strip>;
5905
- }, z.core.$strip>>>;
5906
- bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5907
- exerciseTracking: z.ZodObject<{
5908
- exerciseTrackingId: z.ZodInt;
5909
- sets: z.ZodArray<z.ZodObject<{
5910
- setIndex: z.ZodInt;
5911
- weight: z.ZodNumber;
5912
- reps: z.ZodInt;
5913
- }, z.core.$strip>>;
5914
- notes: z.ZodNullable<z.ZodString>;
5915
- exerciseAssignment: z.ZodObject<{
5916
- exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5917
- orderIndex: z.ZodNullable<z.ZodInt>;
5918
- exerciseId: z.ZodInt;
5919
- workoutSplitId: z.ZodInt;
5920
- workoutSplitName: z.ZodString;
5921
- exerciseName: z.ZodString;
5922
- targetMuscle: z.ZodString;
5923
- specificTargetMuscle: z.ZodString;
5924
- }, z.core.$strip>;
5925
- }, z.core.$strip>;
5926
- }, z.core.$strip>>>;
5917
+ lastWorkoutStats: z.ZodObject<{
5918
+ workoutDate: z.ZodNullable<z.ZodString>;
5919
+ workoutSplitName: z.ZodNullable<z.ZodString>;
5920
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5921
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5927
5922
  }, z.core.$strip>;
5923
+ prs: z.ZodArray<z.ZodObject<{
5924
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5925
+ exerciseId: z.ZodInt;
5926
+ exerciseName: z.ZodString;
5927
+ prWeight: z.ZodNumber;
5928
+ prReps: z.ZodInt;
5929
+ prSetIndex: z.ZodInt;
5930
+ }, z.core.$strip>>;
5928
5931
  }, z.core.$strip>;
5929
5932
  };
5930
5933
  declare const finishWorkoutRequestSchema: z.ZodObject<{
@@ -6147,6 +6150,7 @@ declare const finishUserWorkoutContract: {
6147
6150
  };
6148
6151
  type GetExerciseTrackingQuery = QueryOf<typeof getExerciseTrackingContract>;
6149
6152
  type GetExerciseTrackingResponse = ResponseOf<typeof getExerciseTrackingContract>;
6153
+ type GetExerciseTrackingStatsResponse = ResponseOf<typeof getExerciseTrackingStatsContract>;
6150
6154
  type FinishUserWorkoutBody = BodyOf<typeof finishUserWorkoutContract>;
6151
6155
  type FinishUserWorkoutResponse = ResponseOf<typeof finishUserWorkoutContract>;
6152
6156
 
@@ -6250,6 +6254,94 @@ declare const trackingBySplitNameItemQueryDtoSchema: z.ZodObject<{
6250
6254
  weight: z.ZodArray<z.ZodNumber>;
6251
6255
  workoutDate: z.ZodString;
6252
6256
  }, z.core.$strip>;
6257
+ declare const exerciseTrackingStatsQueryDtoSchema: z.ZodObject<{
6258
+ workoutCount: z.ZodCoercedNumber<unknown>;
6259
+ hasExerciseTracking: z.ZodBoolean;
6260
+ workoutTargets: z.ZodObject<{
6261
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
6262
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
6263
+ weekStreak: z.ZodCoercedNumber<unknown>;
6264
+ }, z.core.$strip>;
6265
+ lastWorkoutStats: z.ZodObject<{
6266
+ workoutDate: z.ZodNullable<z.ZodString>;
6267
+ workoutSplitName: z.ZodNullable<z.ZodString>;
6268
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6269
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6270
+ }, z.core.$strip>;
6271
+ prs: z.ZodArray<z.ZodObject<{
6272
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6273
+ exerciseId: z.ZodInt;
6274
+ exerciseName: z.ZodString;
6275
+ prWeight: z.ZodNumber;
6276
+ prReps: z.ZodInt;
6277
+ prSetIndex: z.ZodInt;
6278
+ }, z.core.$strip>>;
6279
+ }, z.core.$strip>;
6280
+ declare const exerciseTrackingMapsQueryDtoSchema: z.ZodObject<{
6281
+ byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6282
+ exerciseTracking: z.ZodObject<{
6283
+ exerciseTrackingId: z.ZodInt;
6284
+ sets: z.ZodArray<z.ZodObject<{
6285
+ setIndex: z.ZodInt;
6286
+ weight: z.ZodNumber;
6287
+ reps: z.ZodInt;
6288
+ }, z.core.$strip>>;
6289
+ notes: z.ZodNullable<z.ZodString>;
6290
+ exerciseAssignment: z.ZodObject<{
6291
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6292
+ orderIndex: z.ZodNullable<z.ZodInt>;
6293
+ exerciseId: z.ZodInt;
6294
+ workoutSplitId: z.ZodInt;
6295
+ workoutSplitName: z.ZodString;
6296
+ exerciseName: z.ZodString;
6297
+ targetMuscle: z.ZodString;
6298
+ specificTargetMuscle: z.ZodString;
6299
+ }, z.core.$strip>;
6300
+ }, z.core.$strip>;
6301
+ }, z.core.$strip>>>;
6302
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6303
+ exerciseTracking: z.ZodObject<{
6304
+ exerciseTrackingId: z.ZodInt;
6305
+ sets: z.ZodArray<z.ZodObject<{
6306
+ setIndex: z.ZodInt;
6307
+ weight: z.ZodNumber;
6308
+ reps: z.ZodInt;
6309
+ }, z.core.$strip>>;
6310
+ notes: z.ZodNullable<z.ZodString>;
6311
+ exerciseAssignment: z.ZodObject<{
6312
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6313
+ orderIndex: z.ZodNullable<z.ZodInt>;
6314
+ exerciseId: z.ZodInt;
6315
+ workoutSplitId: z.ZodInt;
6316
+ workoutSplitName: z.ZodString;
6317
+ exerciseName: z.ZodString;
6318
+ targetMuscle: z.ZodString;
6319
+ specificTargetMuscle: z.ZodString;
6320
+ }, z.core.$strip>;
6321
+ }, z.core.$strip>;
6322
+ }, z.core.$strip>>>;
6323
+ bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6324
+ exerciseTracking: z.ZodObject<{
6325
+ exerciseTrackingId: z.ZodInt;
6326
+ sets: z.ZodArray<z.ZodObject<{
6327
+ setIndex: z.ZodInt;
6328
+ weight: z.ZodNumber;
6329
+ reps: z.ZodInt;
6330
+ }, z.core.$strip>>;
6331
+ notes: z.ZodNullable<z.ZodString>;
6332
+ exerciseAssignment: z.ZodObject<{
6333
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6334
+ orderIndex: z.ZodNullable<z.ZodInt>;
6335
+ exerciseId: z.ZodInt;
6336
+ workoutSplitId: z.ZodInt;
6337
+ workoutSplitName: z.ZodString;
6338
+ exerciseName: z.ZodString;
6339
+ targetMuscle: z.ZodString;
6340
+ specificTargetMuscle: z.ZodString;
6341
+ }, z.core.$strip>;
6342
+ }, z.core.$strip>;
6343
+ }, z.core.$strip>>>;
6344
+ }, z.core.$strip>;
6253
6345
  declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
6254
6346
  trackingStats: z.ZodObject<{
6255
6347
  workoutCount: z.ZodCoercedNumber<unknown>;
@@ -6433,6 +6525,98 @@ declare const exerciseTrackingAndStatsRowQueryDtoSchema: z.ZodObject<{
6433
6525
  }, z.core.$strip>;
6434
6526
  }, z.core.$strip>;
6435
6527
  }, z.core.$strip>;
6528
+ declare const exerciseTrackingStatsRowQueryDtoSchema: z.ZodObject<{
6529
+ data: z.ZodObject<{
6530
+ workoutCount: z.ZodCoercedNumber<unknown>;
6531
+ hasExerciseTracking: z.ZodBoolean;
6532
+ workoutTargets: z.ZodObject<{
6533
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
6534
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
6535
+ weekStreak: z.ZodCoercedNumber<unknown>;
6536
+ }, z.core.$strip>;
6537
+ lastWorkoutStats: z.ZodObject<{
6538
+ workoutDate: z.ZodNullable<z.ZodString>;
6539
+ workoutSplitName: z.ZodNullable<z.ZodString>;
6540
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6541
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6542
+ }, z.core.$strip>;
6543
+ prs: z.ZodArray<z.ZodObject<{
6544
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6545
+ exerciseId: z.ZodInt;
6546
+ exerciseName: z.ZodString;
6547
+ prWeight: z.ZodNumber;
6548
+ prReps: z.ZodInt;
6549
+ prSetIndex: z.ZodInt;
6550
+ }, z.core.$strip>>;
6551
+ }, z.core.$strip>;
6552
+ }, z.core.$strip>;
6553
+ declare const exerciseTrackingMapsRowQueryDtoSchema: z.ZodObject<{
6554
+ data: z.ZodObject<{
6555
+ byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6556
+ exerciseTracking: z.ZodObject<{
6557
+ exerciseTrackingId: z.ZodInt;
6558
+ sets: z.ZodArray<z.ZodObject<{
6559
+ setIndex: z.ZodInt;
6560
+ weight: z.ZodNumber;
6561
+ reps: z.ZodInt;
6562
+ }, z.core.$strip>>;
6563
+ notes: z.ZodNullable<z.ZodString>;
6564
+ exerciseAssignment: z.ZodObject<{
6565
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6566
+ orderIndex: z.ZodNullable<z.ZodInt>;
6567
+ exerciseId: z.ZodInt;
6568
+ workoutSplitId: z.ZodInt;
6569
+ workoutSplitName: z.ZodString;
6570
+ exerciseName: z.ZodString;
6571
+ targetMuscle: z.ZodString;
6572
+ specificTargetMuscle: z.ZodString;
6573
+ }, z.core.$strip>;
6574
+ }, z.core.$strip>;
6575
+ }, z.core.$strip>>>;
6576
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6577
+ exerciseTracking: z.ZodObject<{
6578
+ exerciseTrackingId: z.ZodInt;
6579
+ sets: z.ZodArray<z.ZodObject<{
6580
+ setIndex: z.ZodInt;
6581
+ weight: z.ZodNumber;
6582
+ reps: z.ZodInt;
6583
+ }, z.core.$strip>>;
6584
+ notes: z.ZodNullable<z.ZodString>;
6585
+ exerciseAssignment: z.ZodObject<{
6586
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6587
+ orderIndex: z.ZodNullable<z.ZodInt>;
6588
+ exerciseId: z.ZodInt;
6589
+ workoutSplitId: z.ZodInt;
6590
+ workoutSplitName: z.ZodString;
6591
+ exerciseName: z.ZodString;
6592
+ targetMuscle: z.ZodString;
6593
+ specificTargetMuscle: z.ZodString;
6594
+ }, z.core.$strip>;
6595
+ }, z.core.$strip>;
6596
+ }, z.core.$strip>>>;
6597
+ bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6598
+ exerciseTracking: z.ZodObject<{
6599
+ exerciseTrackingId: z.ZodInt;
6600
+ sets: z.ZodArray<z.ZodObject<{
6601
+ setIndex: z.ZodInt;
6602
+ weight: z.ZodNumber;
6603
+ reps: z.ZodInt;
6604
+ }, z.core.$strip>>;
6605
+ notes: z.ZodNullable<z.ZodString>;
6606
+ exerciseAssignment: z.ZodObject<{
6607
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6608
+ orderIndex: z.ZodNullable<z.ZodInt>;
6609
+ exerciseId: z.ZodInt;
6610
+ workoutSplitId: z.ZodInt;
6611
+ workoutSplitName: z.ZodString;
6612
+ exerciseName: z.ZodString;
6613
+ targetMuscle: z.ZodString;
6614
+ specificTargetMuscle: z.ZodString;
6615
+ }, z.core.$strip>;
6616
+ }, z.core.$strip>;
6617
+ }, z.core.$strip>>>;
6618
+ }, z.core.$strip>;
6619
+ }, z.core.$strip>;
6436
6620
  /** SQL row resolving the workout split for an exercise assignment. */
6437
6621
  declare const workoutSplitLookupQueryDtoSchema: z.ZodObject<{
6438
6622
  workoutSplitId: z.ZodInt;
@@ -6453,9 +6637,13 @@ type TrackingByDateItemQueryDto = z.infer<typeof trackingByDateItemQueryDtoSchem
6453
6637
  type TrackingBySplitNameItemQueryDto = z.infer<typeof trackingBySplitNameItemQueryDtoSchema>;
6454
6638
  type ExerciseTrackingAndStatsQueryDto = z.infer<typeof exerciseTrackingAndStatsQueryDtoSchema>;
6455
6639
  type ExerciseTrackingAndStatsRowQueryDto = z.infer<typeof exerciseTrackingAndStatsRowQueryDtoSchema>;
6640
+ type ExerciseTrackingStatsQueryDto = z.infer<typeof exerciseTrackingStatsQueryDtoSchema>;
6641
+ type ExerciseTrackingStatsRowQueryDto = z.infer<typeof exerciseTrackingStatsRowQueryDtoSchema>;
6642
+ type ExerciseTrackingMapsQueryDto = z.infer<typeof exerciseTrackingMapsQueryDtoSchema>;
6643
+ type ExerciseTrackingMapsRowQueryDto = z.infer<typeof exerciseTrackingMapsRowQueryDtoSchema>;
6456
6644
  type WorkoutSplitLookupQueryDto = z.infer<typeof workoutSplitLookupQueryDtoSchema>;
6457
6645
  type WorkoutSummaryIdQueryDto = z.infer<typeof workoutSummaryIdQueryDtoSchema>;
6458
6646
  type ExerciseTrackingIdQueryDto = z.infer<typeof exerciseTrackingIdQueryDtoSchema>;
6459
6647
  type FinishedWorkoutEntryQueryDto = z.infer<typeof finishedWorkoutEntryQueryDtoSchema>;
6460
6648
 
6461
- export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AddUserAerobicsBody, type AddWorkoutBody, type AddWorkoutResponse, type AddWorkoutSplitPayloadQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type BootstrapRequestQuery, type BootstrapResponse, type ChangeEmailAndVerifyBody, type ChangeEmailTokenPayloadDto, type CheckUserVerifyQuery, type Contract, type CreateUserBody, type CreateUserResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteUserProfilePicBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseInPlanQueryDto, type ExerciseMapByMuscleRowQueryDto, type ExerciseMetadataQueryDto, type ExerciseRow, type ExerciseToWorkoutSplitRow, type ExerciseTrackingAnalysisQueryDto, type ExerciseTrackingAndStatsQueryDto, type ExerciseTrackingAndStatsRowQueryDto, type ExerciseTrackingIdQueryDto, type ExerciseTrackingPrMaxQueryDto, type ExerciseTrackingRow, type ExercisesMapByMuscleQueryDto, type FinishUserWorkoutBody, type FinishUserWorkoutResponse, type FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GenerateTicketBody, type GenerateTicketResponse, type GetAllExercisesExerciseQueryDto, type GetAllExercisesResponse, type GetAllUserMessagesQuery, type GetAllUserMessagesResponse, type GetAnalyticsResponse, type GetAuthenticatedUserByIdResponse, type GetExerciseTrackingQuery, type GetExerciseTrackingResponse, type GetPresignedUrlFromS3Body, type GetPresignedUrlFromS3Response, type GetUserAerobicsQuery, type GetWholeUserWorkoutPlanQuery, type GetWholeUserWorkoutPlanResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type LoginRequestBody, type LoginResponse, type LogoutResponse, type MarkMessageAsReadParams, type MarkMessageAsReadResponse, type MessageAfterSendQueryDto, type MessageAsReadQueryDto, type MessageRow, type OAuthCreatedUserRowQueryDto, type OAuthLinkQueryDto, type OAuthLinkRowQueryDto, type OAuthLoginResponse, type OAuthLookupQueryDto, type OAuthLookupRawQueryDto, type OAuthLookupRowQueryDto, type ParamsOf, type QueryOf, type RefreshTokenResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveUserPushTokenBody, type SendChangePassEmailBody, type SendVerificationMailBody, type SetProfilePicAndUpdateDBResponse, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateAuthenticatedUserResponse, type UpdateUserBody, type UserAerobicsQueryDto, type UserAerobicsResponse, type UserAerobicsRowQueryDto, type UserAfterBumpQueryDto, type UserByIdentifierQueryDto, type UserByIdentifierRawQueryDto, type UserByIdentifierRowQueryDto, type UserByUsernameRawQueryDto, type UserByUsernameRowQueryDto, type UserConflictQueryDto, type UserDataQueryDto, type UserDataResponse, type UserDataRowQueryDto, type UserExistsQueryDto, type UserInsert, type UserMessageIdentityQueryDto, type UserProfilePicQueryDto, type UserRow, type UserToHourlyReminderQueryDto, type UserWithNotificationsEnabledQueryDto, type VerifyUserAccountQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutExerciseMetadataQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSplitsMapItemQueryDto, type WorkoutSplitsMapQueryDto, type WorkoutSplitsRowQueryDto, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, addAerobicsRequestSchema, addUserAerobicsContract, addWorkoutContract, addWorkoutRequestSchema, addWorkoutResponseSchema, addWorkoutSplitPayloadQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, bootstrapContract, bootstrapRequestSchema, bootstrapResponseSchema, changeEmailAndVerifyContract, changeEmailAndVerifyRequestSchema, changeEmailTokenPayloadDtoSchema, checkUserVerifyContract, checkUserVerifyRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePicRequestSchema, deleteUserProfilePicContract, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exercisesMapByMuscleQueryDtoSchema, finishUserWorkoutContract, finishUserWorkoutResponseSchema, finishWorkoutRequestSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, generateTicketContract, generateTicketRequestSchema, generateTicketResponseSchema, getAerobicsRequestSchema, getAllExercisesContract, getAllExercisesExerciseQueryDtoSchema, getAllExercisesResponseSchema, getAllMessagesRequestSchema, getAllUserMessagesContract, getAllUserMessagesResponseSchema, getAnalyticsContract, getAnalyticsResponseSchema, getAuthenticatedUserByIdContract, getAuthenticatedUserByIdResponseSchema, getExerciseTrackingContract, getExerciseTrackingRequestSchema, getExerciseTrackingResponseSchema, getPresignedUrlFromS3Contract, getPresignedUrlFromS3RequestSchema, getPresignedUrlFromS3ResponseSchema, getUserAerobicsContract, getWholeUserWorkoutPlanContract, getWholeUserWorkoutPlanResponseSchema, getWholeWorkoutPlanRequestSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveUserPushTokenContract, saveUserPushTokenRequestSchema, sendChangePassEmailContract, sendChangePassEmailRequestSchema, sendVerificationMailContract, sendVerificationMailRequestSchema, serializedDateSchema, setProfilePicAndUpdateDBContract, setProfilePicAndUpdateDBResponseSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateAuthenticatedUserContract, updateAuthenticatedUserResponseSchema, updateUserRequestSchema, userAerobicsQueryDtoSchema, userAerobicsResponseSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyAccountRequestSchema, verifyUserAccountContract, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutExerciseMetadataQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSplitsMapItemQueryDtoSchema, workoutSplitsMapQueryDtoSchema, workoutSplitsRowQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
6649
+ export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AddUserAerobicsBody, type AddWorkoutBody, type AddWorkoutResponse, type AddWorkoutSplitPayloadQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type BootstrapRequestQuery, type BootstrapResponse, type ChangeEmailAndVerifyBody, type ChangeEmailTokenPayloadDto, type CheckUserVerifyQuery, type Contract, type CreateUserBody, type CreateUserResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteUserProfilePicBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseInPlanQueryDto, type ExerciseMapByMuscleRowQueryDto, type ExerciseMetadataQueryDto, type ExerciseRow, type ExerciseToWorkoutSplitRow, type ExerciseTrackingAnalysisQueryDto, type ExerciseTrackingAndStatsQueryDto, type ExerciseTrackingAndStatsRowQueryDto, type ExerciseTrackingIdQueryDto, type ExerciseTrackingMapsQueryDto, type ExerciseTrackingMapsRowQueryDto, type ExerciseTrackingPrMaxQueryDto, type ExerciseTrackingRow, type ExerciseTrackingStatsQueryDto, type ExerciseTrackingStatsRowQueryDto, type ExercisesMapByMuscleQueryDto, type FinishUserWorkoutBody, type FinishUserWorkoutResponse, type FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GenerateTicketBody, type GenerateTicketResponse, type GetAllExercisesExerciseQueryDto, type GetAllExercisesResponse, type GetAllUserMessagesQuery, type GetAllUserMessagesResponse, type GetAnalyticsResponse, type GetAuthenticatedUserByIdResponse, type GetExerciseTrackingQuery, type GetExerciseTrackingResponse, type GetExerciseTrackingStatsResponse, type GetPresignedUrlFromS3Body, type GetPresignedUrlFromS3Response, type GetUserAerobicsQuery, type GetWholeUserWorkoutPlanQuery, type GetWholeUserWorkoutPlanResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type LoginRequestBody, type LoginResponse, type LogoutResponse, type MarkMessageAsReadParams, type MarkMessageAsReadResponse, type MessageAfterSendQueryDto, type MessageAsReadQueryDto, type MessageRow, type OAuthCreatedUserRowQueryDto, type OAuthLinkQueryDto, type OAuthLinkRowQueryDto, type OAuthLoginResponse, type OAuthLookupQueryDto, type OAuthLookupRawQueryDto, type OAuthLookupRowQueryDto, type ParamsOf, type QueryOf, type RefreshTokenResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveUserPushTokenBody, type SendChangePassEmailBody, type SendVerificationMailBody, type SetProfilePicAndUpdateDBResponse, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateAuthenticatedUserResponse, type UpdateUserBody, type UserAerobicsQueryDto, type UserAerobicsResponse, type UserAerobicsRowQueryDto, type UserAfterBumpQueryDto, type UserByIdentifierQueryDto, type UserByIdentifierRawQueryDto, type UserByIdentifierRowQueryDto, type UserByUsernameRawQueryDto, type UserByUsernameRowQueryDto, type UserConflictQueryDto, type UserDataQueryDto, type UserDataResponse, type UserDataRowQueryDto, type UserExistsQueryDto, type UserInsert, type UserMessageIdentityQueryDto, type UserProfilePicQueryDto, type UserRow, type UserToHourlyReminderQueryDto, type UserWithNotificationsEnabledQueryDto, type VerifyUserAccountQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutExerciseMetadataQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSplitsMapItemQueryDto, type WorkoutSplitsMapQueryDto, type WorkoutSplitsRowQueryDto, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, addAerobicsRequestSchema, addUserAerobicsContract, addWorkoutContract, addWorkoutRequestSchema, addWorkoutResponseSchema, addWorkoutSplitPayloadQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, bootstrapContract, bootstrapRequestSchema, bootstrapResponseSchema, changeEmailAndVerifyContract, changeEmailAndVerifyRequestSchema, changeEmailTokenPayloadDtoSchema, checkUserVerifyContract, checkUserVerifyRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePicRequestSchema, deleteUserProfilePicContract, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingMapsQueryDtoSchema, exerciseTrackingMapsRowQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exerciseTrackingStatsQueryDtoSchema, exerciseTrackingStatsRowQueryDtoSchema, exercisesMapByMuscleQueryDtoSchema, finishUserWorkoutContract, finishUserWorkoutResponseSchema, finishWorkoutRequestSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, generateTicketContract, generateTicketRequestSchema, generateTicketResponseSchema, getAerobicsRequestSchema, getAllExercisesContract, getAllExercisesExerciseQueryDtoSchema, getAllExercisesResponseSchema, getAllMessagesRequestSchema, getAllUserMessagesContract, getAllUserMessagesResponseSchema, getAnalyticsContract, getAnalyticsResponseSchema, getAuthenticatedUserByIdContract, getAuthenticatedUserByIdResponseSchema, getExerciseTrackingContract, getExerciseTrackingRequestSchema, getExerciseTrackingResponseSchema, getExerciseTrackingStatsContract, getExerciseTrackingStatsResponseSchema, getPresignedUrlFromS3Contract, getPresignedUrlFromS3RequestSchema, getPresignedUrlFromS3ResponseSchema, getUserAerobicsContract, getWholeUserWorkoutPlanContract, getWholeUserWorkoutPlanResponseSchema, getWholeWorkoutPlanRequestSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveUserPushTokenContract, saveUserPushTokenRequestSchema, sendChangePassEmailContract, sendChangePassEmailRequestSchema, sendVerificationMailContract, sendVerificationMailRequestSchema, serializedDateSchema, setProfilePicAndUpdateDBContract, setProfilePicAndUpdateDBResponseSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateAuthenticatedUserContract, updateAuthenticatedUserResponseSchema, updateUserRequestSchema, userAerobicsQueryDtoSchema, userAerobicsResponseSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyAccountRequestSchema, verifyUserAccountContract, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutExerciseMetadataQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSplitsMapItemQueryDtoSchema, workoutSplitsMapQueryDtoSchema, workoutSplitsRowQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
package/dist/index.js CHANGED
@@ -2050,39 +2050,47 @@ var groupedTrackingItemQueryDtoSchema = z18.object({
2050
2050
  })
2051
2051
  })
2052
2052
  });
2053
- var exerciseTrackingAndStatsQueryDtoSchema = z18.object({
2054
- trackingStats: z18.object({
2055
- workoutCount: z18.coerce.number(),
2056
- hasExerciseTracking: z18.boolean(),
2057
- workoutTargets: z18.object({
2058
- workoutCountThisWeek: z18.coerce.number(),
2059
- workoutCountScheduledPerWeek: z18.coerce.number(),
2060
- weekStreak: z18.coerce.number()
2061
- }),
2062
- lastWorkoutStats: z18.object({
2063
- workoutDate: z18.string().nullable(),
2064
- workoutSplitName: workoutSplitDbSchema.shape.name.nullable(),
2065
- exerciseTrackedCount: z18.coerce.number().nullable(),
2066
- setTrackedCount: z18.coerce.number().nullable()
2067
- }),
2068
- prs: z18.array(z18.object({
2069
- exerciseToSplitId: exerciseTrackingDbSchema.shape.exerciseToSplitId,
2070
- exerciseId: exerciseDbSchema.shape.id,
2071
- exerciseName: exerciseDbSchema.shape.name,
2072
- prWeight: trackingSetDbSchema.shape.weight,
2073
- prReps: trackingSetDbSchema.shape.reps,
2074
- prSetIndex: trackingSetDbSchema.shape.setIndex
2075
- }))
2053
+ var exerciseTrackingStatsQueryDtoSchema = z18.object({
2054
+ workoutCount: z18.coerce.number(),
2055
+ hasExerciseTracking: z18.boolean(),
2056
+ workoutTargets: z18.object({
2057
+ workoutCountThisWeek: z18.coerce.number(),
2058
+ workoutCountScheduledPerWeek: z18.coerce.number(),
2059
+ weekStreak: z18.coerce.number()
2076
2060
  }),
2077
- trackingMaps: z18.object({
2078
- byDate: z18.record(z18.string(), z18.array(groupedTrackingItemQueryDtoSchema)),
2079
- byExerciseToSplitId: z18.record(z18.string(), z18.array(groupedTrackingItemQueryDtoSchema)),
2080
- bySplitName: z18.record(z18.string(), z18.array(groupedTrackingItemQueryDtoSchema))
2081
- })
2061
+ lastWorkoutStats: z18.object({
2062
+ workoutDate: z18.string().nullable(),
2063
+ workoutSplitName: workoutSplitDbSchema.shape.name.nullable(),
2064
+ exerciseTrackedCount: z18.coerce.number().nullable(),
2065
+ setTrackedCount: z18.coerce.number().nullable()
2066
+ }),
2067
+ prs: z18.array(z18.object({
2068
+ exerciseToSplitId: exerciseTrackingDbSchema.shape.exerciseToSplitId,
2069
+ exerciseId: exerciseDbSchema.shape.id,
2070
+ exerciseName: exerciseDbSchema.shape.name,
2071
+ prWeight: trackingSetDbSchema.shape.weight,
2072
+ prReps: trackingSetDbSchema.shape.reps,
2073
+ prSetIndex: trackingSetDbSchema.shape.setIndex
2074
+ }))
2075
+ });
2076
+ var exerciseTrackingMapsQueryDtoSchema = z18.object({
2077
+ byDate: z18.record(z18.string(), z18.array(groupedTrackingItemQueryDtoSchema)),
2078
+ byExerciseToSplitId: z18.record(z18.string(), z18.array(groupedTrackingItemQueryDtoSchema)),
2079
+ bySplitName: z18.record(z18.string(), z18.array(groupedTrackingItemQueryDtoSchema))
2080
+ });
2081
+ var exerciseTrackingAndStatsQueryDtoSchema = z18.object({
2082
+ trackingStats: exerciseTrackingStatsQueryDtoSchema,
2083
+ trackingMaps: exerciseTrackingMapsQueryDtoSchema
2082
2084
  });
2083
2085
  var exerciseTrackingAndStatsRowQueryDtoSchema = z18.object({
2084
2086
  data: exerciseTrackingAndStatsQueryDtoSchema
2085
2087
  });
2088
+ var exerciseTrackingStatsRowQueryDtoSchema = z18.object({
2089
+ data: exerciseTrackingStatsQueryDtoSchema
2090
+ });
2091
+ var exerciseTrackingMapsRowQueryDtoSchema = z18.object({
2092
+ data: exerciseTrackingMapsQueryDtoSchema
2093
+ });
2086
2094
  var workoutSplitLookupQueryDtoSchema = z18.object({
2087
2095
  workoutSplitId: workoutSplitDbSchema.shape.id
2088
2096
  });
@@ -2429,11 +2437,16 @@ var getExerciseTrackingRequestSchema = z35.object({
2429
2437
  tz: z35.string().optional()
2430
2438
  })
2431
2439
  });
2432
- var getExerciseTrackingResponseSchema = exerciseTrackingAndStatsQueryDtoSchema;
2440
+ var getExerciseTrackingResponseSchema = exerciseTrackingMapsQueryDtoSchema;
2433
2441
  var getExerciseTrackingContract = {
2434
2442
  request: getExerciseTrackingRequestSchema,
2435
2443
  response: getExerciseTrackingResponseSchema
2436
2444
  };
2445
+ var getExerciseTrackingStatsResponseSchema = exerciseTrackingStatsQueryDtoSchema;
2446
+ var getExerciseTrackingStatsContract = {
2447
+ request: getExerciseTrackingRequestSchema,
2448
+ response: getExerciseTrackingStatsResponseSchema
2449
+ };
2437
2450
  var finishWorkoutRequestSchema = z35.object({
2438
2451
  body: z35.object({
2439
2452
  workout: z35.array(finishedWorkoutEntryQueryDtoSchema),
@@ -2502,8 +2515,12 @@ export {
2502
2515
  exerciseTrackingAndStatsRowQueryDtoSchema,
2503
2516
  exerciseTrackingDbSchema,
2504
2517
  exerciseTrackingIdQueryDtoSchema,
2518
+ exerciseTrackingMapsQueryDtoSchema,
2519
+ exerciseTrackingMapsRowQueryDtoSchema,
2505
2520
  exerciseTrackingPrMaxQueryDtoSchema,
2506
2521
  exerciseTrackingSetExpandedViewDbSchema,
2522
+ exerciseTrackingStatsQueryDtoSchema,
2523
+ exerciseTrackingStatsRowQueryDtoSchema,
2507
2524
  exercisesMapByMuscleQueryDtoSchema,
2508
2525
  finishUserWorkoutContract,
2509
2526
  finishUserWorkoutResponseSchema,
@@ -2527,6 +2544,8 @@ export {
2527
2544
  getExerciseTrackingContract,
2528
2545
  getExerciseTrackingRequestSchema,
2529
2546
  getExerciseTrackingResponseSchema,
2547
+ getExerciseTrackingStatsContract,
2548
+ getExerciseTrackingStatsResponseSchema,
2530
2549
  getPresignedUrlFromS3Contract,
2531
2550
  getPresignedUrlFromS3RequestSchema,
2532
2551
  getPresignedUrlFromS3ResponseSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strong-together/shared",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",