@murphai/contracts 0.1.5 → 0.1.12

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/zod.d.ts CHANGED
@@ -74,6 +74,330 @@ export declare const activityStrengthExerciseSchema: z.ZodUnion<readonly [z.ZodO
74
74
  repsPerSet: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
75
75
  loadDescription: z.ZodOptional<z.ZodString>;
76
76
  }, z.core.$strict>]>;
77
+ export declare const workoutSetTypeSchema: z.ZodEnum<{
78
+ normal: "normal";
79
+ failure: "failure";
80
+ warmup: "warmup";
81
+ dropset: "dropset";
82
+ }>;
83
+ export declare const workoutExerciseModeSchema: z.ZodEnum<{
84
+ weight_reps: "weight_reps";
85
+ bodyweight: "bodyweight";
86
+ assisted_bodyweight: "assisted_bodyweight";
87
+ weighted_bodyweight: "weighted_bodyweight";
88
+ duration: "duration";
89
+ cardio: "cardio";
90
+ }>;
91
+ export declare const workoutLoadUnitSchema: z.ZodEnum<{
92
+ lb: "lb";
93
+ kg: "kg";
94
+ }>;
95
+ export declare const storedMediaKindSchema: z.ZodEnum<{
96
+ photo: "photo";
97
+ video: "video";
98
+ gif: "gif";
99
+ image: "image";
100
+ other: "other";
101
+ }>;
102
+ export declare const bodyMeasurementTypeSchema: z.ZodEnum<{
103
+ weight: "weight";
104
+ body_fat_pct: "body_fat_pct";
105
+ waist: "waist";
106
+ neck: "neck";
107
+ shoulders: "shoulders";
108
+ chest: "chest";
109
+ biceps: "biceps";
110
+ forearms: "forearms";
111
+ abdomen: "abdomen";
112
+ hips: "hips";
113
+ thighs: "thighs";
114
+ calves: "calves";
115
+ }>;
116
+ export declare const bodyMeasurementUnitSchema: z.ZodEnum<{
117
+ in: "in";
118
+ lb: "lb";
119
+ kg: "kg";
120
+ percent: "percent";
121
+ cm: "cm";
122
+ }>;
123
+ export declare const profileWeightUnitSchema: z.ZodEnum<{
124
+ lb: "lb";
125
+ kg: "kg";
126
+ }>;
127
+ export declare const profileDistanceUnitSchema: z.ZodEnum<{
128
+ km: "km";
129
+ mi: "mi";
130
+ }>;
131
+ export declare const profileBodyMeasurementUnitSchema: z.ZodEnum<{
132
+ in: "in";
133
+ cm: "cm";
134
+ }>;
135
+ export declare const storedMediaSchema: z.ZodObject<{
136
+ kind: z.ZodEnum<{
137
+ photo: "photo";
138
+ video: "video";
139
+ gif: "gif";
140
+ image: "image";
141
+ other: "other";
142
+ }>;
143
+ relativePath: z.ZodString;
144
+ mediaType: z.ZodOptional<z.ZodString>;
145
+ caption: z.ZodOptional<z.ZodString>;
146
+ }, z.core.$strict>;
147
+ export declare const workoutSetSchema: z.ZodObject<{
148
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
149
+ type: z.ZodOptional<z.ZodEnum<{
150
+ normal: "normal";
151
+ failure: "failure";
152
+ warmup: "warmup";
153
+ dropset: "dropset";
154
+ }>>;
155
+ reps: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
156
+ weight: z.ZodOptional<z.ZodNumber>;
157
+ weightUnit: z.ZodOptional<z.ZodEnum<{
158
+ lb: "lb";
159
+ kg: "kg";
160
+ }>>;
161
+ durationSeconds: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
162
+ distanceMeters: z.ZodOptional<z.ZodNumber>;
163
+ rpe: z.ZodOptional<z.ZodNumber>;
164
+ bodyweightKg: z.ZodOptional<z.ZodNumber>;
165
+ assistanceKg: z.ZodOptional<z.ZodNumber>;
166
+ addedWeightKg: z.ZodOptional<z.ZodNumber>;
167
+ }, z.core.$strict>;
168
+ export declare const workoutExerciseSchema: z.ZodObject<{
169
+ name: z.ZodString;
170
+ sourceExerciseId: z.ZodOptional<z.ZodString>;
171
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
172
+ groupId: z.ZodOptional<z.ZodString>;
173
+ mode: z.ZodOptional<z.ZodEnum<{
174
+ weight_reps: "weight_reps";
175
+ bodyweight: "bodyweight";
176
+ assisted_bodyweight: "assisted_bodyweight";
177
+ weighted_bodyweight: "weighted_bodyweight";
178
+ duration: "duration";
179
+ cardio: "cardio";
180
+ }>>;
181
+ unitOverride: z.ZodOptional<z.ZodEnum<{
182
+ lb: "lb";
183
+ kg: "kg";
184
+ }>>;
185
+ note: z.ZodOptional<z.ZodString>;
186
+ sets: z.ZodArray<z.ZodObject<{
187
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
188
+ type: z.ZodOptional<z.ZodEnum<{
189
+ normal: "normal";
190
+ failure: "failure";
191
+ warmup: "warmup";
192
+ dropset: "dropset";
193
+ }>>;
194
+ reps: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
195
+ weight: z.ZodOptional<z.ZodNumber>;
196
+ weightUnit: z.ZodOptional<z.ZodEnum<{
197
+ lb: "lb";
198
+ kg: "kg";
199
+ }>>;
200
+ durationSeconds: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
201
+ distanceMeters: z.ZodOptional<z.ZodNumber>;
202
+ rpe: z.ZodOptional<z.ZodNumber>;
203
+ bodyweightKg: z.ZodOptional<z.ZodNumber>;
204
+ assistanceKg: z.ZodOptional<z.ZodNumber>;
205
+ addedWeightKg: z.ZodOptional<z.ZodNumber>;
206
+ }, z.core.$strict>>;
207
+ }, z.core.$strict>;
208
+ export declare const workoutSessionSchema: z.ZodObject<{
209
+ sourceApp: z.ZodOptional<z.ZodString>;
210
+ sourceWorkoutId: z.ZodOptional<z.ZodString>;
211
+ startedAt: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
212
+ endedAt: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
213
+ routineId: z.ZodOptional<z.ZodString>;
214
+ routineName: z.ZodOptional<z.ZodString>;
215
+ sessionNote: z.ZodOptional<z.ZodString>;
216
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
217
+ kind: z.ZodEnum<{
218
+ photo: "photo";
219
+ video: "video";
220
+ gif: "gif";
221
+ image: "image";
222
+ other: "other";
223
+ }>;
224
+ relativePath: z.ZodString;
225
+ mediaType: z.ZodOptional<z.ZodString>;
226
+ caption: z.ZodOptional<z.ZodString>;
227
+ }, z.core.$strict>>>;
228
+ exercises: z.ZodArray<z.ZodObject<{
229
+ name: z.ZodString;
230
+ sourceExerciseId: z.ZodOptional<z.ZodString>;
231
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
232
+ groupId: z.ZodOptional<z.ZodString>;
233
+ mode: z.ZodOptional<z.ZodEnum<{
234
+ weight_reps: "weight_reps";
235
+ bodyweight: "bodyweight";
236
+ assisted_bodyweight: "assisted_bodyweight";
237
+ weighted_bodyweight: "weighted_bodyweight";
238
+ duration: "duration";
239
+ cardio: "cardio";
240
+ }>>;
241
+ unitOverride: z.ZodOptional<z.ZodEnum<{
242
+ lb: "lb";
243
+ kg: "kg";
244
+ }>>;
245
+ note: z.ZodOptional<z.ZodString>;
246
+ sets: z.ZodArray<z.ZodObject<{
247
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
248
+ type: z.ZodOptional<z.ZodEnum<{
249
+ normal: "normal";
250
+ failure: "failure";
251
+ warmup: "warmup";
252
+ dropset: "dropset";
253
+ }>>;
254
+ reps: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
255
+ weight: z.ZodOptional<z.ZodNumber>;
256
+ weightUnit: z.ZodOptional<z.ZodEnum<{
257
+ lb: "lb";
258
+ kg: "kg";
259
+ }>>;
260
+ durationSeconds: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
261
+ distanceMeters: z.ZodOptional<z.ZodNumber>;
262
+ rpe: z.ZodOptional<z.ZodNumber>;
263
+ bodyweightKg: z.ZodOptional<z.ZodNumber>;
264
+ assistanceKg: z.ZodOptional<z.ZodNumber>;
265
+ addedWeightKg: z.ZodOptional<z.ZodNumber>;
266
+ }, z.core.$strict>>;
267
+ }, z.core.$strict>>;
268
+ }, z.core.$strict>;
269
+ export declare const bodyMeasurementEntrySchema: z.ZodObject<{
270
+ type: z.ZodEnum<{
271
+ weight: "weight";
272
+ body_fat_pct: "body_fat_pct";
273
+ waist: "waist";
274
+ neck: "neck";
275
+ shoulders: "shoulders";
276
+ chest: "chest";
277
+ biceps: "biceps";
278
+ forearms: "forearms";
279
+ abdomen: "abdomen";
280
+ hips: "hips";
281
+ thighs: "thighs";
282
+ calves: "calves";
283
+ }>;
284
+ value: z.ZodNumber;
285
+ unit: z.ZodEnum<{
286
+ in: "in";
287
+ lb: "lb";
288
+ kg: "kg";
289
+ percent: "percent";
290
+ cm: "cm";
291
+ }>;
292
+ note: z.ZodOptional<z.ZodString>;
293
+ }, z.core.$strict>;
294
+ export declare const profileUnitPreferencesSchema: z.ZodObject<{
295
+ weight: z.ZodOptional<z.ZodEnum<{
296
+ lb: "lb";
297
+ kg: "kg";
298
+ }>>;
299
+ distance: z.ZodOptional<z.ZodEnum<{
300
+ km: "km";
301
+ mi: "mi";
302
+ }>>;
303
+ bodyMeasurement: z.ZodOptional<z.ZodEnum<{
304
+ in: "in";
305
+ cm: "cm";
306
+ }>>;
307
+ }, z.core.$strict>;
308
+ export declare const workoutTemplateSetSchema: z.ZodObject<{
309
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
310
+ type: z.ZodOptional<z.ZodEnum<{
311
+ normal: "normal";
312
+ failure: "failure";
313
+ warmup: "warmup";
314
+ dropset: "dropset";
315
+ }>>;
316
+ targetReps: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
317
+ targetWeight: z.ZodOptional<z.ZodNumber>;
318
+ targetWeightUnit: z.ZodOptional<z.ZodEnum<{
319
+ lb: "lb";
320
+ kg: "kg";
321
+ }>>;
322
+ targetDurationSeconds: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
323
+ targetDistanceMeters: z.ZodOptional<z.ZodNumber>;
324
+ targetRpe: z.ZodOptional<z.ZodNumber>;
325
+ }, z.core.$strict>;
326
+ export declare const workoutTemplateExerciseSchema: z.ZodObject<{
327
+ name: z.ZodString;
328
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
329
+ groupId: z.ZodOptional<z.ZodString>;
330
+ mode: z.ZodOptional<z.ZodEnum<{
331
+ weight_reps: "weight_reps";
332
+ bodyweight: "bodyweight";
333
+ assisted_bodyweight: "assisted_bodyweight";
334
+ weighted_bodyweight: "weighted_bodyweight";
335
+ duration: "duration";
336
+ cardio: "cardio";
337
+ }>>;
338
+ unitOverride: z.ZodOptional<z.ZodEnum<{
339
+ lb: "lb";
340
+ kg: "kg";
341
+ }>>;
342
+ note: z.ZodOptional<z.ZodString>;
343
+ plannedSets: z.ZodArray<z.ZodObject<{
344
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
345
+ type: z.ZodOptional<z.ZodEnum<{
346
+ normal: "normal";
347
+ failure: "failure";
348
+ warmup: "warmup";
349
+ dropset: "dropset";
350
+ }>>;
351
+ targetReps: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
352
+ targetWeight: z.ZodOptional<z.ZodNumber>;
353
+ targetWeightUnit: z.ZodOptional<z.ZodEnum<{
354
+ lb: "lb";
355
+ kg: "kg";
356
+ }>>;
357
+ targetDurationSeconds: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
358
+ targetDistanceMeters: z.ZodOptional<z.ZodNumber>;
359
+ targetRpe: z.ZodOptional<z.ZodNumber>;
360
+ }, z.core.$strict>>;
361
+ }, z.core.$strict>;
362
+ export declare const workoutTemplateSchema: z.ZodObject<{
363
+ routineNote: z.ZodOptional<z.ZodString>;
364
+ exercises: z.ZodArray<z.ZodObject<{
365
+ name: z.ZodString;
366
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
367
+ groupId: z.ZodOptional<z.ZodString>;
368
+ mode: z.ZodOptional<z.ZodEnum<{
369
+ weight_reps: "weight_reps";
370
+ bodyweight: "bodyweight";
371
+ assisted_bodyweight: "assisted_bodyweight";
372
+ weighted_bodyweight: "weighted_bodyweight";
373
+ duration: "duration";
374
+ cardio: "cardio";
375
+ }>>;
376
+ unitOverride: z.ZodOptional<z.ZodEnum<{
377
+ lb: "lb";
378
+ kg: "kg";
379
+ }>>;
380
+ note: z.ZodOptional<z.ZodString>;
381
+ plannedSets: z.ZodArray<z.ZodObject<{
382
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
383
+ type: z.ZodOptional<z.ZodEnum<{
384
+ normal: "normal";
385
+ failure: "failure";
386
+ warmup: "warmup";
387
+ dropset: "dropset";
388
+ }>>;
389
+ targetReps: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
390
+ targetWeight: z.ZodOptional<z.ZodNumber>;
391
+ targetWeightUnit: z.ZodOptional<z.ZodEnum<{
392
+ lb: "lb";
393
+ kg: "kg";
394
+ }>>;
395
+ targetDurationSeconds: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
396
+ targetDistanceMeters: z.ZodOptional<z.ZodNumber>;
397
+ targetRpe: z.ZodOptional<z.ZodNumber>;
398
+ }, z.core.$strict>>;
399
+ }, z.core.$strict>>;
400
+ }, z.core.$strict>;
77
401
  export declare const bloodTestReferenceRangeSchema: z.ZodObject<{
78
402
  low: z.ZodOptional<z.ZodNumber>;
79
403
  high: z.ZodOptional<z.ZodNumber>;
@@ -655,6 +979,136 @@ export declare const eventRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
655
979
  repsPerSet: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
656
980
  loadDescription: z.ZodOptional<z.ZodString>;
657
981
  }, z.core.$strict>]>>>;
982
+ workout: z.ZodOptional<z.ZodObject<{
983
+ sourceApp: z.ZodOptional<z.ZodString>;
984
+ sourceWorkoutId: z.ZodOptional<z.ZodString>;
985
+ startedAt: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
986
+ endedAt: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
987
+ routineId: z.ZodOptional<z.ZodString>;
988
+ routineName: z.ZodOptional<z.ZodString>;
989
+ sessionNote: z.ZodOptional<z.ZodString>;
990
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
991
+ kind: z.ZodEnum<{
992
+ photo: "photo";
993
+ video: "video";
994
+ gif: "gif";
995
+ image: "image";
996
+ other: "other";
997
+ }>;
998
+ relativePath: z.ZodString;
999
+ mediaType: z.ZodOptional<z.ZodString>;
1000
+ caption: z.ZodOptional<z.ZodString>;
1001
+ }, z.core.$strict>>>;
1002
+ exercises: z.ZodArray<z.ZodObject<{
1003
+ name: z.ZodString;
1004
+ sourceExerciseId: z.ZodOptional<z.ZodString>;
1005
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1006
+ groupId: z.ZodOptional<z.ZodString>;
1007
+ mode: z.ZodOptional<z.ZodEnum<{
1008
+ weight_reps: "weight_reps";
1009
+ bodyweight: "bodyweight";
1010
+ assisted_bodyweight: "assisted_bodyweight";
1011
+ weighted_bodyweight: "weighted_bodyweight";
1012
+ duration: "duration";
1013
+ cardio: "cardio";
1014
+ }>>;
1015
+ unitOverride: z.ZodOptional<z.ZodEnum<{
1016
+ lb: "lb";
1017
+ kg: "kg";
1018
+ }>>;
1019
+ note: z.ZodOptional<z.ZodString>;
1020
+ sets: z.ZodArray<z.ZodObject<{
1021
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1022
+ type: z.ZodOptional<z.ZodEnum<{
1023
+ normal: "normal";
1024
+ failure: "failure";
1025
+ warmup: "warmup";
1026
+ dropset: "dropset";
1027
+ }>>;
1028
+ reps: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
1029
+ weight: z.ZodOptional<z.ZodNumber>;
1030
+ weightUnit: z.ZodOptional<z.ZodEnum<{
1031
+ lb: "lb";
1032
+ kg: "kg";
1033
+ }>>;
1034
+ durationSeconds: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
1035
+ distanceMeters: z.ZodOptional<z.ZodNumber>;
1036
+ rpe: z.ZodOptional<z.ZodNumber>;
1037
+ bodyweightKg: z.ZodOptional<z.ZodNumber>;
1038
+ assistanceKg: z.ZodOptional<z.ZodNumber>;
1039
+ addedWeightKg: z.ZodOptional<z.ZodNumber>;
1040
+ }, z.core.$strict>>;
1041
+ }, z.core.$strict>>;
1042
+ }, z.core.$strict>>;
1043
+ }, z.core.$strict>, z.ZodObject<{
1044
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1045
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1046
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1047
+ externalRef: z.ZodOptional<z.ZodObject<{
1048
+ system: z.ZodString;
1049
+ resourceType: z.ZodString;
1050
+ resourceId: z.ZodString;
1051
+ version: z.ZodOptional<z.ZodString>;
1052
+ facet: z.ZodOptional<z.ZodString>;
1053
+ }, z.core.$strict>>;
1054
+ lifecycle: z.ZodOptional<z.ZodObject<{
1055
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1056
+ state: z.ZodOptional<z.ZodEnum<{
1057
+ deleted: "deleted";
1058
+ }>>;
1059
+ }, z.core.$strict>>;
1060
+ timeZone: z.ZodOptional<z.ZodString>;
1061
+ kind: z.ZodLiteral<"body_measurement">;
1062
+ note: z.ZodOptional<z.ZodString>;
1063
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
1064
+ id: z.ZodString;
1065
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1066
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1067
+ dayKey: z.ZodString;
1068
+ source: z.ZodEnum<{
1069
+ manual: "manual";
1070
+ import: "import";
1071
+ device: "device";
1072
+ derived: "derived";
1073
+ }>;
1074
+ title: z.ZodString;
1075
+ measurements: z.ZodArray<z.ZodObject<{
1076
+ type: z.ZodEnum<{
1077
+ weight: "weight";
1078
+ body_fat_pct: "body_fat_pct";
1079
+ waist: "waist";
1080
+ neck: "neck";
1081
+ shoulders: "shoulders";
1082
+ chest: "chest";
1083
+ biceps: "biceps";
1084
+ forearms: "forearms";
1085
+ abdomen: "abdomen";
1086
+ hips: "hips";
1087
+ thighs: "thighs";
1088
+ calves: "calves";
1089
+ }>;
1090
+ value: z.ZodNumber;
1091
+ unit: z.ZodEnum<{
1092
+ in: "in";
1093
+ lb: "lb";
1094
+ kg: "kg";
1095
+ percent: "percent";
1096
+ cm: "cm";
1097
+ }>;
1098
+ note: z.ZodOptional<z.ZodString>;
1099
+ }, z.core.$strict>>;
1100
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
1101
+ kind: z.ZodEnum<{
1102
+ photo: "photo";
1103
+ video: "video";
1104
+ gif: "gif";
1105
+ image: "image";
1106
+ other: "other";
1107
+ }>;
1108
+ relativePath: z.ZodString;
1109
+ mediaType: z.ZodOptional<z.ZodString>;
1110
+ caption: z.ZodOptional<z.ZodString>;
1111
+ }, z.core.$strict>>>;
658
1112
  }, z.core.$strict>, z.ZodObject<{
659
1113
  tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
660
1114
  relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
@@ -1029,7 +1483,8 @@ export declare const auditRecordSchema: z.ZodObject<{
1029
1483
  samples_import_csv: "samples_import_csv";
1030
1484
  show: "show";
1031
1485
  validate: "validate";
1032
- workout_format_upsert: "workout_format_upsert";
1486
+ workout_format_save: "workout_format_save";
1487
+ workout_import_csv: "workout_import_csv";
1033
1488
  }>;
1034
1489
  status: z.ZodEnum<{
1035
1490
  success: "success";
@@ -1074,10 +1529,10 @@ declare const inboxCaptureAttachmentSchema: z.ZodObject<{
1074
1529
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1075
1530
  kind: z.ZodEnum<{
1076
1531
  document: "document";
1077
- image: "image";
1078
- audio: "audio";
1079
1532
  video: "video";
1533
+ image: "image";
1080
1534
  other: "other";
1535
+ audio: "audio";
1081
1536
  }>;
1082
1537
  mime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1083
1538
  originalPath: z.ZodOptional<z.ZodNull>;
@@ -1119,10 +1574,10 @@ export declare const inboxCaptureRecordSchema: z.ZodObject<{
1119
1574
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1120
1575
  kind: z.ZodEnum<{
1121
1576
  document: "document";
1122
- image: "image";
1123
- audio: "audio";
1124
1577
  video: "video";
1578
+ image: "image";
1125
1579
  other: "other";
1580
+ audio: "audio";
1126
1581
  }>;
1127
1582
  mime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1128
1583
  originalPath: z.ZodOptional<z.ZodNull>;
@@ -1261,6 +1716,45 @@ export declare const workoutFormatFrontmatterSchema: z.ZodObject<{
1261
1716
  repsPerSet: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1262
1717
  loadDescription: z.ZodOptional<z.ZodString>;
1263
1718
  }, z.core.$strict>]>>>;
1719
+ template: z.ZodOptional<z.ZodObject<{
1720
+ routineNote: z.ZodOptional<z.ZodString>;
1721
+ exercises: z.ZodArray<z.ZodObject<{
1722
+ name: z.ZodString;
1723
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1724
+ groupId: z.ZodOptional<z.ZodString>;
1725
+ mode: z.ZodOptional<z.ZodEnum<{
1726
+ weight_reps: "weight_reps";
1727
+ bodyweight: "bodyweight";
1728
+ assisted_bodyweight: "assisted_bodyweight";
1729
+ weighted_bodyweight: "weighted_bodyweight";
1730
+ duration: "duration";
1731
+ cardio: "cardio";
1732
+ }>>;
1733
+ unitOverride: z.ZodOptional<z.ZodEnum<{
1734
+ lb: "lb";
1735
+ kg: "kg";
1736
+ }>>;
1737
+ note: z.ZodOptional<z.ZodString>;
1738
+ plannedSets: z.ZodArray<z.ZodObject<{
1739
+ order: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1740
+ type: z.ZodOptional<z.ZodEnum<{
1741
+ normal: "normal";
1742
+ failure: "failure";
1743
+ warmup: "warmup";
1744
+ dropset: "dropset";
1745
+ }>>;
1746
+ targetReps: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
1747
+ targetWeight: z.ZodOptional<z.ZodNumber>;
1748
+ targetWeightUnit: z.ZodOptional<z.ZodEnum<{
1749
+ lb: "lb";
1750
+ kg: "kg";
1751
+ }>>;
1752
+ targetDurationSeconds: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
1753
+ targetDistanceMeters: z.ZodOptional<z.ZodNumber>;
1754
+ targetRpe: z.ZodOptional<z.ZodNumber>;
1755
+ }, z.core.$strict>>;
1756
+ }, z.core.$strict>>;
1757
+ }, z.core.$strict>>;
1264
1758
  tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1265
1759
  note: z.ZodOptional<z.ZodString>;
1266
1760
  templateText: z.ZodOptional<z.ZodString>;
@@ -1297,7 +1791,9 @@ export declare const rawImportManifestSchema: z.ZodObject<{
1297
1791
  document: "document";
1298
1792
  meal: "meal";
1299
1793
  device_batch: "device_batch";
1794
+ measurement_batch: "measurement_batch";
1300
1795
  sample_batch: "sample_batch";
1796
+ workout_batch: "workout_batch";
1301
1797
  }>;
1302
1798
  importedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1303
1799
  source: z.ZodNullable<z.ZodString>;
@@ -1334,6 +1830,20 @@ export declare const profileSnapshotProfileSchema: z.ZodObject<{
1334
1830
  goals: z.ZodOptional<z.ZodObject<{
1335
1831
  topGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1336
1832
  }, z.core.$strict>>;
1833
+ unitPreferences: z.ZodOptional<z.ZodObject<{
1834
+ weight: z.ZodOptional<z.ZodEnum<{
1835
+ lb: "lb";
1836
+ kg: "kg";
1837
+ }>>;
1838
+ distance: z.ZodOptional<z.ZodEnum<{
1839
+ km: "km";
1840
+ mi: "mi";
1841
+ }>>;
1842
+ bodyMeasurement: z.ZodOptional<z.ZodEnum<{
1843
+ in: "in";
1844
+ cm: "cm";
1845
+ }>>;
1846
+ }, z.core.$strict>>;
1337
1847
  custom: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1338
1848
  }, z.core.$strict>;
1339
1849
  export declare const profileSnapshotSchema: z.ZodObject<{
@@ -1355,6 +1865,20 @@ export declare const profileSnapshotSchema: z.ZodObject<{
1355
1865
  goals: z.ZodOptional<z.ZodObject<{
1356
1866
  topGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1357
1867
  }, z.core.$strict>>;
1868
+ unitPreferences: z.ZodOptional<z.ZodObject<{
1869
+ weight: z.ZodOptional<z.ZodEnum<{
1870
+ lb: "lb";
1871
+ kg: "kg";
1872
+ }>>;
1873
+ distance: z.ZodOptional<z.ZodEnum<{
1874
+ km: "km";
1875
+ mi: "mi";
1876
+ }>>;
1877
+ bodyMeasurement: z.ZodOptional<z.ZodEnum<{
1878
+ in: "in";
1879
+ cm: "cm";
1880
+ }>>;
1881
+ }, z.core.$strict>>;
1358
1882
  custom: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1359
1883
  }, z.core.$strict>;
1360
1884
  }, z.core.$strict>;
@@ -1366,6 +1890,20 @@ export declare const profileCurrentFrontmatterSchema: z.ZodObject<{
1366
1890
  sourceAssessmentIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1367
1891
  sourceEventIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1368
1892
  topGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1893
+ unitPreferences: z.ZodOptional<z.ZodObject<{
1894
+ weight: z.ZodOptional<z.ZodEnum<{
1895
+ lb: "lb";
1896
+ kg: "kg";
1897
+ }>>;
1898
+ distance: z.ZodOptional<z.ZodEnum<{
1899
+ km: "km";
1900
+ mi: "mi";
1901
+ }>>;
1902
+ bodyMeasurement: z.ZodOptional<z.ZodEnum<{
1903
+ in: "in";
1904
+ cm: "cm";
1905
+ }>>;
1906
+ }, z.core.$strict>>;
1369
1907
  }, z.core.$strict>;
1370
1908
  export declare const goalFrontmatterSchema: z.ZodObject<{
1371
1909
  schemaVersion: z.ZodLiteral<"murph.frontmatter.goal.v1">;
@@ -1523,6 +2061,24 @@ export declare const geneticVariantFrontmatterSchema: z.ZodObject<{
1523
2061
  }, z.core.$strict>;
1524
2062
  export type ExternalRef = z.infer<typeof externalRefSchema>;
1525
2063
  export type ActivityStrengthExercise = z.infer<typeof activityStrengthExerciseSchema>;
2064
+ export type WorkoutSetType = z.infer<typeof workoutSetTypeSchema>;
2065
+ export type WorkoutExerciseMode = z.infer<typeof workoutExerciseModeSchema>;
2066
+ export type WorkoutLoadUnit = z.infer<typeof workoutLoadUnitSchema>;
2067
+ export type StoredMediaKind = z.infer<typeof storedMediaKindSchema>;
2068
+ export type StoredMedia = z.infer<typeof storedMediaSchema>;
2069
+ export type BodyMeasurementType = z.infer<typeof bodyMeasurementTypeSchema>;
2070
+ export type BodyMeasurementUnit = z.infer<typeof bodyMeasurementUnitSchema>;
2071
+ export type BodyMeasurementEntry = z.infer<typeof bodyMeasurementEntrySchema>;
2072
+ export type ProfileWeightUnit = z.infer<typeof profileWeightUnitSchema>;
2073
+ export type ProfileDistanceUnit = z.infer<typeof profileDistanceUnitSchema>;
2074
+ export type ProfileBodyMeasurementUnit = z.infer<typeof profileBodyMeasurementUnitSchema>;
2075
+ export type ProfileUnitPreferences = z.infer<typeof profileUnitPreferencesSchema>;
2076
+ export type WorkoutSet = z.infer<typeof workoutSetSchema>;
2077
+ export type WorkoutExercise = z.infer<typeof workoutExerciseSchema>;
2078
+ export type WorkoutSession = z.infer<typeof workoutSessionSchema>;
2079
+ export type WorkoutTemplateSet = z.infer<typeof workoutTemplateSetSchema>;
2080
+ export type WorkoutTemplateExercise = z.infer<typeof workoutTemplateExerciseSchema>;
2081
+ export type WorkoutTemplate = z.infer<typeof workoutTemplateSchema>;
1526
2082
  export type BloodTestReferenceRange = z.infer<typeof bloodTestReferenceRangeSchema>;
1527
2083
  export type BloodTestResultRecord = z.infer<typeof bloodTestResultSchema>;
1528
2084
  export type VaultMetadata = z.infer<typeof vaultMetadataSchema>;
@@ -1553,6 +2109,9 @@ export type SupplementIntakeEventRecord = Extract<z.infer<typeof eventRecordSche
1553
2109
  export type ActivitySessionEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1554
2110
  kind: "activity_session";
1555
2111
  }>;
2112
+ export type BodyMeasurementEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
2113
+ kind: "body_measurement";
2114
+ }>;
1556
2115
  export type SleepSessionEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1557
2116
  kind: "sleep_session";
1558
2117
  }>;