@strong-together/shared 2.3.0 → 2.4.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.d.ts CHANGED
@@ -3390,6 +3390,23 @@ declare const exerciseTrackingSetExpandedViewDbSchema: drizzle_zod.BuildSchema<"
3390
3390
  identity: undefined;
3391
3391
  generated: undefined;
3392
3392
  }, {}, {}>;
3393
+ orderIndex: drizzle_orm_pg_core.PgColumn<{
3394
+ name: "order_index";
3395
+ tableName: "v_exercise_tracking_set_expanded";
3396
+ dataType: "number";
3397
+ columnType: "PgInteger";
3398
+ data: number;
3399
+ driverParam: string | number;
3400
+ notNull: false;
3401
+ hasDefault: false;
3402
+ isPrimaryKey: false;
3403
+ isAutoincrement: false;
3404
+ hasRuntimeDefault: false;
3405
+ enumValues: undefined;
3406
+ baseColumn: never;
3407
+ identity: undefined;
3408
+ generated: undefined;
3409
+ }, {}, {}>;
3393
3410
  setIndex: drizzle_orm_pg_core.PgColumn<{
3394
3411
  name: "set_index";
3395
3412
  tableName: "v_exercise_tracking_set_expanded";
@@ -3475,6 +3492,40 @@ declare const exerciseTrackingSetExpandedViewDbSchema: drizzle_zod.BuildSchema<"
3475
3492
  identity: undefined;
3476
3493
  generated: undefined;
3477
3494
  }, {}, {}>;
3495
+ targetMuscle: drizzle_orm_pg_core.PgColumn<{
3496
+ name: "target_muscle";
3497
+ tableName: "v_exercise_tracking_set_expanded";
3498
+ dataType: "string";
3499
+ columnType: "PgText";
3500
+ data: string;
3501
+ driverParam: string;
3502
+ notNull: false;
3503
+ hasDefault: false;
3504
+ isPrimaryKey: false;
3505
+ isAutoincrement: false;
3506
+ hasRuntimeDefault: false;
3507
+ enumValues: [string, ...string[]];
3508
+ baseColumn: never;
3509
+ identity: undefined;
3510
+ generated: undefined;
3511
+ }, {}, {}>;
3512
+ specificTargetMuscle: drizzle_orm_pg_core.PgColumn<{
3513
+ name: "specific_target_muscle";
3514
+ tableName: "v_exercise_tracking_set_expanded";
3515
+ dataType: "string";
3516
+ columnType: "PgText";
3517
+ data: string;
3518
+ driverParam: string;
3519
+ notNull: false;
3520
+ hasDefault: false;
3521
+ isPrimaryKey: false;
3522
+ isAutoincrement: false;
3523
+ hasRuntimeDefault: false;
3524
+ enumValues: [string, ...string[]];
3525
+ baseColumn: never;
3526
+ identity: undefined;
3527
+ generated: undefined;
3528
+ }, {}, {}>;
3478
3529
  notes: drizzle_orm_pg_core.PgColumn<{
3479
3530
  name: "notes";
3480
3531
  tableName: "v_exercise_tracking_set_expanded";
@@ -3630,6 +3681,23 @@ declare const prsViewDbSchema: drizzle_zod.BuildSchema<"select", {
3630
3681
  identity: undefined;
3631
3682
  generated: undefined;
3632
3683
  }, {}, {}>;
3684
+ setIndex: drizzle_orm_pg_core.PgColumn<{
3685
+ name: "set_index";
3686
+ tableName: "v_prs";
3687
+ dataType: "number";
3688
+ columnType: "PgInteger";
3689
+ data: number;
3690
+ driverParam: string | number;
3691
+ notNull: false;
3692
+ hasDefault: false;
3693
+ isPrimaryKey: false;
3694
+ isAutoincrement: false;
3695
+ hasRuntimeDefault: false;
3696
+ enumValues: undefined;
3697
+ baseColumn: never;
3698
+ identity: undefined;
3699
+ generated: undefined;
3700
+ }, {}, {}>;
3633
3701
  weight: drizzle_orm_pg_core.PgColumn<{
3634
3702
  name: "weight";
3635
3703
  tableName: "v_prs";
@@ -4176,7 +4244,7 @@ declare const userByIdentifierQueryDtoSchema: z.ZodObject<{
4176
4244
  name: z.ZodString;
4177
4245
  username: z.ZodString;
4178
4246
  email: z.ZodOptional<z.ZodString>;
4179
- password: z.ZodNullable<z.ZodString>;
4247
+ passwordHash: z.ZodNullable<z.ZodString>;
4180
4248
  role: z.ZodString;
4181
4249
  isVerified: z.ZodBoolean;
4182
4250
  lastLogin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4188,7 +4256,7 @@ declare const userByIdentifierRawQueryDtoSchema: z.ZodObject<{
4188
4256
  username: z.ZodString;
4189
4257
  email: z.ZodOptional<z.ZodString>;
4190
4258
  role: z.ZodString;
4191
- password: z.ZodNullable<z.ZodString>;
4259
+ password_hash: z.ZodNullable<z.ZodString>;
4192
4260
  is_verified: z.ZodBoolean;
4193
4261
  last_login: z.ZodNullable<z.ZodString>;
4194
4262
  }, z.core.$strip>;
@@ -4200,7 +4268,7 @@ declare const userByIdentifierRowQueryDtoSchema: z.ZodObject<{
4200
4268
  username: z.ZodString;
4201
4269
  email: z.ZodOptional<z.ZodString>;
4202
4270
  role: z.ZodString;
4203
- password: z.ZodNullable<z.ZodString>;
4271
+ password_hash: z.ZodNullable<z.ZodString>;
4204
4272
  is_verified: z.ZodBoolean;
4205
4273
  last_login: z.ZodNullable<z.ZodString>;
4206
4274
  }, z.core.$strip>>;
@@ -4213,7 +4281,7 @@ declare const userByUsernameRawQueryDtoSchema: z.ZodObject<{
4213
4281
  email: z.ZodOptional<z.ZodString>;
4214
4282
  role: z.ZodString;
4215
4283
  lastLogin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4216
- password: z.ZodNullable<z.ZodString>;
4284
+ password_hash: z.ZodNullable<z.ZodString>;
4217
4285
  is_verified: z.ZodBoolean;
4218
4286
  }, z.core.$strip>;
4219
4287
  /** SQL row wrapping a username lookup result under `userData`. */
@@ -4225,7 +4293,7 @@ declare const userByUsernameRowQueryDtoSchema: z.ZodObject<{
4225
4293
  email: z.ZodOptional<z.ZodString>;
4226
4294
  role: z.ZodString;
4227
4295
  lastLogin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4228
- password: z.ZodNullable<z.ZodString>;
4296
+ password_hash: z.ZodNullable<z.ZodString>;
4229
4297
  is_verified: z.ZodBoolean;
4230
4298
  }, z.core.$strip>>;
4231
4299
  }, z.core.$strip>;
@@ -4294,79 +4362,92 @@ declare const bootstrapResponseSchema: z.ZodObject<{
4294
4362
  }, z.core.$strip>>>>;
4295
4363
  }, z.core.$strip>;
4296
4364
  tracking: z.ZodObject<{
4297
- exerciseTrackingAnalysis: z.ZodObject<{
4298
- uniqueDays: z.ZodNumber;
4299
- mostFrequentSplit: z.ZodNullable<z.ZodString>;
4300
- mostFrequentSplitDays: z.ZodNullable<z.ZodNumber>;
4301
- lastWorkoutDate: z.ZodNullable<z.ZodString>;
4302
- splitDaysByName: z.ZodRecord<z.ZodString, z.ZodNumber>;
4303
- prs: z.ZodObject<{
4304
- prMax: z.ZodNullable<z.ZodObject<{
4305
- exercise: z.ZodString;
4306
- weight: z.ZodNumber;
4307
- reps: z.ZodInt;
4308
- workoutTimeUtc: z.ZodString;
4309
- }, z.core.$strip>>;
4365
+ trackingStats: z.ZodObject<{
4366
+ workoutCount: z.ZodCoercedNumber<unknown>;
4367
+ hasExerciseTracking: z.ZodBoolean;
4368
+ workoutTargets: z.ZodObject<{
4369
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
4370
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
4371
+ weekStreak: z.ZodCoercedNumber<unknown>;
4372
+ }, z.core.$strip>;
4373
+ lastWorkoutStats: z.ZodObject<{
4374
+ workoutDate: z.ZodNullable<z.ZodString>;
4375
+ workoutSplitName: z.ZodNullable<z.ZodString>;
4376
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
4377
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
4310
4378
  }, z.core.$strip>;
4379
+ prs: z.ZodArray<z.ZodObject<{
4380
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
4381
+ exerciseId: z.ZodInt;
4382
+ exerciseName: z.ZodString;
4383
+ prWeight: z.ZodNumber;
4384
+ prReps: z.ZodInt;
4385
+ prSetIndex: z.ZodInt;
4386
+ }, z.core.$strip>>;
4311
4387
  }, z.core.$strip>;
4312
- exerciseTrackingMaps: z.ZodObject<{
4388
+ trackingMaps: z.ZodObject<{
4313
4389
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
4314
- id: z.ZodInt;
4315
- exerciseToSplitId: z.ZodInt;
4316
- orderIndex: z.ZodInt;
4317
- reps: z.ZodArray<z.ZodInt>;
4318
- workoutSplitId: z.ZodInt;
4319
- exerciseId: z.ZodInt;
4320
- exercise: z.ZodString;
4321
- exerciseToWorkoutSplit: z.ZodObject<{
4322
- sets: z.ZodArray<z.ZodInt>;
4323
- exercises: z.ZodObject<{
4390
+ exerciseTracking: z.ZodObject<{
4391
+ exerciseTrackingId: z.ZodInt;
4392
+ sets: z.ZodArray<z.ZodObject<{
4393
+ setIndex: z.ZodInt;
4394
+ weight: z.ZodNumber;
4395
+ reps: z.ZodInt;
4396
+ }, z.core.$strip>>;
4397
+ notes: z.ZodNullable<z.ZodString>;
4398
+ exerciseAssignment: z.ZodObject<{
4399
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
4400
+ orderIndex: z.ZodNullable<z.ZodInt>;
4401
+ exerciseId: z.ZodInt;
4402
+ workoutSplitId: z.ZodInt;
4403
+ workoutSplitName: z.ZodString;
4404
+ exerciseName: z.ZodString;
4324
4405
  targetMuscle: z.ZodString;
4325
4406
  specificTargetMuscle: z.ZodString;
4326
4407
  }, z.core.$strip>;
4327
4408
  }, z.core.$strip>;
4328
- notes: z.ZodNullable<z.ZodString>;
4329
- weight: z.ZodArray<z.ZodNumber>;
4330
- splitName: z.ZodString;
4331
4409
  }, z.core.$strip>>>;
4332
4410
  byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
4333
- id: z.ZodInt;
4334
- exerciseToSplitId: z.ZodInt;
4335
- weight: z.ZodArray<z.ZodNumber>;
4336
- reps: z.ZodArray<z.ZodInt>;
4337
- notes: z.ZodNullable<z.ZodString>;
4338
- exerciseId: z.ZodInt;
4339
- workoutSplitId: z.ZodInt;
4340
- splitName: z.ZodString;
4341
- exercise: z.ZodString;
4342
- workoutDate: z.ZodString;
4343
- orderIndex: z.ZodInt;
4344
- exerciseToWorkoutSplit: z.ZodObject<{
4345
- sets: z.ZodArray<z.ZodInt>;
4346
- exercises: z.ZodObject<{
4411
+ exerciseTracking: z.ZodObject<{
4412
+ exerciseTrackingId: z.ZodInt;
4413
+ sets: z.ZodArray<z.ZodObject<{
4414
+ setIndex: z.ZodInt;
4415
+ weight: z.ZodNumber;
4416
+ reps: z.ZodInt;
4417
+ }, z.core.$strip>>;
4418
+ notes: z.ZodNullable<z.ZodString>;
4419
+ exerciseAssignment: z.ZodObject<{
4420
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
4421
+ orderIndex: z.ZodNullable<z.ZodInt>;
4422
+ exerciseId: z.ZodInt;
4423
+ workoutSplitId: z.ZodInt;
4424
+ workoutSplitName: z.ZodString;
4425
+ exerciseName: z.ZodString;
4347
4426
  targetMuscle: z.ZodString;
4348
4427
  specificTargetMuscle: z.ZodString;
4349
4428
  }, z.core.$strip>;
4350
4429
  }, z.core.$strip>;
4351
4430
  }, z.core.$strip>>>;
4352
4431
  bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
4353
- id: z.ZodInt;
4354
- exerciseToSplitId: z.ZodInt;
4355
- orderIndex: z.ZodInt;
4356
- reps: z.ZodArray<z.ZodInt>;
4357
- workoutSplitId: z.ZodInt;
4358
- exerciseId: z.ZodInt;
4359
- exercise: z.ZodString;
4360
- exerciseToWorkoutSplit: z.ZodObject<{
4361
- sets: z.ZodArray<z.ZodInt>;
4362
- exercises: z.ZodObject<{
4432
+ exerciseTracking: z.ZodObject<{
4433
+ exerciseTrackingId: z.ZodInt;
4434
+ sets: z.ZodArray<z.ZodObject<{
4435
+ setIndex: z.ZodInt;
4436
+ weight: z.ZodNumber;
4437
+ reps: z.ZodInt;
4438
+ }, z.core.$strip>>;
4439
+ notes: z.ZodNullable<z.ZodString>;
4440
+ exerciseAssignment: z.ZodObject<{
4441
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
4442
+ orderIndex: z.ZodNullable<z.ZodInt>;
4443
+ exerciseId: z.ZodInt;
4444
+ workoutSplitId: z.ZodInt;
4445
+ workoutSplitName: z.ZodString;
4446
+ exerciseName: z.ZodString;
4363
4447
  targetMuscle: z.ZodString;
4364
4448
  specificTargetMuscle: z.ZodString;
4365
4449
  }, z.core.$strip>;
4366
4450
  }, z.core.$strip>;
4367
- notes: z.ZodNullable<z.ZodString>;
4368
- weight: z.ZodArray<z.ZodNumber>;
4369
- workoutDate: z.ZodString;
4370
4451
  }, z.core.$strip>>>;
4371
4452
  }, z.core.$strip>;
4372
4453
  }, z.core.$strip>;
@@ -4459,79 +4540,92 @@ declare const bootstrapContract: {
4459
4540
  }, z.core.$strip>>>>;
4460
4541
  }, z.core.$strip>;
4461
4542
  tracking: z.ZodObject<{
4462
- exerciseTrackingAnalysis: z.ZodObject<{
4463
- uniqueDays: z.ZodNumber;
4464
- mostFrequentSplit: z.ZodNullable<z.ZodString>;
4465
- mostFrequentSplitDays: z.ZodNullable<z.ZodNumber>;
4466
- lastWorkoutDate: z.ZodNullable<z.ZodString>;
4467
- splitDaysByName: z.ZodRecord<z.ZodString, z.ZodNumber>;
4468
- prs: z.ZodObject<{
4469
- prMax: z.ZodNullable<z.ZodObject<{
4470
- exercise: z.ZodString;
4471
- weight: z.ZodNumber;
4472
- reps: z.ZodInt;
4473
- workoutTimeUtc: z.ZodString;
4474
- }, z.core.$strip>>;
4543
+ trackingStats: z.ZodObject<{
4544
+ workoutCount: z.ZodCoercedNumber<unknown>;
4545
+ hasExerciseTracking: z.ZodBoolean;
4546
+ workoutTargets: z.ZodObject<{
4547
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
4548
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
4549
+ weekStreak: z.ZodCoercedNumber<unknown>;
4475
4550
  }, z.core.$strip>;
4551
+ lastWorkoutStats: z.ZodObject<{
4552
+ workoutDate: z.ZodNullable<z.ZodString>;
4553
+ workoutSplitName: z.ZodNullable<z.ZodString>;
4554
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
4555
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
4556
+ }, z.core.$strip>;
4557
+ prs: z.ZodArray<z.ZodObject<{
4558
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
4559
+ exerciseId: z.ZodInt;
4560
+ exerciseName: z.ZodString;
4561
+ prWeight: z.ZodNumber;
4562
+ prReps: z.ZodInt;
4563
+ prSetIndex: z.ZodInt;
4564
+ }, z.core.$strip>>;
4476
4565
  }, z.core.$strip>;
4477
- exerciseTrackingMaps: z.ZodObject<{
4566
+ trackingMaps: z.ZodObject<{
4478
4567
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
4479
- id: z.ZodInt;
4480
- exerciseToSplitId: z.ZodInt;
4481
- orderIndex: z.ZodInt;
4482
- reps: z.ZodArray<z.ZodInt>;
4483
- workoutSplitId: z.ZodInt;
4484
- exerciseId: z.ZodInt;
4485
- exercise: z.ZodString;
4486
- exerciseToWorkoutSplit: z.ZodObject<{
4487
- sets: z.ZodArray<z.ZodInt>;
4488
- exercises: z.ZodObject<{
4568
+ exerciseTracking: z.ZodObject<{
4569
+ exerciseTrackingId: z.ZodInt;
4570
+ sets: z.ZodArray<z.ZodObject<{
4571
+ setIndex: z.ZodInt;
4572
+ weight: z.ZodNumber;
4573
+ reps: z.ZodInt;
4574
+ }, z.core.$strip>>;
4575
+ notes: z.ZodNullable<z.ZodString>;
4576
+ exerciseAssignment: z.ZodObject<{
4577
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
4578
+ orderIndex: z.ZodNullable<z.ZodInt>;
4579
+ exerciseId: z.ZodInt;
4580
+ workoutSplitId: z.ZodInt;
4581
+ workoutSplitName: z.ZodString;
4582
+ exerciseName: z.ZodString;
4489
4583
  targetMuscle: z.ZodString;
4490
4584
  specificTargetMuscle: z.ZodString;
4491
4585
  }, z.core.$strip>;
4492
4586
  }, z.core.$strip>;
4493
- notes: z.ZodNullable<z.ZodString>;
4494
- weight: z.ZodArray<z.ZodNumber>;
4495
- splitName: z.ZodString;
4496
4587
  }, z.core.$strip>>>;
4497
4588
  byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
4498
- id: z.ZodInt;
4499
- exerciseToSplitId: z.ZodInt;
4500
- weight: z.ZodArray<z.ZodNumber>;
4501
- reps: z.ZodArray<z.ZodInt>;
4502
- notes: z.ZodNullable<z.ZodString>;
4503
- exerciseId: z.ZodInt;
4504
- workoutSplitId: z.ZodInt;
4505
- splitName: z.ZodString;
4506
- exercise: z.ZodString;
4507
- workoutDate: z.ZodString;
4508
- orderIndex: z.ZodInt;
4509
- exerciseToWorkoutSplit: z.ZodObject<{
4510
- sets: z.ZodArray<z.ZodInt>;
4511
- exercises: z.ZodObject<{
4589
+ exerciseTracking: z.ZodObject<{
4590
+ exerciseTrackingId: z.ZodInt;
4591
+ sets: z.ZodArray<z.ZodObject<{
4592
+ setIndex: z.ZodInt;
4593
+ weight: z.ZodNumber;
4594
+ reps: z.ZodInt;
4595
+ }, z.core.$strip>>;
4596
+ notes: z.ZodNullable<z.ZodString>;
4597
+ exerciseAssignment: z.ZodObject<{
4598
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
4599
+ orderIndex: z.ZodNullable<z.ZodInt>;
4600
+ exerciseId: z.ZodInt;
4601
+ workoutSplitId: z.ZodInt;
4602
+ workoutSplitName: z.ZodString;
4603
+ exerciseName: z.ZodString;
4512
4604
  targetMuscle: z.ZodString;
4513
4605
  specificTargetMuscle: z.ZodString;
4514
4606
  }, z.core.$strip>;
4515
4607
  }, z.core.$strip>;
4516
4608
  }, z.core.$strip>>>;
4517
4609
  bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
4518
- id: z.ZodInt;
4519
- exerciseToSplitId: z.ZodInt;
4520
- orderIndex: z.ZodInt;
4521
- reps: z.ZodArray<z.ZodInt>;
4522
- workoutSplitId: z.ZodInt;
4523
- exerciseId: z.ZodInt;
4524
- exercise: z.ZodString;
4525
- exerciseToWorkoutSplit: z.ZodObject<{
4526
- sets: z.ZodArray<z.ZodInt>;
4527
- exercises: z.ZodObject<{
4610
+ exerciseTracking: z.ZodObject<{
4611
+ exerciseTrackingId: z.ZodInt;
4612
+ sets: z.ZodArray<z.ZodObject<{
4613
+ setIndex: z.ZodInt;
4614
+ weight: z.ZodNumber;
4615
+ reps: z.ZodInt;
4616
+ }, z.core.$strip>>;
4617
+ notes: z.ZodNullable<z.ZodString>;
4618
+ exerciseAssignment: z.ZodObject<{
4619
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
4620
+ orderIndex: z.ZodNullable<z.ZodInt>;
4621
+ exerciseId: z.ZodInt;
4622
+ workoutSplitId: z.ZodInt;
4623
+ workoutSplitName: z.ZodString;
4624
+ exerciseName: z.ZodString;
4528
4625
  targetMuscle: z.ZodString;
4529
4626
  specificTargetMuscle: z.ZodString;
4530
4627
  }, z.core.$strip>;
4531
4628
  }, z.core.$strip>;
4532
- notes: z.ZodNullable<z.ZodString>;
4533
- weight: z.ZodArray<z.ZodNumber>;
4534
- workoutDate: z.ZodString;
4535
4629
  }, z.core.$strip>>>;
4536
4630
  }, z.core.$strip>;
4537
4631
  }, z.core.$strip>;
@@ -5647,79 +5741,92 @@ declare const getExerciseTrackingRequestSchema: z.ZodObject<{
5647
5741
  }, z.core.$strip>;
5648
5742
  }, z.core.$strip>;
5649
5743
  declare const getExerciseTrackingResponseSchema: z.ZodObject<{
5650
- exerciseTrackingAnalysis: z.ZodObject<{
5651
- uniqueDays: z.ZodNumber;
5652
- mostFrequentSplit: z.ZodNullable<z.ZodString>;
5653
- mostFrequentSplitDays: z.ZodNullable<z.ZodNumber>;
5654
- lastWorkoutDate: z.ZodNullable<z.ZodString>;
5655
- splitDaysByName: z.ZodRecord<z.ZodString, z.ZodNumber>;
5656
- prs: z.ZodObject<{
5657
- prMax: z.ZodNullable<z.ZodObject<{
5658
- exercise: z.ZodString;
5659
- weight: z.ZodNumber;
5660
- reps: z.ZodInt;
5661
- workoutTimeUtc: z.ZodString;
5662
- }, z.core.$strip>>;
5744
+ trackingStats: z.ZodObject<{
5745
+ workoutCount: z.ZodCoercedNumber<unknown>;
5746
+ hasExerciseTracking: z.ZodBoolean;
5747
+ workoutTargets: z.ZodObject<{
5748
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5749
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5750
+ weekStreak: z.ZodCoercedNumber<unknown>;
5751
+ }, z.core.$strip>;
5752
+ lastWorkoutStats: z.ZodObject<{
5753
+ workoutDate: z.ZodNullable<z.ZodString>;
5754
+ workoutSplitName: z.ZodNullable<z.ZodString>;
5755
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5756
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5663
5757
  }, z.core.$strip>;
5758
+ prs: z.ZodArray<z.ZodObject<{
5759
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5760
+ exerciseId: z.ZodInt;
5761
+ exerciseName: z.ZodString;
5762
+ prWeight: z.ZodNumber;
5763
+ prReps: z.ZodInt;
5764
+ prSetIndex: z.ZodInt;
5765
+ }, z.core.$strip>>;
5664
5766
  }, z.core.$strip>;
5665
- exerciseTrackingMaps: z.ZodObject<{
5767
+ trackingMaps: z.ZodObject<{
5666
5768
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5667
- id: z.ZodInt;
5668
- exerciseToSplitId: z.ZodInt;
5669
- orderIndex: z.ZodInt;
5670
- reps: z.ZodArray<z.ZodInt>;
5671
- workoutSplitId: z.ZodInt;
5672
- exerciseId: z.ZodInt;
5673
- exercise: z.ZodString;
5674
- exerciseToWorkoutSplit: z.ZodObject<{
5675
- sets: z.ZodArray<z.ZodInt>;
5676
- exercises: z.ZodObject<{
5769
+ exerciseTracking: z.ZodObject<{
5770
+ exerciseTrackingId: z.ZodInt;
5771
+ sets: z.ZodArray<z.ZodObject<{
5772
+ setIndex: z.ZodInt;
5773
+ weight: z.ZodNumber;
5774
+ reps: z.ZodInt;
5775
+ }, z.core.$strip>>;
5776
+ notes: z.ZodNullable<z.ZodString>;
5777
+ exerciseAssignment: z.ZodObject<{
5778
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5779
+ orderIndex: z.ZodNullable<z.ZodInt>;
5780
+ exerciseId: z.ZodInt;
5781
+ workoutSplitId: z.ZodInt;
5782
+ workoutSplitName: z.ZodString;
5783
+ exerciseName: z.ZodString;
5677
5784
  targetMuscle: z.ZodString;
5678
5785
  specificTargetMuscle: z.ZodString;
5679
5786
  }, z.core.$strip>;
5680
5787
  }, z.core.$strip>;
5681
- notes: z.ZodNullable<z.ZodString>;
5682
- weight: z.ZodArray<z.ZodNumber>;
5683
- splitName: z.ZodString;
5684
5788
  }, z.core.$strip>>>;
5685
5789
  byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5686
- id: z.ZodInt;
5687
- exerciseToSplitId: z.ZodInt;
5688
- weight: z.ZodArray<z.ZodNumber>;
5689
- reps: z.ZodArray<z.ZodInt>;
5690
- notes: z.ZodNullable<z.ZodString>;
5691
- exerciseId: z.ZodInt;
5692
- workoutSplitId: z.ZodInt;
5693
- splitName: z.ZodString;
5694
- exercise: z.ZodString;
5695
- workoutDate: z.ZodString;
5696
- orderIndex: z.ZodInt;
5697
- exerciseToWorkoutSplit: z.ZodObject<{
5698
- sets: z.ZodArray<z.ZodInt>;
5699
- exercises: z.ZodObject<{
5790
+ exerciseTracking: z.ZodObject<{
5791
+ exerciseTrackingId: z.ZodInt;
5792
+ sets: z.ZodArray<z.ZodObject<{
5793
+ setIndex: z.ZodInt;
5794
+ weight: z.ZodNumber;
5795
+ reps: z.ZodInt;
5796
+ }, z.core.$strip>>;
5797
+ notes: z.ZodNullable<z.ZodString>;
5798
+ exerciseAssignment: z.ZodObject<{
5799
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5800
+ orderIndex: z.ZodNullable<z.ZodInt>;
5801
+ exerciseId: z.ZodInt;
5802
+ workoutSplitId: z.ZodInt;
5803
+ workoutSplitName: z.ZodString;
5804
+ exerciseName: z.ZodString;
5700
5805
  targetMuscle: z.ZodString;
5701
5806
  specificTargetMuscle: z.ZodString;
5702
5807
  }, z.core.$strip>;
5703
5808
  }, z.core.$strip>;
5704
5809
  }, z.core.$strip>>>;
5705
5810
  bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5706
- id: z.ZodInt;
5707
- exerciseToSplitId: z.ZodInt;
5708
- orderIndex: z.ZodInt;
5709
- reps: z.ZodArray<z.ZodInt>;
5710
- workoutSplitId: z.ZodInt;
5711
- exerciseId: z.ZodInt;
5712
- exercise: z.ZodString;
5713
- exerciseToWorkoutSplit: z.ZodObject<{
5714
- sets: z.ZodArray<z.ZodInt>;
5715
- exercises: z.ZodObject<{
5811
+ exerciseTracking: z.ZodObject<{
5812
+ exerciseTrackingId: z.ZodInt;
5813
+ sets: z.ZodArray<z.ZodObject<{
5814
+ setIndex: z.ZodInt;
5815
+ weight: z.ZodNumber;
5816
+ reps: z.ZodInt;
5817
+ }, z.core.$strip>>;
5818
+ notes: z.ZodNullable<z.ZodString>;
5819
+ exerciseAssignment: z.ZodObject<{
5820
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5821
+ orderIndex: z.ZodNullable<z.ZodInt>;
5822
+ exerciseId: z.ZodInt;
5823
+ workoutSplitId: z.ZodInt;
5824
+ workoutSplitName: z.ZodString;
5825
+ exerciseName: z.ZodString;
5716
5826
  targetMuscle: z.ZodString;
5717
5827
  specificTargetMuscle: z.ZodString;
5718
5828
  }, z.core.$strip>;
5719
5829
  }, z.core.$strip>;
5720
- notes: z.ZodNullable<z.ZodString>;
5721
- weight: z.ZodArray<z.ZodNumber>;
5722
- workoutDate: z.ZodString;
5723
5830
  }, z.core.$strip>>>;
5724
5831
  }, z.core.$strip>;
5725
5832
  }, z.core.$strip>;
@@ -5730,79 +5837,92 @@ declare const getExerciseTrackingContract: {
5730
5837
  }, z.core.$strip>;
5731
5838
  }, z.core.$strip>;
5732
5839
  response: z.ZodObject<{
5733
- exerciseTrackingAnalysis: z.ZodObject<{
5734
- uniqueDays: z.ZodNumber;
5735
- mostFrequentSplit: z.ZodNullable<z.ZodString>;
5736
- mostFrequentSplitDays: z.ZodNullable<z.ZodNumber>;
5737
- lastWorkoutDate: z.ZodNullable<z.ZodString>;
5738
- splitDaysByName: z.ZodRecord<z.ZodString, z.ZodNumber>;
5739
- prs: z.ZodObject<{
5740
- prMax: z.ZodNullable<z.ZodObject<{
5741
- exercise: z.ZodString;
5742
- weight: z.ZodNumber;
5743
- reps: z.ZodInt;
5744
- workoutTimeUtc: z.ZodString;
5745
- }, z.core.$strip>>;
5840
+ trackingStats: z.ZodObject<{
5841
+ workoutCount: z.ZodCoercedNumber<unknown>;
5842
+ hasExerciseTracking: z.ZodBoolean;
5843
+ workoutTargets: z.ZodObject<{
5844
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5845
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5846
+ weekStreak: z.ZodCoercedNumber<unknown>;
5847
+ }, z.core.$strip>;
5848
+ lastWorkoutStats: z.ZodObject<{
5849
+ workoutDate: z.ZodNullable<z.ZodString>;
5850
+ workoutSplitName: z.ZodNullable<z.ZodString>;
5851
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5852
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5746
5853
  }, z.core.$strip>;
5854
+ prs: z.ZodArray<z.ZodObject<{
5855
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5856
+ exerciseId: z.ZodInt;
5857
+ exerciseName: z.ZodString;
5858
+ prWeight: z.ZodNumber;
5859
+ prReps: z.ZodInt;
5860
+ prSetIndex: z.ZodInt;
5861
+ }, z.core.$strip>>;
5747
5862
  }, z.core.$strip>;
5748
- exerciseTrackingMaps: z.ZodObject<{
5863
+ trackingMaps: z.ZodObject<{
5749
5864
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5750
- id: z.ZodInt;
5751
- exerciseToSplitId: z.ZodInt;
5752
- orderIndex: z.ZodInt;
5753
- reps: z.ZodArray<z.ZodInt>;
5754
- workoutSplitId: z.ZodInt;
5755
- exerciseId: z.ZodInt;
5756
- exercise: z.ZodString;
5757
- exerciseToWorkoutSplit: z.ZodObject<{
5758
- sets: z.ZodArray<z.ZodInt>;
5759
- exercises: z.ZodObject<{
5865
+ exerciseTracking: z.ZodObject<{
5866
+ exerciseTrackingId: z.ZodInt;
5867
+ sets: z.ZodArray<z.ZodObject<{
5868
+ setIndex: z.ZodInt;
5869
+ weight: z.ZodNumber;
5870
+ reps: z.ZodInt;
5871
+ }, z.core.$strip>>;
5872
+ notes: z.ZodNullable<z.ZodString>;
5873
+ exerciseAssignment: z.ZodObject<{
5874
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5875
+ orderIndex: z.ZodNullable<z.ZodInt>;
5876
+ exerciseId: z.ZodInt;
5877
+ workoutSplitId: z.ZodInt;
5878
+ workoutSplitName: z.ZodString;
5879
+ exerciseName: z.ZodString;
5760
5880
  targetMuscle: z.ZodString;
5761
5881
  specificTargetMuscle: z.ZodString;
5762
5882
  }, z.core.$strip>;
5763
5883
  }, z.core.$strip>;
5764
- notes: z.ZodNullable<z.ZodString>;
5765
- weight: z.ZodArray<z.ZodNumber>;
5766
- splitName: z.ZodString;
5767
5884
  }, z.core.$strip>>>;
5768
5885
  byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5769
- id: z.ZodInt;
5770
- exerciseToSplitId: z.ZodInt;
5771
- weight: z.ZodArray<z.ZodNumber>;
5772
- reps: z.ZodArray<z.ZodInt>;
5773
- notes: z.ZodNullable<z.ZodString>;
5774
- exerciseId: z.ZodInt;
5775
- workoutSplitId: z.ZodInt;
5776
- splitName: z.ZodString;
5777
- exercise: z.ZodString;
5778
- workoutDate: z.ZodString;
5779
- orderIndex: z.ZodInt;
5780
- exerciseToWorkoutSplit: z.ZodObject<{
5781
- sets: z.ZodArray<z.ZodInt>;
5782
- exercises: z.ZodObject<{
5886
+ exerciseTracking: z.ZodObject<{
5887
+ exerciseTrackingId: z.ZodInt;
5888
+ sets: z.ZodArray<z.ZodObject<{
5889
+ setIndex: z.ZodInt;
5890
+ weight: z.ZodNumber;
5891
+ reps: z.ZodInt;
5892
+ }, z.core.$strip>>;
5893
+ notes: z.ZodNullable<z.ZodString>;
5894
+ exerciseAssignment: z.ZodObject<{
5895
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5896
+ orderIndex: z.ZodNullable<z.ZodInt>;
5897
+ exerciseId: z.ZodInt;
5898
+ workoutSplitId: z.ZodInt;
5899
+ workoutSplitName: z.ZodString;
5900
+ exerciseName: z.ZodString;
5783
5901
  targetMuscle: z.ZodString;
5784
5902
  specificTargetMuscle: z.ZodString;
5785
5903
  }, z.core.$strip>;
5786
5904
  }, z.core.$strip>;
5787
5905
  }, z.core.$strip>>>;
5788
5906
  bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5789
- id: z.ZodInt;
5790
- exerciseToSplitId: z.ZodInt;
5791
- orderIndex: z.ZodInt;
5792
- reps: z.ZodArray<z.ZodInt>;
5793
- workoutSplitId: z.ZodInt;
5794
- exerciseId: z.ZodInt;
5795
- exercise: z.ZodString;
5796
- exerciseToWorkoutSplit: z.ZodObject<{
5797
- sets: z.ZodArray<z.ZodInt>;
5798
- exercises: z.ZodObject<{
5907
+ exerciseTracking: z.ZodObject<{
5908
+ exerciseTrackingId: z.ZodInt;
5909
+ sets: z.ZodArray<z.ZodObject<{
5910
+ setIndex: z.ZodInt;
5911
+ weight: z.ZodNumber;
5912
+ reps: z.ZodInt;
5913
+ }, z.core.$strip>>;
5914
+ notes: z.ZodNullable<z.ZodString>;
5915
+ exerciseAssignment: z.ZodObject<{
5916
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5917
+ orderIndex: z.ZodNullable<z.ZodInt>;
5918
+ exerciseId: z.ZodInt;
5919
+ workoutSplitId: z.ZodInt;
5920
+ workoutSplitName: z.ZodString;
5921
+ exerciseName: z.ZodString;
5799
5922
  targetMuscle: z.ZodString;
5800
5923
  specificTargetMuscle: z.ZodString;
5801
5924
  }, z.core.$strip>;
5802
5925
  }, z.core.$strip>;
5803
- notes: z.ZodNullable<z.ZodString>;
5804
- weight: z.ZodArray<z.ZodNumber>;
5805
- workoutDate: z.ZodString;
5806
5926
  }, z.core.$strip>>>;
5807
5927
  }, z.core.$strip>;
5808
5928
  }, z.core.$strip>;
@@ -5826,79 +5946,92 @@ declare const finishWorkoutRequestSchema: z.ZodObject<{
5826
5946
  }, z.core.$strip>;
5827
5947
  }, z.core.$strip>;
5828
5948
  declare const finishUserWorkoutResponseSchema: z.ZodObject<{
5829
- exerciseTrackingAnalysis: z.ZodObject<{
5830
- uniqueDays: z.ZodNumber;
5831
- mostFrequentSplit: z.ZodNullable<z.ZodString>;
5832
- mostFrequentSplitDays: z.ZodNullable<z.ZodNumber>;
5833
- lastWorkoutDate: z.ZodNullable<z.ZodString>;
5834
- splitDaysByName: z.ZodRecord<z.ZodString, z.ZodNumber>;
5835
- prs: z.ZodObject<{
5836
- prMax: z.ZodNullable<z.ZodObject<{
5837
- exercise: z.ZodString;
5838
- weight: z.ZodNumber;
5839
- reps: z.ZodInt;
5840
- workoutTimeUtc: z.ZodString;
5841
- }, z.core.$strip>>;
5949
+ trackingStats: z.ZodObject<{
5950
+ workoutCount: z.ZodCoercedNumber<unknown>;
5951
+ hasExerciseTracking: z.ZodBoolean;
5952
+ workoutTargets: z.ZodObject<{
5953
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
5954
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
5955
+ weekStreak: z.ZodCoercedNumber<unknown>;
5956
+ }, z.core.$strip>;
5957
+ lastWorkoutStats: z.ZodObject<{
5958
+ workoutDate: z.ZodNullable<z.ZodString>;
5959
+ workoutSplitName: z.ZodNullable<z.ZodString>;
5960
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5961
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5842
5962
  }, z.core.$strip>;
5963
+ prs: z.ZodArray<z.ZodObject<{
5964
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5965
+ exerciseId: z.ZodInt;
5966
+ exerciseName: z.ZodString;
5967
+ prWeight: z.ZodNumber;
5968
+ prReps: z.ZodInt;
5969
+ prSetIndex: z.ZodInt;
5970
+ }, z.core.$strip>>;
5843
5971
  }, z.core.$strip>;
5844
- exerciseTrackingMaps: z.ZodObject<{
5972
+ trackingMaps: z.ZodObject<{
5845
5973
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5846
- id: z.ZodInt;
5847
- exerciseToSplitId: z.ZodInt;
5848
- orderIndex: z.ZodInt;
5849
- reps: z.ZodArray<z.ZodInt>;
5850
- workoutSplitId: z.ZodInt;
5851
- exerciseId: z.ZodInt;
5852
- exercise: z.ZodString;
5853
- exerciseToWorkoutSplit: z.ZodObject<{
5854
- sets: z.ZodArray<z.ZodInt>;
5855
- exercises: z.ZodObject<{
5974
+ exerciseTracking: z.ZodObject<{
5975
+ exerciseTrackingId: z.ZodInt;
5976
+ sets: z.ZodArray<z.ZodObject<{
5977
+ setIndex: z.ZodInt;
5978
+ weight: z.ZodNumber;
5979
+ reps: z.ZodInt;
5980
+ }, z.core.$strip>>;
5981
+ notes: z.ZodNullable<z.ZodString>;
5982
+ exerciseAssignment: z.ZodObject<{
5983
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
5984
+ orderIndex: z.ZodNullable<z.ZodInt>;
5985
+ exerciseId: z.ZodInt;
5986
+ workoutSplitId: z.ZodInt;
5987
+ workoutSplitName: z.ZodString;
5988
+ exerciseName: z.ZodString;
5856
5989
  targetMuscle: z.ZodString;
5857
5990
  specificTargetMuscle: z.ZodString;
5858
5991
  }, z.core.$strip>;
5859
5992
  }, z.core.$strip>;
5860
- notes: z.ZodNullable<z.ZodString>;
5861
- weight: z.ZodArray<z.ZodNumber>;
5862
- splitName: z.ZodString;
5863
5993
  }, z.core.$strip>>>;
5864
5994
  byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5865
- id: z.ZodInt;
5866
- exerciseToSplitId: z.ZodInt;
5867
- weight: z.ZodArray<z.ZodNumber>;
5868
- reps: z.ZodArray<z.ZodInt>;
5869
- notes: z.ZodNullable<z.ZodString>;
5870
- exerciseId: z.ZodInt;
5871
- workoutSplitId: z.ZodInt;
5872
- splitName: z.ZodString;
5873
- exercise: z.ZodString;
5874
- workoutDate: z.ZodString;
5875
- orderIndex: z.ZodInt;
5876
- exerciseToWorkoutSplit: z.ZodObject<{
5877
- sets: z.ZodArray<z.ZodInt>;
5878
- exercises: z.ZodObject<{
5995
+ exerciseTracking: z.ZodObject<{
5996
+ exerciseTrackingId: z.ZodInt;
5997
+ sets: z.ZodArray<z.ZodObject<{
5998
+ setIndex: z.ZodInt;
5999
+ weight: z.ZodNumber;
6000
+ reps: z.ZodInt;
6001
+ }, z.core.$strip>>;
6002
+ notes: z.ZodNullable<z.ZodString>;
6003
+ exerciseAssignment: z.ZodObject<{
6004
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6005
+ orderIndex: z.ZodNullable<z.ZodInt>;
6006
+ exerciseId: z.ZodInt;
6007
+ workoutSplitId: z.ZodInt;
6008
+ workoutSplitName: z.ZodString;
6009
+ exerciseName: z.ZodString;
5879
6010
  targetMuscle: z.ZodString;
5880
6011
  specificTargetMuscle: z.ZodString;
5881
6012
  }, z.core.$strip>;
5882
6013
  }, z.core.$strip>;
5883
6014
  }, z.core.$strip>>>;
5884
6015
  bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5885
- id: z.ZodInt;
5886
- exerciseToSplitId: z.ZodInt;
5887
- orderIndex: z.ZodInt;
5888
- reps: z.ZodArray<z.ZodInt>;
5889
- workoutSplitId: z.ZodInt;
5890
- exerciseId: z.ZodInt;
5891
- exercise: z.ZodString;
5892
- exerciseToWorkoutSplit: z.ZodObject<{
5893
- sets: z.ZodArray<z.ZodInt>;
5894
- exercises: z.ZodObject<{
6016
+ exerciseTracking: z.ZodObject<{
6017
+ exerciseTrackingId: z.ZodInt;
6018
+ sets: z.ZodArray<z.ZodObject<{
6019
+ setIndex: z.ZodInt;
6020
+ weight: z.ZodNumber;
6021
+ reps: z.ZodInt;
6022
+ }, z.core.$strip>>;
6023
+ notes: z.ZodNullable<z.ZodString>;
6024
+ exerciseAssignment: z.ZodObject<{
6025
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6026
+ orderIndex: z.ZodNullable<z.ZodInt>;
6027
+ exerciseId: z.ZodInt;
6028
+ workoutSplitId: z.ZodInt;
6029
+ workoutSplitName: z.ZodString;
6030
+ exerciseName: z.ZodString;
5895
6031
  targetMuscle: z.ZodString;
5896
6032
  specificTargetMuscle: z.ZodString;
5897
6033
  }, z.core.$strip>;
5898
6034
  }, z.core.$strip>;
5899
- notes: z.ZodNullable<z.ZodString>;
5900
- weight: z.ZodArray<z.ZodNumber>;
5901
- workoutDate: z.ZodString;
5902
6035
  }, z.core.$strip>>>;
5903
6036
  }, z.core.$strip>;
5904
6037
  }, z.core.$strip>;
@@ -5922,79 +6055,92 @@ declare const finishUserWorkoutContract: {
5922
6055
  }, z.core.$strip>;
5923
6056
  }, z.core.$strip>;
5924
6057
  response: z.ZodObject<{
5925
- exerciseTrackingAnalysis: z.ZodObject<{
5926
- uniqueDays: z.ZodNumber;
5927
- mostFrequentSplit: z.ZodNullable<z.ZodString>;
5928
- mostFrequentSplitDays: z.ZodNullable<z.ZodNumber>;
5929
- lastWorkoutDate: z.ZodNullable<z.ZodString>;
5930
- splitDaysByName: z.ZodRecord<z.ZodString, z.ZodNumber>;
5931
- prs: z.ZodObject<{
5932
- prMax: z.ZodNullable<z.ZodObject<{
5933
- exercise: z.ZodString;
5934
- weight: z.ZodNumber;
5935
- reps: z.ZodInt;
5936
- workoutTimeUtc: z.ZodString;
5937
- }, z.core.$strip>>;
6058
+ trackingStats: z.ZodObject<{
6059
+ workoutCount: z.ZodCoercedNumber<unknown>;
6060
+ hasExerciseTracking: z.ZodBoolean;
6061
+ workoutTargets: z.ZodObject<{
6062
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
6063
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
6064
+ weekStreak: z.ZodCoercedNumber<unknown>;
6065
+ }, z.core.$strip>;
6066
+ lastWorkoutStats: z.ZodObject<{
6067
+ workoutDate: z.ZodNullable<z.ZodString>;
6068
+ workoutSplitName: z.ZodNullable<z.ZodString>;
6069
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6070
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5938
6071
  }, z.core.$strip>;
6072
+ prs: z.ZodArray<z.ZodObject<{
6073
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6074
+ exerciseId: z.ZodInt;
6075
+ exerciseName: z.ZodString;
6076
+ prWeight: z.ZodNumber;
6077
+ prReps: z.ZodInt;
6078
+ prSetIndex: z.ZodInt;
6079
+ }, z.core.$strip>>;
5939
6080
  }, z.core.$strip>;
5940
- exerciseTrackingMaps: z.ZodObject<{
6081
+ trackingMaps: z.ZodObject<{
5941
6082
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5942
- id: z.ZodInt;
5943
- exerciseToSplitId: z.ZodInt;
5944
- orderIndex: z.ZodInt;
5945
- reps: z.ZodArray<z.ZodInt>;
5946
- workoutSplitId: z.ZodInt;
5947
- exerciseId: z.ZodInt;
5948
- exercise: z.ZodString;
5949
- exerciseToWorkoutSplit: z.ZodObject<{
5950
- sets: z.ZodArray<z.ZodInt>;
5951
- exercises: z.ZodObject<{
6083
+ exerciseTracking: z.ZodObject<{
6084
+ exerciseTrackingId: z.ZodInt;
6085
+ sets: z.ZodArray<z.ZodObject<{
6086
+ setIndex: z.ZodInt;
6087
+ weight: z.ZodNumber;
6088
+ reps: z.ZodInt;
6089
+ }, z.core.$strip>>;
6090
+ notes: z.ZodNullable<z.ZodString>;
6091
+ exerciseAssignment: z.ZodObject<{
6092
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6093
+ orderIndex: z.ZodNullable<z.ZodInt>;
6094
+ exerciseId: z.ZodInt;
6095
+ workoutSplitId: z.ZodInt;
6096
+ workoutSplitName: z.ZodString;
6097
+ exerciseName: z.ZodString;
5952
6098
  targetMuscle: z.ZodString;
5953
6099
  specificTargetMuscle: z.ZodString;
5954
6100
  }, z.core.$strip>;
5955
6101
  }, z.core.$strip>;
5956
- notes: z.ZodNullable<z.ZodString>;
5957
- weight: z.ZodArray<z.ZodNumber>;
5958
- splitName: z.ZodString;
5959
6102
  }, z.core.$strip>>>;
5960
6103
  byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5961
- id: z.ZodInt;
5962
- exerciseToSplitId: z.ZodInt;
5963
- weight: z.ZodArray<z.ZodNumber>;
5964
- reps: z.ZodArray<z.ZodInt>;
5965
- notes: z.ZodNullable<z.ZodString>;
5966
- exerciseId: z.ZodInt;
5967
- workoutSplitId: z.ZodInt;
5968
- splitName: z.ZodString;
5969
- exercise: z.ZodString;
5970
- workoutDate: z.ZodString;
5971
- orderIndex: z.ZodInt;
5972
- exerciseToWorkoutSplit: z.ZodObject<{
5973
- sets: z.ZodArray<z.ZodInt>;
5974
- exercises: z.ZodObject<{
6104
+ exerciseTracking: z.ZodObject<{
6105
+ exerciseTrackingId: z.ZodInt;
6106
+ sets: z.ZodArray<z.ZodObject<{
6107
+ setIndex: z.ZodInt;
6108
+ weight: z.ZodNumber;
6109
+ reps: z.ZodInt;
6110
+ }, z.core.$strip>>;
6111
+ notes: z.ZodNullable<z.ZodString>;
6112
+ exerciseAssignment: z.ZodObject<{
6113
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6114
+ orderIndex: z.ZodNullable<z.ZodInt>;
6115
+ exerciseId: z.ZodInt;
6116
+ workoutSplitId: z.ZodInt;
6117
+ workoutSplitName: z.ZodString;
6118
+ exerciseName: z.ZodString;
5975
6119
  targetMuscle: z.ZodString;
5976
6120
  specificTargetMuscle: z.ZodString;
5977
6121
  }, z.core.$strip>;
5978
6122
  }, z.core.$strip>;
5979
6123
  }, z.core.$strip>>>;
5980
6124
  bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5981
- id: z.ZodInt;
5982
- exerciseToSplitId: z.ZodInt;
5983
- orderIndex: z.ZodInt;
5984
- reps: z.ZodArray<z.ZodInt>;
5985
- workoutSplitId: z.ZodInt;
5986
- exerciseId: z.ZodInt;
5987
- exercise: z.ZodString;
5988
- exerciseToWorkoutSplit: z.ZodObject<{
5989
- sets: z.ZodArray<z.ZodInt>;
5990
- exercises: z.ZodObject<{
6125
+ exerciseTracking: z.ZodObject<{
6126
+ exerciseTrackingId: z.ZodInt;
6127
+ sets: z.ZodArray<z.ZodObject<{
6128
+ setIndex: z.ZodInt;
6129
+ weight: z.ZodNumber;
6130
+ reps: z.ZodInt;
6131
+ }, z.core.$strip>>;
6132
+ notes: z.ZodNullable<z.ZodString>;
6133
+ exerciseAssignment: z.ZodObject<{
6134
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6135
+ orderIndex: z.ZodNullable<z.ZodInt>;
6136
+ exerciseId: z.ZodInt;
6137
+ workoutSplitId: z.ZodInt;
6138
+ workoutSplitName: z.ZodString;
6139
+ exerciseName: z.ZodString;
5991
6140
  targetMuscle: z.ZodString;
5992
6141
  specificTargetMuscle: z.ZodString;
5993
6142
  }, z.core.$strip>;
5994
6143
  }, z.core.$strip>;
5995
- notes: z.ZodNullable<z.ZodString>;
5996
- weight: z.ZodArray<z.ZodNumber>;
5997
- workoutDate: z.ZodString;
5998
6144
  }, z.core.$strip>>>;
5999
6145
  }, z.core.$strip>;
6000
6146
  }, z.core.$strip>;
@@ -6104,160 +6250,185 @@ declare const trackingBySplitNameItemQueryDtoSchema: z.ZodObject<{
6104
6250
  weight: z.ZodArray<z.ZodNumber>;
6105
6251
  workoutDate: z.ZodString;
6106
6252
  }, z.core.$strip>;
6107
- /** Complete tracking and statistics aggregate returned by the tracking query. */
6108
6253
  declare const exerciseTrackingAndStatsQueryDtoSchema: z.ZodObject<{
6109
- exerciseTrackingAnalysis: z.ZodObject<{
6110
- uniqueDays: z.ZodNumber;
6111
- mostFrequentSplit: z.ZodNullable<z.ZodString>;
6112
- mostFrequentSplitDays: z.ZodNullable<z.ZodNumber>;
6113
- lastWorkoutDate: z.ZodNullable<z.ZodString>;
6114
- splitDaysByName: z.ZodRecord<z.ZodString, z.ZodNumber>;
6115
- prs: z.ZodObject<{
6116
- prMax: z.ZodNullable<z.ZodObject<{
6117
- exercise: z.ZodString;
6118
- weight: z.ZodNumber;
6119
- reps: z.ZodInt;
6120
- workoutTimeUtc: z.ZodString;
6121
- }, z.core.$strip>>;
6254
+ trackingStats: z.ZodObject<{
6255
+ workoutCount: z.ZodCoercedNumber<unknown>;
6256
+ hasExerciseTracking: z.ZodBoolean;
6257
+ workoutTargets: z.ZodObject<{
6258
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
6259
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
6260
+ weekStreak: z.ZodCoercedNumber<unknown>;
6261
+ }, z.core.$strip>;
6262
+ lastWorkoutStats: z.ZodObject<{
6263
+ workoutDate: z.ZodNullable<z.ZodString>;
6264
+ workoutSplitName: z.ZodNullable<z.ZodString>;
6265
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6266
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6122
6267
  }, z.core.$strip>;
6268
+ prs: z.ZodArray<z.ZodObject<{
6269
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6270
+ exerciseId: z.ZodInt;
6271
+ exerciseName: z.ZodString;
6272
+ prWeight: z.ZodNumber;
6273
+ prReps: z.ZodInt;
6274
+ prSetIndex: z.ZodInt;
6275
+ }, z.core.$strip>>;
6123
6276
  }, z.core.$strip>;
6124
- exerciseTrackingMaps: z.ZodObject<{
6277
+ trackingMaps: z.ZodObject<{
6125
6278
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6126
- id: z.ZodInt;
6127
- exerciseToSplitId: z.ZodInt;
6128
- orderIndex: z.ZodInt;
6129
- reps: z.ZodArray<z.ZodInt>;
6130
- workoutSplitId: z.ZodInt;
6131
- exerciseId: z.ZodInt;
6132
- exercise: z.ZodString;
6133
- exerciseToWorkoutSplit: z.ZodObject<{
6134
- sets: z.ZodArray<z.ZodInt>;
6135
- exercises: z.ZodObject<{
6279
+ exerciseTracking: z.ZodObject<{
6280
+ exerciseTrackingId: z.ZodInt;
6281
+ sets: z.ZodArray<z.ZodObject<{
6282
+ setIndex: z.ZodInt;
6283
+ weight: z.ZodNumber;
6284
+ reps: z.ZodInt;
6285
+ }, z.core.$strip>>;
6286
+ notes: z.ZodNullable<z.ZodString>;
6287
+ exerciseAssignment: z.ZodObject<{
6288
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6289
+ orderIndex: z.ZodNullable<z.ZodInt>;
6290
+ exerciseId: z.ZodInt;
6291
+ workoutSplitId: z.ZodInt;
6292
+ workoutSplitName: z.ZodString;
6293
+ exerciseName: z.ZodString;
6136
6294
  targetMuscle: z.ZodString;
6137
6295
  specificTargetMuscle: z.ZodString;
6138
6296
  }, z.core.$strip>;
6139
6297
  }, z.core.$strip>;
6140
- notes: z.ZodNullable<z.ZodString>;
6141
- weight: z.ZodArray<z.ZodNumber>;
6142
- splitName: z.ZodString;
6143
6298
  }, z.core.$strip>>>;
6144
6299
  byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6145
- id: z.ZodInt;
6146
- exerciseToSplitId: z.ZodInt;
6147
- weight: z.ZodArray<z.ZodNumber>;
6148
- reps: z.ZodArray<z.ZodInt>;
6149
- notes: z.ZodNullable<z.ZodString>;
6150
- exerciseId: z.ZodInt;
6151
- workoutSplitId: z.ZodInt;
6152
- splitName: z.ZodString;
6153
- exercise: z.ZodString;
6154
- workoutDate: z.ZodString;
6155
- orderIndex: z.ZodInt;
6156
- exerciseToWorkoutSplit: z.ZodObject<{
6157
- sets: z.ZodArray<z.ZodInt>;
6158
- exercises: z.ZodObject<{
6300
+ exerciseTracking: z.ZodObject<{
6301
+ exerciseTrackingId: z.ZodInt;
6302
+ sets: z.ZodArray<z.ZodObject<{
6303
+ setIndex: z.ZodInt;
6304
+ weight: z.ZodNumber;
6305
+ reps: z.ZodInt;
6306
+ }, z.core.$strip>>;
6307
+ notes: z.ZodNullable<z.ZodString>;
6308
+ exerciseAssignment: z.ZodObject<{
6309
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6310
+ orderIndex: z.ZodNullable<z.ZodInt>;
6311
+ exerciseId: z.ZodInt;
6312
+ workoutSplitId: z.ZodInt;
6313
+ workoutSplitName: z.ZodString;
6314
+ exerciseName: z.ZodString;
6159
6315
  targetMuscle: z.ZodString;
6160
6316
  specificTargetMuscle: z.ZodString;
6161
6317
  }, z.core.$strip>;
6162
6318
  }, z.core.$strip>;
6163
6319
  }, z.core.$strip>>>;
6164
6320
  bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6165
- id: z.ZodInt;
6166
- exerciseToSplitId: z.ZodInt;
6167
- orderIndex: z.ZodInt;
6168
- reps: z.ZodArray<z.ZodInt>;
6169
- workoutSplitId: z.ZodInt;
6170
- exerciseId: z.ZodInt;
6171
- exercise: z.ZodString;
6172
- exerciseToWorkoutSplit: z.ZodObject<{
6173
- sets: z.ZodArray<z.ZodInt>;
6174
- exercises: z.ZodObject<{
6321
+ exerciseTracking: z.ZodObject<{
6322
+ exerciseTrackingId: z.ZodInt;
6323
+ sets: z.ZodArray<z.ZodObject<{
6324
+ setIndex: z.ZodInt;
6325
+ weight: z.ZodNumber;
6326
+ reps: z.ZodInt;
6327
+ }, z.core.$strip>>;
6328
+ notes: z.ZodNullable<z.ZodString>;
6329
+ exerciseAssignment: z.ZodObject<{
6330
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6331
+ orderIndex: z.ZodNullable<z.ZodInt>;
6332
+ exerciseId: z.ZodInt;
6333
+ workoutSplitId: z.ZodInt;
6334
+ workoutSplitName: z.ZodString;
6335
+ exerciseName: z.ZodString;
6175
6336
  targetMuscle: z.ZodString;
6176
6337
  specificTargetMuscle: z.ZodString;
6177
6338
  }, z.core.$strip>;
6178
6339
  }, z.core.$strip>;
6179
- notes: z.ZodNullable<z.ZodString>;
6180
- weight: z.ZodArray<z.ZodNumber>;
6181
- workoutDate: z.ZodString;
6182
6340
  }, z.core.$strip>>>;
6183
6341
  }, z.core.$strip>;
6184
6342
  }, z.core.$strip>;
6185
6343
  /** SQL row wrapping the complete tracking aggregate under `data`. */
6186
6344
  declare const exerciseTrackingAndStatsRowQueryDtoSchema: z.ZodObject<{
6187
6345
  data: z.ZodObject<{
6188
- exerciseTrackingAnalysis: z.ZodObject<{
6189
- uniqueDays: z.ZodNumber;
6190
- mostFrequentSplit: z.ZodNullable<z.ZodString>;
6191
- mostFrequentSplitDays: z.ZodNullable<z.ZodNumber>;
6192
- lastWorkoutDate: z.ZodNullable<z.ZodString>;
6193
- splitDaysByName: z.ZodRecord<z.ZodString, z.ZodNumber>;
6194
- prs: z.ZodObject<{
6195
- prMax: z.ZodNullable<z.ZodObject<{
6196
- exercise: z.ZodString;
6197
- weight: z.ZodNumber;
6198
- reps: z.ZodInt;
6199
- workoutTimeUtc: z.ZodString;
6200
- }, z.core.$strip>>;
6346
+ trackingStats: z.ZodObject<{
6347
+ workoutCount: z.ZodCoercedNumber<unknown>;
6348
+ hasExerciseTracking: z.ZodBoolean;
6349
+ workoutTargets: z.ZodObject<{
6350
+ workoutCountThisWeek: z.ZodCoercedNumber<unknown>;
6351
+ workoutCountScheduledPerWeek: z.ZodCoercedNumber<unknown>;
6352
+ weekStreak: z.ZodCoercedNumber<unknown>;
6353
+ }, z.core.$strip>;
6354
+ lastWorkoutStats: z.ZodObject<{
6355
+ workoutDate: z.ZodNullable<z.ZodString>;
6356
+ workoutSplitName: z.ZodNullable<z.ZodString>;
6357
+ exerciseTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6358
+ setTrackedCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6201
6359
  }, z.core.$strip>;
6360
+ prs: z.ZodArray<z.ZodObject<{
6361
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6362
+ exerciseId: z.ZodInt;
6363
+ exerciseName: z.ZodString;
6364
+ prWeight: z.ZodNumber;
6365
+ prReps: z.ZodInt;
6366
+ prSetIndex: z.ZodInt;
6367
+ }, z.core.$strip>>;
6202
6368
  }, z.core.$strip>;
6203
- exerciseTrackingMaps: z.ZodObject<{
6369
+ trackingMaps: z.ZodObject<{
6204
6370
  byDate: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6205
- id: z.ZodInt;
6206
- exerciseToSplitId: z.ZodInt;
6207
- orderIndex: z.ZodInt;
6208
- reps: z.ZodArray<z.ZodInt>;
6209
- workoutSplitId: z.ZodInt;
6210
- exerciseId: z.ZodInt;
6211
- exercise: z.ZodString;
6212
- exerciseToWorkoutSplit: z.ZodObject<{
6213
- sets: z.ZodArray<z.ZodInt>;
6214
- exercises: z.ZodObject<{
6371
+ exerciseTracking: z.ZodObject<{
6372
+ exerciseTrackingId: z.ZodInt;
6373
+ sets: z.ZodArray<z.ZodObject<{
6374
+ setIndex: z.ZodInt;
6375
+ weight: z.ZodNumber;
6376
+ reps: z.ZodInt;
6377
+ }, z.core.$strip>>;
6378
+ notes: z.ZodNullable<z.ZodString>;
6379
+ exerciseAssignment: z.ZodObject<{
6380
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6381
+ orderIndex: z.ZodNullable<z.ZodInt>;
6382
+ exerciseId: z.ZodInt;
6383
+ workoutSplitId: z.ZodInt;
6384
+ workoutSplitName: z.ZodString;
6385
+ exerciseName: z.ZodString;
6215
6386
  targetMuscle: z.ZodString;
6216
6387
  specificTargetMuscle: z.ZodString;
6217
6388
  }, z.core.$strip>;
6218
6389
  }, z.core.$strip>;
6219
- notes: z.ZodNullable<z.ZodString>;
6220
- weight: z.ZodArray<z.ZodNumber>;
6221
- splitName: z.ZodString;
6222
6390
  }, z.core.$strip>>>;
6223
6391
  byExerciseToSplitId: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6224
- id: z.ZodInt;
6225
- exerciseToSplitId: z.ZodInt;
6226
- weight: z.ZodArray<z.ZodNumber>;
6227
- reps: z.ZodArray<z.ZodInt>;
6228
- notes: z.ZodNullable<z.ZodString>;
6229
- exerciseId: z.ZodInt;
6230
- workoutSplitId: z.ZodInt;
6231
- splitName: z.ZodString;
6232
- exercise: z.ZodString;
6233
- workoutDate: z.ZodString;
6234
- orderIndex: z.ZodInt;
6235
- exerciseToWorkoutSplit: z.ZodObject<{
6236
- sets: z.ZodArray<z.ZodInt>;
6237
- exercises: z.ZodObject<{
6392
+ exerciseTracking: z.ZodObject<{
6393
+ exerciseTrackingId: z.ZodInt;
6394
+ sets: z.ZodArray<z.ZodObject<{
6395
+ setIndex: z.ZodInt;
6396
+ weight: z.ZodNumber;
6397
+ reps: z.ZodInt;
6398
+ }, z.core.$strip>>;
6399
+ notes: z.ZodNullable<z.ZodString>;
6400
+ exerciseAssignment: z.ZodObject<{
6401
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6402
+ orderIndex: z.ZodNullable<z.ZodInt>;
6403
+ exerciseId: z.ZodInt;
6404
+ workoutSplitId: z.ZodInt;
6405
+ workoutSplitName: z.ZodString;
6406
+ exerciseName: z.ZodString;
6238
6407
  targetMuscle: z.ZodString;
6239
6408
  specificTargetMuscle: z.ZodString;
6240
6409
  }, z.core.$strip>;
6241
6410
  }, z.core.$strip>;
6242
6411
  }, z.core.$strip>>>;
6243
6412
  bySplitName: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
6244
- id: z.ZodInt;
6245
- exerciseToSplitId: z.ZodInt;
6246
- orderIndex: z.ZodInt;
6247
- reps: z.ZodArray<z.ZodInt>;
6248
- workoutSplitId: z.ZodInt;
6249
- exerciseId: z.ZodInt;
6250
- exercise: z.ZodString;
6251
- exerciseToWorkoutSplit: z.ZodObject<{
6252
- sets: z.ZodArray<z.ZodInt>;
6253
- exercises: z.ZodObject<{
6413
+ exerciseTracking: z.ZodObject<{
6414
+ exerciseTrackingId: z.ZodInt;
6415
+ sets: z.ZodArray<z.ZodObject<{
6416
+ setIndex: z.ZodInt;
6417
+ weight: z.ZodNumber;
6418
+ reps: z.ZodInt;
6419
+ }, z.core.$strip>>;
6420
+ notes: z.ZodNullable<z.ZodString>;
6421
+ exerciseAssignment: z.ZodObject<{
6422
+ exerciseToSplitId: z.ZodNullable<z.ZodInt>;
6423
+ orderIndex: z.ZodNullable<z.ZodInt>;
6424
+ exerciseId: z.ZodInt;
6425
+ workoutSplitId: z.ZodInt;
6426
+ workoutSplitName: z.ZodString;
6427
+ exerciseName: z.ZodString;
6254
6428
  targetMuscle: z.ZodString;
6255
6429
  specificTargetMuscle: z.ZodString;
6256
6430
  }, z.core.$strip>;
6257
6431
  }, z.core.$strip>;
6258
- notes: z.ZodNullable<z.ZodString>;
6259
- weight: z.ZodArray<z.ZodNumber>;
6260
- workoutDate: z.ZodString;
6261
6432
  }, z.core.$strip>>>;
6262
6433
  }, z.core.$strip>;
6263
6434
  }, z.core.$strip>;