@strong-together/shared 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -69,14 +69,14 @@ __export(index_exports, {
69
69
  exerciseMapByMuscleRowQueryDtoSchema: () => exerciseMapByMuscleRowQueryDtoSchema,
70
70
  exerciseMetadataQueryDtoSchema: () => exerciseMetadataQueryDtoSchema,
71
71
  exerciseToWorkoutSplitDbSchema: () => exerciseToWorkoutSplitDbSchema,
72
- exerciseToWorkoutSplitExpandedViewDbSchema: () => exerciseToWorkoutSplitExpandedViewDbSchema,
72
+ exerciseToWorkoutSplitSetExpandedViewDbSchema: () => exerciseToWorkoutSplitSetExpandedViewDbSchema,
73
73
  exerciseTrackingAnalysisQueryDtoSchema: () => exerciseTrackingAnalysisQueryDtoSchema,
74
74
  exerciseTrackingAndStatsQueryDtoSchema: () => exerciseTrackingAndStatsQueryDtoSchema,
75
75
  exerciseTrackingAndStatsRowQueryDtoSchema: () => exerciseTrackingAndStatsRowQueryDtoSchema,
76
76
  exerciseTrackingDbSchema: () => exerciseTrackingDbSchema,
77
- exerciseTrackingExpandedViewDbSchema: () => exerciseTrackingExpandedViewDbSchema,
78
77
  exerciseTrackingIdQueryDtoSchema: () => exerciseTrackingIdQueryDtoSchema,
79
78
  exerciseTrackingPrMaxQueryDtoSchema: () => exerciseTrackingPrMaxQueryDtoSchema,
79
+ exerciseTrackingSetExpandedViewDbSchema: () => exerciseTrackingSetExpandedViewDbSchema,
80
80
  exercisesMapByMuscleQueryDtoSchema: () => exercisesMapByMuscleQueryDtoSchema,
81
81
  finishUserWorkoutContract: () => finishUserWorkoutContract,
82
82
  finishUserWorkoutResponseSchema: () => finishUserWorkoutResponseSchema,
@@ -1497,7 +1497,7 @@ var userRelations = (0, import_drizzle_orm27.relations)(user, ({ many, one }) =>
1497
1497
  var import_pg_core31 = require("drizzle-orm/pg-core");
1498
1498
  var import_drizzle_orm28 = require("drizzle-orm");
1499
1499
  var import_pg_core32 = require("drizzle-orm/pg-core");
1500
- var exerciseToWorkoutSplitExpandedView = workoutSchema.view("v_exercise_to_workout_split_expanded", {
1500
+ var exerciseToWorkoutSplitSetExpandedView = workoutSchema.view("v_exercise_to_workout_split_set_expanded", {
1501
1501
  id: (0, import_pg_core31.bigint)("id", {
1502
1502
  mode: "number"
1503
1503
  }),
@@ -1559,14 +1559,13 @@ var exerciseToWorkoutSplitExpandedView = workoutSchema.view("v_exercise_to_worko
1559
1559
  var import_drizzle_orm29 = require("drizzle-orm");
1560
1560
  var import_pg_core33 = require("drizzle-orm/pg-core");
1561
1561
  var import_pg_core34 = require("drizzle-orm/pg-core");
1562
- var exerciseTrackingExpandedView = analyticsSchema.view("v_exercise_tracking_expanded", {
1562
+ var exerciseTrackingSetExpandedView = analyticsSchema.view("v_exercise_tracking_set_expanded", {
1563
1563
  id: (0, import_pg_core33.bigint)("id", {
1564
1564
  mode: "number"
1565
1565
  }),
1566
1566
  exerciseToSplitId: (0, import_pg_core33.bigint)("exercise_to_split_id", {
1567
1567
  mode: "number"
1568
1568
  }),
1569
- isAssignedToSplit: (0, import_pg_core33.boolean)("is_assigned_to_split"),
1570
1569
  weight: (0, import_pg_core33.real)("weight"),
1571
1570
  reps: (0, import_pg_core33.bigint)("reps", {
1572
1571
  mode: "number"
@@ -1587,17 +1586,14 @@ var exerciseTrackingExpandedView = analyticsSchema.view("v_exercise_tracking_exp
1587
1586
  }),
1588
1587
  workoutEndUtc: (0, import_pg_core33.timestamp)("workout_end_utc", {
1589
1588
  withTimezone: true
1590
- })
1589
+ }),
1590
+ isAssignedToSplit: (0, import_pg_core33.boolean)("is_assigned_to_split")
1591
1591
  }).with({
1592
1592
  securityInvoker: true
1593
1593
  }).as(import_drizzle_orm29.sql`
1594
1594
  SELECT
1595
1595
  et.id,
1596
1596
  et.exercise_to_split_id,
1597
- CASE
1598
- WHEN et.exercise_to_split_id IS NOT NULL THEN TRUE
1599
- WHEN et.exercise_id IS NOT NULL THEN FALSE
1600
- END AS is_assigned_to_split,
1601
1597
  tracking_set.weight AS weight,
1602
1598
  tracking_set.reps AS reps,
1603
1599
  tracking_set.set_index AS set_index,
@@ -1608,7 +1604,11 @@ var exerciseTrackingExpandedView = analyticsSchema.view("v_exercise_tracking_exp
1608
1604
  et.notes,
1609
1605
  et.workout_summary_id,
1610
1606
  wsumm.workout_start_utc,
1611
- wsumm.workout_end_utc
1607
+ wsumm.workout_end_utc,
1608
+ CASE
1609
+ WHEN et.exercise_to_split_id IS NOT NULL THEN TRUE
1610
+ WHEN et.exercise_id IS NOT NULL THEN FALSE
1611
+ END AS is_assigned_to_split
1612
1612
  FROM
1613
1613
  tracking.exercise_tracking et
1614
1614
  LEFT JOIN tracking.workout_summary wsumm ON wsumm.id = et.workout_summary_id
@@ -1657,7 +1657,7 @@ var prsView = analyticsSchema.view("v_prs", {
1657
1657
  et.workout_start_utc,
1658
1658
  et.workout_end_utc
1659
1659
  FROM
1660
- analytics.v_exercise_tracking_expanded et
1660
+ analytics.v_exercise_tracking_set_expanded et
1661
1661
  ORDER BY
1662
1662
  et.exercise_id,
1663
1663
  et.weight DESC,
@@ -1675,7 +1675,7 @@ var exerciseDbSchema = (0, import_drizzle_zod.createSelectSchema)(exercise);
1675
1675
  var workoutPlanDbSchema = (0, import_drizzle_zod.createSelectSchema)(workoutPlan);
1676
1676
  var workoutSplitDbSchema = (0, import_drizzle_zod.createSelectSchema)(workoutSplit);
1677
1677
  var exerciseToWorkoutSplitDbSchema = (0, import_drizzle_zod.createSelectSchema)(exerciseToWorkoutSplit);
1678
- var exerciseToWorkoutSplitExpandedViewDbSchema = (0, import_drizzle_zod.createSelectSchema)(exerciseToWorkoutSplitExpandedView);
1678
+ var exerciseToWorkoutSplitSetExpandedViewDbSchema = (0, import_drizzle_zod.createSelectSchema)(exerciseToWorkoutSplitSetExpandedView);
1679
1679
  var workoutSetDbSchema = (0, import_drizzle_zod.createSelectSchema)(workoutSet);
1680
1680
  var workoutSummaryDbSchema = (0, import_drizzle_zod.createSelectSchema)(workoutSummary);
1681
1681
  var exerciseTrackingDbSchema = (0, import_drizzle_zod.createSelectSchema)(exerciseTracking);
@@ -1684,7 +1684,7 @@ var aerobicTrackingDbSchema = (0, import_drizzle_zod.createSelectSchema)(aerobic
1684
1684
  var messageDbSchema = (0, import_drizzle_zod.createSelectSchema)(message);
1685
1685
  var userReminderSettingDbSchema = (0, import_drizzle_zod.createSelectSchema)(userReminderSetting);
1686
1686
  var userSplitInformationDbSchema = (0, import_drizzle_zod.createSelectSchema)(userSplitInformation);
1687
- var exerciseTrackingExpandedViewDbSchema = (0, import_drizzle_zod.createSelectSchema)(exerciseTrackingExpandedView);
1687
+ var exerciseTrackingSetExpandedViewDbSchema = (0, import_drizzle_zod.createSelectSchema)(exerciseTrackingSetExpandedView);
1688
1688
  var prsViewDbSchema = (0, import_drizzle_zod.createSelectSchema)(prsView);
1689
1689
 
1690
1690
  // src/modules/aerobics/aerobics.contracts.ts
@@ -2647,14 +2647,14 @@ var finishUserWorkoutContract = {
2647
2647
  exerciseMapByMuscleRowQueryDtoSchema,
2648
2648
  exerciseMetadataQueryDtoSchema,
2649
2649
  exerciseToWorkoutSplitDbSchema,
2650
- exerciseToWorkoutSplitExpandedViewDbSchema,
2650
+ exerciseToWorkoutSplitSetExpandedViewDbSchema,
2651
2651
  exerciseTrackingAnalysisQueryDtoSchema,
2652
2652
  exerciseTrackingAndStatsQueryDtoSchema,
2653
2653
  exerciseTrackingAndStatsRowQueryDtoSchema,
2654
2654
  exerciseTrackingDbSchema,
2655
- exerciseTrackingExpandedViewDbSchema,
2656
2655
  exerciseTrackingIdQueryDtoSchema,
2657
2656
  exerciseTrackingPrMaxQueryDtoSchema,
2657
+ exerciseTrackingSetExpandedViewDbSchema,
2658
2658
  exercisesMapByMuscleQueryDtoSchema,
2659
2659
  finishUserWorkoutContract,
2660
2660
  finishUserWorkoutResponseSchema,
package/dist/index.d.cts CHANGED
@@ -2368,10 +2368,10 @@ declare const exerciseToWorkoutSplitDbSchema: drizzle_zod.BuildSchema<"select",
2368
2368
  generated: undefined;
2369
2369
  }, {}, {}>;
2370
2370
  }, undefined, undefined>;
2371
- declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchema<"select", {
2371
+ declare const exerciseToWorkoutSplitSetExpandedViewDbSchema: drizzle_zod.BuildSchema<"select", {
2372
2372
  id: drizzle_orm_pg_core.PgColumn<{
2373
2373
  name: "id";
2374
- tableName: "v_exercise_to_workout_split_expanded";
2374
+ tableName: "v_exercise_to_workout_split_set_expanded";
2375
2375
  dataType: "number";
2376
2376
  columnType: "PgBigInt53";
2377
2377
  data: number;
@@ -2388,7 +2388,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2388
2388
  }, {}, {}>;
2389
2389
  workoutSplitId: drizzle_orm_pg_core.PgColumn<{
2390
2390
  name: "workout_split_id";
2391
- tableName: "v_exercise_to_workout_split_expanded";
2391
+ tableName: "v_exercise_to_workout_split_set_expanded";
2392
2392
  dataType: "number";
2393
2393
  columnType: "PgBigInt53";
2394
2394
  data: number;
@@ -2405,7 +2405,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2405
2405
  }, {}, {}>;
2406
2406
  workoutId: drizzle_orm_pg_core.PgColumn<{
2407
2407
  name: "workout_id";
2408
- tableName: "v_exercise_to_workout_split_expanded";
2408
+ tableName: "v_exercise_to_workout_split_set_expanded";
2409
2409
  dataType: "number";
2410
2410
  columnType: "PgBigInt53";
2411
2411
  data: number;
@@ -2422,7 +2422,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2422
2422
  }, {}, {}>;
2423
2423
  exerciseId: drizzle_orm_pg_core.PgColumn<{
2424
2424
  name: "exercise_id";
2425
- tableName: "v_exercise_to_workout_split_expanded";
2425
+ tableName: "v_exercise_to_workout_split_set_expanded";
2426
2426
  dataType: "number";
2427
2427
  columnType: "PgBigInt53";
2428
2428
  data: number;
@@ -2439,7 +2439,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2439
2439
  }, {}, {}>;
2440
2440
  exercise: drizzle_orm_pg_core.PgColumn<{
2441
2441
  name: "exercise";
2442
- tableName: "v_exercise_to_workout_split_expanded";
2442
+ tableName: "v_exercise_to_workout_split_set_expanded";
2443
2443
  dataType: "string";
2444
2444
  columnType: "PgText";
2445
2445
  data: string;
@@ -2456,7 +2456,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2456
2456
  }, {}, {}>;
2457
2457
  workoutSplit: drizzle_orm_pg_core.PgColumn<{
2458
2458
  name: "workout_split";
2459
- tableName: "v_exercise_to_workout_split_expanded";
2459
+ tableName: "v_exercise_to_workout_split_set_expanded";
2460
2460
  dataType: "string";
2461
2461
  columnType: "PgText";
2462
2462
  data: string;
@@ -2473,7 +2473,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2473
2473
  }, {}, {}>;
2474
2474
  reps: drizzle_orm_pg_core.PgColumn<{
2475
2475
  name: "reps";
2476
- tableName: "v_exercise_to_workout_split_expanded";
2476
+ tableName: "v_exercise_to_workout_split_set_expanded";
2477
2477
  dataType: "number";
2478
2478
  columnType: "PgInteger";
2479
2479
  data: number;
@@ -2490,7 +2490,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2490
2490
  }, {}, {}>;
2491
2491
  orderIndex: drizzle_orm_pg_core.PgColumn<{
2492
2492
  name: "order_index";
2493
- tableName: "v_exercise_to_workout_split_expanded";
2493
+ tableName: "v_exercise_to_workout_split_set_expanded";
2494
2494
  dataType: "number";
2495
2495
  columnType: "PgBigInt53";
2496
2496
  data: number;
@@ -2507,7 +2507,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2507
2507
  }, {}, {}>;
2508
2508
  setIndex: drizzle_orm_pg_core.PgColumn<{
2509
2509
  name: "set_index";
2510
- tableName: "v_exercise_to_workout_split_expanded";
2510
+ tableName: "v_exercise_to_workout_split_set_expanded";
2511
2511
  dataType: "number";
2512
2512
  columnType: "PgInteger";
2513
2513
  data: number;
@@ -2524,7 +2524,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2524
2524
  }, {}, {}>;
2525
2525
  createdAt: drizzle_orm_pg_core.PgColumn<{
2526
2526
  name: "created_at";
2527
- tableName: "v_exercise_to_workout_split_expanded";
2527
+ tableName: "v_exercise_to_workout_split_set_expanded";
2528
2528
  dataType: "date";
2529
2529
  columnType: "PgTimestamp";
2530
2530
  data: Date;
@@ -2541,7 +2541,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2541
2541
  }, {}, {}>;
2542
2542
  isActive: drizzle_orm_pg_core.PgColumn<{
2543
2543
  name: "is_active";
2544
- tableName: "v_exercise_to_workout_split_expanded";
2544
+ tableName: "v_exercise_to_workout_split_set_expanded";
2545
2545
  dataType: "boolean";
2546
2546
  columnType: "PgBoolean";
2547
2547
  data: boolean;
@@ -3321,10 +3321,10 @@ declare const userSplitInformationDbSchema: drizzle_zod.BuildSchema<"select", {
3321
3321
  generated: undefined;
3322
3322
  }, {}, {}>;
3323
3323
  }, undefined, undefined>;
3324
- declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"select", {
3324
+ declare const exerciseTrackingSetExpandedViewDbSchema: drizzle_zod.BuildSchema<"select", {
3325
3325
  id: drizzle_orm_pg_core.PgColumn<{
3326
3326
  name: "id";
3327
- tableName: "v_exercise_tracking_expanded";
3327
+ tableName: "v_exercise_tracking_set_expanded";
3328
3328
  dataType: "number";
3329
3329
  columnType: "PgBigInt53";
3330
3330
  data: number;
@@ -3341,7 +3341,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3341
3341
  }, {}, {}>;
3342
3342
  exerciseToSplitId: drizzle_orm_pg_core.PgColumn<{
3343
3343
  name: "exercise_to_split_id";
3344
- tableName: "v_exercise_tracking_expanded";
3344
+ tableName: "v_exercise_tracking_set_expanded";
3345
3345
  dataType: "number";
3346
3346
  columnType: "PgBigInt53";
3347
3347
  data: number;
@@ -3356,26 +3356,9 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3356
3356
  identity: undefined;
3357
3357
  generated: undefined;
3358
3358
  }, {}, {}>;
3359
- isAssignedToSplit: drizzle_orm_pg_core.PgColumn<{
3360
- name: "is_assigned_to_split";
3361
- tableName: "v_exercise_tracking_expanded";
3362
- dataType: "boolean";
3363
- columnType: "PgBoolean";
3364
- data: boolean;
3365
- driverParam: boolean;
3366
- notNull: false;
3367
- hasDefault: false;
3368
- isPrimaryKey: false;
3369
- isAutoincrement: false;
3370
- hasRuntimeDefault: false;
3371
- enumValues: undefined;
3372
- baseColumn: never;
3373
- identity: undefined;
3374
- generated: undefined;
3375
- }, {}, {}>;
3376
3359
  weight: drizzle_orm_pg_core.PgColumn<{
3377
3360
  name: "weight";
3378
- tableName: "v_exercise_tracking_expanded";
3361
+ tableName: "v_exercise_tracking_set_expanded";
3379
3362
  dataType: "number";
3380
3363
  columnType: "PgReal";
3381
3364
  data: number;
@@ -3392,7 +3375,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3392
3375
  }, {}, {}>;
3393
3376
  reps: drizzle_orm_pg_core.PgColumn<{
3394
3377
  name: "reps";
3395
- tableName: "v_exercise_tracking_expanded";
3378
+ tableName: "v_exercise_tracking_set_expanded";
3396
3379
  dataType: "number";
3397
3380
  columnType: "PgBigInt53";
3398
3381
  data: number;
@@ -3409,7 +3392,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3409
3392
  }, {}, {}>;
3410
3393
  setIndex: drizzle_orm_pg_core.PgColumn<{
3411
3394
  name: "set_index";
3412
- tableName: "v_exercise_tracking_expanded";
3395
+ tableName: "v_exercise_tracking_set_expanded";
3413
3396
  dataType: "number";
3414
3397
  columnType: "PgInteger";
3415
3398
  data: number;
@@ -3426,7 +3409,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3426
3409
  }, {}, {}>;
3427
3410
  exerciseId: drizzle_orm_pg_core.PgColumn<{
3428
3411
  name: "exercise_id";
3429
- tableName: "v_exercise_tracking_expanded";
3412
+ tableName: "v_exercise_tracking_set_expanded";
3430
3413
  dataType: "number";
3431
3414
  columnType: "PgBigInt53";
3432
3415
  data: number;
@@ -3443,7 +3426,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3443
3426
  }, {}, {}>;
3444
3427
  workoutSplitId: drizzle_orm_pg_core.PgColumn<{
3445
3428
  name: "workout_split_id";
3446
- tableName: "v_exercise_tracking_expanded";
3429
+ tableName: "v_exercise_tracking_set_expanded";
3447
3430
  dataType: "number";
3448
3431
  columnType: "PgBigInt53";
3449
3432
  data: number;
@@ -3460,7 +3443,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3460
3443
  }, {}, {}>;
3461
3444
  splitName: drizzle_orm_pg_core.PgColumn<{
3462
3445
  name: "split_name";
3463
- tableName: "v_exercise_tracking_expanded";
3446
+ tableName: "v_exercise_tracking_set_expanded";
3464
3447
  dataType: "string";
3465
3448
  columnType: "PgText";
3466
3449
  data: string;
@@ -3477,7 +3460,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3477
3460
  }, {}, {}>;
3478
3461
  exercise: drizzle_orm_pg_core.PgColumn<{
3479
3462
  name: "exercise";
3480
- tableName: "v_exercise_tracking_expanded";
3463
+ tableName: "v_exercise_tracking_set_expanded";
3481
3464
  dataType: "string";
3482
3465
  columnType: "PgText";
3483
3466
  data: string;
@@ -3494,7 +3477,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3494
3477
  }, {}, {}>;
3495
3478
  notes: drizzle_orm_pg_core.PgColumn<{
3496
3479
  name: "notes";
3497
- tableName: "v_exercise_tracking_expanded";
3480
+ tableName: "v_exercise_tracking_set_expanded";
3498
3481
  dataType: "string";
3499
3482
  columnType: "PgText";
3500
3483
  data: string;
@@ -3511,7 +3494,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3511
3494
  }, {}, {}>;
3512
3495
  workoutSummaryId: drizzle_orm_pg_core.PgColumn<{
3513
3496
  name: "workout_summary_id";
3514
- tableName: "v_exercise_tracking_expanded";
3497
+ tableName: "v_exercise_tracking_set_expanded";
3515
3498
  dataType: "string";
3516
3499
  columnType: "PgUUID";
3517
3500
  data: string;
@@ -3528,7 +3511,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3528
3511
  }, {}, {}>;
3529
3512
  workoutStartUtc: drizzle_orm_pg_core.PgColumn<{
3530
3513
  name: "workout_start_utc";
3531
- tableName: "v_exercise_tracking_expanded";
3514
+ tableName: "v_exercise_tracking_set_expanded";
3532
3515
  dataType: "date";
3533
3516
  columnType: "PgTimestamp";
3534
3517
  data: Date;
@@ -3545,7 +3528,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3545
3528
  }, {}, {}>;
3546
3529
  workoutEndUtc: drizzle_orm_pg_core.PgColumn<{
3547
3530
  name: "workout_end_utc";
3548
- tableName: "v_exercise_tracking_expanded";
3531
+ tableName: "v_exercise_tracking_set_expanded";
3549
3532
  dataType: "date";
3550
3533
  columnType: "PgTimestamp";
3551
3534
  data: Date;
@@ -3560,6 +3543,23 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3560
3543
  identity: undefined;
3561
3544
  generated: undefined;
3562
3545
  }, {}, {}>;
3546
+ isAssignedToSplit: drizzle_orm_pg_core.PgColumn<{
3547
+ name: "is_assigned_to_split";
3548
+ tableName: "v_exercise_tracking_set_expanded";
3549
+ dataType: "boolean";
3550
+ columnType: "PgBoolean";
3551
+ data: boolean;
3552
+ driverParam: boolean;
3553
+ notNull: false;
3554
+ hasDefault: false;
3555
+ isPrimaryKey: false;
3556
+ isAutoincrement: false;
3557
+ hasRuntimeDefault: false;
3558
+ enumValues: undefined;
3559
+ baseColumn: never;
3560
+ identity: undefined;
3561
+ generated: undefined;
3562
+ }, {}, {}>;
3563
3563
  }, undefined, undefined>;
3564
3564
  declare const prsViewDbSchema: drizzle_zod.BuildSchema<"select", {
3565
3565
  id: drizzle_orm_pg_core.PgColumn<{
@@ -6287,4 +6287,4 @@ type WorkoutSummaryIdQueryDto = z.infer<typeof workoutSummaryIdQueryDtoSchema>;
6287
6287
  type ExerciseTrackingIdQueryDto = z.infer<typeof exerciseTrackingIdQueryDtoSchema>;
6288
6288
  type FinishedWorkoutEntryQueryDto = z.infer<typeof finishedWorkoutEntryQueryDtoSchema>;
6289
6289
 
6290
- export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AddUserAerobicsBody, type AddWorkoutBody, type AddWorkoutResponse, type AddWorkoutSplitPayloadQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type BootstrapRequestQuery, type BootstrapResponse, type ChangeEmailAndVerifyBody, type ChangeEmailTokenPayloadDto, type CheckUserVerifyQuery, type Contract, type CreateUserBody, type CreateUserResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteUserProfilePicBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseInPlanQueryDto, type ExerciseMapByMuscleRowQueryDto, type ExerciseMetadataQueryDto, type ExerciseRow, type ExerciseToWorkoutSplitRow, type ExerciseTrackingAnalysisQueryDto, type ExerciseTrackingAndStatsQueryDto, type ExerciseTrackingAndStatsRowQueryDto, type ExerciseTrackingIdQueryDto, type ExerciseTrackingPrMaxQueryDto, type ExerciseTrackingRow, type ExercisesMapByMuscleQueryDto, type FinishUserWorkoutBody, type FinishUserWorkoutResponse, type FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GenerateTicketBody, type GenerateTicketResponse, type GetAllExercisesExerciseQueryDto, type GetAllExercisesResponse, type GetAllUserMessagesQuery, type GetAllUserMessagesResponse, type GetAnalyticsResponse, type GetAuthenticatedUserByIdResponse, type GetExerciseTrackingQuery, type GetExerciseTrackingResponse, type GetPresignedUrlFromS3Body, type GetPresignedUrlFromS3Response, type GetUserAerobicsQuery, type GetWholeUserWorkoutPlanQuery, type GetWholeUserWorkoutPlanResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type LoginRequestBody, type LoginResponse, type LogoutResponse, type MarkMessageAsReadParams, type MarkMessageAsReadResponse, type MessageAfterSendQueryDto, type MessageAsReadQueryDto, type MessageRow, type OAuthCreatedUserRowQueryDto, type OAuthLinkQueryDto, type OAuthLinkRowQueryDto, type OAuthLoginResponse, type OAuthLookupQueryDto, type OAuthLookupRawQueryDto, type OAuthLookupRowQueryDto, type ParamsOf, type QueryOf, type RefreshTokenResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveUserPushTokenBody, type SendChangePassEmailBody, type SendVerificationMailBody, type SetProfilePicAndUpdateDBResponse, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateAuthenticatedUserResponse, type UpdateUserBody, type UserAerobicsQueryDto, type UserAerobicsResponse, type UserAerobicsRowQueryDto, type UserAfterBumpQueryDto, type UserByIdentifierQueryDto, type UserByIdentifierRawQueryDto, type UserByIdentifierRowQueryDto, type UserByUsernameRawQueryDto, type UserByUsernameRowQueryDto, type UserConflictQueryDto, type UserDataQueryDto, type UserDataResponse, type UserDataRowQueryDto, type UserExistsQueryDto, type UserInsert, type UserMessageIdentityQueryDto, type UserProfilePicQueryDto, type UserRow, type UserToHourlyReminderQueryDto, type UserWithNotificationsEnabledQueryDto, type VerifyUserAccountQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutExerciseMetadataQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSplitsMapItemQueryDto, type WorkoutSplitsMapQueryDto, type WorkoutSplitsRowQueryDto, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, addAerobicsRequestSchema, addUserAerobicsContract, addWorkoutContract, addWorkoutRequestSchema, addWorkoutResponseSchema, addWorkoutSplitPayloadQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, bootstrapContract, bootstrapRequestSchema, bootstrapResponseSchema, changeEmailAndVerifyContract, changeEmailAndVerifyRequestSchema, changeEmailTokenPayloadDtoSchema, checkUserVerifyContract, checkUserVerifyRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePicRequestSchema, deleteUserProfilePicContract, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingExpandedViewDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exercisesMapByMuscleQueryDtoSchema, finishUserWorkoutContract, finishUserWorkoutResponseSchema, finishWorkoutRequestSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, generateTicketContract, generateTicketRequestSchema, generateTicketResponseSchema, getAerobicsRequestSchema, getAllExercisesContract, getAllExercisesExerciseQueryDtoSchema, getAllExercisesResponseSchema, getAllMessagesRequestSchema, getAllUserMessagesContract, getAllUserMessagesResponseSchema, getAnalyticsContract, getAnalyticsResponseSchema, getAuthenticatedUserByIdContract, getAuthenticatedUserByIdResponseSchema, getExerciseTrackingContract, getExerciseTrackingRequestSchema, getExerciseTrackingResponseSchema, getPresignedUrlFromS3Contract, getPresignedUrlFromS3RequestSchema, getPresignedUrlFromS3ResponseSchema, getUserAerobicsContract, getWholeUserWorkoutPlanContract, getWholeUserWorkoutPlanResponseSchema, getWholeWorkoutPlanRequestSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveUserPushTokenContract, saveUserPushTokenRequestSchema, sendChangePassEmailContract, sendChangePassEmailRequestSchema, sendVerificationMailContract, sendVerificationMailRequestSchema, serializedDateSchema, setProfilePicAndUpdateDBContract, setProfilePicAndUpdateDBResponseSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateAuthenticatedUserContract, updateAuthenticatedUserResponseSchema, updateUserRequestSchema, userAerobicsQueryDtoSchema, userAerobicsResponseSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyAccountRequestSchema, verifyUserAccountContract, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutExerciseMetadataQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSplitsMapItemQueryDtoSchema, workoutSplitsMapQueryDtoSchema, workoutSplitsRowQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
6290
+ export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AddUserAerobicsBody, type AddWorkoutBody, type AddWorkoutResponse, type AddWorkoutSplitPayloadQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type BootstrapRequestQuery, type BootstrapResponse, type ChangeEmailAndVerifyBody, type ChangeEmailTokenPayloadDto, type CheckUserVerifyQuery, type Contract, type CreateUserBody, type CreateUserResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteUserProfilePicBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseInPlanQueryDto, type ExerciseMapByMuscleRowQueryDto, type ExerciseMetadataQueryDto, type ExerciseRow, type ExerciseToWorkoutSplitRow, type ExerciseTrackingAnalysisQueryDto, type ExerciseTrackingAndStatsQueryDto, type ExerciseTrackingAndStatsRowQueryDto, type ExerciseTrackingIdQueryDto, type ExerciseTrackingPrMaxQueryDto, type ExerciseTrackingRow, type ExercisesMapByMuscleQueryDto, type FinishUserWorkoutBody, type FinishUserWorkoutResponse, type FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GenerateTicketBody, type GenerateTicketResponse, type GetAllExercisesExerciseQueryDto, type GetAllExercisesResponse, type GetAllUserMessagesQuery, type GetAllUserMessagesResponse, type GetAnalyticsResponse, type GetAuthenticatedUserByIdResponse, type GetExerciseTrackingQuery, type GetExerciseTrackingResponse, type GetPresignedUrlFromS3Body, type GetPresignedUrlFromS3Response, type GetUserAerobicsQuery, type GetWholeUserWorkoutPlanQuery, type GetWholeUserWorkoutPlanResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type LoginRequestBody, type LoginResponse, type LogoutResponse, type MarkMessageAsReadParams, type MarkMessageAsReadResponse, type MessageAfterSendQueryDto, type MessageAsReadQueryDto, type MessageRow, type OAuthCreatedUserRowQueryDto, type OAuthLinkQueryDto, type OAuthLinkRowQueryDto, type OAuthLoginResponse, type OAuthLookupQueryDto, type OAuthLookupRawQueryDto, type OAuthLookupRowQueryDto, type ParamsOf, type QueryOf, type RefreshTokenResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveUserPushTokenBody, type SendChangePassEmailBody, type SendVerificationMailBody, type SetProfilePicAndUpdateDBResponse, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateAuthenticatedUserResponse, type UpdateUserBody, type UserAerobicsQueryDto, type UserAerobicsResponse, type UserAerobicsRowQueryDto, type UserAfterBumpQueryDto, type UserByIdentifierQueryDto, type UserByIdentifierRawQueryDto, type UserByIdentifierRowQueryDto, type UserByUsernameRawQueryDto, type UserByUsernameRowQueryDto, type UserConflictQueryDto, type UserDataQueryDto, type UserDataResponse, type UserDataRowQueryDto, type UserExistsQueryDto, type UserInsert, type UserMessageIdentityQueryDto, type UserProfilePicQueryDto, type UserRow, type UserToHourlyReminderQueryDto, type UserWithNotificationsEnabledQueryDto, type VerifyUserAccountQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutExerciseMetadataQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSplitsMapItemQueryDto, type WorkoutSplitsMapQueryDto, type WorkoutSplitsRowQueryDto, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, addAerobicsRequestSchema, addUserAerobicsContract, addWorkoutContract, addWorkoutRequestSchema, addWorkoutResponseSchema, addWorkoutSplitPayloadQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, bootstrapContract, bootstrapRequestSchema, bootstrapResponseSchema, changeEmailAndVerifyContract, changeEmailAndVerifyRequestSchema, changeEmailTokenPayloadDtoSchema, checkUserVerifyContract, checkUserVerifyRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePicRequestSchema, deleteUserProfilePicContract, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exercisesMapByMuscleQueryDtoSchema, finishUserWorkoutContract, finishUserWorkoutResponseSchema, finishWorkoutRequestSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, generateTicketContract, generateTicketRequestSchema, generateTicketResponseSchema, getAerobicsRequestSchema, getAllExercisesContract, getAllExercisesExerciseQueryDtoSchema, getAllExercisesResponseSchema, getAllMessagesRequestSchema, getAllUserMessagesContract, getAllUserMessagesResponseSchema, getAnalyticsContract, getAnalyticsResponseSchema, getAuthenticatedUserByIdContract, getAuthenticatedUserByIdResponseSchema, getExerciseTrackingContract, getExerciseTrackingRequestSchema, getExerciseTrackingResponseSchema, getPresignedUrlFromS3Contract, getPresignedUrlFromS3RequestSchema, getPresignedUrlFromS3ResponseSchema, getUserAerobicsContract, getWholeUserWorkoutPlanContract, getWholeUserWorkoutPlanResponseSchema, getWholeWorkoutPlanRequestSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveUserPushTokenContract, saveUserPushTokenRequestSchema, sendChangePassEmailContract, sendChangePassEmailRequestSchema, sendVerificationMailContract, sendVerificationMailRequestSchema, serializedDateSchema, setProfilePicAndUpdateDBContract, setProfilePicAndUpdateDBResponseSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateAuthenticatedUserContract, updateAuthenticatedUserResponseSchema, updateUserRequestSchema, userAerobicsQueryDtoSchema, userAerobicsResponseSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyAccountRequestSchema, verifyUserAccountContract, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutExerciseMetadataQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSplitsMapItemQueryDtoSchema, workoutSplitsMapQueryDtoSchema, workoutSplitsRowQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
package/dist/index.d.ts CHANGED
@@ -2368,10 +2368,10 @@ declare const exerciseToWorkoutSplitDbSchema: drizzle_zod.BuildSchema<"select",
2368
2368
  generated: undefined;
2369
2369
  }, {}, {}>;
2370
2370
  }, undefined, undefined>;
2371
- declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchema<"select", {
2371
+ declare const exerciseToWorkoutSplitSetExpandedViewDbSchema: drizzle_zod.BuildSchema<"select", {
2372
2372
  id: drizzle_orm_pg_core.PgColumn<{
2373
2373
  name: "id";
2374
- tableName: "v_exercise_to_workout_split_expanded";
2374
+ tableName: "v_exercise_to_workout_split_set_expanded";
2375
2375
  dataType: "number";
2376
2376
  columnType: "PgBigInt53";
2377
2377
  data: number;
@@ -2388,7 +2388,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2388
2388
  }, {}, {}>;
2389
2389
  workoutSplitId: drizzle_orm_pg_core.PgColumn<{
2390
2390
  name: "workout_split_id";
2391
- tableName: "v_exercise_to_workout_split_expanded";
2391
+ tableName: "v_exercise_to_workout_split_set_expanded";
2392
2392
  dataType: "number";
2393
2393
  columnType: "PgBigInt53";
2394
2394
  data: number;
@@ -2405,7 +2405,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2405
2405
  }, {}, {}>;
2406
2406
  workoutId: drizzle_orm_pg_core.PgColumn<{
2407
2407
  name: "workout_id";
2408
- tableName: "v_exercise_to_workout_split_expanded";
2408
+ tableName: "v_exercise_to_workout_split_set_expanded";
2409
2409
  dataType: "number";
2410
2410
  columnType: "PgBigInt53";
2411
2411
  data: number;
@@ -2422,7 +2422,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2422
2422
  }, {}, {}>;
2423
2423
  exerciseId: drizzle_orm_pg_core.PgColumn<{
2424
2424
  name: "exercise_id";
2425
- tableName: "v_exercise_to_workout_split_expanded";
2425
+ tableName: "v_exercise_to_workout_split_set_expanded";
2426
2426
  dataType: "number";
2427
2427
  columnType: "PgBigInt53";
2428
2428
  data: number;
@@ -2439,7 +2439,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2439
2439
  }, {}, {}>;
2440
2440
  exercise: drizzle_orm_pg_core.PgColumn<{
2441
2441
  name: "exercise";
2442
- tableName: "v_exercise_to_workout_split_expanded";
2442
+ tableName: "v_exercise_to_workout_split_set_expanded";
2443
2443
  dataType: "string";
2444
2444
  columnType: "PgText";
2445
2445
  data: string;
@@ -2456,7 +2456,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2456
2456
  }, {}, {}>;
2457
2457
  workoutSplit: drizzle_orm_pg_core.PgColumn<{
2458
2458
  name: "workout_split";
2459
- tableName: "v_exercise_to_workout_split_expanded";
2459
+ tableName: "v_exercise_to_workout_split_set_expanded";
2460
2460
  dataType: "string";
2461
2461
  columnType: "PgText";
2462
2462
  data: string;
@@ -2473,7 +2473,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2473
2473
  }, {}, {}>;
2474
2474
  reps: drizzle_orm_pg_core.PgColumn<{
2475
2475
  name: "reps";
2476
- tableName: "v_exercise_to_workout_split_expanded";
2476
+ tableName: "v_exercise_to_workout_split_set_expanded";
2477
2477
  dataType: "number";
2478
2478
  columnType: "PgInteger";
2479
2479
  data: number;
@@ -2490,7 +2490,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2490
2490
  }, {}, {}>;
2491
2491
  orderIndex: drizzle_orm_pg_core.PgColumn<{
2492
2492
  name: "order_index";
2493
- tableName: "v_exercise_to_workout_split_expanded";
2493
+ tableName: "v_exercise_to_workout_split_set_expanded";
2494
2494
  dataType: "number";
2495
2495
  columnType: "PgBigInt53";
2496
2496
  data: number;
@@ -2507,7 +2507,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2507
2507
  }, {}, {}>;
2508
2508
  setIndex: drizzle_orm_pg_core.PgColumn<{
2509
2509
  name: "set_index";
2510
- tableName: "v_exercise_to_workout_split_expanded";
2510
+ tableName: "v_exercise_to_workout_split_set_expanded";
2511
2511
  dataType: "number";
2512
2512
  columnType: "PgInteger";
2513
2513
  data: number;
@@ -2524,7 +2524,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2524
2524
  }, {}, {}>;
2525
2525
  createdAt: drizzle_orm_pg_core.PgColumn<{
2526
2526
  name: "created_at";
2527
- tableName: "v_exercise_to_workout_split_expanded";
2527
+ tableName: "v_exercise_to_workout_split_set_expanded";
2528
2528
  dataType: "date";
2529
2529
  columnType: "PgTimestamp";
2530
2530
  data: Date;
@@ -2541,7 +2541,7 @@ declare const exerciseToWorkoutSplitExpandedViewDbSchema: drizzle_zod.BuildSchem
2541
2541
  }, {}, {}>;
2542
2542
  isActive: drizzle_orm_pg_core.PgColumn<{
2543
2543
  name: "is_active";
2544
- tableName: "v_exercise_to_workout_split_expanded";
2544
+ tableName: "v_exercise_to_workout_split_set_expanded";
2545
2545
  dataType: "boolean";
2546
2546
  columnType: "PgBoolean";
2547
2547
  data: boolean;
@@ -3321,10 +3321,10 @@ declare const userSplitInformationDbSchema: drizzle_zod.BuildSchema<"select", {
3321
3321
  generated: undefined;
3322
3322
  }, {}, {}>;
3323
3323
  }, undefined, undefined>;
3324
- declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"select", {
3324
+ declare const exerciseTrackingSetExpandedViewDbSchema: drizzle_zod.BuildSchema<"select", {
3325
3325
  id: drizzle_orm_pg_core.PgColumn<{
3326
3326
  name: "id";
3327
- tableName: "v_exercise_tracking_expanded";
3327
+ tableName: "v_exercise_tracking_set_expanded";
3328
3328
  dataType: "number";
3329
3329
  columnType: "PgBigInt53";
3330
3330
  data: number;
@@ -3341,7 +3341,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3341
3341
  }, {}, {}>;
3342
3342
  exerciseToSplitId: drizzle_orm_pg_core.PgColumn<{
3343
3343
  name: "exercise_to_split_id";
3344
- tableName: "v_exercise_tracking_expanded";
3344
+ tableName: "v_exercise_tracking_set_expanded";
3345
3345
  dataType: "number";
3346
3346
  columnType: "PgBigInt53";
3347
3347
  data: number;
@@ -3356,26 +3356,9 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3356
3356
  identity: undefined;
3357
3357
  generated: undefined;
3358
3358
  }, {}, {}>;
3359
- isAssignedToSplit: drizzle_orm_pg_core.PgColumn<{
3360
- name: "is_assigned_to_split";
3361
- tableName: "v_exercise_tracking_expanded";
3362
- dataType: "boolean";
3363
- columnType: "PgBoolean";
3364
- data: boolean;
3365
- driverParam: boolean;
3366
- notNull: false;
3367
- hasDefault: false;
3368
- isPrimaryKey: false;
3369
- isAutoincrement: false;
3370
- hasRuntimeDefault: false;
3371
- enumValues: undefined;
3372
- baseColumn: never;
3373
- identity: undefined;
3374
- generated: undefined;
3375
- }, {}, {}>;
3376
3359
  weight: drizzle_orm_pg_core.PgColumn<{
3377
3360
  name: "weight";
3378
- tableName: "v_exercise_tracking_expanded";
3361
+ tableName: "v_exercise_tracking_set_expanded";
3379
3362
  dataType: "number";
3380
3363
  columnType: "PgReal";
3381
3364
  data: number;
@@ -3392,7 +3375,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3392
3375
  }, {}, {}>;
3393
3376
  reps: drizzle_orm_pg_core.PgColumn<{
3394
3377
  name: "reps";
3395
- tableName: "v_exercise_tracking_expanded";
3378
+ tableName: "v_exercise_tracking_set_expanded";
3396
3379
  dataType: "number";
3397
3380
  columnType: "PgBigInt53";
3398
3381
  data: number;
@@ -3409,7 +3392,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3409
3392
  }, {}, {}>;
3410
3393
  setIndex: drizzle_orm_pg_core.PgColumn<{
3411
3394
  name: "set_index";
3412
- tableName: "v_exercise_tracking_expanded";
3395
+ tableName: "v_exercise_tracking_set_expanded";
3413
3396
  dataType: "number";
3414
3397
  columnType: "PgInteger";
3415
3398
  data: number;
@@ -3426,7 +3409,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3426
3409
  }, {}, {}>;
3427
3410
  exerciseId: drizzle_orm_pg_core.PgColumn<{
3428
3411
  name: "exercise_id";
3429
- tableName: "v_exercise_tracking_expanded";
3412
+ tableName: "v_exercise_tracking_set_expanded";
3430
3413
  dataType: "number";
3431
3414
  columnType: "PgBigInt53";
3432
3415
  data: number;
@@ -3443,7 +3426,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3443
3426
  }, {}, {}>;
3444
3427
  workoutSplitId: drizzle_orm_pg_core.PgColumn<{
3445
3428
  name: "workout_split_id";
3446
- tableName: "v_exercise_tracking_expanded";
3429
+ tableName: "v_exercise_tracking_set_expanded";
3447
3430
  dataType: "number";
3448
3431
  columnType: "PgBigInt53";
3449
3432
  data: number;
@@ -3460,7 +3443,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3460
3443
  }, {}, {}>;
3461
3444
  splitName: drizzle_orm_pg_core.PgColumn<{
3462
3445
  name: "split_name";
3463
- tableName: "v_exercise_tracking_expanded";
3446
+ tableName: "v_exercise_tracking_set_expanded";
3464
3447
  dataType: "string";
3465
3448
  columnType: "PgText";
3466
3449
  data: string;
@@ -3477,7 +3460,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3477
3460
  }, {}, {}>;
3478
3461
  exercise: drizzle_orm_pg_core.PgColumn<{
3479
3462
  name: "exercise";
3480
- tableName: "v_exercise_tracking_expanded";
3463
+ tableName: "v_exercise_tracking_set_expanded";
3481
3464
  dataType: "string";
3482
3465
  columnType: "PgText";
3483
3466
  data: string;
@@ -3494,7 +3477,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3494
3477
  }, {}, {}>;
3495
3478
  notes: drizzle_orm_pg_core.PgColumn<{
3496
3479
  name: "notes";
3497
- tableName: "v_exercise_tracking_expanded";
3480
+ tableName: "v_exercise_tracking_set_expanded";
3498
3481
  dataType: "string";
3499
3482
  columnType: "PgText";
3500
3483
  data: string;
@@ -3511,7 +3494,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3511
3494
  }, {}, {}>;
3512
3495
  workoutSummaryId: drizzle_orm_pg_core.PgColumn<{
3513
3496
  name: "workout_summary_id";
3514
- tableName: "v_exercise_tracking_expanded";
3497
+ tableName: "v_exercise_tracking_set_expanded";
3515
3498
  dataType: "string";
3516
3499
  columnType: "PgUUID";
3517
3500
  data: string;
@@ -3528,7 +3511,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3528
3511
  }, {}, {}>;
3529
3512
  workoutStartUtc: drizzle_orm_pg_core.PgColumn<{
3530
3513
  name: "workout_start_utc";
3531
- tableName: "v_exercise_tracking_expanded";
3514
+ tableName: "v_exercise_tracking_set_expanded";
3532
3515
  dataType: "date";
3533
3516
  columnType: "PgTimestamp";
3534
3517
  data: Date;
@@ -3545,7 +3528,7 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3545
3528
  }, {}, {}>;
3546
3529
  workoutEndUtc: drizzle_orm_pg_core.PgColumn<{
3547
3530
  name: "workout_end_utc";
3548
- tableName: "v_exercise_tracking_expanded";
3531
+ tableName: "v_exercise_tracking_set_expanded";
3549
3532
  dataType: "date";
3550
3533
  columnType: "PgTimestamp";
3551
3534
  data: Date;
@@ -3560,6 +3543,23 @@ declare const exerciseTrackingExpandedViewDbSchema: drizzle_zod.BuildSchema<"sel
3560
3543
  identity: undefined;
3561
3544
  generated: undefined;
3562
3545
  }, {}, {}>;
3546
+ isAssignedToSplit: drizzle_orm_pg_core.PgColumn<{
3547
+ name: "is_assigned_to_split";
3548
+ tableName: "v_exercise_tracking_set_expanded";
3549
+ dataType: "boolean";
3550
+ columnType: "PgBoolean";
3551
+ data: boolean;
3552
+ driverParam: boolean;
3553
+ notNull: false;
3554
+ hasDefault: false;
3555
+ isPrimaryKey: false;
3556
+ isAutoincrement: false;
3557
+ hasRuntimeDefault: false;
3558
+ enumValues: undefined;
3559
+ baseColumn: never;
3560
+ identity: undefined;
3561
+ generated: undefined;
3562
+ }, {}, {}>;
3563
3563
  }, undefined, undefined>;
3564
3564
  declare const prsViewDbSchema: drizzle_zod.BuildSchema<"select", {
3565
3565
  id: drizzle_orm_pg_core.PgColumn<{
@@ -6287,4 +6287,4 @@ type WorkoutSummaryIdQueryDto = z.infer<typeof workoutSummaryIdQueryDtoSchema>;
6287
6287
  type ExerciseTrackingIdQueryDto = z.infer<typeof exerciseTrackingIdQueryDtoSchema>;
6288
6288
  type FinishedWorkoutEntryQueryDto = z.infer<typeof finishedWorkoutEntryQueryDtoSchema>;
6289
6289
 
6290
- export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AddUserAerobicsBody, type AddWorkoutBody, type AddWorkoutResponse, type AddWorkoutSplitPayloadQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type BootstrapRequestQuery, type BootstrapResponse, type ChangeEmailAndVerifyBody, type ChangeEmailTokenPayloadDto, type CheckUserVerifyQuery, type Contract, type CreateUserBody, type CreateUserResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteUserProfilePicBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseInPlanQueryDto, type ExerciseMapByMuscleRowQueryDto, type ExerciseMetadataQueryDto, type ExerciseRow, type ExerciseToWorkoutSplitRow, type ExerciseTrackingAnalysisQueryDto, type ExerciseTrackingAndStatsQueryDto, type ExerciseTrackingAndStatsRowQueryDto, type ExerciseTrackingIdQueryDto, type ExerciseTrackingPrMaxQueryDto, type ExerciseTrackingRow, type ExercisesMapByMuscleQueryDto, type FinishUserWorkoutBody, type FinishUserWorkoutResponse, type FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GenerateTicketBody, type GenerateTicketResponse, type GetAllExercisesExerciseQueryDto, type GetAllExercisesResponse, type GetAllUserMessagesQuery, type GetAllUserMessagesResponse, type GetAnalyticsResponse, type GetAuthenticatedUserByIdResponse, type GetExerciseTrackingQuery, type GetExerciseTrackingResponse, type GetPresignedUrlFromS3Body, type GetPresignedUrlFromS3Response, type GetUserAerobicsQuery, type GetWholeUserWorkoutPlanQuery, type GetWholeUserWorkoutPlanResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type LoginRequestBody, type LoginResponse, type LogoutResponse, type MarkMessageAsReadParams, type MarkMessageAsReadResponse, type MessageAfterSendQueryDto, type MessageAsReadQueryDto, type MessageRow, type OAuthCreatedUserRowQueryDto, type OAuthLinkQueryDto, type OAuthLinkRowQueryDto, type OAuthLoginResponse, type OAuthLookupQueryDto, type OAuthLookupRawQueryDto, type OAuthLookupRowQueryDto, type ParamsOf, type QueryOf, type RefreshTokenResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveUserPushTokenBody, type SendChangePassEmailBody, type SendVerificationMailBody, type SetProfilePicAndUpdateDBResponse, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateAuthenticatedUserResponse, type UpdateUserBody, type UserAerobicsQueryDto, type UserAerobicsResponse, type UserAerobicsRowQueryDto, type UserAfterBumpQueryDto, type UserByIdentifierQueryDto, type UserByIdentifierRawQueryDto, type UserByIdentifierRowQueryDto, type UserByUsernameRawQueryDto, type UserByUsernameRowQueryDto, type UserConflictQueryDto, type UserDataQueryDto, type UserDataResponse, type UserDataRowQueryDto, type UserExistsQueryDto, type UserInsert, type UserMessageIdentityQueryDto, type UserProfilePicQueryDto, type UserRow, type UserToHourlyReminderQueryDto, type UserWithNotificationsEnabledQueryDto, type VerifyUserAccountQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutExerciseMetadataQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSplitsMapItemQueryDto, type WorkoutSplitsMapQueryDto, type WorkoutSplitsRowQueryDto, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, addAerobicsRequestSchema, addUserAerobicsContract, addWorkoutContract, addWorkoutRequestSchema, addWorkoutResponseSchema, addWorkoutSplitPayloadQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, bootstrapContract, bootstrapRequestSchema, bootstrapResponseSchema, changeEmailAndVerifyContract, changeEmailAndVerifyRequestSchema, changeEmailTokenPayloadDtoSchema, checkUserVerifyContract, checkUserVerifyRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePicRequestSchema, deleteUserProfilePicContract, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingExpandedViewDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exercisesMapByMuscleQueryDtoSchema, finishUserWorkoutContract, finishUserWorkoutResponseSchema, finishWorkoutRequestSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, generateTicketContract, generateTicketRequestSchema, generateTicketResponseSchema, getAerobicsRequestSchema, getAllExercisesContract, getAllExercisesExerciseQueryDtoSchema, getAllExercisesResponseSchema, getAllMessagesRequestSchema, getAllUserMessagesContract, getAllUserMessagesResponseSchema, getAnalyticsContract, getAnalyticsResponseSchema, getAuthenticatedUserByIdContract, getAuthenticatedUserByIdResponseSchema, getExerciseTrackingContract, getExerciseTrackingRequestSchema, getExerciseTrackingResponseSchema, getPresignedUrlFromS3Contract, getPresignedUrlFromS3RequestSchema, getPresignedUrlFromS3ResponseSchema, getUserAerobicsContract, getWholeUserWorkoutPlanContract, getWholeUserWorkoutPlanResponseSchema, getWholeWorkoutPlanRequestSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveUserPushTokenContract, saveUserPushTokenRequestSchema, sendChangePassEmailContract, sendChangePassEmailRequestSchema, sendVerificationMailContract, sendVerificationMailRequestSchema, serializedDateSchema, setProfilePicAndUpdateDBContract, setProfilePicAndUpdateDBResponseSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateAuthenticatedUserContract, updateAuthenticatedUserResponseSchema, updateUserRequestSchema, userAerobicsQueryDtoSchema, userAerobicsResponseSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyAccountRequestSchema, verifyUserAccountContract, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutExerciseMetadataQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSplitsMapItemQueryDtoSchema, workoutSplitsMapQueryDtoSchema, workoutSplitsRowQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
6290
+ export { type AccessTokenPayloadDto, type AddAerobicInputQueryDto, type AddUserAerobicsBody, type AddWorkoutBody, type AddWorkoutResponse, type AddWorkoutSplitPayloadQueryDto, type AdherenceExerciseStatsQueryDto, type AerobicTrackingRow, type AerobicsDailyRecordQueryDto, type AerobicsWeeklyRecordQueryDto, type AllUserMessageQueryDto, type AnalyzeVideoPayloadDto, type AnalyzeVideoResultPayloadDto, type AppleOAuthBody, type AppleTokenVerificationResultDto, type AuthenticatedUserForUpdateQueryDto, type BodyOf, type BootstrapRequestQuery, type BootstrapResponse, type ChangeEmailAndVerifyBody, type ChangeEmailTokenPayloadDto, type CheckUserVerifyQuery, type Contract, type CreateUserBody, type CreateUserResponse, type CreatedUserQueryDto, type CreatedUserRawQueryDto, type CreatedUserRowQueryDto, type DeleteMessageParams, type DeleteMessageResponse, type DeleteUserProfilePicBody, type DeletedMessageQueryDto, type EmailVerifyPayloadDto, type EnqueueAnalyzeVideoParamsDto, type ExerciseAssignmentIdQueryDto, type ExerciseInPlanQueryDto, type ExerciseMapByMuscleRowQueryDto, type ExerciseMetadataQueryDto, type ExerciseRow, type ExerciseToWorkoutSplitRow, type ExerciseTrackingAnalysisQueryDto, type ExerciseTrackingAndStatsQueryDto, type ExerciseTrackingAndStatsRowQueryDto, type ExerciseTrackingIdQueryDto, type ExerciseTrackingPrMaxQueryDto, type ExerciseTrackingRow, type ExercisesMapByMuscleQueryDto, type FinishUserWorkoutBody, type FinishUserWorkoutResponse, type FinishedWorkoutEntryQueryDto, type ForgotPasswordPayloadDto, type GenerateTicketBody, type GenerateTicketResponse, type GetAllExercisesExerciseQueryDto, type GetAllExercisesResponse, type GetAllUserMessagesQuery, type GetAllUserMessagesResponse, type GetAnalyticsResponse, type GetAuthenticatedUserByIdResponse, type GetExerciseTrackingQuery, type GetExerciseTrackingResponse, type GetPresignedUrlFromS3Body, type GetPresignedUrlFromS3Response, type GetUserAerobicsQuery, type GetWholeUserWorkoutPlanQuery, type GetWholeUserWorkoutPlanResponse, type GoalAdherenceQueryDto, type GoalAdherenceRowQueryDto, type GoogleOAuthBody, type GoogleTokenVerificationResultDto, type LastLoginQueryDto, type LoginRequestBody, type LoginResponse, type LogoutResponse, type MarkMessageAsReadParams, type MarkMessageAsReadResponse, type MessageAfterSendQueryDto, type MessageAsReadQueryDto, type MessageRow, type OAuthCreatedUserRowQueryDto, type OAuthLinkQueryDto, type OAuthLinkRowQueryDto, type OAuthLoginResponse, type OAuthLookupQueryDto, type OAuthLookupRawQueryDto, type OAuthLookupRowQueryDto, type ParamsOf, type QueryOf, type RefreshTokenResponse, type RequestOf, type RequestSchema, type ResetPasswordBody, type ResetPasswordQuery, type ResetPasswordResponse, type ResponseOf, type SaveUserPushTokenBody, type SendChangePassEmailBody, type SendVerificationMailBody, type SetProfilePicAndUpdateDBResponse, type SquatRepetitionDto, type TokenVersionQueryDto, type TrackingByDateItemQueryDto, type TrackingBySplitNameItemQueryDto, type TrackingMapItemQueryDto, type UpdateAuthenticatedUserResponse, type UpdateUserBody, type UserAerobicsQueryDto, type UserAerobicsResponse, type UserAerobicsRowQueryDto, type UserAfterBumpQueryDto, type UserByIdentifierQueryDto, type UserByIdentifierRawQueryDto, type UserByIdentifierRowQueryDto, type UserByUsernameRawQueryDto, type UserByUsernameRowQueryDto, type UserConflictQueryDto, type UserDataQueryDto, type UserDataResponse, type UserDataRowQueryDto, type UserExistsQueryDto, type UserInsert, type UserMessageIdentityQueryDto, type UserProfilePicQueryDto, type UserRow, type UserToHourlyReminderQueryDto, type UserWithNotificationsEnabledQueryDto, type VerifyUserAccountQuery, type WeeklyDataQueryDto, type WholeUserWorkoutPlanQueryDto, type WorkoutExerciseInputQueryDto, type WorkoutExerciseMetadataQueryDto, type WorkoutPlanIdQueryDto, type WorkoutPlanRow, type WorkoutRmRecordQueryDto, type WorkoutRmsQueryDto, type WorkoutRmsRowQueryDto, type WorkoutSplitIdQueryDto, type WorkoutSplitLookupQueryDto, type WorkoutSplitQueryDto, type WorkoutSplitRow, type WorkoutSplitsMapItemQueryDto, type WorkoutSplitsMapQueryDto, type WorkoutSplitsRowQueryDto, type WorkoutSummaryIdQueryDto, type WorkoutSummaryRow, accessTokenPayloadDtoSchema, addAerobicInputQueryDtoSchema, addAerobicsRequestSchema, addUserAerobicsContract, addWorkoutContract, addWorkoutRequestSchema, addWorkoutResponseSchema, addWorkoutSplitPayloadQueryDtoSchema, adherenceExerciseStatsQueryDtoSchema, aerobicTrackingDbSchema, aerobicsDailyRecordQueryDtoSchema, aerobicsWeeklyRecordQueryDtoSchema, allUserMessageQueryDtoSchema, analyzeVideoPayloadDtoSchema, analyzeVideoResultPayloadDtoSchema, appleOAuthContract, appleOAuthRequestSchema, appleTokenVerificationResultDtoSchema, authenticatedUserForUpdateQueryDtoSchema, bootstrapContract, bootstrapRequestSchema, bootstrapResponseSchema, changeEmailAndVerifyContract, changeEmailAndVerifyRequestSchema, changeEmailTokenPayloadDtoSchema, checkUserVerifyContract, checkUserVerifyRequestSchema, createUserContract, createUserRequestSchema, createUserResponseSchema, createUserUserSchema, createdUserQueryDtoSchema, createdUserRawQueryDtoSchema, createdUserRowQueryDtoSchema, deleteMessageContract, deleteMessageRequestSchema, deleteMessageResponseSchema, deleteProfilePicRequestSchema, deleteUserProfilePicContract, deletedMessageQueryDtoSchema, emailVerifyPayloadDtoSchema, enqueueAnalyzeVideoParamsDtoSchema, exerciseAssignmentIdQueryDtoSchema, exerciseDbSchema, exerciseInPlanQueryDtoSchema, exerciseMapByMuscleRowQueryDtoSchema, exerciseMetadataQueryDtoSchema, exerciseToWorkoutSplitDbSchema, exerciseToWorkoutSplitSetExpandedViewDbSchema, exerciseTrackingAnalysisQueryDtoSchema, exerciseTrackingAndStatsQueryDtoSchema, exerciseTrackingAndStatsRowQueryDtoSchema, exerciseTrackingDbSchema, exerciseTrackingIdQueryDtoSchema, exerciseTrackingPrMaxQueryDtoSchema, exerciseTrackingSetExpandedViewDbSchema, exercisesMapByMuscleQueryDtoSchema, finishUserWorkoutContract, finishUserWorkoutResponseSchema, finishWorkoutRequestSchema, finishedWorkoutEntryQueryDtoSchema, forgotPasswordPayloadDtoSchema, generateTicketContract, generateTicketRequestSchema, generateTicketResponseSchema, getAerobicsRequestSchema, getAllExercisesContract, getAllExercisesExerciseQueryDtoSchema, getAllExercisesResponseSchema, getAllMessagesRequestSchema, getAllUserMessagesContract, getAllUserMessagesResponseSchema, getAnalyticsContract, getAnalyticsResponseSchema, getAuthenticatedUserByIdContract, getAuthenticatedUserByIdResponseSchema, getExerciseTrackingContract, getExerciseTrackingRequestSchema, getExerciseTrackingResponseSchema, getPresignedUrlFromS3Contract, getPresignedUrlFromS3RequestSchema, getPresignedUrlFromS3ResponseSchema, getUserAerobicsContract, getWholeUserWorkoutPlanContract, getWholeUserWorkoutPlanResponseSchema, getWholeWorkoutPlanRequestSchema, goalAdherenceQueryDtoSchema, goalAdherenceRowQueryDtoSchema, googleOAuthContract, googleOAuthRequestSchema, googleTokenVerificationResultDtoSchema, lastLoginQueryDtoSchema, loginContract, loginRequestSchema, loginResponseSchema, logoutContract, logoutResponseSchema, markMessageAsReadContract, markMessageAsReadRequestSchema, markMessageAsReadResponseSchema, messageAfterSendQueryDtoSchema, messageAsReadQueryDtoSchema, messageDbSchema, oAuthCreatedUserRowQueryDtoSchema, oAuthLinkQueryDtoSchema, oAuthLinkRowQueryDtoSchema, oAuthLoginContract, oAuthLoginResponseSchema, oAuthLookupQueryDtoSchema, oAuthLookupRawQueryDtoSchema, oAuthLookupRowQueryDtoSchema, oauthAccountDbSchema, proceedLoginResponseSchema, prsViewDbSchema, refreshTokenContract, refreshTokenResponseSchema, resetPasswordContract, resetPasswordRequestSchema, resetPasswordResponseSchema, saveUserPushTokenContract, saveUserPushTokenRequestSchema, sendChangePassEmailContract, sendChangePassEmailRequestSchema, sendVerificationMailContract, sendVerificationMailRequestSchema, serializedDateSchema, setProfilePicAndUpdateDBContract, setProfilePicAndUpdateDBResponseSchema, squatRepetitionDtoSchema, timezoneSchema, tokenVersionQueryDtoSchema, trackingByDateItemQueryDtoSchema, trackingBySplitNameItemQueryDtoSchema, trackingMapItemQueryDtoSchema, trackingSetDbSchema, updateAuthenticatedUserContract, updateAuthenticatedUserResponseSchema, updateUserRequestSchema, userAerobicsQueryDtoSchema, userAerobicsResponseSchema, userAerobicsRowQueryDtoSchema, userAfterBumpQueryDtoSchema, userByIdentifierQueryDtoSchema, userByIdentifierRawQueryDtoSchema, userByIdentifierRowQueryDtoSchema, userByUsernameRawQueryDtoSchema, userByUsernameRowQueryDtoSchema, userConflictQueryDtoSchema, userDataContract, userDataQueryDtoSchema, userDataResponseSchema, userDataRowQueryDtoSchema, userDbSchema, userExistsQueryDtoSchema, userInsertDbSchema, userMessageIdentityQueryDtoSchema, userProfilePicQueryDtoSchema, userReminderSettingDbSchema, userSplitInformationDbSchema, userToHourlyReminderQueryDtoSchema, userUpdateDbSchema, userWithNotificationsEnabledQueryDtoSchema, verifyAccountRequestSchema, verifyUserAccountContract, weeklyDataQueryDtoSchema, wholeUserWorkoutPlanQueryDtoSchema, workoutExerciseInputQueryDtoSchema, workoutExerciseMetadataQueryDtoSchema, workoutPlanDbSchema, workoutPlanIdQueryDtoSchema, workoutRmRecordQueryDtoSchema, workoutRmsQueryDtoSchema, workoutRmsRowQueryDtoSchema, workoutSetDbSchema, workoutSplitDbSchema, workoutSplitIdQueryDtoSchema, workoutSplitLookupQueryDtoSchema, workoutSplitQueryDtoSchema, workoutSplitsMapItemQueryDtoSchema, workoutSplitsMapQueryDtoSchema, workoutSplitsRowQueryDtoSchema, workoutSummaryDbSchema, workoutSummaryIdQueryDtoSchema };
package/dist/index.js CHANGED
@@ -1291,7 +1291,7 @@ var userRelations = relations14(user, ({ many, one }) => ({
1291
1291
  import { bigint as bigint12, boolean as boolean7, text as text9, timestamp as timestamp11 } from "drizzle-orm/pg-core";
1292
1292
  import { sql as drizzleSql25 } from "drizzle-orm";
1293
1293
  import { integer as integer5 } from "drizzle-orm/pg-core";
1294
- var exerciseToWorkoutSplitExpandedView = workoutSchema.view("v_exercise_to_workout_split_expanded", {
1294
+ var exerciseToWorkoutSplitSetExpandedView = workoutSchema.view("v_exercise_to_workout_split_set_expanded", {
1295
1295
  id: bigint12("id", {
1296
1296
  mode: "number"
1297
1297
  }),
@@ -1353,14 +1353,13 @@ var exerciseToWorkoutSplitExpandedView = workoutSchema.view("v_exercise_to_worko
1353
1353
  import { sql as drizzleSql26 } from "drizzle-orm";
1354
1354
  import { bigint as bigint13, boolean as boolean8, real as real2, text as text10, timestamp as timestamp12, uuid as uuid12 } from "drizzle-orm/pg-core";
1355
1355
  import { integer as integer6 } from "drizzle-orm/pg-core";
1356
- var exerciseTrackingExpandedView = analyticsSchema.view("v_exercise_tracking_expanded", {
1356
+ var exerciseTrackingSetExpandedView = analyticsSchema.view("v_exercise_tracking_set_expanded", {
1357
1357
  id: bigint13("id", {
1358
1358
  mode: "number"
1359
1359
  }),
1360
1360
  exerciseToSplitId: bigint13("exercise_to_split_id", {
1361
1361
  mode: "number"
1362
1362
  }),
1363
- isAssignedToSplit: boolean8("is_assigned_to_split"),
1364
1363
  weight: real2("weight"),
1365
1364
  reps: bigint13("reps", {
1366
1365
  mode: "number"
@@ -1381,17 +1380,14 @@ var exerciseTrackingExpandedView = analyticsSchema.view("v_exercise_tracking_exp
1381
1380
  }),
1382
1381
  workoutEndUtc: timestamp12("workout_end_utc", {
1383
1382
  withTimezone: true
1384
- })
1383
+ }),
1384
+ isAssignedToSplit: boolean8("is_assigned_to_split")
1385
1385
  }).with({
1386
1386
  securityInvoker: true
1387
1387
  }).as(drizzleSql26`
1388
1388
  SELECT
1389
1389
  et.id,
1390
1390
  et.exercise_to_split_id,
1391
- CASE
1392
- WHEN et.exercise_to_split_id IS NOT NULL THEN TRUE
1393
- WHEN et.exercise_id IS NOT NULL THEN FALSE
1394
- END AS is_assigned_to_split,
1395
1391
  tracking_set.weight AS weight,
1396
1392
  tracking_set.reps AS reps,
1397
1393
  tracking_set.set_index AS set_index,
@@ -1402,7 +1398,11 @@ var exerciseTrackingExpandedView = analyticsSchema.view("v_exercise_tracking_exp
1402
1398
  et.notes,
1403
1399
  et.workout_summary_id,
1404
1400
  wsumm.workout_start_utc,
1405
- wsumm.workout_end_utc
1401
+ wsumm.workout_end_utc,
1402
+ CASE
1403
+ WHEN et.exercise_to_split_id IS NOT NULL THEN TRUE
1404
+ WHEN et.exercise_id IS NOT NULL THEN FALSE
1405
+ END AS is_assigned_to_split
1406
1406
  FROM
1407
1407
  tracking.exercise_tracking et
1408
1408
  LEFT JOIN tracking.workout_summary wsumm ON wsumm.id = et.workout_summary_id
@@ -1451,7 +1451,7 @@ var prsView = analyticsSchema.view("v_prs", {
1451
1451
  et.workout_start_utc,
1452
1452
  et.workout_end_utc
1453
1453
  FROM
1454
- analytics.v_exercise_tracking_expanded et
1454
+ analytics.v_exercise_tracking_set_expanded et
1455
1455
  ORDER BY
1456
1456
  et.exercise_id,
1457
1457
  et.weight DESC,
@@ -1469,7 +1469,7 @@ var exerciseDbSchema = createSelectSchema(exercise);
1469
1469
  var workoutPlanDbSchema = createSelectSchema(workoutPlan);
1470
1470
  var workoutSplitDbSchema = createSelectSchema(workoutSplit);
1471
1471
  var exerciseToWorkoutSplitDbSchema = createSelectSchema(exerciseToWorkoutSplit);
1472
- var exerciseToWorkoutSplitExpandedViewDbSchema = createSelectSchema(exerciseToWorkoutSplitExpandedView);
1472
+ var exerciseToWorkoutSplitSetExpandedViewDbSchema = createSelectSchema(exerciseToWorkoutSplitSetExpandedView);
1473
1473
  var workoutSetDbSchema = createSelectSchema(workoutSet);
1474
1474
  var workoutSummaryDbSchema = createSelectSchema(workoutSummary);
1475
1475
  var exerciseTrackingDbSchema = createSelectSchema(exerciseTracking);
@@ -1478,7 +1478,7 @@ var aerobicTrackingDbSchema = createSelectSchema(aerobicTracking);
1478
1478
  var messageDbSchema = createSelectSchema(message);
1479
1479
  var userReminderSettingDbSchema = createSelectSchema(userReminderSetting);
1480
1480
  var userSplitInformationDbSchema = createSelectSchema(userSplitInformation);
1481
- var exerciseTrackingExpandedViewDbSchema = createSelectSchema(exerciseTrackingExpandedView);
1481
+ var exerciseTrackingSetExpandedViewDbSchema = createSelectSchema(exerciseTrackingSetExpandedView);
1482
1482
  var prsViewDbSchema = createSelectSchema(prsView);
1483
1483
 
1484
1484
  // src/modules/aerobics/aerobics.contracts.ts
@@ -2440,14 +2440,14 @@ export {
2440
2440
  exerciseMapByMuscleRowQueryDtoSchema,
2441
2441
  exerciseMetadataQueryDtoSchema,
2442
2442
  exerciseToWorkoutSplitDbSchema,
2443
- exerciseToWorkoutSplitExpandedViewDbSchema,
2443
+ exerciseToWorkoutSplitSetExpandedViewDbSchema,
2444
2444
  exerciseTrackingAnalysisQueryDtoSchema,
2445
2445
  exerciseTrackingAndStatsQueryDtoSchema,
2446
2446
  exerciseTrackingAndStatsRowQueryDtoSchema,
2447
2447
  exerciseTrackingDbSchema,
2448
- exerciseTrackingExpandedViewDbSchema,
2449
2448
  exerciseTrackingIdQueryDtoSchema,
2450
2449
  exerciseTrackingPrMaxQueryDtoSchema,
2450
+ exerciseTrackingSetExpandedViewDbSchema,
2451
2451
  exercisesMapByMuscleQueryDtoSchema,
2452
2452
  finishUserWorkoutContract,
2453
2453
  finishUserWorkoutResponseSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strong-together/shared",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",