@strong-together/shared 3.0.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
@@ -67,6 +67,8 @@ __export(index_exports, {
67
67
  enqueueAnalyzeVideoParamsDtoSchema: () => enqueueAnalyzeVideoParamsDtoSchema,
68
68
  exerciseAssignmentIdQueryDtoSchema: () => exerciseAssignmentIdQueryDtoSchema,
69
69
  exerciseDbSchema: () => exerciseDbSchema,
70
+ exerciseHistoryQueryDtoSchema: () => exerciseHistoryQueryDtoSchema,
71
+ exerciseHistoryRowQueryDtoSchema: () => exerciseHistoryRowQueryDtoSchema,
70
72
  exerciseInPlanQueryDtoSchema: () => exerciseInPlanQueryDtoSchema,
71
73
  exerciseMapByMuscleRowQueryDtoSchema: () => exerciseMapByMuscleRowQueryDtoSchema,
72
74
  exerciseMetadataQueryDtoSchema: () => exerciseMetadataQueryDtoSchema,
@@ -94,6 +96,8 @@ __export(index_exports, {
94
96
  getAnalyticsResponseSchema: () => getAnalyticsResponseSchema,
95
97
  getCurrentUserContract: () => getCurrentUserContract,
96
98
  getCurrentUserResponseSchema: () => getCurrentUserResponseSchema,
99
+ getExerciseHistoryContract: () => getExerciseHistoryContract,
100
+ getExerciseHistoryResponseSchema: () => getExerciseHistoryResponseSchema,
97
101
  getVerificationStatusContract: () => getVerificationStatusContract,
98
102
  getVerificationStatusRequestSchema: () => getVerificationStatusRequestSchema,
99
103
  getWorkoutHistoryContract: () => getWorkoutHistoryContract,
@@ -2565,6 +2569,11 @@ var groupedTrackingItemQueryDtoSchema = import_v433.z.object({
2565
2569
  })
2566
2570
  })
2567
2571
  });
2572
+ var trackingByExerciseToSplitIdItemQueryDtoSchema = groupedTrackingItemQueryDtoSchema.shape.exerciseTracking.omit({
2573
+ notes: true
2574
+ }).extend({
2575
+ workoutStartLocal: serializedDateSchema
2576
+ });
2568
2577
  var exerciseTrackingStatsQueryDtoSchema = import_v433.z.object({
2569
2578
  workoutCount: import_v433.z.coerce.number(),
2570
2579
  hasExerciseTracking: import_v433.z.boolean(),
@@ -2601,6 +2610,11 @@ var exerciseTrackingMapsQueryDtoSchema = import_v433.z.object({
2601
2610
  exerciseTracked: import_v433.z.array(groupedTrackingItemQueryDtoSchema)
2602
2611
  }))
2603
2612
  });
2613
+ var exerciseHistoryQueryDtoSchema = import_v433.z.object({
2614
+ byExerciseToSplitId: import_v433.z.record(import_v433.z.string(), import_v433.z.object({
2615
+ exerciseTracked: import_v433.z.array(trackingByExerciseToSplitIdItemQueryDtoSchema)
2616
+ }))
2617
+ });
2604
2618
  var exerciseTrackingAndStatsQueryDtoSchema = import_v433.z.object({
2605
2619
  trackingStats: exerciseTrackingStatsQueryDtoSchema,
2606
2620
  trackingMaps: exerciseTrackingMapsQueryDtoSchema
@@ -2614,6 +2628,9 @@ var exerciseTrackingStatsRowQueryDtoSchema = import_v433.z.object({
2614
2628
  var exerciseTrackingMapsRowQueryDtoSchema = import_v433.z.object({
2615
2629
  data: exerciseTrackingMapsQueryDtoSchema
2616
2630
  });
2631
+ var exerciseHistoryRowQueryDtoSchema = import_v433.z.object({
2632
+ data: exerciseHistoryQueryDtoSchema
2633
+ });
2617
2634
  var workoutSplitLookupQueryDtoSchema = import_v433.z.object({
2618
2635
  workoutSplitId: workoutSplitDbSchema.shape.id
2619
2636
  });
@@ -2635,6 +2652,11 @@ var getWorkoutHistoryContract = {
2635
2652
  request: getWorkoutHistoryRequestSchema,
2636
2653
  response: getWorkoutHistoryResponseSchema
2637
2654
  };
2655
+ var getExerciseHistoryResponseSchema = exerciseHistoryQueryDtoSchema;
2656
+ var getExerciseHistoryContract = {
2657
+ request: getWorkoutHistoryRequestSchema,
2658
+ response: getExerciseHistoryResponseSchema
2659
+ };
2638
2660
  var getWorkoutStatisticsResponseSchema = exerciseTrackingStatsQueryDtoSchema;
2639
2661
  var getWorkoutStatisticsContract = {
2640
2662
  request: getWorkoutHistoryRequestSchema,
@@ -2701,6 +2723,8 @@ var createWorkoutSessionContract = {
2701
2723
  enqueueAnalyzeVideoParamsDtoSchema,
2702
2724
  exerciseAssignmentIdQueryDtoSchema,
2703
2725
  exerciseDbSchema,
2726
+ exerciseHistoryQueryDtoSchema,
2727
+ exerciseHistoryRowQueryDtoSchema,
2704
2728
  exerciseInPlanQueryDtoSchema,
2705
2729
  exerciseMapByMuscleRowQueryDtoSchema,
2706
2730
  exerciseMetadataQueryDtoSchema,
@@ -2728,6 +2752,8 @@ var createWorkoutSessionContract = {
2728
2752
  getAnalyticsResponseSchema,
2729
2753
  getCurrentUserContract,
2730
2754
  getCurrentUserResponseSchema,
2755
+ getExerciseHistoryContract,
2756
+ getExerciseHistoryResponseSchema,
2731
2757
  getVerificationStatusContract,
2732
2758
  getVerificationStatusRequestSchema,
2733
2759
  getWorkoutHistoryContract,
package/dist/index.d.cts CHANGED
@@ -5470,6 +5470,59 @@ declare const getWorkoutHistoryContract: {
5470
5470
  }, z.core.$strip>>;
5471
5471
  }, z.core.$strip>;
5472
5472
  };
5473
+ declare const getExerciseHistoryResponseSchema: z.ZodObject<{
5474
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodObject<{
5475
+ exerciseTracked: z.ZodArray<z.ZodObject<{
5476
+ exerciseTrackingId: z.ZodInt;
5477
+ sets: z.ZodArray<z.ZodObject<{
5478
+ setIndex: z.ZodInt;
5479
+ weight: z.ZodNumber;
5480
+ reps: z.ZodInt;
5481
+ }, z.core.$strip>>;
5482
+ exerciseAssignment: z.ZodObject<{
5483
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5484
+ orderIndex: z.ZodNullable<z.ZodInt>;
5485
+ exerciseId: z.ZodInt;
5486
+ workoutSplitId: z.ZodInt;
5487
+ workoutSplitName: z.ZodString;
5488
+ exerciseName: z.ZodString;
5489
+ targetMuscle: z.ZodString;
5490
+ specificTargetMuscle: z.ZodString;
5491
+ }, z.core.$strip>;
5492
+ workoutStartLocal: z.ZodString;
5493
+ }, z.core.$strip>>;
5494
+ }, z.core.$strip>>;
5495
+ }, z.core.$strip>;
5496
+ declare const getExerciseHistoryContract: {
5497
+ request: z.ZodObject<{
5498
+ query: z.ZodObject<{
5499
+ tz: z.ZodOptional<z.ZodString>;
5500
+ }, z.core.$strip>;
5501
+ }, z.core.$strip>;
5502
+ response: z.ZodObject<{
5503
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodObject<{
5504
+ exerciseTracked: z.ZodArray<z.ZodObject<{
5505
+ exerciseTrackingId: z.ZodInt;
5506
+ sets: z.ZodArray<z.ZodObject<{
5507
+ setIndex: z.ZodInt;
5508
+ weight: z.ZodNumber;
5509
+ reps: z.ZodInt;
5510
+ }, z.core.$strip>>;
5511
+ exerciseAssignment: z.ZodObject<{
5512
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5513
+ orderIndex: z.ZodNullable<z.ZodInt>;
5514
+ exerciseId: z.ZodInt;
5515
+ workoutSplitId: z.ZodInt;
5516
+ workoutSplitName: z.ZodString;
5517
+ exerciseName: z.ZodString;
5518
+ targetMuscle: z.ZodString;
5519
+ specificTargetMuscle: z.ZodString;
5520
+ }, z.core.$strip>;
5521
+ workoutStartLocal: z.ZodString;
5522
+ }, z.core.$strip>>;
5523
+ }, z.core.$strip>>;
5524
+ }, z.core.$strip>;
5525
+ };
5473
5526
  declare const getWorkoutStatisticsResponseSchema: z.ZodObject<{
5474
5527
  workoutCount: z.ZodCoercedNumber<unknown>;
5475
5528
  hasExerciseTracking: z.ZodBoolean;
@@ -5693,6 +5746,7 @@ declare const createWorkoutSessionContract: {
5693
5746
  };
5694
5747
  type GetWorkoutHistoryQuery = QueryOf<typeof getWorkoutHistoryContract>;
5695
5748
  type GetWorkoutHistoryResponse = ResponseOf<typeof getWorkoutHistoryContract>;
5749
+ type GetExerciseHistoryResponse = ResponseOf<typeof getExerciseHistoryContract>;
5696
5750
  type GetWorkoutStatisticsResponse = ResponseOf<typeof getWorkoutStatisticsContract>;
5697
5751
  type CreateWorkoutSessionBody = BodyOf<typeof createWorkoutSessionContract>;
5698
5752
  type CreateWorkoutSessionResponse = ResponseOf<typeof createWorkoutSessionContract>;
@@ -5853,6 +5907,29 @@ declare const exerciseTrackingMapsQueryDtoSchema: z.ZodObject<{
5853
5907
  }, z.core.$strip>>;
5854
5908
  }, z.core.$strip>>;
5855
5909
  }, z.core.$strip>;
5910
+ declare const exerciseHistoryQueryDtoSchema: z.ZodObject<{
5911
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodObject<{
5912
+ exerciseTracked: z.ZodArray<z.ZodObject<{
5913
+ exerciseTrackingId: z.ZodInt;
5914
+ sets: z.ZodArray<z.ZodObject<{
5915
+ setIndex: z.ZodInt;
5916
+ weight: z.ZodNumber;
5917
+ reps: z.ZodInt;
5918
+ }, z.core.$strip>>;
5919
+ exerciseAssignment: z.ZodObject<{
5920
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5921
+ orderIndex: z.ZodNullable<z.ZodInt>;
5922
+ exerciseId: z.ZodInt;
5923
+ workoutSplitId: z.ZodInt;
5924
+ workoutSplitName: z.ZodString;
5925
+ exerciseName: z.ZodString;
5926
+ targetMuscle: z.ZodString;
5927
+ specificTargetMuscle: z.ZodString;
5928
+ }, z.core.$strip>;
5929
+ workoutStartLocal: z.ZodString;
5930
+ }, z.core.$strip>>;
5931
+ }, z.core.$strip>>;
5932
+ }, z.core.$strip>;
5856
5933
  declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
5857
5934
  trackingStats: z.ZodObject<{
5858
5935
  workoutCount: z.ZodCoercedNumber<unknown>;
@@ -6032,6 +6109,31 @@ declare const exerciseTrackingMapsRowQueryDtoSchema: z.ZodObject<{
6032
6109
  }, z.core.$strip>>;
6033
6110
  }, z.core.$strip>;
6034
6111
  }, z.core.$strip>;
6112
+ declare const exerciseHistoryRowQueryDtoSchema: z.ZodObject<{
6113
+ data: z.ZodObject<{
6114
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodObject<{
6115
+ exerciseTracked: z.ZodArray<z.ZodObject<{
6116
+ exerciseTrackingId: z.ZodInt;
6117
+ sets: z.ZodArray<z.ZodObject<{
6118
+ setIndex: z.ZodInt;
6119
+ weight: z.ZodNumber;
6120
+ reps: z.ZodInt;
6121
+ }, z.core.$strip>>;
6122
+ exerciseAssignment: z.ZodObject<{
6123
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6124
+ orderIndex: z.ZodNullable<z.ZodInt>;
6125
+ exerciseId: z.ZodInt;
6126
+ workoutSplitId: z.ZodInt;
6127
+ workoutSplitName: z.ZodString;
6128
+ exerciseName: z.ZodString;
6129
+ targetMuscle: z.ZodString;
6130
+ specificTargetMuscle: z.ZodString;
6131
+ }, z.core.$strip>;
6132
+ workoutStartLocal: z.ZodString;
6133
+ }, z.core.$strip>>;
6134
+ }, z.core.$strip>>;
6135
+ }, z.core.$strip>;
6136
+ }, z.core.$strip>;
6035
6137
  /** SQL row resolving the workout split for an exercise assignment. */
6036
6138
  declare const workoutSplitLookupQueryDtoSchema: z.ZodObject<{
6037
6139
  workoutSplitId: z.ZodInt;
@@ -6056,9 +6158,11 @@ type ExerciseTrackingStatsQueryDto = z.infer<typeof exerciseTrackingStatsQueryDt
6056
6158
  type ExerciseTrackingStatsRowQueryDto = z.infer<typeof exerciseTrackingStatsRowQueryDtoSchema>;
6057
6159
  type ExerciseTrackingMapsQueryDto = z.infer<typeof exerciseTrackingMapsQueryDtoSchema>;
6058
6160
  type ExerciseTrackingMapsRowQueryDto = z.infer<typeof exerciseTrackingMapsRowQueryDtoSchema>;
6161
+ type ExerciseHistoryQueryDto = z.infer<typeof exerciseHistoryQueryDtoSchema>;
6162
+ type ExerciseHistoryRowQueryDto = z.infer<typeof exerciseHistoryRowQueryDtoSchema>;
6059
6163
  type WorkoutSplitLookupQueryDto = z.infer<typeof workoutSplitLookupQueryDtoSchema>;
6060
6164
  type WorkoutSummaryIdQueryDto = z.infer<typeof workoutSummaryIdQueryDtoSchema>;
6061
6165
  type ExerciseTrackingIdQueryDto = z.infer<typeof exerciseTrackingIdQueryDtoSchema>;
6062
6166
  type FinishedWorkoutEntryQueryDto = z.infer<typeof finishedWorkoutEntryQueryDtoSchema>;
6063
6167
 
6064
- export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type ChangeEmailTokenPayloadDto, type Contract, type CreateAerobicEntryBody, type CreatePasswordResetRequestBody, type CreateUserBody, type CreateUserResponse, type CreateVerificationEmailBody, type CreateVideoUploadUrlBody, type CreateVideoUploadUrlResponse, type CreateWebSocketTicketBody, type CreateWebSocketTicketResponse, type CreateWorkoutSessionBody, type CreateWorkoutSessionResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteProfilePictureBody, 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 FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GetAerobicHistoryQuery, type GetAerobicHistoryResponse, type GetAllExercisesExerciseQueryDto, type GetAnalyticsResponse, type GetCurrentUserResponse, type GetVerificationStatusQuery, type GetWorkoutHistoryQuery, type GetWorkoutHistoryResponse, type GetWorkoutPlanQuery, type GetWorkoutPlanResponse, type GetWorkoutStatisticsResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type ListExercisesResponse, type ListMessagesQuery, type ListMessagesResponse, 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 ReplaceProfilePictureResponse, type ReplacePushTokenBody, type ReplaceWorkoutPlanBody, type ReplaceWorkoutPlanResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveWorkoutSplitInputQueryDto, type SaveWorkoutSplitPayloadQueryDto, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateCurrentUserBody, type UpdateCurrentUserResponse, type UpdateUnverifiedAccountEmailBody, type UserAerobicsQueryDto, 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 VerifyEmailQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, changeEmailTokenPayloadDtoSchema, createAerobicEntryContract, createAerobicEntryRequestSchema, createPasswordResetRequestContract, createPasswordResetRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createVerificationEmailContract, createVerificationEmailRequestSchema, createVideoUploadUrlContract, createVideoUploadUrlRequestSchema, createVideoUploadUrlResponseSchema, createWebSocketTicketContract, createWebSocketTicketRequestSchema, createWebSocketTicketResponseSchema, createWorkoutSessionContract, createWorkoutSessionRequestSchema, createWorkoutSessionResponseSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePictureContract, deleteProfilePictureRequestSchema, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingMapsQueryDtoSchema, exerciseTrackingMapsRowQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exerciseTrackingStatsQueryDtoSchema, exerciseTrackingStatsRowQueryDtoSchema, exercisesMapByMuscleQueryDtoSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, getAerobicHistoryContract, getAerobicHistoryRequestSchema, getAerobicHistoryResponseSchema, getAllExercisesExerciseQueryDtoSchema, getAnalyticsContract, getAnalyticsResponseSchema, getCurrentUserContract, getCurrentUserResponseSchema, getVerificationStatusContract, getVerificationStatusRequestSchema, getWorkoutHistoryContract, getWorkoutHistoryRequestSchema, getWorkoutHistoryResponseSchema, getWorkoutPlanContract, getWorkoutPlanRequestSchema, getWorkoutPlanResponseSchema, getWorkoutStatisticsContract, getWorkoutStatisticsResponseSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, listExercisesContract, listExercisesResponseSchema, listMessagesContract, listMessagesRequestSchema, listMessagesResponseSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, replaceProfilePictureContract, replaceProfilePictureResponseSchema, replacePushTokenContract, replacePushTokenRequestSchema, replaceWorkoutPlanContract, replaceWorkoutPlanRequestSchema, replaceWorkoutPlanResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveWorkoutSplitInputQueryDtoSchema, saveWorkoutSplitPayloadQueryDtoSchema, serializedDateSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateCurrentUserContract, updateCurrentUserRequestSchema, updateCurrentUserResponseSchema, updateUnverifiedAccountEmailContract, updateUnverifiedAccountEmailRequestSchema, userAerobicsQueryDtoSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyEmailContract, verifyEmailRequestSchema, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
6168
+ export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type ChangeEmailTokenPayloadDto, type Contract, type CreateAerobicEntryBody, type CreatePasswordResetRequestBody, type CreateUserBody, type CreateUserResponse, type CreateVerificationEmailBody, type CreateVideoUploadUrlBody, type CreateVideoUploadUrlResponse, type CreateWebSocketTicketBody, type CreateWebSocketTicketResponse, type CreateWorkoutSessionBody, type CreateWorkoutSessionResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteProfilePictureBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseHistoryQueryDto, type ExerciseHistoryRowQueryDto, 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 FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GetAerobicHistoryQuery, type GetAerobicHistoryResponse, type GetAllExercisesExerciseQueryDto, type GetAnalyticsResponse, type GetCurrentUserResponse, type GetExerciseHistoryResponse, type GetVerificationStatusQuery, type GetWorkoutHistoryQuery, type GetWorkoutHistoryResponse, type GetWorkoutPlanQuery, type GetWorkoutPlanResponse, type GetWorkoutStatisticsResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type ListExercisesResponse, type ListMessagesQuery, type ListMessagesResponse, 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 ReplaceProfilePictureResponse, type ReplacePushTokenBody, type ReplaceWorkoutPlanBody, type ReplaceWorkoutPlanResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveWorkoutSplitInputQueryDto, type SaveWorkoutSplitPayloadQueryDto, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateCurrentUserBody, type UpdateCurrentUserResponse, type UpdateUnverifiedAccountEmailBody, type UserAerobicsQueryDto, 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 VerifyEmailQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, changeEmailTokenPayloadDtoSchema, createAerobicEntryContract, createAerobicEntryRequestSchema, createPasswordResetRequestContract, createPasswordResetRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createVerificationEmailContract, createVerificationEmailRequestSchema, createVideoUploadUrlContract, createVideoUploadUrlRequestSchema, createVideoUploadUrlResponseSchema, createWebSocketTicketContract, createWebSocketTicketRequestSchema, createWebSocketTicketResponseSchema, createWorkoutSessionContract, createWorkoutSessionRequestSchema, createWorkoutSessionResponseSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePictureContract, deleteProfilePictureRequestSchema, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseHistoryQueryDtoSchema, exerciseHistoryRowQueryDtoSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingMapsQueryDtoSchema, exerciseTrackingMapsRowQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exerciseTrackingStatsQueryDtoSchema, exerciseTrackingStatsRowQueryDtoSchema, exercisesMapByMuscleQueryDtoSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, getAerobicHistoryContract, getAerobicHistoryRequestSchema, getAerobicHistoryResponseSchema, getAllExercisesExerciseQueryDtoSchema, getAnalyticsContract, getAnalyticsResponseSchema, getCurrentUserContract, getCurrentUserResponseSchema, getExerciseHistoryContract, getExerciseHistoryResponseSchema, getVerificationStatusContract, getVerificationStatusRequestSchema, getWorkoutHistoryContract, getWorkoutHistoryRequestSchema, getWorkoutHistoryResponseSchema, getWorkoutPlanContract, getWorkoutPlanRequestSchema, getWorkoutPlanResponseSchema, getWorkoutStatisticsContract, getWorkoutStatisticsResponseSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, listExercisesContract, listExercisesResponseSchema, listMessagesContract, listMessagesRequestSchema, listMessagesResponseSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, replaceProfilePictureContract, replaceProfilePictureResponseSchema, replacePushTokenContract, replacePushTokenRequestSchema, replaceWorkoutPlanContract, replaceWorkoutPlanRequestSchema, replaceWorkoutPlanResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveWorkoutSplitInputQueryDtoSchema, saveWorkoutSplitPayloadQueryDtoSchema, serializedDateSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateCurrentUserContract, updateCurrentUserRequestSchema, updateCurrentUserResponseSchema, updateUnverifiedAccountEmailContract, updateUnverifiedAccountEmailRequestSchema, userAerobicsQueryDtoSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyEmailContract, verifyEmailRequestSchema, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
package/dist/index.d.ts CHANGED
@@ -5470,6 +5470,59 @@ declare const getWorkoutHistoryContract: {
5470
5470
  }, z.core.$strip>>;
5471
5471
  }, z.core.$strip>;
5472
5472
  };
5473
+ declare const getExerciseHistoryResponseSchema: z.ZodObject<{
5474
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodObject<{
5475
+ exerciseTracked: z.ZodArray<z.ZodObject<{
5476
+ exerciseTrackingId: z.ZodInt;
5477
+ sets: z.ZodArray<z.ZodObject<{
5478
+ setIndex: z.ZodInt;
5479
+ weight: z.ZodNumber;
5480
+ reps: z.ZodInt;
5481
+ }, z.core.$strip>>;
5482
+ exerciseAssignment: z.ZodObject<{
5483
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5484
+ orderIndex: z.ZodNullable<z.ZodInt>;
5485
+ exerciseId: z.ZodInt;
5486
+ workoutSplitId: z.ZodInt;
5487
+ workoutSplitName: z.ZodString;
5488
+ exerciseName: z.ZodString;
5489
+ targetMuscle: z.ZodString;
5490
+ specificTargetMuscle: z.ZodString;
5491
+ }, z.core.$strip>;
5492
+ workoutStartLocal: z.ZodString;
5493
+ }, z.core.$strip>>;
5494
+ }, z.core.$strip>>;
5495
+ }, z.core.$strip>;
5496
+ declare const getExerciseHistoryContract: {
5497
+ request: z.ZodObject<{
5498
+ query: z.ZodObject<{
5499
+ tz: z.ZodOptional<z.ZodString>;
5500
+ }, z.core.$strip>;
5501
+ }, z.core.$strip>;
5502
+ response: z.ZodObject<{
5503
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodObject<{
5504
+ exerciseTracked: z.ZodArray<z.ZodObject<{
5505
+ exerciseTrackingId: z.ZodInt;
5506
+ sets: z.ZodArray<z.ZodObject<{
5507
+ setIndex: z.ZodInt;
5508
+ weight: z.ZodNumber;
5509
+ reps: z.ZodInt;
5510
+ }, z.core.$strip>>;
5511
+ exerciseAssignment: z.ZodObject<{
5512
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5513
+ orderIndex: z.ZodNullable<z.ZodInt>;
5514
+ exerciseId: z.ZodInt;
5515
+ workoutSplitId: z.ZodInt;
5516
+ workoutSplitName: z.ZodString;
5517
+ exerciseName: z.ZodString;
5518
+ targetMuscle: z.ZodString;
5519
+ specificTargetMuscle: z.ZodString;
5520
+ }, z.core.$strip>;
5521
+ workoutStartLocal: z.ZodString;
5522
+ }, z.core.$strip>>;
5523
+ }, z.core.$strip>>;
5524
+ }, z.core.$strip>;
5525
+ };
5473
5526
  declare const getWorkoutStatisticsResponseSchema: z.ZodObject<{
5474
5527
  workoutCount: z.ZodCoercedNumber<unknown>;
5475
5528
  hasExerciseTracking: z.ZodBoolean;
@@ -5693,6 +5746,7 @@ declare const createWorkoutSessionContract: {
5693
5746
  };
5694
5747
  type GetWorkoutHistoryQuery = QueryOf<typeof getWorkoutHistoryContract>;
5695
5748
  type GetWorkoutHistoryResponse = ResponseOf<typeof getWorkoutHistoryContract>;
5749
+ type GetExerciseHistoryResponse = ResponseOf<typeof getExerciseHistoryContract>;
5696
5750
  type GetWorkoutStatisticsResponse = ResponseOf<typeof getWorkoutStatisticsContract>;
5697
5751
  type CreateWorkoutSessionBody = BodyOf<typeof createWorkoutSessionContract>;
5698
5752
  type CreateWorkoutSessionResponse = ResponseOf<typeof createWorkoutSessionContract>;
@@ -5853,6 +5907,29 @@ declare const exerciseTrackingMapsQueryDtoSchema: z.ZodObject<{
5853
5907
  }, z.core.$strip>>;
5854
5908
  }, z.core.$strip>>;
5855
5909
  }, z.core.$strip>;
5910
+ declare const exerciseHistoryQueryDtoSchema: z.ZodObject<{
5911
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodObject<{
5912
+ exerciseTracked: z.ZodArray<z.ZodObject<{
5913
+ exerciseTrackingId: z.ZodInt;
5914
+ sets: z.ZodArray<z.ZodObject<{
5915
+ setIndex: z.ZodInt;
5916
+ weight: z.ZodNumber;
5917
+ reps: z.ZodInt;
5918
+ }, z.core.$strip>>;
5919
+ exerciseAssignment: z.ZodObject<{
5920
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5921
+ orderIndex: z.ZodNullable<z.ZodInt>;
5922
+ exerciseId: z.ZodInt;
5923
+ workoutSplitId: z.ZodInt;
5924
+ workoutSplitName: z.ZodString;
5925
+ exerciseName: z.ZodString;
5926
+ targetMuscle: z.ZodString;
5927
+ specificTargetMuscle: z.ZodString;
5928
+ }, z.core.$strip>;
5929
+ workoutStartLocal: z.ZodString;
5930
+ }, z.core.$strip>>;
5931
+ }, z.core.$strip>>;
5932
+ }, z.core.$strip>;
5856
5933
  declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
5857
5934
  trackingStats: z.ZodObject<{
5858
5935
  workoutCount: z.ZodCoercedNumber<unknown>;
@@ -6032,6 +6109,31 @@ declare const exerciseTrackingMapsRowQueryDtoSchema: z.ZodObject<{
6032
6109
  }, z.core.$strip>>;
6033
6110
  }, z.core.$strip>;
6034
6111
  }, z.core.$strip>;
6112
+ declare const exerciseHistoryRowQueryDtoSchema: z.ZodObject<{
6113
+ data: z.ZodObject<{
6114
+ byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodObject<{
6115
+ exerciseTracked: z.ZodArray<z.ZodObject<{
6116
+ exerciseTrackingId: z.ZodInt;
6117
+ sets: z.ZodArray<z.ZodObject<{
6118
+ setIndex: z.ZodInt;
6119
+ weight: z.ZodNumber;
6120
+ reps: z.ZodInt;
6121
+ }, z.core.$strip>>;
6122
+ exerciseAssignment: z.ZodObject<{
6123
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6124
+ orderIndex: z.ZodNullable<z.ZodInt>;
6125
+ exerciseId: z.ZodInt;
6126
+ workoutSplitId: z.ZodInt;
6127
+ workoutSplitName: z.ZodString;
6128
+ exerciseName: z.ZodString;
6129
+ targetMuscle: z.ZodString;
6130
+ specificTargetMuscle: z.ZodString;
6131
+ }, z.core.$strip>;
6132
+ workoutStartLocal: z.ZodString;
6133
+ }, z.core.$strip>>;
6134
+ }, z.core.$strip>>;
6135
+ }, z.core.$strip>;
6136
+ }, z.core.$strip>;
6035
6137
  /** SQL row resolving the workout split for an exercise assignment. */
6036
6138
  declare const workoutSplitLookupQueryDtoSchema: z.ZodObject<{
6037
6139
  workoutSplitId: z.ZodInt;
@@ -6056,9 +6158,11 @@ type ExerciseTrackingStatsQueryDto = z.infer<typeof exerciseTrackingStatsQueryDt
6056
6158
  type ExerciseTrackingStatsRowQueryDto = z.infer<typeof exerciseTrackingStatsRowQueryDtoSchema>;
6057
6159
  type ExerciseTrackingMapsQueryDto = z.infer<typeof exerciseTrackingMapsQueryDtoSchema>;
6058
6160
  type ExerciseTrackingMapsRowQueryDto = z.infer<typeof exerciseTrackingMapsRowQueryDtoSchema>;
6161
+ type ExerciseHistoryQueryDto = z.infer<typeof exerciseHistoryQueryDtoSchema>;
6162
+ type ExerciseHistoryRowQueryDto = z.infer<typeof exerciseHistoryRowQueryDtoSchema>;
6059
6163
  type WorkoutSplitLookupQueryDto = z.infer<typeof workoutSplitLookupQueryDtoSchema>;
6060
6164
  type WorkoutSummaryIdQueryDto = z.infer<typeof workoutSummaryIdQueryDtoSchema>;
6061
6165
  type ExerciseTrackingIdQueryDto = z.infer<typeof exerciseTrackingIdQueryDtoSchema>;
6062
6166
  type FinishedWorkoutEntryQueryDto = z.infer<typeof finishedWorkoutEntryQueryDtoSchema>;
6063
6167
 
6064
- export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type ChangeEmailTokenPayloadDto, type Contract, type CreateAerobicEntryBody, type CreatePasswordResetRequestBody, type CreateUserBody, type CreateUserResponse, type CreateVerificationEmailBody, type CreateVideoUploadUrlBody, type CreateVideoUploadUrlResponse, type CreateWebSocketTicketBody, type CreateWebSocketTicketResponse, type CreateWorkoutSessionBody, type CreateWorkoutSessionResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteProfilePictureBody, 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 FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GetAerobicHistoryQuery, type GetAerobicHistoryResponse, type GetAllExercisesExerciseQueryDto, type GetAnalyticsResponse, type GetCurrentUserResponse, type GetVerificationStatusQuery, type GetWorkoutHistoryQuery, type GetWorkoutHistoryResponse, type GetWorkoutPlanQuery, type GetWorkoutPlanResponse, type GetWorkoutStatisticsResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type ListExercisesResponse, type ListMessagesQuery, type ListMessagesResponse, 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 ReplaceProfilePictureResponse, type ReplacePushTokenBody, type ReplaceWorkoutPlanBody, type ReplaceWorkoutPlanResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveWorkoutSplitInputQueryDto, type SaveWorkoutSplitPayloadQueryDto, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateCurrentUserBody, type UpdateCurrentUserResponse, type UpdateUnverifiedAccountEmailBody, type UserAerobicsQueryDto, 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 VerifyEmailQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, changeEmailTokenPayloadDtoSchema, createAerobicEntryContract, createAerobicEntryRequestSchema, createPasswordResetRequestContract, createPasswordResetRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createVerificationEmailContract, createVerificationEmailRequestSchema, createVideoUploadUrlContract, createVideoUploadUrlRequestSchema, createVideoUploadUrlResponseSchema, createWebSocketTicketContract, createWebSocketTicketRequestSchema, createWebSocketTicketResponseSchema, createWorkoutSessionContract, createWorkoutSessionRequestSchema, createWorkoutSessionResponseSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePictureContract, deleteProfilePictureRequestSchema, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingMapsQueryDtoSchema, exerciseTrackingMapsRowQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exerciseTrackingStatsQueryDtoSchema, exerciseTrackingStatsRowQueryDtoSchema, exercisesMapByMuscleQueryDtoSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, getAerobicHistoryContract, getAerobicHistoryRequestSchema, getAerobicHistoryResponseSchema, getAllExercisesExerciseQueryDtoSchema, getAnalyticsContract, getAnalyticsResponseSchema, getCurrentUserContract, getCurrentUserResponseSchema, getVerificationStatusContract, getVerificationStatusRequestSchema, getWorkoutHistoryContract, getWorkoutHistoryRequestSchema, getWorkoutHistoryResponseSchema, getWorkoutPlanContract, getWorkoutPlanRequestSchema, getWorkoutPlanResponseSchema, getWorkoutStatisticsContract, getWorkoutStatisticsResponseSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, listExercisesContract, listExercisesResponseSchema, listMessagesContract, listMessagesRequestSchema, listMessagesResponseSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, replaceProfilePictureContract, replaceProfilePictureResponseSchema, replacePushTokenContract, replacePushTokenRequestSchema, replaceWorkoutPlanContract, replaceWorkoutPlanRequestSchema, replaceWorkoutPlanResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveWorkoutSplitInputQueryDtoSchema, saveWorkoutSplitPayloadQueryDtoSchema, serializedDateSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateCurrentUserContract, updateCurrentUserRequestSchema, updateCurrentUserResponseSchema, updateUnverifiedAccountEmailContract, updateUnverifiedAccountEmailRequestSchema, userAerobicsQueryDtoSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyEmailContract, verifyEmailRequestSchema, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
6168
+ export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type ChangeEmailTokenPayloadDto, type Contract, type CreateAerobicEntryBody, type CreatePasswordResetRequestBody, type CreateUserBody, type CreateUserResponse, type CreateVerificationEmailBody, type CreateVideoUploadUrlBody, type CreateVideoUploadUrlResponse, type CreateWebSocketTicketBody, type CreateWebSocketTicketResponse, type CreateWorkoutSessionBody, type CreateWorkoutSessionResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteProfilePictureBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseHistoryQueryDto, type ExerciseHistoryRowQueryDto, 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 FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GetAerobicHistoryQuery, type GetAerobicHistoryResponse, type GetAllExercisesExerciseQueryDto, type GetAnalyticsResponse, type GetCurrentUserResponse, type GetExerciseHistoryResponse, type GetVerificationStatusQuery, type GetWorkoutHistoryQuery, type GetWorkoutHistoryResponse, type GetWorkoutPlanQuery, type GetWorkoutPlanResponse, type GetWorkoutStatisticsResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type ListExercisesResponse, type ListMessagesQuery, type ListMessagesResponse, 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 ReplaceProfilePictureResponse, type ReplacePushTokenBody, type ReplaceWorkoutPlanBody, type ReplaceWorkoutPlanResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveWorkoutSplitInputQueryDto, type SaveWorkoutSplitPayloadQueryDto, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateCurrentUserBody, type UpdateCurrentUserResponse, type UpdateUnverifiedAccountEmailBody, type UserAerobicsQueryDto, 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 VerifyEmailQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, changeEmailTokenPayloadDtoSchema, createAerobicEntryContract, createAerobicEntryRequestSchema, createPasswordResetRequestContract, createPasswordResetRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createVerificationEmailContract, createVerificationEmailRequestSchema, createVideoUploadUrlContract, createVideoUploadUrlRequestSchema, createVideoUploadUrlResponseSchema, createWebSocketTicketContract, createWebSocketTicketRequestSchema, createWebSocketTicketResponseSchema, createWorkoutSessionContract, createWorkoutSessionRequestSchema, createWorkoutSessionResponseSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePictureContract, deleteProfilePictureRequestSchema, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseHistoryQueryDtoSchema, exerciseHistoryRowQueryDtoSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingMapsQueryDtoSchema, exerciseTrackingMapsRowQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exerciseTrackingStatsQueryDtoSchema, exerciseTrackingStatsRowQueryDtoSchema, exercisesMapByMuscleQueryDtoSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, getAerobicHistoryContract, getAerobicHistoryRequestSchema, getAerobicHistoryResponseSchema, getAllExercisesExerciseQueryDtoSchema, getAnalyticsContract, getAnalyticsResponseSchema, getCurrentUserContract, getCurrentUserResponseSchema, getExerciseHistoryContract, getExerciseHistoryResponseSchema, getVerificationStatusContract, getVerificationStatusRequestSchema, getWorkoutHistoryContract, getWorkoutHistoryRequestSchema, getWorkoutHistoryResponseSchema, getWorkoutPlanContract, getWorkoutPlanRequestSchema, getWorkoutPlanResponseSchema, getWorkoutStatisticsContract, getWorkoutStatisticsResponseSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, listExercisesContract, listExercisesResponseSchema, listMessagesContract, listMessagesRequestSchema, listMessagesResponseSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, replaceProfilePictureContract, replaceProfilePictureResponseSchema, replacePushTokenContract, replacePushTokenRequestSchema, replaceWorkoutPlanContract, replaceWorkoutPlanRequestSchema, replaceWorkoutPlanResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveWorkoutSplitInputQueryDtoSchema, saveWorkoutSplitPayloadQueryDtoSchema, serializedDateSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateCurrentUserContract, updateCurrentUserRequestSchema, updateCurrentUserResponseSchema, updateUnverifiedAccountEmailContract, updateUnverifiedAccountEmailRequestSchema, userAerobicsQueryDtoSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyEmailContract, verifyEmailRequestSchema, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
package/dist/index.js CHANGED
@@ -2359,6 +2359,11 @@ var groupedTrackingItemQueryDtoSchema = z33.object({
2359
2359
  })
2360
2360
  })
2361
2361
  });
2362
+ var trackingByExerciseToSplitIdItemQueryDtoSchema = groupedTrackingItemQueryDtoSchema.shape.exerciseTracking.omit({
2363
+ notes: true
2364
+ }).extend({
2365
+ workoutStartLocal: serializedDateSchema
2366
+ });
2362
2367
  var exerciseTrackingStatsQueryDtoSchema = z33.object({
2363
2368
  workoutCount: z33.coerce.number(),
2364
2369
  hasExerciseTracking: z33.boolean(),
@@ -2395,6 +2400,11 @@ var exerciseTrackingMapsQueryDtoSchema = z33.object({
2395
2400
  exerciseTracked: z33.array(groupedTrackingItemQueryDtoSchema)
2396
2401
  }))
2397
2402
  });
2403
+ var exerciseHistoryQueryDtoSchema = z33.object({
2404
+ byExerciseToSplitId: z33.record(z33.string(), z33.object({
2405
+ exerciseTracked: z33.array(trackingByExerciseToSplitIdItemQueryDtoSchema)
2406
+ }))
2407
+ });
2398
2408
  var exerciseTrackingAndStatsQueryDtoSchema = z33.object({
2399
2409
  trackingStats: exerciseTrackingStatsQueryDtoSchema,
2400
2410
  trackingMaps: exerciseTrackingMapsQueryDtoSchema
@@ -2408,6 +2418,9 @@ var exerciseTrackingStatsRowQueryDtoSchema = z33.object({
2408
2418
  var exerciseTrackingMapsRowQueryDtoSchema = z33.object({
2409
2419
  data: exerciseTrackingMapsQueryDtoSchema
2410
2420
  });
2421
+ var exerciseHistoryRowQueryDtoSchema = z33.object({
2422
+ data: exerciseHistoryQueryDtoSchema
2423
+ });
2411
2424
  var workoutSplitLookupQueryDtoSchema = z33.object({
2412
2425
  workoutSplitId: workoutSplitDbSchema.shape.id
2413
2426
  });
@@ -2429,6 +2442,11 @@ var getWorkoutHistoryContract = {
2429
2442
  request: getWorkoutHistoryRequestSchema,
2430
2443
  response: getWorkoutHistoryResponseSchema
2431
2444
  };
2445
+ var getExerciseHistoryResponseSchema = exerciseHistoryQueryDtoSchema;
2446
+ var getExerciseHistoryContract = {
2447
+ request: getWorkoutHistoryRequestSchema,
2448
+ response: getExerciseHistoryResponseSchema
2449
+ };
2432
2450
  var getWorkoutStatisticsResponseSchema = exerciseTrackingStatsQueryDtoSchema;
2433
2451
  var getWorkoutStatisticsContract = {
2434
2452
  request: getWorkoutHistoryRequestSchema,
@@ -2494,6 +2512,8 @@ export {
2494
2512
  enqueueAnalyzeVideoParamsDtoSchema,
2495
2513
  exerciseAssignmentIdQueryDtoSchema,
2496
2514
  exerciseDbSchema,
2515
+ exerciseHistoryQueryDtoSchema,
2516
+ exerciseHistoryRowQueryDtoSchema,
2497
2517
  exerciseInPlanQueryDtoSchema,
2498
2518
  exerciseMapByMuscleRowQueryDtoSchema,
2499
2519
  exerciseMetadataQueryDtoSchema,
@@ -2521,6 +2541,8 @@ export {
2521
2541
  getAnalyticsResponseSchema,
2522
2542
  getCurrentUserContract,
2523
2543
  getCurrentUserResponseSchema,
2544
+ getExerciseHistoryContract,
2545
+ getExerciseHistoryResponseSchema,
2524
2546
  getVerificationStatusContract,
2525
2547
  getVerificationStatusRequestSchema,
2526
2548
  getWorkoutHistoryContract,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strong-together/shared",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",