@strong-together/shared 3.0.0 → 3.1.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,7 @@ var groupedTrackingItemQueryDtoSchema = import_v433.z.object({
2565
2569
  })
2566
2570
  })
2567
2571
  });
2572
+ var trackingByExerciseToSplitIdItemQueryDtoSchema = groupedTrackingItemQueryDtoSchema.shape.exerciseTracking;
2568
2573
  var exerciseTrackingStatsQueryDtoSchema = import_v433.z.object({
2569
2574
  workoutCount: import_v433.z.coerce.number(),
2570
2575
  hasExerciseTracking: import_v433.z.boolean(),
@@ -2601,6 +2606,11 @@ var exerciseTrackingMapsQueryDtoSchema = import_v433.z.object({
2601
2606
  exerciseTracked: import_v433.z.array(groupedTrackingItemQueryDtoSchema)
2602
2607
  }))
2603
2608
  });
2609
+ var exerciseHistoryQueryDtoSchema = import_v433.z.object({
2610
+ byExerciseToSplitId: import_v433.z.record(import_v433.z.string(), import_v433.z.object({
2611
+ exerciseTracked: import_v433.z.array(trackingByExerciseToSplitIdItemQueryDtoSchema)
2612
+ }))
2613
+ });
2604
2614
  var exerciseTrackingAndStatsQueryDtoSchema = import_v433.z.object({
2605
2615
  trackingStats: exerciseTrackingStatsQueryDtoSchema,
2606
2616
  trackingMaps: exerciseTrackingMapsQueryDtoSchema
@@ -2614,6 +2624,9 @@ var exerciseTrackingStatsRowQueryDtoSchema = import_v433.z.object({
2614
2624
  var exerciseTrackingMapsRowQueryDtoSchema = import_v433.z.object({
2615
2625
  data: exerciseTrackingMapsQueryDtoSchema
2616
2626
  });
2627
+ var exerciseHistoryRowQueryDtoSchema = import_v433.z.object({
2628
+ data: exerciseHistoryQueryDtoSchema
2629
+ });
2617
2630
  var workoutSplitLookupQueryDtoSchema = import_v433.z.object({
2618
2631
  workoutSplitId: workoutSplitDbSchema.shape.id
2619
2632
  });
@@ -2635,6 +2648,11 @@ var getWorkoutHistoryContract = {
2635
2648
  request: getWorkoutHistoryRequestSchema,
2636
2649
  response: getWorkoutHistoryResponseSchema
2637
2650
  };
2651
+ var getExerciseHistoryResponseSchema = exerciseHistoryQueryDtoSchema;
2652
+ var getExerciseHistoryContract = {
2653
+ request: getWorkoutHistoryRequestSchema,
2654
+ response: getExerciseHistoryResponseSchema
2655
+ };
2638
2656
  var getWorkoutStatisticsResponseSchema = exerciseTrackingStatsQueryDtoSchema;
2639
2657
  var getWorkoutStatisticsContract = {
2640
2658
  request: getWorkoutHistoryRequestSchema,
@@ -2701,6 +2719,8 @@ var createWorkoutSessionContract = {
2701
2719
  enqueueAnalyzeVideoParamsDtoSchema,
2702
2720
  exerciseAssignmentIdQueryDtoSchema,
2703
2721
  exerciseDbSchema,
2722
+ exerciseHistoryQueryDtoSchema,
2723
+ exerciseHistoryRowQueryDtoSchema,
2704
2724
  exerciseInPlanQueryDtoSchema,
2705
2725
  exerciseMapByMuscleRowQueryDtoSchema,
2706
2726
  exerciseMetadataQueryDtoSchema,
@@ -2728,6 +2748,8 @@ var createWorkoutSessionContract = {
2728
2748
  getAnalyticsResponseSchema,
2729
2749
  getCurrentUserContract,
2730
2750
  getCurrentUserResponseSchema,
2751
+ getExerciseHistoryContract,
2752
+ getExerciseHistoryResponseSchema,
2731
2753
  getVerificationStatusContract,
2732
2754
  getVerificationStatusRequestSchema,
2733
2755
  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
+ notes: z.ZodNullable<z.ZodString>;
5483
+ exerciseAssignment: z.ZodObject<{
5484
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5485
+ orderIndex: z.ZodNullable<z.ZodInt>;
5486
+ exerciseId: z.ZodInt;
5487
+ workoutSplitId: z.ZodInt;
5488
+ workoutSplitName: z.ZodString;
5489
+ exerciseName: z.ZodString;
5490
+ targetMuscle: z.ZodString;
5491
+ specificTargetMuscle: z.ZodString;
5492
+ }, z.core.$strip>;
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
+ notes: z.ZodNullable<z.ZodString>;
5512
+ exerciseAssignment: z.ZodObject<{
5513
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5514
+ orderIndex: z.ZodNullable<z.ZodInt>;
5515
+ exerciseId: z.ZodInt;
5516
+ workoutSplitId: z.ZodInt;
5517
+ workoutSplitName: z.ZodString;
5518
+ exerciseName: z.ZodString;
5519
+ targetMuscle: z.ZodString;
5520
+ specificTargetMuscle: z.ZodString;
5521
+ }, z.core.$strip>;
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
+ notes: z.ZodNullable<z.ZodString>;
5920
+ exerciseAssignment: z.ZodObject<{
5921
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5922
+ orderIndex: z.ZodNullable<z.ZodInt>;
5923
+ exerciseId: z.ZodInt;
5924
+ workoutSplitId: z.ZodInt;
5925
+ workoutSplitName: z.ZodString;
5926
+ exerciseName: z.ZodString;
5927
+ targetMuscle: z.ZodString;
5928
+ specificTargetMuscle: z.ZodString;
5929
+ }, z.core.$strip>;
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
+ notes: z.ZodNullable<z.ZodString>;
6123
+ exerciseAssignment: z.ZodObject<{
6124
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6125
+ orderIndex: z.ZodNullable<z.ZodInt>;
6126
+ exerciseId: z.ZodInt;
6127
+ workoutSplitId: z.ZodInt;
6128
+ workoutSplitName: z.ZodString;
6129
+ exerciseName: z.ZodString;
6130
+ targetMuscle: z.ZodString;
6131
+ specificTargetMuscle: z.ZodString;
6132
+ }, z.core.$strip>;
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
+ notes: z.ZodNullable<z.ZodString>;
5483
+ exerciseAssignment: z.ZodObject<{
5484
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5485
+ orderIndex: z.ZodNullable<z.ZodInt>;
5486
+ exerciseId: z.ZodInt;
5487
+ workoutSplitId: z.ZodInt;
5488
+ workoutSplitName: z.ZodString;
5489
+ exerciseName: z.ZodString;
5490
+ targetMuscle: z.ZodString;
5491
+ specificTargetMuscle: z.ZodString;
5492
+ }, z.core.$strip>;
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
+ notes: z.ZodNullable<z.ZodString>;
5512
+ exerciseAssignment: z.ZodObject<{
5513
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5514
+ orderIndex: z.ZodNullable<z.ZodInt>;
5515
+ exerciseId: z.ZodInt;
5516
+ workoutSplitId: z.ZodInt;
5517
+ workoutSplitName: z.ZodString;
5518
+ exerciseName: z.ZodString;
5519
+ targetMuscle: z.ZodString;
5520
+ specificTargetMuscle: z.ZodString;
5521
+ }, z.core.$strip>;
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
+ notes: z.ZodNullable<z.ZodString>;
5920
+ exerciseAssignment: z.ZodObject<{
5921
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5922
+ orderIndex: z.ZodNullable<z.ZodInt>;
5923
+ exerciseId: z.ZodInt;
5924
+ workoutSplitId: z.ZodInt;
5925
+ workoutSplitName: z.ZodString;
5926
+ exerciseName: z.ZodString;
5927
+ targetMuscle: z.ZodString;
5928
+ specificTargetMuscle: z.ZodString;
5929
+ }, z.core.$strip>;
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
+ notes: z.ZodNullable<z.ZodString>;
6123
+ exerciseAssignment: z.ZodObject<{
6124
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6125
+ orderIndex: z.ZodNullable<z.ZodInt>;
6126
+ exerciseId: z.ZodInt;
6127
+ workoutSplitId: z.ZodInt;
6128
+ workoutSplitName: z.ZodString;
6129
+ exerciseName: z.ZodString;
6130
+ targetMuscle: z.ZodString;
6131
+ specificTargetMuscle: z.ZodString;
6132
+ }, z.core.$strip>;
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,7 @@ var groupedTrackingItemQueryDtoSchema = z33.object({
2359
2359
  })
2360
2360
  })
2361
2361
  });
2362
+ var trackingByExerciseToSplitIdItemQueryDtoSchema = groupedTrackingItemQueryDtoSchema.shape.exerciseTracking;
2362
2363
  var exerciseTrackingStatsQueryDtoSchema = z33.object({
2363
2364
  workoutCount: z33.coerce.number(),
2364
2365
  hasExerciseTracking: z33.boolean(),
@@ -2395,6 +2396,11 @@ var exerciseTrackingMapsQueryDtoSchema = z33.object({
2395
2396
  exerciseTracked: z33.array(groupedTrackingItemQueryDtoSchema)
2396
2397
  }))
2397
2398
  });
2399
+ var exerciseHistoryQueryDtoSchema = z33.object({
2400
+ byExerciseToSplitId: z33.record(z33.string(), z33.object({
2401
+ exerciseTracked: z33.array(trackingByExerciseToSplitIdItemQueryDtoSchema)
2402
+ }))
2403
+ });
2398
2404
  var exerciseTrackingAndStatsQueryDtoSchema = z33.object({
2399
2405
  trackingStats: exerciseTrackingStatsQueryDtoSchema,
2400
2406
  trackingMaps: exerciseTrackingMapsQueryDtoSchema
@@ -2408,6 +2414,9 @@ var exerciseTrackingStatsRowQueryDtoSchema = z33.object({
2408
2414
  var exerciseTrackingMapsRowQueryDtoSchema = z33.object({
2409
2415
  data: exerciseTrackingMapsQueryDtoSchema
2410
2416
  });
2417
+ var exerciseHistoryRowQueryDtoSchema = z33.object({
2418
+ data: exerciseHistoryQueryDtoSchema
2419
+ });
2411
2420
  var workoutSplitLookupQueryDtoSchema = z33.object({
2412
2421
  workoutSplitId: workoutSplitDbSchema.shape.id
2413
2422
  });
@@ -2429,6 +2438,11 @@ var getWorkoutHistoryContract = {
2429
2438
  request: getWorkoutHistoryRequestSchema,
2430
2439
  response: getWorkoutHistoryResponseSchema
2431
2440
  };
2441
+ var getExerciseHistoryResponseSchema = exerciseHistoryQueryDtoSchema;
2442
+ var getExerciseHistoryContract = {
2443
+ request: getWorkoutHistoryRequestSchema,
2444
+ response: getExerciseHistoryResponseSchema
2445
+ };
2432
2446
  var getWorkoutStatisticsResponseSchema = exerciseTrackingStatsQueryDtoSchema;
2433
2447
  var getWorkoutStatisticsContract = {
2434
2448
  request: getWorkoutHistoryRequestSchema,
@@ -2494,6 +2508,8 @@ export {
2494
2508
  enqueueAnalyzeVideoParamsDtoSchema,
2495
2509
  exerciseAssignmentIdQueryDtoSchema,
2496
2510
  exerciseDbSchema,
2511
+ exerciseHistoryQueryDtoSchema,
2512
+ exerciseHistoryRowQueryDtoSchema,
2497
2513
  exerciseInPlanQueryDtoSchema,
2498
2514
  exerciseMapByMuscleRowQueryDtoSchema,
2499
2515
  exerciseMetadataQueryDtoSchema,
@@ -2521,6 +2537,8 @@ export {
2521
2537
  getAnalyticsResponseSchema,
2522
2538
  getCurrentUserContract,
2523
2539
  getCurrentUserResponseSchema,
2540
+ getExerciseHistoryContract,
2541
+ getExerciseHistoryResponseSchema,
2524
2542
  getVerificationStatusContract,
2525
2543
  getVerificationStatusRequestSchema,
2526
2544
  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.1.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",