@strong-together/shared 2.9.0 → 3.0.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 +189 -187
- package/dist/index.d.cts +261 -567
- package/dist/index.d.ts +261 -567
- package/dist/index.js +138 -136
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3829,7 +3829,7 @@ type ExerciseToWorkoutSplitRow = typeof exerciseToWorkoutSplit.$inferSelect;
|
|
|
3829
3829
|
type WorkoutSummaryRow = typeof workoutSummary.$inferSelect;
|
|
3830
3830
|
type ExerciseTrackingRow = typeof exerciseTracking.$inferSelect;
|
|
3831
3831
|
|
|
3832
|
-
declare const
|
|
3832
|
+
declare const createAerobicEntryRequestSchema: z.ZodObject<{
|
|
3833
3833
|
body: z.ZodObject<{
|
|
3834
3834
|
tz: z.ZodString;
|
|
3835
3835
|
record: z.ZodObject<{
|
|
@@ -3839,7 +3839,7 @@ declare const addAerobicsRequestSchema: z.ZodObject<{
|
|
|
3839
3839
|
}, z.core.$strip>;
|
|
3840
3840
|
}, z.core.$strip>;
|
|
3841
3841
|
}, z.core.$strip>;
|
|
3842
|
-
declare const
|
|
3842
|
+
declare const createAerobicEntryContract: {
|
|
3843
3843
|
request: z.ZodObject<{
|
|
3844
3844
|
body: z.ZodObject<{
|
|
3845
3845
|
tz: z.ZodString;
|
|
@@ -3851,12 +3851,12 @@ declare const addUserAerobicsContract: {
|
|
|
3851
3851
|
}, z.core.$strip>;
|
|
3852
3852
|
}, z.core.$strip>;
|
|
3853
3853
|
};
|
|
3854
|
-
declare const
|
|
3854
|
+
declare const getAerobicHistoryRequestSchema: z.ZodObject<{
|
|
3855
3855
|
query: z.ZodObject<{
|
|
3856
3856
|
tz: z.ZodOptional<z.ZodString>;
|
|
3857
3857
|
}, z.core.$strip>;
|
|
3858
3858
|
}, z.core.$strip>;
|
|
3859
|
-
declare const
|
|
3859
|
+
declare const getAerobicHistoryResponseSchema: z.ZodObject<{
|
|
3860
3860
|
daily: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
3861
3861
|
type: z.ZodString;
|
|
3862
3862
|
durationSec: z.ZodInt;
|
|
@@ -3873,7 +3873,7 @@ declare const userAerobicsResponseSchema: z.ZodObject<{
|
|
|
3873
3873
|
totalDurationMins: z.ZodNumber;
|
|
3874
3874
|
}, z.core.$strip>>;
|
|
3875
3875
|
}, z.core.$strip>;
|
|
3876
|
-
declare const
|
|
3876
|
+
declare const getAerobicHistoryContract: {
|
|
3877
3877
|
request: z.ZodObject<{
|
|
3878
3878
|
query: z.ZodObject<{
|
|
3879
3879
|
tz: z.ZodOptional<z.ZodString>;
|
|
@@ -3897,9 +3897,9 @@ declare const getUserAerobicsContract: {
|
|
|
3897
3897
|
}, z.core.$strip>>;
|
|
3898
3898
|
}, z.core.$strip>;
|
|
3899
3899
|
};
|
|
3900
|
-
type
|
|
3901
|
-
type
|
|
3902
|
-
type
|
|
3900
|
+
type CreateAerobicEntryBody = BodyOf<typeof createAerobicEntryContract>;
|
|
3901
|
+
type GetAerobicHistoryQuery = QueryOf<typeof getAerobicHistoryContract>;
|
|
3902
|
+
type GetAerobicHistoryResponse = ResponseOf<typeof getAerobicHistoryContract>;
|
|
3903
3903
|
|
|
3904
3904
|
/** Aerobic record accepted by the insert query. */
|
|
3905
3905
|
declare const addAerobicInputQueryDtoSchema: z.ZodObject<{
|
|
@@ -4056,12 +4056,12 @@ type AdherenceExerciseStatsQueryDto = z.infer<typeof adherenceExerciseStatsQuery
|
|
|
4056
4056
|
type GoalAdherenceQueryDto = z.infer<typeof goalAdherenceQueryDtoSchema>;
|
|
4057
4057
|
type GoalAdherenceRowQueryDto = z.infer<typeof goalAdherenceRowQueryDtoSchema>;
|
|
4058
4058
|
|
|
4059
|
-
declare const
|
|
4059
|
+
declare const createPasswordResetRequestSchema: z.ZodObject<{
|
|
4060
4060
|
body: z.ZodObject<{
|
|
4061
4061
|
identifier: z.ZodString;
|
|
4062
4062
|
}, z.core.$strip>;
|
|
4063
4063
|
}, z.core.$strip>;
|
|
4064
|
-
declare const
|
|
4064
|
+
declare const createPasswordResetRequestContract: {
|
|
4065
4065
|
request: z.ZodObject<{
|
|
4066
4066
|
body: z.ZodObject<{
|
|
4067
4067
|
identifier: z.ZodString;
|
|
@@ -4092,7 +4092,7 @@ declare const resetPasswordContract: {
|
|
|
4092
4092
|
ok: z.ZodBoolean;
|
|
4093
4093
|
}, z.core.$strip>;
|
|
4094
4094
|
};
|
|
4095
|
-
type
|
|
4095
|
+
type CreatePasswordResetRequestBody = BodyOf<typeof createPasswordResetRequestContract>;
|
|
4096
4096
|
type ResetPasswordBody = BodyOf<typeof resetPasswordContract>;
|
|
4097
4097
|
type ResetPasswordQuery = QueryOf<typeof resetPasswordContract>;
|
|
4098
4098
|
type ResetPasswordResponse = ResponseOf<typeof resetPasswordContract>;
|
|
@@ -4205,38 +4205,38 @@ type UserAfterBumpQueryDto = z.infer<typeof userAfterBumpQueryDtoSchema>;
|
|
|
4205
4205
|
type TokenVersionQueryDto = z.infer<typeof tokenVersionQueryDtoSchema>;
|
|
4206
4206
|
type LastLoginQueryDto = z.infer<typeof lastLoginQueryDtoSchema>;
|
|
4207
4207
|
|
|
4208
|
-
declare const
|
|
4208
|
+
declare const verifyEmailRequestSchema: z.ZodObject<{
|
|
4209
4209
|
query: z.ZodObject<{
|
|
4210
4210
|
token: z.ZodOptional<z.ZodString>;
|
|
4211
4211
|
}, z.core.$strip>;
|
|
4212
4212
|
}, z.core.$strip>;
|
|
4213
|
-
declare const
|
|
4213
|
+
declare const verifyEmailContract: {
|
|
4214
4214
|
request: z.ZodObject<{
|
|
4215
4215
|
query: z.ZodObject<{
|
|
4216
4216
|
token: z.ZodOptional<z.ZodString>;
|
|
4217
4217
|
}, z.core.$strip>;
|
|
4218
4218
|
}, z.core.$strip>;
|
|
4219
4219
|
};
|
|
4220
|
-
declare const
|
|
4220
|
+
declare const createVerificationEmailRequestSchema: z.ZodObject<{
|
|
4221
4221
|
body: z.ZodObject<{
|
|
4222
4222
|
email: z.ZodString;
|
|
4223
4223
|
}, z.core.$strip>;
|
|
4224
4224
|
}, z.core.$strip>;
|
|
4225
|
-
declare const
|
|
4225
|
+
declare const createVerificationEmailContract: {
|
|
4226
4226
|
request: z.ZodObject<{
|
|
4227
4227
|
body: z.ZodObject<{
|
|
4228
4228
|
email: z.ZodString;
|
|
4229
4229
|
}, z.core.$strip>;
|
|
4230
4230
|
}, z.core.$strip>;
|
|
4231
4231
|
};
|
|
4232
|
-
declare const
|
|
4232
|
+
declare const updateUnverifiedAccountEmailRequestSchema: z.ZodObject<{
|
|
4233
4233
|
body: z.ZodObject<{
|
|
4234
4234
|
username: z.ZodString;
|
|
4235
4235
|
password: z.ZodString;
|
|
4236
4236
|
newEmail: z.ZodString;
|
|
4237
4237
|
}, z.core.$strip>;
|
|
4238
4238
|
}, z.core.$strip>;
|
|
4239
|
-
declare const
|
|
4239
|
+
declare const updateUnverifiedAccountEmailContract: {
|
|
4240
4240
|
request: z.ZodObject<{
|
|
4241
4241
|
body: z.ZodObject<{
|
|
4242
4242
|
username: z.ZodString;
|
|
@@ -4245,22 +4245,22 @@ declare const changeEmailAndVerifyContract: {
|
|
|
4245
4245
|
}, z.core.$strip>;
|
|
4246
4246
|
}, z.core.$strip>;
|
|
4247
4247
|
};
|
|
4248
|
-
declare const
|
|
4248
|
+
declare const getVerificationStatusRequestSchema: z.ZodObject<{
|
|
4249
4249
|
query: z.ZodObject<{
|
|
4250
4250
|
username: z.ZodString;
|
|
4251
4251
|
}, z.core.$strip>;
|
|
4252
4252
|
}, z.core.$strip>;
|
|
4253
|
-
declare const
|
|
4253
|
+
declare const getVerificationStatusContract: {
|
|
4254
4254
|
request: z.ZodObject<{
|
|
4255
4255
|
query: z.ZodObject<{
|
|
4256
4256
|
username: z.ZodString;
|
|
4257
4257
|
}, z.core.$strip>;
|
|
4258
4258
|
}, z.core.$strip>;
|
|
4259
4259
|
};
|
|
4260
|
-
type
|
|
4261
|
-
type
|
|
4262
|
-
type
|
|
4263
|
-
type
|
|
4260
|
+
type VerifyEmailQuery = QueryOf<typeof verifyEmailContract>;
|
|
4261
|
+
type CreateVerificationEmailBody = BodyOf<typeof createVerificationEmailContract>;
|
|
4262
|
+
type UpdateUnverifiedAccountEmailBody = BodyOf<typeof updateUnverifiedAccountEmailContract>;
|
|
4263
|
+
type GetVerificationStatusQuery = QueryOf<typeof getVerificationStatusContract>;
|
|
4264
4264
|
|
|
4265
4265
|
/** Claims carried by an email-verification token. */
|
|
4266
4266
|
declare const emailVerifyPayloadDtoSchema: z.ZodObject<{
|
|
@@ -4337,19 +4337,19 @@ type UserByIdentifierRowQueryDto = z.infer<typeof userByIdentifierRowQueryDtoSch
|
|
|
4337
4337
|
type UserByUsernameRawQueryDto = z.infer<typeof userByUsernameRawQueryDtoSchema>;
|
|
4338
4338
|
type UserByUsernameRowQueryDto = z.infer<typeof userByUsernameRowQueryDtoSchema>;
|
|
4339
4339
|
|
|
4340
|
-
declare const
|
|
4340
|
+
declare const listExercisesResponseSchema: zod_v4.ZodRecord<zod_v4.ZodString, zod_v4.ZodArray<zod_v4.ZodObject<{
|
|
4341
4341
|
id: zod_v4.ZodInt;
|
|
4342
4342
|
name: zod_v4.ZodString;
|
|
4343
4343
|
specificTargetMuscle: zod_v4.ZodString;
|
|
4344
4344
|
}, zod_v4_core.$strip>>>;
|
|
4345
|
-
declare const
|
|
4345
|
+
declare const listExercisesContract: {
|
|
4346
4346
|
response: zod_v4.ZodRecord<zod_v4.ZodString, zod_v4.ZodArray<zod_v4.ZodObject<{
|
|
4347
4347
|
id: zod_v4.ZodInt;
|
|
4348
4348
|
name: zod_v4.ZodString;
|
|
4349
4349
|
specificTargetMuscle: zod_v4.ZodString;
|
|
4350
4350
|
}, zod_v4_core.$strip>>>;
|
|
4351
4351
|
};
|
|
4352
|
-
type
|
|
4352
|
+
type ListExercisesResponse = ResponseOf<typeof listExercisesContract>;
|
|
4353
4353
|
|
|
4354
4354
|
/** Exercise row included in the muscle-grouped exercise query result. */
|
|
4355
4355
|
declare const getAllExercisesExerciseQueryDtoSchema: z.ZodObject<{
|
|
@@ -4377,12 +4377,12 @@ type GetAllExercisesExerciseQueryDto = z.infer<typeof getAllExercisesExerciseQue
|
|
|
4377
4377
|
type ExercisesMapByMuscleQueryDto = z.infer<typeof exercisesMapByMuscleQueryDtoSchema>;
|
|
4378
4378
|
type ExerciseMapByMuscleRowQueryDto = z.infer<typeof exerciseMapByMuscleRowQueryDtoSchema>;
|
|
4379
4379
|
|
|
4380
|
-
declare const
|
|
4380
|
+
declare const listMessagesRequestSchema: z.ZodObject<{
|
|
4381
4381
|
query: z.ZodObject<{
|
|
4382
4382
|
tz: z.ZodString;
|
|
4383
4383
|
}, z.core.$strip>;
|
|
4384
4384
|
}, z.core.$strip>;
|
|
4385
|
-
declare const
|
|
4385
|
+
declare const listMessagesResponseSchema: z.ZodObject<{
|
|
4386
4386
|
messages: z.ZodArray<z.ZodObject<{
|
|
4387
4387
|
id: z.ZodUUID;
|
|
4388
4388
|
subject: z.ZodString;
|
|
@@ -4393,7 +4393,7 @@ declare const getAllUserMessagesResponseSchema: z.ZodObject<{
|
|
|
4393
4393
|
senderProfilePicPath: z.ZodNullable<z.ZodString>;
|
|
4394
4394
|
}, z.core.$strip>>;
|
|
4395
4395
|
}, z.core.$strip>;
|
|
4396
|
-
declare const
|
|
4396
|
+
declare const listMessagesContract: {
|
|
4397
4397
|
request: z.ZodObject<{
|
|
4398
4398
|
query: z.ZodObject<{
|
|
4399
4399
|
tz: z.ZodString;
|
|
@@ -4411,8 +4411,8 @@ declare const getAllUserMessagesContract: {
|
|
|
4411
4411
|
}, z.core.$strip>>;
|
|
4412
4412
|
}, z.core.$strip>;
|
|
4413
4413
|
};
|
|
4414
|
-
type
|
|
4415
|
-
type
|
|
4414
|
+
type ListMessagesQuery = QueryOf<typeof listMessagesContract>;
|
|
4415
|
+
type ListMessagesResponse = ResponseOf<typeof listMessagesContract>;
|
|
4416
4416
|
declare const markMessageAsReadRequestSchema: z.ZodObject<{
|
|
4417
4417
|
params: z.ZodObject<{
|
|
4418
4418
|
id: z.ZodUUID;
|
|
@@ -4737,28 +4737,28 @@ type CreatedUserRawQueryDto = z.infer<typeof createdUserRawQueryDtoSchema>;
|
|
|
4737
4737
|
type CreatedUserRowQueryDto = z.infer<typeof createdUserRowQueryDtoSchema>;
|
|
4738
4738
|
type UserExistsQueryDto = z.infer<typeof userExistsQueryDtoSchema>;
|
|
4739
4739
|
|
|
4740
|
-
declare const
|
|
4740
|
+
declare const replacePushTokenRequestSchema: z.ZodObject<{
|
|
4741
4741
|
body: z.ZodObject<{
|
|
4742
4742
|
token: z.ZodString;
|
|
4743
4743
|
}, z.core.$strip>;
|
|
4744
4744
|
}, z.core.$strip>;
|
|
4745
|
-
declare const
|
|
4745
|
+
declare const replacePushTokenContract: {
|
|
4746
4746
|
request: z.ZodObject<{
|
|
4747
4747
|
body: z.ZodObject<{
|
|
4748
4748
|
token: z.ZodString;
|
|
4749
4749
|
}, z.core.$strip>;
|
|
4750
4750
|
}, z.core.$strip>;
|
|
4751
4751
|
};
|
|
4752
|
-
type
|
|
4752
|
+
type ReplacePushTokenBody = BodyOf<typeof replacePushTokenContract>;
|
|
4753
4753
|
|
|
4754
|
-
declare const
|
|
4754
|
+
declare const updateCurrentUserRequestSchema: z.ZodObject<{
|
|
4755
4755
|
body: z.ZodObject<{
|
|
4756
4756
|
username: z.ZodOptional<z.ZodString>;
|
|
4757
4757
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4758
4758
|
email: z.ZodOptional<z.ZodString>;
|
|
4759
4759
|
}, z.core.$strip>;
|
|
4760
4760
|
}, z.core.$strip>;
|
|
4761
|
-
declare const
|
|
4761
|
+
declare const updateCurrentUserResponseSchema: z.ZodObject<{
|
|
4762
4762
|
message: z.ZodString;
|
|
4763
4763
|
emailChanged: z.ZodBoolean;
|
|
4764
4764
|
user: z.ZodObject<{
|
|
@@ -4779,7 +4779,7 @@ declare const updateAuthenticatedUserResponseSchema: z.ZodObject<{
|
|
|
4779
4779
|
lastLogin: z.ZodNullable<z.ZodString>;
|
|
4780
4780
|
}, z.core.$strip>;
|
|
4781
4781
|
}, z.core.$strip>;
|
|
4782
|
-
declare const
|
|
4782
|
+
declare const updateCurrentUserContract: {
|
|
4783
4783
|
request: z.ZodObject<{
|
|
4784
4784
|
body: z.ZodObject<{
|
|
4785
4785
|
username: z.ZodOptional<z.ZodString>;
|
|
@@ -4849,7 +4849,7 @@ declare const userDataContract: {
|
|
|
4849
4849
|
}, z.core.$strip>;
|
|
4850
4850
|
}, z.core.$strip>;
|
|
4851
4851
|
};
|
|
4852
|
-
declare const
|
|
4852
|
+
declare const getCurrentUserResponseSchema: z.ZodObject<{
|
|
4853
4853
|
id: z.ZodUUID;
|
|
4854
4854
|
username: z.ZodString;
|
|
4855
4855
|
email: z.ZodString;
|
|
@@ -4866,7 +4866,7 @@ declare const getAuthenticatedUserByIdResponseSchema: z.ZodObject<{
|
|
|
4866
4866
|
authProvider: z.ZodString;
|
|
4867
4867
|
lastLogin: z.ZodNullable<z.ZodString>;
|
|
4868
4868
|
}, z.core.$strip>;
|
|
4869
|
-
declare const
|
|
4869
|
+
declare const getCurrentUserContract: {
|
|
4870
4870
|
response: z.ZodObject<{
|
|
4871
4871
|
id: z.ZodUUID;
|
|
4872
4872
|
username: z.ZodString;
|
|
@@ -4885,36 +4885,36 @@ declare const getAuthenticatedUserByIdContract: {
|
|
|
4885
4885
|
lastLogin: z.ZodNullable<z.ZodString>;
|
|
4886
4886
|
}, z.core.$strip>;
|
|
4887
4887
|
};
|
|
4888
|
-
declare const
|
|
4888
|
+
declare const deleteProfilePictureRequestSchema: z.ZodObject<{
|
|
4889
4889
|
body: z.ZodObject<{
|
|
4890
4890
|
profilePicPath: z.ZodString;
|
|
4891
4891
|
}, z.core.$strip>;
|
|
4892
4892
|
}, z.core.$strip>;
|
|
4893
|
-
declare const
|
|
4893
|
+
declare const deleteProfilePictureContract: {
|
|
4894
4894
|
request: z.ZodObject<{
|
|
4895
4895
|
body: z.ZodObject<{
|
|
4896
4896
|
profilePicPath: z.ZodString;
|
|
4897
4897
|
}, z.core.$strip>;
|
|
4898
4898
|
}, z.core.$strip>;
|
|
4899
4899
|
};
|
|
4900
|
-
declare const
|
|
4900
|
+
declare const replaceProfilePictureResponseSchema: z.ZodObject<{
|
|
4901
4901
|
profilePicPath: z.ZodString;
|
|
4902
4902
|
url: z.ZodString;
|
|
4903
4903
|
message: z.ZodString;
|
|
4904
4904
|
}, z.core.$strip>;
|
|
4905
|
-
declare const
|
|
4905
|
+
declare const replaceProfilePictureContract: {
|
|
4906
4906
|
response: z.ZodObject<{
|
|
4907
4907
|
profilePicPath: z.ZodString;
|
|
4908
4908
|
url: z.ZodString;
|
|
4909
4909
|
message: z.ZodString;
|
|
4910
4910
|
}, z.core.$strip>;
|
|
4911
4911
|
};
|
|
4912
|
-
type
|
|
4913
|
-
type
|
|
4912
|
+
type UpdateCurrentUserBody = BodyOf<typeof updateCurrentUserContract>;
|
|
4913
|
+
type UpdateCurrentUserResponse = ResponseOf<typeof updateCurrentUserContract>;
|
|
4914
4914
|
type UserDataResponse = ResponseOf<typeof userDataContract>;
|
|
4915
|
-
type
|
|
4916
|
-
type
|
|
4917
|
-
type
|
|
4915
|
+
type GetCurrentUserResponse = ResponseOf<typeof getCurrentUserContract>;
|
|
4916
|
+
type DeleteProfilePictureBody = BodyOf<typeof deleteProfilePictureContract>;
|
|
4917
|
+
type ReplaceProfilePictureResponse = ResponseOf<typeof replaceProfilePictureContract>;
|
|
4918
4918
|
|
|
4919
4919
|
/** Fields consumed by the authenticated-user update query. */
|
|
4920
4920
|
declare const authenticatedUserForUpdateQueryDtoSchema: z.ZodObject<{
|
|
@@ -4993,19 +4993,19 @@ type UserConflictQueryDto = z.infer<typeof userConflictQueryDtoSchema>;
|
|
|
4993
4993
|
type UserMessageIdentityQueryDto = z.infer<typeof userMessageIdentityQueryDtoSchema>;
|
|
4994
4994
|
type UserProfilePicQueryDto = z.infer<typeof userProfilePicQueryDtoSchema>;
|
|
4995
4995
|
|
|
4996
|
-
declare const
|
|
4996
|
+
declare const createVideoUploadUrlRequestSchema: z.ZodObject<{
|
|
4997
4997
|
body: z.ZodObject<{
|
|
4998
4998
|
exercise: z.ZodString;
|
|
4999
4999
|
fileType: z.ZodString;
|
|
5000
5000
|
jobId: z.ZodString;
|
|
5001
5001
|
}, z.core.$strip>;
|
|
5002
5002
|
}, z.core.$strip>;
|
|
5003
|
-
declare const
|
|
5003
|
+
declare const createVideoUploadUrlResponseSchema: z.ZodObject<{
|
|
5004
5004
|
uploadUrl: z.ZodString;
|
|
5005
5005
|
fileKey: z.ZodString;
|
|
5006
5006
|
requestId: z.ZodString;
|
|
5007
5007
|
}, z.core.$strip>;
|
|
5008
|
-
declare const
|
|
5008
|
+
declare const createVideoUploadUrlContract: {
|
|
5009
5009
|
request: z.ZodObject<{
|
|
5010
5010
|
body: z.ZodObject<{
|
|
5011
5011
|
exercise: z.ZodString;
|
|
@@ -5019,8 +5019,8 @@ declare const getPresignedUrlFromS3Contract: {
|
|
|
5019
5019
|
requestId: z.ZodString;
|
|
5020
5020
|
}, z.core.$strip>;
|
|
5021
5021
|
};
|
|
5022
|
-
type
|
|
5023
|
-
type
|
|
5022
|
+
type CreateVideoUploadUrlBody = BodyOf<typeof createVideoUploadUrlContract>;
|
|
5023
|
+
type CreateVideoUploadUrlResponse = ResponseOf<typeof createVideoUploadUrlContract>;
|
|
5024
5024
|
|
|
5025
5025
|
/** Parameters used to enqueue a video-analysis job. */
|
|
5026
5026
|
declare const enqueueAnalyzeVideoParamsDtoSchema: z.ZodObject<{
|
|
@@ -5081,15 +5081,15 @@ type AnalyzeVideoPayloadDto = z.infer<typeof analyzeVideoPayloadDtoSchema>;
|
|
|
5081
5081
|
type SquatRepetitionDto = z.infer<typeof squatRepetitionDtoSchema>;
|
|
5082
5082
|
type AnalyzeVideoResultPayloadDto<TResult> = z.infer<ReturnType<typeof analyzeVideoResultPayloadDtoSchema<z.ZodType<TResult>>>>;
|
|
5083
5083
|
|
|
5084
|
-
declare const
|
|
5084
|
+
declare const createWebSocketTicketRequestSchema: z.ZodObject<{
|
|
5085
5085
|
body: z.ZodObject<{
|
|
5086
5086
|
username: z.ZodString;
|
|
5087
5087
|
}, z.core.$strip>;
|
|
5088
5088
|
}, z.core.$strip>;
|
|
5089
|
-
declare const
|
|
5089
|
+
declare const createWebSocketTicketResponseSchema: z.ZodObject<{
|
|
5090
5090
|
ticket: z.ZodString;
|
|
5091
5091
|
}, z.core.$strip>;
|
|
5092
|
-
declare const
|
|
5092
|
+
declare const createWebSocketTicketContract: {
|
|
5093
5093
|
request: z.ZodObject<{
|
|
5094
5094
|
body: z.ZodObject<{
|
|
5095
5095
|
username: z.ZodString;
|
|
@@ -5099,15 +5099,15 @@ declare const generateTicketContract: {
|
|
|
5099
5099
|
ticket: z.ZodString;
|
|
5100
5100
|
}, z.core.$strip>;
|
|
5101
5101
|
};
|
|
5102
|
-
type
|
|
5103
|
-
type
|
|
5102
|
+
type CreateWebSocketTicketBody = BodyOf<typeof createWebSocketTicketContract>;
|
|
5103
|
+
type CreateWebSocketTicketResponse = ResponseOf<typeof createWebSocketTicketContract>;
|
|
5104
5104
|
|
|
5105
|
-
declare const
|
|
5105
|
+
declare const getWorkoutPlanRequestSchema: z.ZodObject<{
|
|
5106
5106
|
query: z.ZodObject<{
|
|
5107
5107
|
tz: z.ZodOptional<z.ZodString>;
|
|
5108
5108
|
}, z.core.$strip>;
|
|
5109
5109
|
}, z.core.$strip>;
|
|
5110
|
-
declare const
|
|
5110
|
+
declare const getWorkoutPlanResponseSchema: z.ZodObject<{
|
|
5111
5111
|
workoutPlan: z.ZodNullable<z.ZodObject<{
|
|
5112
5112
|
id: z.ZodInt;
|
|
5113
5113
|
numberOfSplits: z.ZodNumber;
|
|
@@ -5122,6 +5122,7 @@ declare const getWholeUserWorkoutPlanResponseSchema: z.ZodObject<{
|
|
|
5122
5122
|
orderIndex: z.ZodInt;
|
|
5123
5123
|
createdAt: z.ZodString;
|
|
5124
5124
|
muscleGroup: z.ZodNullable<z.ZodString>;
|
|
5125
|
+
estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5125
5126
|
isActive: z.ZodBoolean;
|
|
5126
5127
|
exercises: z.ZodArray<z.ZodObject<{
|
|
5127
5128
|
exerciseToSplitId: z.ZodInt;
|
|
@@ -5139,7 +5140,7 @@ declare const getWholeUserWorkoutPlanResponseSchema: z.ZodObject<{
|
|
|
5139
5140
|
}, z.core.$strip>>>;
|
|
5140
5141
|
}, z.core.$strip>>;
|
|
5141
5142
|
}, z.core.$strip>;
|
|
5142
|
-
declare const
|
|
5143
|
+
declare const getWorkoutPlanContract: {
|
|
5143
5144
|
request: z.ZodObject<{
|
|
5144
5145
|
query: z.ZodObject<{
|
|
5145
5146
|
tz: z.ZodOptional<z.ZodString>;
|
|
@@ -5160,6 +5161,7 @@ declare const getWholeUserWorkoutPlanContract: {
|
|
|
5160
5161
|
orderIndex: z.ZodInt;
|
|
5161
5162
|
createdAt: z.ZodString;
|
|
5162
5163
|
muscleGroup: z.ZodNullable<z.ZodString>;
|
|
5164
|
+
estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5163
5165
|
isActive: z.ZodBoolean;
|
|
5164
5166
|
exercises: z.ZodArray<z.ZodObject<{
|
|
5165
5167
|
exerciseToSplitId: z.ZodInt;
|
|
@@ -5178,7 +5180,7 @@ declare const getWholeUserWorkoutPlanContract: {
|
|
|
5178
5180
|
}, z.core.$strip>>;
|
|
5179
5181
|
}, z.core.$strip>;
|
|
5180
5182
|
};
|
|
5181
|
-
declare const
|
|
5183
|
+
declare const replaceWorkoutPlanRequestSchema: z.ZodObject<{
|
|
5182
5184
|
body: z.ZodObject<{
|
|
5183
5185
|
workoutData: z.ZodArray<z.ZodObject<{
|
|
5184
5186
|
name: z.ZodString;
|
|
@@ -5194,7 +5196,7 @@ declare const addWorkoutRequestSchema: z.ZodObject<{
|
|
|
5194
5196
|
tz: z.ZodString;
|
|
5195
5197
|
}, z.core.$strip>;
|
|
5196
5198
|
}, z.core.$strip>;
|
|
5197
|
-
declare const
|
|
5199
|
+
declare const replaceWorkoutPlanResponseSchema: z.ZodObject<{
|
|
5198
5200
|
message: z.ZodString;
|
|
5199
5201
|
workoutPlan: z.ZodObject<{
|
|
5200
5202
|
id: z.ZodInt;
|
|
@@ -5210,6 +5212,7 @@ declare const addWorkoutResponseSchema: z.ZodObject<{
|
|
|
5210
5212
|
orderIndex: z.ZodInt;
|
|
5211
5213
|
createdAt: z.ZodString;
|
|
5212
5214
|
muscleGroup: z.ZodNullable<z.ZodString>;
|
|
5215
|
+
estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5213
5216
|
isActive: z.ZodBoolean;
|
|
5214
5217
|
exercises: z.ZodArray<z.ZodObject<{
|
|
5215
5218
|
exerciseToSplitId: z.ZodInt;
|
|
@@ -5227,7 +5230,7 @@ declare const addWorkoutResponseSchema: z.ZodObject<{
|
|
|
5227
5230
|
}, z.core.$strip>>>;
|
|
5228
5231
|
}, z.core.$strip>;
|
|
5229
5232
|
}, z.core.$strip>;
|
|
5230
|
-
declare const
|
|
5233
|
+
declare const replaceWorkoutPlanContract: {
|
|
5231
5234
|
request: z.ZodObject<{
|
|
5232
5235
|
body: z.ZodObject<{
|
|
5233
5236
|
workoutData: z.ZodArray<z.ZodObject<{
|
|
@@ -5260,6 +5263,7 @@ declare const addWorkoutContract: {
|
|
|
5260
5263
|
orderIndex: z.ZodInt;
|
|
5261
5264
|
createdAt: z.ZodString;
|
|
5262
5265
|
muscleGroup: z.ZodNullable<z.ZodString>;
|
|
5266
|
+
estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5263
5267
|
isActive: z.ZodBoolean;
|
|
5264
5268
|
exercises: z.ZodArray<z.ZodObject<{
|
|
5265
5269
|
exerciseToSplitId: z.ZodInt;
|
|
@@ -5278,10 +5282,10 @@ declare const addWorkoutContract: {
|
|
|
5278
5282
|
}, z.core.$strip>;
|
|
5279
5283
|
}, z.core.$strip>;
|
|
5280
5284
|
};
|
|
5281
|
-
type
|
|
5282
|
-
type
|
|
5283
|
-
type
|
|
5284
|
-
type
|
|
5285
|
+
type GetWorkoutPlanQuery = QueryOf<typeof getWorkoutPlanContract>;
|
|
5286
|
+
type GetWorkoutPlanResponse = ResponseOf<typeof getWorkoutPlanContract>;
|
|
5287
|
+
type ReplaceWorkoutPlanBody = BodyOf<typeof replaceWorkoutPlanContract>;
|
|
5288
|
+
type ReplaceWorkoutPlanResponse = ResponseOf<typeof replaceWorkoutPlanContract>;
|
|
5285
5289
|
|
|
5286
5290
|
/** Exercise input stored while adding a workout plan. */
|
|
5287
5291
|
declare const workoutExerciseInputQueryDtoSchema: z.ZodObject<{
|
|
@@ -5332,6 +5336,7 @@ declare const workoutSplitQueryDtoSchema: z.ZodObject<{
|
|
|
5332
5336
|
orderIndex: z.ZodInt;
|
|
5333
5337
|
createdAt: z.ZodString;
|
|
5334
5338
|
muscleGroup: z.ZodNullable<z.ZodString>;
|
|
5339
|
+
estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5335
5340
|
isActive: z.ZodBoolean;
|
|
5336
5341
|
exercises: z.ZodArray<z.ZodObject<{
|
|
5337
5342
|
exerciseToSplitId: z.ZodInt;
|
|
@@ -5362,6 +5367,7 @@ declare const wholeUserWorkoutPlanQueryDtoSchema: z.ZodObject<{
|
|
|
5362
5367
|
orderIndex: z.ZodInt;
|
|
5363
5368
|
createdAt: z.ZodString;
|
|
5364
5369
|
muscleGroup: z.ZodNullable<z.ZodString>;
|
|
5370
|
+
estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5365
5371
|
isActive: z.ZodBoolean;
|
|
5366
5372
|
exercises: z.ZodArray<z.ZodObject<{
|
|
5367
5373
|
exerciseToSplitId: z.ZodInt;
|
|
@@ -5400,105 +5406,15 @@ type WorkoutPlanIdQueryDto = z.infer<typeof workoutPlanIdQueryDtoSchema>;
|
|
|
5400
5406
|
type WorkoutSplitIdQueryDto = z.infer<typeof workoutSplitIdQueryDtoSchema>;
|
|
5401
5407
|
type ExerciseAssignmentIdQueryDto = z.infer<typeof exerciseAssignmentIdQueryDtoSchema>;
|
|
5402
5408
|
|
|
5403
|
-
declare const
|
|
5409
|
+
declare const getWorkoutHistoryRequestSchema: z.ZodObject<{
|
|
5404
5410
|
query: z.ZodObject<{
|
|
5405
5411
|
tz: z.ZodOptional<z.ZodString>;
|
|
5406
5412
|
}, z.core.$strip>;
|
|
5407
5413
|
}, z.core.$strip>;
|
|
5408
|
-
declare const
|
|
5409
|
-
byDate: z.ZodRecord<z.ZodString, z.
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
5413
|
-
setIndex: z.ZodInt;
|
|
5414
|
-
weight: z.ZodNumber;
|
|
5415
|
-
reps: z.ZodInt;
|
|
5416
|
-
}, z.core.$strip>>;
|
|
5417
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
5418
|
-
exerciseAssignment: z.ZodObject<{
|
|
5419
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5420
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5421
|
-
exerciseId: z.ZodInt;
|
|
5422
|
-
workoutSplitId: z.ZodInt;
|
|
5423
|
-
workoutSplitName: z.ZodString;
|
|
5424
|
-
exerciseName: z.ZodString;
|
|
5425
|
-
targetMuscle: z.ZodString;
|
|
5426
|
-
specificTargetMuscle: z.ZodString;
|
|
5427
|
-
}, z.core.$strip>;
|
|
5428
|
-
}, z.core.$strip>;
|
|
5429
|
-
}, z.core.$strip>>>;
|
|
5430
|
-
byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
5431
|
-
exerciseTracking: z.ZodObject<{
|
|
5432
|
-
exerciseTrackingId: z.ZodInt;
|
|
5433
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
5434
|
-
setIndex: z.ZodInt;
|
|
5435
|
-
weight: z.ZodNumber;
|
|
5436
|
-
reps: z.ZodInt;
|
|
5437
|
-
}, z.core.$strip>>;
|
|
5438
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
5439
|
-
exerciseAssignment: z.ZodObject<{
|
|
5440
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5441
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5442
|
-
exerciseId: z.ZodInt;
|
|
5443
|
-
workoutSplitId: z.ZodInt;
|
|
5444
|
-
workoutSplitName: z.ZodString;
|
|
5445
|
-
exerciseName: z.ZodString;
|
|
5446
|
-
targetMuscle: z.ZodString;
|
|
5447
|
-
specificTargetMuscle: z.ZodString;
|
|
5448
|
-
}, z.core.$strip>;
|
|
5449
|
-
}, z.core.$strip>;
|
|
5450
|
-
}, z.core.$strip>>>;
|
|
5451
|
-
bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
5452
|
-
exerciseTracking: z.ZodObject<{
|
|
5453
|
-
exerciseTrackingId: z.ZodInt;
|
|
5454
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
5455
|
-
setIndex: z.ZodInt;
|
|
5456
|
-
weight: z.ZodNumber;
|
|
5457
|
-
reps: z.ZodInt;
|
|
5458
|
-
}, z.core.$strip>>;
|
|
5459
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
5460
|
-
exerciseAssignment: z.ZodObject<{
|
|
5461
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5462
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5463
|
-
exerciseId: z.ZodInt;
|
|
5464
|
-
workoutSplitId: z.ZodInt;
|
|
5465
|
-
workoutSplitName: z.ZodString;
|
|
5466
|
-
exerciseName: z.ZodString;
|
|
5467
|
-
targetMuscle: z.ZodString;
|
|
5468
|
-
specificTargetMuscle: z.ZodString;
|
|
5469
|
-
}, z.core.$strip>;
|
|
5470
|
-
}, z.core.$strip>;
|
|
5471
|
-
}, z.core.$strip>>>;
|
|
5472
|
-
}, z.core.$strip>;
|
|
5473
|
-
declare const getExerciseTrackingContract: {
|
|
5474
|
-
request: z.ZodObject<{
|
|
5475
|
-
query: z.ZodObject<{
|
|
5476
|
-
tz: z.ZodOptional<z.ZodString>;
|
|
5477
|
-
}, z.core.$strip>;
|
|
5478
|
-
}, z.core.$strip>;
|
|
5479
|
-
response: z.ZodObject<{
|
|
5480
|
-
byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
5481
|
-
exerciseTracking: z.ZodObject<{
|
|
5482
|
-
exerciseTrackingId: z.ZodInt;
|
|
5483
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
5484
|
-
setIndex: z.ZodInt;
|
|
5485
|
-
weight: z.ZodNumber;
|
|
5486
|
-
reps: z.ZodInt;
|
|
5487
|
-
}, z.core.$strip>>;
|
|
5488
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
5489
|
-
exerciseAssignment: z.ZodObject<{
|
|
5490
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5491
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5492
|
-
exerciseId: z.ZodInt;
|
|
5493
|
-
workoutSplitId: z.ZodInt;
|
|
5494
|
-
workoutSplitName: z.ZodString;
|
|
5495
|
-
exerciseName: z.ZodString;
|
|
5496
|
-
targetMuscle: z.ZodString;
|
|
5497
|
-
specificTargetMuscle: z.ZodString;
|
|
5498
|
-
}, z.core.$strip>;
|
|
5499
|
-
}, z.core.$strip>;
|
|
5500
|
-
}, z.core.$strip>>>;
|
|
5501
|
-
byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
5414
|
+
declare const getWorkoutHistoryResponseSchema: z.ZodObject<{
|
|
5415
|
+
byDate: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5416
|
+
durationMins: z.ZodNumber;
|
|
5417
|
+
exerciseTracked: z.ZodArray<z.ZodObject<{
|
|
5502
5418
|
exerciseTracking: z.ZodObject<{
|
|
5503
5419
|
exerciseTrackingId: z.ZodInt;
|
|
5504
5420
|
sets: z.ZodArray<z.ZodObject<{
|
|
@@ -5518,31 +5434,43 @@ declare const getExerciseTrackingContract: {
|
|
|
5518
5434
|
specificTargetMuscle: z.ZodString;
|
|
5519
5435
|
}, z.core.$strip>;
|
|
5520
5436
|
}, z.core.$strip>;
|
|
5521
|
-
}, z.core.$strip
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5437
|
+
}, z.core.$strip>>;
|
|
5438
|
+
}, z.core.$strip>>;
|
|
5439
|
+
}, z.core.$strip>;
|
|
5440
|
+
declare const getWorkoutHistoryContract: {
|
|
5441
|
+
request: z.ZodObject<{
|
|
5442
|
+
query: z.ZodObject<{
|
|
5443
|
+
tz: z.ZodOptional<z.ZodString>;
|
|
5444
|
+
}, z.core.$strip>;
|
|
5445
|
+
}, z.core.$strip>;
|
|
5446
|
+
response: z.ZodObject<{
|
|
5447
|
+
byDate: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5448
|
+
durationMins: z.ZodNumber;
|
|
5449
|
+
exerciseTracked: z.ZodArray<z.ZodObject<{
|
|
5450
|
+
exerciseTracking: z.ZodObject<{
|
|
5451
|
+
exerciseTrackingId: z.ZodInt;
|
|
5452
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5453
|
+
setIndex: z.ZodInt;
|
|
5454
|
+
weight: z.ZodNumber;
|
|
5455
|
+
reps: z.ZodInt;
|
|
5456
|
+
}, z.core.$strip>>;
|
|
5457
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5458
|
+
exerciseAssignment: z.ZodObject<{
|
|
5459
|
+
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5460
|
+
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5461
|
+
exerciseId: z.ZodInt;
|
|
5462
|
+
workoutSplitId: z.ZodInt;
|
|
5463
|
+
workoutSplitName: z.ZodString;
|
|
5464
|
+
exerciseName: z.ZodString;
|
|
5465
|
+
targetMuscle: z.ZodString;
|
|
5466
|
+
specificTargetMuscle: z.ZodString;
|
|
5467
|
+
}, z.core.$strip>;
|
|
5540
5468
|
}, z.core.$strip>;
|
|
5541
|
-
}, z.core.$strip
|
|
5542
|
-
}, z.core.$strip
|
|
5469
|
+
}, z.core.$strip>>;
|
|
5470
|
+
}, z.core.$strip>>;
|
|
5543
5471
|
}, z.core.$strip>;
|
|
5544
5472
|
};
|
|
5545
|
-
declare const
|
|
5473
|
+
declare const getWorkoutStatisticsResponseSchema: z.ZodObject<{
|
|
5546
5474
|
workoutCount: z.ZodCoercedNumber<unknown>;
|
|
5547
5475
|
hasExerciseTracking: z.ZodBoolean;
|
|
5548
5476
|
nextWorkoutSplit: z.ZodNullable<z.ZodObject<{
|
|
@@ -5572,7 +5500,7 @@ declare const getExerciseTrackingStatsResponseSchema: z.ZodObject<{
|
|
|
5572
5500
|
estimatedOneRepMax: z.ZodNullable<z.ZodNumber>;
|
|
5573
5501
|
}, z.core.$strip>>;
|
|
5574
5502
|
}, z.core.$strip>;
|
|
5575
|
-
declare const
|
|
5503
|
+
declare const getWorkoutStatisticsContract: {
|
|
5576
5504
|
request: z.ZodObject<{
|
|
5577
5505
|
query: z.ZodObject<{
|
|
5578
5506
|
tz: z.ZodOptional<z.ZodString>;
|
|
@@ -5609,7 +5537,7 @@ declare const getExerciseTrackingStatsContract: {
|
|
|
5609
5537
|
}, z.core.$strip>>;
|
|
5610
5538
|
}, z.core.$strip>;
|
|
5611
5539
|
};
|
|
5612
|
-
declare const
|
|
5540
|
+
declare const createWorkoutSessionRequestSchema: z.ZodObject<{
|
|
5613
5541
|
body: z.ZodObject<{
|
|
5614
5542
|
workout: z.ZodArray<z.ZodObject<{
|
|
5615
5543
|
trackedSets: z.ZodArray<z.ZodObject<{
|
|
@@ -5627,7 +5555,7 @@ declare const finishWorkoutRequestSchema: z.ZodObject<{
|
|
|
5627
5555
|
workoutEndUtc: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5628
5556
|
}, z.core.$strip>;
|
|
5629
5557
|
}, z.core.$strip>;
|
|
5630
|
-
declare const
|
|
5558
|
+
declare const createWorkoutSessionResponseSchema: z.ZodObject<{
|
|
5631
5559
|
trackingStats: z.ZodObject<{
|
|
5632
5560
|
workoutCount: z.ZodCoercedNumber<unknown>;
|
|
5633
5561
|
hasExerciseTracking: z.ZodBoolean;
|
|
@@ -5659,72 +5587,33 @@ declare const finishUserWorkoutResponseSchema: z.ZodObject<{
|
|
|
5659
5587
|
}, z.core.$strip>>;
|
|
5660
5588
|
}, z.core.$strip>;
|
|
5661
5589
|
trackingMaps: z.ZodObject<{
|
|
5662
|
-
byDate: z.ZodRecord<z.ZodString, z.
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
5684
|
-
exerciseTracking: z.ZodObject<{
|
|
5685
|
-
exerciseTrackingId: z.ZodInt;
|
|
5686
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
5687
|
-
setIndex: z.ZodInt;
|
|
5688
|
-
weight: z.ZodNumber;
|
|
5689
|
-
reps: z.ZodInt;
|
|
5690
|
-
}, z.core.$strip>>;
|
|
5691
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
5692
|
-
exerciseAssignment: z.ZodObject<{
|
|
5693
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5694
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5695
|
-
exerciseId: z.ZodInt;
|
|
5696
|
-
workoutSplitId: z.ZodInt;
|
|
5697
|
-
workoutSplitName: z.ZodString;
|
|
5698
|
-
exerciseName: z.ZodString;
|
|
5699
|
-
targetMuscle: z.ZodString;
|
|
5700
|
-
specificTargetMuscle: z.ZodString;
|
|
5701
|
-
}, z.core.$strip>;
|
|
5702
|
-
}, z.core.$strip>;
|
|
5703
|
-
}, z.core.$strip>>>;
|
|
5704
|
-
bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
5705
|
-
exerciseTracking: z.ZodObject<{
|
|
5706
|
-
exerciseTrackingId: z.ZodInt;
|
|
5707
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
5708
|
-
setIndex: z.ZodInt;
|
|
5709
|
-
weight: z.ZodNumber;
|
|
5710
|
-
reps: z.ZodInt;
|
|
5711
|
-
}, z.core.$strip>>;
|
|
5712
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
5713
|
-
exerciseAssignment: z.ZodObject<{
|
|
5714
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5715
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5716
|
-
exerciseId: z.ZodInt;
|
|
5717
|
-
workoutSplitId: z.ZodInt;
|
|
5718
|
-
workoutSplitName: z.ZodString;
|
|
5719
|
-
exerciseName: z.ZodString;
|
|
5720
|
-
targetMuscle: z.ZodString;
|
|
5721
|
-
specificTargetMuscle: z.ZodString;
|
|
5590
|
+
byDate: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5591
|
+
durationMins: z.ZodNumber;
|
|
5592
|
+
exerciseTracked: z.ZodArray<z.ZodObject<{
|
|
5593
|
+
exerciseTracking: z.ZodObject<{
|
|
5594
|
+
exerciseTrackingId: z.ZodInt;
|
|
5595
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5596
|
+
setIndex: z.ZodInt;
|
|
5597
|
+
weight: z.ZodNumber;
|
|
5598
|
+
reps: z.ZodInt;
|
|
5599
|
+
}, z.core.$strip>>;
|
|
5600
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5601
|
+
exerciseAssignment: z.ZodObject<{
|
|
5602
|
+
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5603
|
+
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5604
|
+
exerciseId: z.ZodInt;
|
|
5605
|
+
workoutSplitId: z.ZodInt;
|
|
5606
|
+
workoutSplitName: z.ZodString;
|
|
5607
|
+
exerciseName: z.ZodString;
|
|
5608
|
+
targetMuscle: z.ZodString;
|
|
5609
|
+
specificTargetMuscle: z.ZodString;
|
|
5610
|
+
}, z.core.$strip>;
|
|
5722
5611
|
}, z.core.$strip>;
|
|
5723
|
-
}, z.core.$strip
|
|
5724
|
-
}, z.core.$strip
|
|
5612
|
+
}, z.core.$strip>>;
|
|
5613
|
+
}, z.core.$strip>>;
|
|
5725
5614
|
}, z.core.$strip>;
|
|
5726
5615
|
}, z.core.$strip>;
|
|
5727
|
-
declare const
|
|
5616
|
+
declare const createWorkoutSessionContract: {
|
|
5728
5617
|
request: z.ZodObject<{
|
|
5729
5618
|
body: z.ZodObject<{
|
|
5730
5619
|
workout: z.ZodArray<z.ZodObject<{
|
|
@@ -5775,77 +5664,38 @@ declare const finishUserWorkoutContract: {
|
|
|
5775
5664
|
}, z.core.$strip>>;
|
|
5776
5665
|
}, z.core.$strip>;
|
|
5777
5666
|
trackingMaps: z.ZodObject<{
|
|
5778
|
-
byDate: z.ZodRecord<z.ZodString, z.
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
5800
|
-
exerciseTracking: z.ZodObject<{
|
|
5801
|
-
exerciseTrackingId: z.ZodInt;
|
|
5802
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
5803
|
-
setIndex: z.ZodInt;
|
|
5804
|
-
weight: z.ZodNumber;
|
|
5805
|
-
reps: z.ZodInt;
|
|
5806
|
-
}, z.core.$strip>>;
|
|
5807
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
5808
|
-
exerciseAssignment: z.ZodObject<{
|
|
5809
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5810
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5811
|
-
exerciseId: z.ZodInt;
|
|
5812
|
-
workoutSplitId: z.ZodInt;
|
|
5813
|
-
workoutSplitName: z.ZodString;
|
|
5814
|
-
exerciseName: z.ZodString;
|
|
5815
|
-
targetMuscle: z.ZodString;
|
|
5816
|
-
specificTargetMuscle: z.ZodString;
|
|
5817
|
-
}, z.core.$strip>;
|
|
5818
|
-
}, z.core.$strip>;
|
|
5819
|
-
}, z.core.$strip>>>;
|
|
5820
|
-
bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
5821
|
-
exerciseTracking: z.ZodObject<{
|
|
5822
|
-
exerciseTrackingId: z.ZodInt;
|
|
5823
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
5824
|
-
setIndex: z.ZodInt;
|
|
5825
|
-
weight: z.ZodNumber;
|
|
5826
|
-
reps: z.ZodInt;
|
|
5827
|
-
}, z.core.$strip>>;
|
|
5828
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
5829
|
-
exerciseAssignment: z.ZodObject<{
|
|
5830
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5831
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5832
|
-
exerciseId: z.ZodInt;
|
|
5833
|
-
workoutSplitId: z.ZodInt;
|
|
5834
|
-
workoutSplitName: z.ZodString;
|
|
5835
|
-
exerciseName: z.ZodString;
|
|
5836
|
-
targetMuscle: z.ZodString;
|
|
5837
|
-
specificTargetMuscle: z.ZodString;
|
|
5667
|
+
byDate: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5668
|
+
durationMins: z.ZodNumber;
|
|
5669
|
+
exerciseTracked: z.ZodArray<z.ZodObject<{
|
|
5670
|
+
exerciseTracking: z.ZodObject<{
|
|
5671
|
+
exerciseTrackingId: z.ZodInt;
|
|
5672
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5673
|
+
setIndex: z.ZodInt;
|
|
5674
|
+
weight: z.ZodNumber;
|
|
5675
|
+
reps: z.ZodInt;
|
|
5676
|
+
}, z.core.$strip>>;
|
|
5677
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5678
|
+
exerciseAssignment: z.ZodObject<{
|
|
5679
|
+
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5680
|
+
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5681
|
+
exerciseId: z.ZodInt;
|
|
5682
|
+
workoutSplitId: z.ZodInt;
|
|
5683
|
+
workoutSplitName: z.ZodString;
|
|
5684
|
+
exerciseName: z.ZodString;
|
|
5685
|
+
targetMuscle: z.ZodString;
|
|
5686
|
+
specificTargetMuscle: z.ZodString;
|
|
5687
|
+
}, z.core.$strip>;
|
|
5838
5688
|
}, z.core.$strip>;
|
|
5839
|
-
}, z.core.$strip
|
|
5840
|
-
}, z.core.$strip
|
|
5689
|
+
}, z.core.$strip>>;
|
|
5690
|
+
}, z.core.$strip>>;
|
|
5841
5691
|
}, z.core.$strip>;
|
|
5842
5692
|
}, z.core.$strip>;
|
|
5843
5693
|
};
|
|
5844
|
-
type
|
|
5845
|
-
type
|
|
5846
|
-
type
|
|
5847
|
-
type
|
|
5848
|
-
type
|
|
5694
|
+
type GetWorkoutHistoryQuery = QueryOf<typeof getWorkoutHistoryContract>;
|
|
5695
|
+
type GetWorkoutHistoryResponse = ResponseOf<typeof getWorkoutHistoryContract>;
|
|
5696
|
+
type GetWorkoutStatisticsResponse = ResponseOf<typeof getWorkoutStatisticsContract>;
|
|
5697
|
+
type CreateWorkoutSessionBody = BodyOf<typeof createWorkoutSessionContract>;
|
|
5698
|
+
type CreateWorkoutSessionResponse = ResponseOf<typeof createWorkoutSessionContract>;
|
|
5849
5699
|
|
|
5850
5700
|
declare const finishedWorkoutEntryQueryDtoSchema: z.ZodObject<{
|
|
5851
5701
|
trackedSets: z.ZodArray<z.ZodObject<{
|
|
@@ -5978,69 +5828,30 @@ declare const exerciseTrackingStatsQueryDtoSchema: z.ZodObject<{
|
|
|
5978
5828
|
}, z.core.$strip>>;
|
|
5979
5829
|
}, z.core.$strip>;
|
|
5980
5830
|
declare const exerciseTrackingMapsQueryDtoSchema: z.ZodObject<{
|
|
5981
|
-
byDate: z.ZodRecord<z.ZodString, z.
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6003
|
-
exerciseTracking: z.ZodObject<{
|
|
6004
|
-
exerciseTrackingId: z.ZodInt;
|
|
6005
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
6006
|
-
setIndex: z.ZodInt;
|
|
6007
|
-
weight: z.ZodNumber;
|
|
6008
|
-
reps: z.ZodInt;
|
|
6009
|
-
}, z.core.$strip>>;
|
|
6010
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
6011
|
-
exerciseAssignment: z.ZodObject<{
|
|
6012
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
6013
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
6014
|
-
exerciseId: z.ZodInt;
|
|
6015
|
-
workoutSplitId: z.ZodInt;
|
|
6016
|
-
workoutSplitName: z.ZodString;
|
|
6017
|
-
exerciseName: z.ZodString;
|
|
6018
|
-
targetMuscle: z.ZodString;
|
|
6019
|
-
specificTargetMuscle: z.ZodString;
|
|
6020
|
-
}, z.core.$strip>;
|
|
6021
|
-
}, z.core.$strip>;
|
|
6022
|
-
}, z.core.$strip>>>;
|
|
6023
|
-
bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6024
|
-
exerciseTracking: z.ZodObject<{
|
|
6025
|
-
exerciseTrackingId: z.ZodInt;
|
|
6026
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
6027
|
-
setIndex: z.ZodInt;
|
|
6028
|
-
weight: z.ZodNumber;
|
|
6029
|
-
reps: z.ZodInt;
|
|
6030
|
-
}, z.core.$strip>>;
|
|
6031
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
6032
|
-
exerciseAssignment: z.ZodObject<{
|
|
6033
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
6034
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
6035
|
-
exerciseId: z.ZodInt;
|
|
6036
|
-
workoutSplitId: z.ZodInt;
|
|
6037
|
-
workoutSplitName: z.ZodString;
|
|
6038
|
-
exerciseName: z.ZodString;
|
|
6039
|
-
targetMuscle: z.ZodString;
|
|
6040
|
-
specificTargetMuscle: z.ZodString;
|
|
5831
|
+
byDate: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5832
|
+
durationMins: z.ZodNumber;
|
|
5833
|
+
exerciseTracked: z.ZodArray<z.ZodObject<{
|
|
5834
|
+
exerciseTracking: z.ZodObject<{
|
|
5835
|
+
exerciseTrackingId: z.ZodInt;
|
|
5836
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5837
|
+
setIndex: z.ZodInt;
|
|
5838
|
+
weight: z.ZodNumber;
|
|
5839
|
+
reps: z.ZodInt;
|
|
5840
|
+
}, z.core.$strip>>;
|
|
5841
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5842
|
+
exerciseAssignment: z.ZodObject<{
|
|
5843
|
+
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5844
|
+
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5845
|
+
exerciseId: z.ZodInt;
|
|
5846
|
+
workoutSplitId: z.ZodInt;
|
|
5847
|
+
workoutSplitName: z.ZodString;
|
|
5848
|
+
exerciseName: z.ZodString;
|
|
5849
|
+
targetMuscle: z.ZodString;
|
|
5850
|
+
specificTargetMuscle: z.ZodString;
|
|
5851
|
+
}, z.core.$strip>;
|
|
6041
5852
|
}, z.core.$strip>;
|
|
6042
|
-
}, z.core.$strip
|
|
6043
|
-
}, z.core.$strip
|
|
5853
|
+
}, z.core.$strip>>;
|
|
5854
|
+
}, z.core.$strip>>;
|
|
6044
5855
|
}, z.core.$strip>;
|
|
6045
5856
|
declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
|
|
6046
5857
|
trackingStats: z.ZodObject<{
|
|
@@ -6074,69 +5885,30 @@ declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
|
|
|
6074
5885
|
}, z.core.$strip>>;
|
|
6075
5886
|
}, z.core.$strip>;
|
|
6076
5887
|
trackingMaps: z.ZodObject<{
|
|
6077
|
-
byDate: z.ZodRecord<z.ZodString, z.
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6099
|
-
exerciseTracking: z.ZodObject<{
|
|
6100
|
-
exerciseTrackingId: z.ZodInt;
|
|
6101
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
6102
|
-
setIndex: z.ZodInt;
|
|
6103
|
-
weight: z.ZodNumber;
|
|
6104
|
-
reps: z.ZodInt;
|
|
6105
|
-
}, z.core.$strip>>;
|
|
6106
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
6107
|
-
exerciseAssignment: z.ZodObject<{
|
|
6108
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
6109
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
6110
|
-
exerciseId: z.ZodInt;
|
|
6111
|
-
workoutSplitId: z.ZodInt;
|
|
6112
|
-
workoutSplitName: z.ZodString;
|
|
6113
|
-
exerciseName: z.ZodString;
|
|
6114
|
-
targetMuscle: z.ZodString;
|
|
6115
|
-
specificTargetMuscle: z.ZodString;
|
|
6116
|
-
}, z.core.$strip>;
|
|
6117
|
-
}, z.core.$strip>;
|
|
6118
|
-
}, z.core.$strip>>>;
|
|
6119
|
-
bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6120
|
-
exerciseTracking: z.ZodObject<{
|
|
6121
|
-
exerciseTrackingId: z.ZodInt;
|
|
6122
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
6123
|
-
setIndex: z.ZodInt;
|
|
6124
|
-
weight: z.ZodNumber;
|
|
6125
|
-
reps: z.ZodInt;
|
|
6126
|
-
}, z.core.$strip>>;
|
|
6127
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
6128
|
-
exerciseAssignment: z.ZodObject<{
|
|
6129
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
6130
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
6131
|
-
exerciseId: z.ZodInt;
|
|
6132
|
-
workoutSplitId: z.ZodInt;
|
|
6133
|
-
workoutSplitName: z.ZodString;
|
|
6134
|
-
exerciseName: z.ZodString;
|
|
6135
|
-
targetMuscle: z.ZodString;
|
|
6136
|
-
specificTargetMuscle: z.ZodString;
|
|
5888
|
+
byDate: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5889
|
+
durationMins: z.ZodNumber;
|
|
5890
|
+
exerciseTracked: z.ZodArray<z.ZodObject<{
|
|
5891
|
+
exerciseTracking: z.ZodObject<{
|
|
5892
|
+
exerciseTrackingId: z.ZodInt;
|
|
5893
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5894
|
+
setIndex: z.ZodInt;
|
|
5895
|
+
weight: z.ZodNumber;
|
|
5896
|
+
reps: z.ZodInt;
|
|
5897
|
+
}, z.core.$strip>>;
|
|
5898
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5899
|
+
exerciseAssignment: z.ZodObject<{
|
|
5900
|
+
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5901
|
+
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5902
|
+
exerciseId: z.ZodInt;
|
|
5903
|
+
workoutSplitId: z.ZodInt;
|
|
5904
|
+
workoutSplitName: z.ZodString;
|
|
5905
|
+
exerciseName: z.ZodString;
|
|
5906
|
+
targetMuscle: z.ZodString;
|
|
5907
|
+
specificTargetMuscle: z.ZodString;
|
|
5908
|
+
}, z.core.$strip>;
|
|
6137
5909
|
}, z.core.$strip>;
|
|
6138
|
-
}, z.core.$strip
|
|
6139
|
-
}, z.core.$strip
|
|
5910
|
+
}, z.core.$strip>>;
|
|
5911
|
+
}, z.core.$strip>>;
|
|
6140
5912
|
}, z.core.$strip>;
|
|
6141
5913
|
}, z.core.$strip>;
|
|
6142
5914
|
/** SQL row wrapping the complete tracking aggregate under `data`. */
|
|
@@ -6173,69 +5945,30 @@ declare const exerciseTrackingAndStatsRowQueryDtoSchema: z.ZodObject<{
|
|
|
6173
5945
|
}, z.core.$strip>>;
|
|
6174
5946
|
}, z.core.$strip>;
|
|
6175
5947
|
trackingMaps: z.ZodObject<{
|
|
6176
|
-
byDate: z.ZodRecord<z.ZodString, z.
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6198
|
-
exerciseTracking: z.ZodObject<{
|
|
6199
|
-
exerciseTrackingId: z.ZodInt;
|
|
6200
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
6201
|
-
setIndex: z.ZodInt;
|
|
6202
|
-
weight: z.ZodNumber;
|
|
6203
|
-
reps: z.ZodInt;
|
|
6204
|
-
}, z.core.$strip>>;
|
|
6205
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
6206
|
-
exerciseAssignment: z.ZodObject<{
|
|
6207
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
6208
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
6209
|
-
exerciseId: z.ZodInt;
|
|
6210
|
-
workoutSplitId: z.ZodInt;
|
|
6211
|
-
workoutSplitName: z.ZodString;
|
|
6212
|
-
exerciseName: z.ZodString;
|
|
6213
|
-
targetMuscle: z.ZodString;
|
|
6214
|
-
specificTargetMuscle: z.ZodString;
|
|
6215
|
-
}, z.core.$strip>;
|
|
6216
|
-
}, z.core.$strip>;
|
|
6217
|
-
}, z.core.$strip>>>;
|
|
6218
|
-
bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6219
|
-
exerciseTracking: z.ZodObject<{
|
|
6220
|
-
exerciseTrackingId: z.ZodInt;
|
|
6221
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
6222
|
-
setIndex: z.ZodInt;
|
|
6223
|
-
weight: z.ZodNumber;
|
|
6224
|
-
reps: z.ZodInt;
|
|
6225
|
-
}, z.core.$strip>>;
|
|
6226
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
6227
|
-
exerciseAssignment: z.ZodObject<{
|
|
6228
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
6229
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
6230
|
-
exerciseId: z.ZodInt;
|
|
6231
|
-
workoutSplitId: z.ZodInt;
|
|
6232
|
-
workoutSplitName: z.ZodString;
|
|
6233
|
-
exerciseName: z.ZodString;
|
|
6234
|
-
targetMuscle: z.ZodString;
|
|
6235
|
-
specificTargetMuscle: z.ZodString;
|
|
5948
|
+
byDate: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5949
|
+
durationMins: z.ZodNumber;
|
|
5950
|
+
exerciseTracked: z.ZodArray<z.ZodObject<{
|
|
5951
|
+
exerciseTracking: z.ZodObject<{
|
|
5952
|
+
exerciseTrackingId: z.ZodInt;
|
|
5953
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
5954
|
+
setIndex: z.ZodInt;
|
|
5955
|
+
weight: z.ZodNumber;
|
|
5956
|
+
reps: z.ZodInt;
|
|
5957
|
+
}, z.core.$strip>>;
|
|
5958
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5959
|
+
exerciseAssignment: z.ZodObject<{
|
|
5960
|
+
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
5961
|
+
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
5962
|
+
exerciseId: z.ZodInt;
|
|
5963
|
+
workoutSplitId: z.ZodInt;
|
|
5964
|
+
workoutSplitName: z.ZodString;
|
|
5965
|
+
exerciseName: z.ZodString;
|
|
5966
|
+
targetMuscle: z.ZodString;
|
|
5967
|
+
specificTargetMuscle: z.ZodString;
|
|
5968
|
+
}, z.core.$strip>;
|
|
6236
5969
|
}, z.core.$strip>;
|
|
6237
|
-
}, z.core.$strip
|
|
6238
|
-
}, z.core.$strip
|
|
5970
|
+
}, z.core.$strip>>;
|
|
5971
|
+
}, z.core.$strip>>;
|
|
6239
5972
|
}, z.core.$strip>;
|
|
6240
5973
|
}, z.core.$strip>;
|
|
6241
5974
|
}, z.core.$strip>;
|
|
@@ -6273,69 +6006,30 @@ declare const exerciseTrackingStatsRowQueryDtoSchema: z.ZodObject<{
|
|
|
6273
6006
|
}, z.core.$strip>;
|
|
6274
6007
|
declare const exerciseTrackingMapsRowQueryDtoSchema: z.ZodObject<{
|
|
6275
6008
|
data: z.ZodObject<{
|
|
6276
|
-
byDate: z.ZodRecord<z.ZodString, z.
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6298
|
-
exerciseTracking: z.ZodObject<{
|
|
6299
|
-
exerciseTrackingId: z.ZodInt;
|
|
6300
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
6301
|
-
setIndex: z.ZodInt;
|
|
6302
|
-
weight: z.ZodNumber;
|
|
6303
|
-
reps: z.ZodInt;
|
|
6304
|
-
}, z.core.$strip>>;
|
|
6305
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
6306
|
-
exerciseAssignment: z.ZodObject<{
|
|
6307
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
6308
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
6309
|
-
exerciseId: z.ZodInt;
|
|
6310
|
-
workoutSplitId: z.ZodInt;
|
|
6311
|
-
workoutSplitName: z.ZodString;
|
|
6312
|
-
exerciseName: z.ZodString;
|
|
6313
|
-
targetMuscle: z.ZodString;
|
|
6314
|
-
specificTargetMuscle: z.ZodString;
|
|
6315
|
-
}, z.core.$strip>;
|
|
6316
|
-
}, z.core.$strip>;
|
|
6317
|
-
}, z.core.$strip>>>;
|
|
6318
|
-
bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6319
|
-
exerciseTracking: z.ZodObject<{
|
|
6320
|
-
exerciseTrackingId: z.ZodInt;
|
|
6321
|
-
sets: z.ZodArray<z.ZodObject<{
|
|
6322
|
-
setIndex: z.ZodInt;
|
|
6323
|
-
weight: z.ZodNumber;
|
|
6324
|
-
reps: z.ZodInt;
|
|
6325
|
-
}, z.core.$strip>>;
|
|
6326
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
6327
|
-
exerciseAssignment: z.ZodObject<{
|
|
6328
|
-
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
6329
|
-
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
6330
|
-
exerciseId: z.ZodInt;
|
|
6331
|
-
workoutSplitId: z.ZodInt;
|
|
6332
|
-
workoutSplitName: z.ZodString;
|
|
6333
|
-
exerciseName: z.ZodString;
|
|
6334
|
-
targetMuscle: z.ZodString;
|
|
6335
|
-
specificTargetMuscle: z.ZodString;
|
|
6009
|
+
byDate: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6010
|
+
durationMins: z.ZodNumber;
|
|
6011
|
+
exerciseTracked: z.ZodArray<z.ZodObject<{
|
|
6012
|
+
exerciseTracking: z.ZodObject<{
|
|
6013
|
+
exerciseTrackingId: z.ZodInt;
|
|
6014
|
+
sets: z.ZodArray<z.ZodObject<{
|
|
6015
|
+
setIndex: z.ZodInt;
|
|
6016
|
+
weight: z.ZodNumber;
|
|
6017
|
+
reps: z.ZodInt;
|
|
6018
|
+
}, z.core.$strip>>;
|
|
6019
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
6020
|
+
exerciseAssignment: z.ZodObject<{
|
|
6021
|
+
exerciseToSplitId: z.ZodNullable<z.ZodInt>;
|
|
6022
|
+
orderIndex: z.ZodNullable<z.ZodInt>;
|
|
6023
|
+
exerciseId: z.ZodInt;
|
|
6024
|
+
workoutSplitId: z.ZodInt;
|
|
6025
|
+
workoutSplitName: z.ZodString;
|
|
6026
|
+
exerciseName: z.ZodString;
|
|
6027
|
+
targetMuscle: z.ZodString;
|
|
6028
|
+
specificTargetMuscle: z.ZodString;
|
|
6029
|
+
}, z.core.$strip>;
|
|
6336
6030
|
}, z.core.$strip>;
|
|
6337
|
-
}, z.core.$strip
|
|
6338
|
-
}, z.core.$strip
|
|
6031
|
+
}, z.core.$strip>>;
|
|
6032
|
+
}, z.core.$strip>>;
|
|
6339
6033
|
}, z.core.$strip>;
|
|
6340
6034
|
}, z.core.$strip>;
|
|
6341
6035
|
/** SQL row resolving the workout split for an exercise assignment. */
|
|
@@ -6367,4 +6061,4 @@ type WorkoutSummaryIdQueryDto = z.infer<typeof workoutSummaryIdQueryDtoSchema>;
|
|
|
6367
6061
|
type ExerciseTrackingIdQueryDto = z.infer<typeof exerciseTrackingIdQueryDtoSchema>;
|
|
6368
6062
|
type FinishedWorkoutEntryQueryDto = z.infer<typeof finishedWorkoutEntryQueryDtoSchema>;
|
|
6369
6063
|
|
|
6370
|
-
export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type
|
|
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 };
|