@composable-os/pack-programs 0.0.0-stage → 0.1.0-beta.11

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.
Files changed (39) hide show
  1. package/LICENSE +109 -0
  2. package/dist/authoring.d.ts +47 -0
  3. package/dist/authoring.js +493 -0
  4. package/dist/blocks/programs-bank/exercise-bank.d.ts +4 -0
  5. package/dist/blocks/programs-bank/exercise-bank.js +68 -0
  6. package/dist/blocks/programs-builder/program-builder.d.ts +26 -0
  7. package/dist/blocks/programs-builder/program-builder.js +295 -0
  8. package/dist/blocks/programs-class-today/class-today.d.ts +6 -0
  9. package/dist/blocks/programs-class-today/class-today.js +15 -0
  10. package/dist/blocks/programs-coach-client/coach-client.d.ts +5 -0
  11. package/dist/blocks/programs-coach-client/coach-client.js +10 -0
  12. package/dist/blocks/programs-native-class-today/class-today-screen.d.ts +6 -0
  13. package/dist/blocks/programs-native-class-today/class-today-screen.js +14 -0
  14. package/dist/blocks/programs-native-coach-client/coach-client-screen.d.ts +7 -0
  15. package/dist/blocks/programs-native-coach-client/coach-client-screen.js +9 -0
  16. package/dist/blocks/programs-native-progress/progress-screen.d.ts +5 -0
  17. package/dist/blocks/programs-native-progress/progress-screen.js +31 -0
  18. package/dist/blocks/programs-native-session/session-screen.d.ts +7 -0
  19. package/dist/blocks/programs-native-session/session-screen.js +130 -0
  20. package/dist/blocks/programs-native-today/today-screen.d.ts +7 -0
  21. package/dist/blocks/programs-native-today/today-screen.js +11 -0
  22. package/dist/blocks/programs-progress/progress.d.ts +10 -0
  23. package/dist/blocks/programs-progress/progress.js +40 -0
  24. package/dist/blocks/programs-session/session-view.d.ts +9 -0
  25. package/dist/blocks/programs-session/session-view.js +116 -0
  26. package/dist/blocks/programs-today/today.d.ts +7 -0
  27. package/dist/blocks/programs-today/today.js +16 -0
  28. package/dist/client/index.d.ts +1723 -0
  29. package/dist/client/index.js +779 -0
  30. package/dist/dashboards.d.ts +5 -0
  31. package/dist/dashboards.js +145 -0
  32. package/dist/index.d.ts +1181 -0
  33. package/dist/index.js +610 -0
  34. package/dist/layout.d.ts +88 -0
  35. package/dist/layout.js +268 -0
  36. package/dist/tools.d.ts +344 -0
  37. package/dist/tools.js +930 -0
  38. package/package.json +36 -4
  39. package/README.md +0 -3
@@ -0,0 +1,1181 @@
1
+ declare const _default: import("@composable-os/sdk").Extension<{
2
+ readonly id: "programs";
3
+ readonly version: "0.1.0";
4
+ readonly contractVersion: 1;
5
+ readonly label: "Programs";
6
+ readonly description: string;
7
+ readonly permissions: {
8
+ readonly read: ["person"];
9
+ readonly modules: ["ops", "ai"];
10
+ };
11
+ readonly objects: {
12
+ readonly exercise: {
13
+ readonly label: "Exercise";
14
+ readonly plural: "Exercises";
15
+ readonly icon: "dumbbell";
16
+ readonly titleField: "name";
17
+ readonly description: "One exercise of the bank every program is built from.";
18
+ readonly navigation: "main";
19
+ readonly navigationOrder: 20;
20
+ readonly fields: {
21
+ readonly name: {
22
+ readonly type: "text";
23
+ readonly label: "Name";
24
+ readonly required: true;
25
+ };
26
+ readonly video: {
27
+ readonly type: "url";
28
+ readonly label: "Demo video";
29
+ };
30
+ readonly cues: {
31
+ readonly type: "longText";
32
+ readonly label: "Coaching cues";
33
+ };
34
+ readonly theme: {
35
+ readonly type: "select";
36
+ readonly label: "Theme";
37
+ readonly editableOptions: true;
38
+ readonly options: readonly [{
39
+ readonly value: "mobility";
40
+ readonly label: "Mobility";
41
+ }, {
42
+ readonly value: "strength";
43
+ readonly label: "Strength";
44
+ }, {
45
+ readonly value: "handstands";
46
+ readonly label: "Handstands";
47
+ }, {
48
+ readonly value: "skill";
49
+ readonly label: "Skill";
50
+ }, {
51
+ readonly value: "conditioning";
52
+ readonly label: "Conditioning";
53
+ }];
54
+ };
55
+ readonly level: {
56
+ readonly type: "select";
57
+ readonly label: "Level";
58
+ readonly options: readonly [{
59
+ readonly value: "beginner";
60
+ readonly label: "Beginner";
61
+ }, {
62
+ readonly value: "intermediate";
63
+ readonly label: "Intermediate";
64
+ }, {
65
+ readonly value: "advanced";
66
+ readonly label: "Advanced";
67
+ }];
68
+ };
69
+ readonly equipment: {
70
+ readonly type: "multiSelect";
71
+ readonly label: "Equipment";
72
+ readonly editableOptions: true;
73
+ readonly options: readonly [{
74
+ readonly value: "none";
75
+ readonly label: "None";
76
+ }, {
77
+ readonly value: "rings";
78
+ readonly label: "Rings";
79
+ }, {
80
+ readonly value: "bar";
81
+ readonly label: "Bar";
82
+ }, {
83
+ readonly value: "parallettes";
84
+ readonly label: "Parallettes";
85
+ }, {
86
+ readonly value: "kettlebell";
87
+ readonly label: "Kettlebell";
88
+ }, {
89
+ readonly value: "dumbbell";
90
+ readonly label: "Dumbbell";
91
+ }, {
92
+ readonly value: "barbell";
93
+ readonly label: "Barbell";
94
+ }, {
95
+ readonly value: "band";
96
+ readonly label: "Band";
97
+ }, {
98
+ readonly value: "box";
99
+ readonly label: "Box";
100
+ }];
101
+ };
102
+ readonly bodyAreas: {
103
+ readonly type: "multiSelect";
104
+ readonly label: "Body areas";
105
+ readonly editableOptions: true;
106
+ readonly options: readonly [{
107
+ readonly value: "shoulders";
108
+ readonly label: "Shoulders";
109
+ }, {
110
+ readonly value: "wrists";
111
+ readonly label: "Wrists";
112
+ }, {
113
+ readonly value: "spine";
114
+ readonly label: "Spine";
115
+ }, {
116
+ readonly value: "hips";
117
+ readonly label: "Hips";
118
+ }, {
119
+ readonly value: "legs";
120
+ readonly label: "Legs";
121
+ }, {
122
+ readonly value: "core";
123
+ readonly label: "Core";
124
+ }, {
125
+ readonly value: "upper";
126
+ readonly label: "Upper body";
127
+ }];
128
+ };
129
+ readonly measure: {
130
+ readonly type: "select";
131
+ readonly label: "Measured by";
132
+ readonly required: true;
133
+ readonly default: "reps";
134
+ readonly description: "What one set of it records.";
135
+ readonly options: readonly [{
136
+ readonly value: "weight_reps";
137
+ readonly label: "Weight and reps";
138
+ }, {
139
+ readonly value: "reps";
140
+ readonly label: "Reps";
141
+ }, {
142
+ readonly value: "time";
143
+ readonly label: "Time";
144
+ }, {
145
+ readonly value: "hold";
146
+ readonly label: "Hold";
147
+ }];
148
+ };
149
+ readonly easier: {
150
+ readonly type: "relation";
151
+ readonly label: "Easier versions";
152
+ readonly to: "programs.exercise";
153
+ readonly many: true;
154
+ };
155
+ readonly harder: {
156
+ readonly type: "relation";
157
+ readonly label: "Harder versions";
158
+ readonly to: "programs.exercise";
159
+ readonly many: true;
160
+ };
161
+ };
162
+ readonly signedIn: {
163
+ readonly read: readonly ["name", "video", "cues", "theme", "level", "equipment", "bodyAreas", "measure", "easier", "harder"];
164
+ };
165
+ readonly indexes: readonly [readonly ["theme"], readonly ["measure"]];
166
+ };
167
+ readonly program: {
168
+ readonly label: "Program";
169
+ readonly plural: "Programs";
170
+ readonly icon: "clipboard-list";
171
+ readonly titleField: "title";
172
+ readonly description: string;
173
+ readonly navigation: "main";
174
+ readonly navigationOrder: 21;
175
+ readonly fields: {
176
+ readonly title: {
177
+ readonly type: "text";
178
+ readonly label: "Title";
179
+ readonly required: true;
180
+ };
181
+ readonly kind: {
182
+ readonly type: "select";
183
+ readonly label: "Kind";
184
+ readonly required: true;
185
+ readonly default: "client";
186
+ readonly options: readonly [{
187
+ readonly value: "class";
188
+ readonly label: "Class";
189
+ }, {
190
+ readonly value: "client";
191
+ readonly label: "Client";
192
+ }, {
193
+ readonly value: "course";
194
+ readonly label: "Course";
195
+ }];
196
+ };
197
+ readonly theme: {
198
+ readonly type: "text";
199
+ readonly label: "Theme";
200
+ };
201
+ readonly guidance: {
202
+ readonly type: "longText";
203
+ readonly label: "Guidance for coaches";
204
+ readonly description: "For whoever runs it. Never shown to members.";
205
+ };
206
+ readonly layout: {
207
+ readonly type: "document";
208
+ readonly label: "Layout";
209
+ readonly required: true;
210
+ readonly description: string;
211
+ readonly schema: import("@composable-os/sdk").DocumentSchema;
212
+ readonly maxBytes: 524288;
213
+ readonly paths: {
214
+ readonly weekCount: {
215
+ readonly label: "Weeks";
216
+ readonly path: "weeks";
217
+ readonly count: true;
218
+ };
219
+ };
220
+ };
221
+ };
222
+ readonly publishable: {
223
+ readonly content: readonly ["title", "kind", "theme", "guidance", "layout"];
224
+ };
225
+ readonly indexes: readonly [readonly ["kind"]];
226
+ };
227
+ readonly classtype: {
228
+ readonly label: "Class type";
229
+ readonly plural: "Class types";
230
+ readonly icon: "users";
231
+ readonly titleField: "name";
232
+ readonly description: "A kind of class (Mobility, Handstands): what a class program is assigned to.";
233
+ readonly navigation: "settings";
234
+ readonly fields: {
235
+ readonly name: {
236
+ readonly type: "text";
237
+ readonly label: "Name";
238
+ readonly required: true;
239
+ };
240
+ readonly order: {
241
+ readonly type: "number";
242
+ readonly label: "Order";
243
+ };
244
+ };
245
+ readonly signedIn: {
246
+ readonly read: readonly ["name", "order"];
247
+ };
248
+ };
249
+ readonly assignment: {
250
+ readonly label: "Assignment";
251
+ readonly plural: "Assignments";
252
+ readonly icon: "calendar-range";
253
+ readonly titleField: "title";
254
+ readonly description: string;
255
+ readonly navigation: "main";
256
+ readonly navigationOrder: 22;
257
+ readonly fields: {
258
+ readonly title: {
259
+ readonly type: "text";
260
+ readonly label: "Title";
261
+ readonly required: true;
262
+ };
263
+ readonly program: {
264
+ readonly type: "relation";
265
+ readonly label: "Program";
266
+ readonly to: "programs.program";
267
+ readonly required: true;
268
+ };
269
+ readonly programVersion: {
270
+ readonly type: "number";
271
+ readonly label: "Version";
272
+ readonly readOnly: true;
273
+ readonly description: "The program's published version this follows.";
274
+ };
275
+ readonly kind: {
276
+ readonly type: "select";
277
+ readonly label: "For";
278
+ readonly readOnly: true;
279
+ readonly description: "A person's own, or a class type's (read by every signed-in member).";
280
+ readonly options: readonly [{
281
+ readonly value: "personal";
282
+ readonly label: "A person";
283
+ }, {
284
+ readonly value: "class";
285
+ readonly label: "A class type";
286
+ }];
287
+ };
288
+ readonly person: {
289
+ readonly type: "relation";
290
+ readonly label: "Person";
291
+ readonly to: "person";
292
+ };
293
+ readonly classType: {
294
+ readonly type: "relation";
295
+ readonly label: "Class type";
296
+ readonly to: "programs.classtype";
297
+ };
298
+ readonly startDate: {
299
+ readonly type: "date";
300
+ readonly label: "Starts";
301
+ readonly required: true;
302
+ };
303
+ readonly endDate: {
304
+ readonly type: "date";
305
+ readonly label: "Ends";
306
+ };
307
+ readonly sessionCount: {
308
+ readonly type: "number";
309
+ readonly label: "Sessions";
310
+ readonly readOnly: true;
311
+ readonly min: 0;
312
+ readonly step: 1;
313
+ };
314
+ readonly state: {
315
+ readonly type: "select";
316
+ readonly label: "State";
317
+ readonly track: "timeline";
318
+ readonly options: readonly [{
319
+ readonly value: "generating";
320
+ readonly label: "Making sessions";
321
+ }, {
322
+ readonly value: "active";
323
+ readonly label: "Active";
324
+ }, {
325
+ readonly value: "ended";
326
+ readonly label: "Ended";
327
+ }, {
328
+ readonly value: "cancelled";
329
+ readonly label: "Cancelled";
330
+ }];
331
+ };
332
+ readonly assignedBy: {
333
+ readonly type: "user";
334
+ readonly label: "Assigned by";
335
+ };
336
+ readonly assignedByName: {
337
+ readonly type: "text";
338
+ readonly label: "Assigned by (name)";
339
+ };
340
+ };
341
+ readonly requireOneOf: readonly [readonly ["person", "classType"]];
342
+ readonly states: {
343
+ readonly field: "state";
344
+ readonly initial: "generating";
345
+ readonly moves: readonly [{
346
+ readonly from: "generating";
347
+ readonly to: "active";
348
+ readonly by: readonly ["staff"];
349
+ }, {
350
+ readonly from: "active";
351
+ readonly to: "ended";
352
+ readonly by: readonly ["staff"];
353
+ readonly final: true;
354
+ }, {
355
+ readonly from: readonly ["generating", "active"];
356
+ readonly to: "cancelled";
357
+ readonly by: readonly ["staff"];
358
+ readonly final: true;
359
+ }];
360
+ };
361
+ readonly customer: {
362
+ readonly field: "person";
363
+ readonly read: readonly ["title", "programVersion", "kind", "classType", "startDate", "endDate", "state"];
364
+ readonly write: readonly [];
365
+ };
366
+ readonly signedIn: {
367
+ readonly read: readonly ["title", "programVersion", "kind", "classType", "startDate", "endDate", "state"];
368
+ readonly when: {
369
+ readonly field: "kind";
370
+ readonly in: readonly ["class"];
371
+ };
372
+ };
373
+ readonly timelineLinks: readonly ["person"];
374
+ readonly indexes: readonly [readonly ["person", "state"], readonly ["kind", "state"], readonly ["classType", "state"], readonly ["program"]];
375
+ };
376
+ readonly session: {
377
+ readonly label: "Session";
378
+ readonly plural: "Sessions";
379
+ readonly icon: "calendar-check";
380
+ readonly titleField: "name";
381
+ readonly description: string;
382
+ readonly navigation: "none";
383
+ readonly fields: {
384
+ readonly name: {
385
+ readonly type: "text";
386
+ readonly label: "Name";
387
+ readonly required: true;
388
+ };
389
+ readonly assignment: {
390
+ readonly type: "relation";
391
+ readonly label: "Assignment";
392
+ readonly to: "programs.assignment";
393
+ readonly required: true;
394
+ };
395
+ readonly program: {
396
+ readonly type: "relation";
397
+ readonly label: "Program";
398
+ readonly to: "programs.program";
399
+ };
400
+ readonly programVersion: {
401
+ readonly type: "number";
402
+ readonly label: "Version";
403
+ readonly readOnly: true;
404
+ };
405
+ readonly kind: {
406
+ readonly type: "select";
407
+ readonly label: "For";
408
+ readonly readOnly: true;
409
+ readonly description: "A person's own, or a class type's (read by every signed-in member).";
410
+ readonly options: readonly [{
411
+ readonly value: "personal";
412
+ readonly label: "A person";
413
+ }, {
414
+ readonly value: "class";
415
+ readonly label: "A class type";
416
+ }];
417
+ };
418
+ readonly person: {
419
+ readonly type: "relation";
420
+ readonly label: "Person";
421
+ readonly to: "person";
422
+ };
423
+ readonly classType: {
424
+ readonly type: "relation";
425
+ readonly label: "Class type";
426
+ readonly to: "programs.classtype";
427
+ };
428
+ readonly programTitle: {
429
+ readonly type: "text";
430
+ readonly label: "Program";
431
+ readonly readOnly: true;
432
+ readonly description: "The program's title in the assigned version, so a member reads it with the session.";
433
+ };
434
+ readonly classTypeName: {
435
+ readonly type: "text";
436
+ readonly label: "Class type (name)";
437
+ readonly readOnly: true;
438
+ };
439
+ readonly date: {
440
+ readonly type: "date";
441
+ readonly label: "Date";
442
+ readonly required: true;
443
+ };
444
+ readonly week: {
445
+ readonly type: "number";
446
+ readonly label: "Week";
447
+ readonly readOnly: true;
448
+ readonly min: 1;
449
+ readonly max: 52;
450
+ readonly step: 1;
451
+ };
452
+ readonly day: {
453
+ readonly type: "number";
454
+ readonly label: "Day of the week";
455
+ readonly readOnly: true;
456
+ readonly min: 1;
457
+ readonly max: 7;
458
+ readonly step: 1;
459
+ };
460
+ readonly position: {
461
+ readonly type: "number";
462
+ readonly label: "Place in its week";
463
+ readonly readOnly: true;
464
+ readonly description: "The session's index in its week of the layout, from 0.";
465
+ };
466
+ readonly key: {
467
+ readonly type: "text";
468
+ readonly label: "Key";
469
+ readonly readOnly: true;
470
+ readonly description: "Assignment, week and place: one session per place.";
471
+ };
472
+ readonly focus: {
473
+ readonly type: "text";
474
+ readonly label: "Focus";
475
+ };
476
+ readonly plan: {
477
+ readonly type: "document";
478
+ readonly label: "Plan";
479
+ readonly readOnly: true;
480
+ readonly description: "The session of the layout, as the assigned version had it.";
481
+ readonly schema: import("@composable-os/sdk").DocumentSchema;
482
+ readonly maxBytes: 65536;
483
+ };
484
+ readonly state: {
485
+ readonly type: "select";
486
+ readonly label: "State";
487
+ readonly options: readonly [{
488
+ readonly value: "planned";
489
+ readonly label: "Planned";
490
+ }, {
491
+ readonly value: "done";
492
+ readonly label: "Done";
493
+ }, {
494
+ readonly value: "skipped";
495
+ readonly label: "Skipped";
496
+ }];
497
+ };
498
+ readonly completedAt: {
499
+ readonly type: "datetime";
500
+ readonly label: "Marked at";
501
+ };
502
+ readonly completedBy: {
503
+ readonly type: "user";
504
+ readonly label: "Marked by";
505
+ };
506
+ readonly completedByName: {
507
+ readonly type: "text";
508
+ readonly label: "Marked by (name)";
509
+ };
510
+ };
511
+ readonly states: {
512
+ readonly field: "state";
513
+ readonly initial: "planned";
514
+ readonly moves: readonly [{
515
+ readonly from: "planned";
516
+ readonly to: "done";
517
+ readonly by: readonly ["staff", "customer"];
518
+ }, {
519
+ readonly from: "planned";
520
+ readonly to: "skipped";
521
+ readonly by: readonly ["staff", "customer"];
522
+ }, {
523
+ readonly from: readonly ["done", "skipped"];
524
+ readonly to: "planned";
525
+ readonly by: readonly ["staff", "customer"];
526
+ }];
527
+ };
528
+ readonly customer: {
529
+ readonly field: "person";
530
+ readonly read: readonly ["name", "assignment", "program", "programVersion", "kind", "classType", "programTitle", "classTypeName", "date", "week", "day", "position", "focus", "plan", "state", "completedAt"];
531
+ readonly write: readonly [];
532
+ };
533
+ readonly signedIn: {
534
+ readonly read: readonly ["name", "assignment", "programVersion", "kind", "classType", "programTitle", "classTypeName", "date", "week", "day", "position", "focus", "plan"];
535
+ readonly when: {
536
+ readonly field: "kind";
537
+ readonly in: readonly ["class"];
538
+ };
539
+ };
540
+ readonly indexes: readonly [readonly ["person", "date"], readonly ["kind", "date"], readonly ["classType", "date"], readonly ["assignment", "week"], readonly ["key"]];
541
+ };
542
+ readonly log: {
543
+ readonly label: "Logged set";
544
+ readonly plural: "Logged sets";
545
+ readonly icon: "list-checks";
546
+ readonly titleField: "label";
547
+ readonly description: string;
548
+ readonly navigation: "main";
549
+ readonly navigationOrder: 23;
550
+ readonly fields: {
551
+ readonly label: {
552
+ readonly type: "text";
553
+ readonly label: "Set";
554
+ readonly required: true;
555
+ };
556
+ readonly person: {
557
+ readonly type: "relation";
558
+ readonly label: "Person";
559
+ readonly to: "person";
560
+ readonly required: true;
561
+ };
562
+ readonly session: {
563
+ readonly type: "relation";
564
+ readonly label: "Session";
565
+ readonly to: "programs.session";
566
+ readonly required: true;
567
+ };
568
+ readonly assignment: {
569
+ readonly type: "relation";
570
+ readonly label: "Assignment";
571
+ readonly to: "programs.assignment";
572
+ };
573
+ readonly exercise: {
574
+ readonly type: "relation";
575
+ readonly label: "Exercise";
576
+ readonly to: "programs.exercise";
577
+ readonly required: true;
578
+ };
579
+ readonly exerciseName: {
580
+ readonly type: "text";
581
+ readonly label: "Exercise (name)";
582
+ readonly description: "The exercise's name when the set was logged, so a member reads it with the set.";
583
+ };
584
+ readonly item: {
585
+ readonly type: "text";
586
+ readonly label: "Item";
587
+ readonly description: "The item's label: A1.";
588
+ };
589
+ readonly setNumber: {
590
+ readonly type: "number";
591
+ readonly label: "Set number";
592
+ readonly min: 1;
593
+ readonly max: 30;
594
+ readonly step: 1;
595
+ };
596
+ readonly level: {
597
+ readonly type: "number";
598
+ readonly label: "Level taken";
599
+ readonly min: 1;
600
+ readonly max: 5;
601
+ readonly step: 1;
602
+ };
603
+ readonly date: {
604
+ readonly type: "date";
605
+ readonly label: "Date";
606
+ readonly required: true;
607
+ };
608
+ readonly targetReps: {
609
+ readonly type: "number";
610
+ readonly label: "Target reps";
611
+ readonly min: 0;
612
+ readonly max: 999;
613
+ readonly step: 1;
614
+ };
615
+ readonly targetSeconds: {
616
+ readonly type: "number";
617
+ readonly label: "Target seconds";
618
+ readonly min: 0;
619
+ readonly max: 7200;
620
+ readonly step: 1;
621
+ };
622
+ readonly targetLoad: {
623
+ readonly type: "number";
624
+ readonly label: "Target load (kg)";
625
+ readonly min: 0;
626
+ readonly max: 1000;
627
+ readonly step: 0.25;
628
+ };
629
+ readonly actualReps: {
630
+ readonly type: "number";
631
+ readonly label: "Reps";
632
+ readonly min: 0;
633
+ readonly max: 999;
634
+ readonly step: 1;
635
+ };
636
+ readonly actualSeconds: {
637
+ readonly type: "number";
638
+ readonly label: "Seconds";
639
+ readonly min: 0;
640
+ readonly max: 7200;
641
+ readonly step: 1;
642
+ };
643
+ readonly actualLoad: {
644
+ readonly type: "number";
645
+ readonly label: "Load (kg)";
646
+ readonly min: 0;
647
+ readonly max: 1000;
648
+ readonly step: 0.25;
649
+ };
650
+ readonly rpe: {
651
+ readonly type: "number";
652
+ readonly label: "Effort (RPE)";
653
+ readonly description: "1 to 10, in halves.";
654
+ readonly min: 1;
655
+ readonly max: 10;
656
+ readonly step: 0.5;
657
+ };
658
+ readonly note: {
659
+ readonly type: "text";
660
+ readonly label: "Note";
661
+ };
662
+ readonly recordedAs: {
663
+ readonly type: "select";
664
+ readonly label: "Recorded by";
665
+ readonly options: readonly [{
666
+ readonly value: "self";
667
+ readonly label: "Themselves";
668
+ }, {
669
+ readonly value: "staff";
670
+ readonly label: "A coach";
671
+ }];
672
+ };
673
+ readonly recordedBy: {
674
+ readonly type: "user";
675
+ readonly label: "Recorded by (coach)";
676
+ };
677
+ readonly recordedByName: {
678
+ readonly type: "text";
679
+ readonly label: "Recorded by (name)";
680
+ };
681
+ };
682
+ readonly customer: {
683
+ readonly field: "person";
684
+ readonly read: readonly ["label", "session", "assignment", "exercise", "exerciseName", "item", "setNumber", "level", "date", "targetReps", "targetSeconds", "targetLoad", "actualReps", "actualSeconds", "actualLoad", "rpe", "note", "recordedAs", "recordedByName"];
685
+ readonly write: readonly ["actualReps", "actualSeconds", "actualLoad", "rpe", "note"];
686
+ };
687
+ readonly timelineLinks: readonly ["person"];
688
+ readonly indexes: readonly [readonly ["person", "exercise", "date"], readonly ["session"], readonly ["exercise", "date"], readonly ["person", "date"]];
689
+ };
690
+ };
691
+ readonly views: {
692
+ readonly bankByTheme: {
693
+ readonly label: "Bank by theme";
694
+ readonly object: "programs.exercise";
695
+ readonly type: "board";
696
+ readonly groupBy: "theme";
697
+ readonly cardFields: ["measure", "level", "equipment"];
698
+ };
699
+ readonly programsPublished: {
700
+ readonly label: "Published programs";
701
+ readonly object: "programs.program";
702
+ readonly filter: {
703
+ readonly field: "publishedVersion";
704
+ readonly op: "is_not_null";
705
+ };
706
+ readonly sort: {
707
+ readonly field: "publishedAt";
708
+ readonly direction: "desc";
709
+ };
710
+ readonly columns: ["title", "kind", "weekCount", "publishedVersion", "publishedAt"];
711
+ };
712
+ readonly activeAssignments: {
713
+ readonly label: "Active assignments";
714
+ readonly object: "programs.assignment";
715
+ readonly filter: {
716
+ readonly field: "state";
717
+ readonly op: "eq";
718
+ readonly value: "active";
719
+ };
720
+ readonly sort: {
721
+ readonly field: "startDate";
722
+ readonly direction: "desc";
723
+ };
724
+ readonly columns: ["title", "kind", "person", "classType", "startDate", "endDate", "sessionCount"];
725
+ };
726
+ readonly sessionsThisWeek: {
727
+ readonly label: "Sessions this week";
728
+ readonly object: "programs.session";
729
+ readonly filter: {
730
+ readonly and: [{
731
+ readonly field: "date";
732
+ readonly op: "gte";
733
+ readonly value: {
734
+ readonly $relative: "startOfWeek";
735
+ };
736
+ }, {
737
+ readonly field: "date";
738
+ readonly op: "lt";
739
+ readonly value: {
740
+ readonly $relative: "startOfNextWeek";
741
+ };
742
+ }];
743
+ };
744
+ readonly sort: {
745
+ readonly field: "date";
746
+ readonly direction: "asc";
747
+ };
748
+ readonly columns: ["name", "date", "kind", "person", "classType", "state"];
749
+ };
750
+ readonly sessionsCalendar: {
751
+ readonly label: "Sessions calendar";
752
+ readonly object: "programs.session";
753
+ readonly type: "calendar";
754
+ readonly dateField: "date";
755
+ readonly mode: "week";
756
+ readonly cardFields: ["person", "classType", "state"];
757
+ };
758
+ readonly setsThisWeek: {
759
+ readonly label: "Sets logged this week";
760
+ readonly object: "programs.log";
761
+ readonly filter: {
762
+ readonly and: [{
763
+ readonly field: "date";
764
+ readonly op: "gte";
765
+ readonly value: {
766
+ readonly $relative: "startOfWeek";
767
+ };
768
+ }, {
769
+ readonly field: "date";
770
+ readonly op: "lt";
771
+ readonly value: {
772
+ readonly $relative: "startOfNextWeek";
773
+ };
774
+ }];
775
+ };
776
+ readonly sort: {
777
+ readonly field: "date";
778
+ readonly direction: "desc";
779
+ };
780
+ readonly columns: ["person", "exercise", "label", "level", "targetReps", "actualReps", "targetLoad", "actualLoad", "actualSeconds", "rpe", "recordedAs"];
781
+ };
782
+ };
783
+ readonly dashboards: {
784
+ training: import("@composable-os/sdk").DashboardDeclaration;
785
+ };
786
+ readonly recordTabs: {
787
+ readonly personTraining: {
788
+ readonly label: "Training";
789
+ readonly on: "person";
790
+ readonly view: {
791
+ readonly type: "table";
792
+ readonly object: "programs.log";
793
+ readonly relation: "person";
794
+ readonly columns: ["date", "exercise", "label", "level", "targetReps", "actualReps", "targetLoad", "actualLoad", "actualSeconds", "rpe", "recordedAs"];
795
+ readonly sort: {
796
+ readonly field: "date";
797
+ readonly direction: "desc";
798
+ };
799
+ };
800
+ readonly order: 40;
801
+ };
802
+ };
803
+ readonly recordPanels: {
804
+ readonly personAssignments: {
805
+ readonly label: "Programs";
806
+ readonly on: "person";
807
+ readonly view: {
808
+ readonly type: "table";
809
+ readonly object: "programs.assignment";
810
+ readonly relation: "person";
811
+ readonly columns: ["title", "startDate", "endDate", "state"];
812
+ readonly sort: {
813
+ readonly field: "startDate";
814
+ readonly direction: "desc";
815
+ };
816
+ };
817
+ readonly order: 40;
818
+ };
819
+ readonly personSessions: {
820
+ readonly label: "Sessions";
821
+ readonly on: "person";
822
+ readonly view: {
823
+ readonly type: "table";
824
+ readonly object: "programs.session";
825
+ readonly relation: "person";
826
+ readonly columns: ["name", "date", "state"];
827
+ readonly sort: {
828
+ readonly field: "date";
829
+ readonly direction: "desc";
830
+ };
831
+ };
832
+ readonly order: 41;
833
+ };
834
+ };
835
+ readonly tools: {
836
+ readonly assign: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
837
+ programId: import("zod").ZodString;
838
+ personId: import("zod").ZodOptional<import("zod").ZodString>;
839
+ classTypeId: import("zod").ZodOptional<import("zod").ZodString>;
840
+ startDate: import("zod").ZodString;
841
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
842
+ assignmentId: import("zod").ZodString;
843
+ programVersion: import("zod").ZodNumber;
844
+ sessions: import("zod").ZodNumber;
845
+ startDate: import("zod").ZodString;
846
+ endDate: import("zod").ZodString;
847
+ }, import("zod/v4/core").$strip>>;
848
+ readonly today: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
849
+ date: import("zod").ZodOptional<import("zod").ZodString>;
850
+ personId: import("zod").ZodOptional<import("zod").ZodString>;
851
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
852
+ date: import("zod").ZodString;
853
+ sessions: import("zod").ZodArray<import("zod").ZodObject<{
854
+ id: import("zod").ZodString;
855
+ name: import("zod").ZodNullable<import("zod").ZodString>;
856
+ date: import("zod").ZodNullable<import("zod").ZodString>;
857
+ week: import("zod").ZodNullable<import("zod").ZodNumber>;
858
+ day: import("zod").ZodNullable<import("zod").ZodNumber>;
859
+ kind: import("zod").ZodNullable<import("zod").ZodString>;
860
+ classType: import("zod").ZodNullable<import("zod").ZodString>;
861
+ assignment: import("zod").ZodNullable<import("zod").ZodString>;
862
+ programVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
863
+ programTitle: import("zod").ZodNullable<import("zod").ZodString>;
864
+ classTypeName: import("zod").ZodNullable<import("zod").ZodString>;
865
+ focus: import("zod").ZodNullable<import("zod").ZodString>;
866
+ state: import("zod").ZodNullable<import("zod").ZodString>;
867
+ plan: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
868
+ exercises: import("zod").ZodArray<import("zod").ZodObject<{
869
+ id: import("zod").ZodString;
870
+ name: import("zod").ZodNullable<import("zod").ZodString>;
871
+ video: import("zod").ZodNullable<import("zod").ZodString>;
872
+ cues: import("zod").ZodNullable<import("zod").ZodString>;
873
+ measure: import("zod").ZodNullable<import("zod").ZodString>;
874
+ last: import("zod").ZodArray<import("zod").ZodObject<{
875
+ date: import("zod").ZodNullable<import("zod").ZodString>;
876
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
877
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
878
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
879
+ rpe: import("zod").ZodNullable<import("zod").ZodNumber>;
880
+ level: import("zod").ZodNullable<import("zod").ZodNumber>;
881
+ }, import("zod/v4/core").$strip>>;
882
+ }, import("zod/v4/core").$strip>>;
883
+ }, import("zod/v4/core").$strip>>;
884
+ }, import("zod/v4/core").$strip>>;
885
+ readonly sessionGet: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
886
+ sessionId: import("zod").ZodString;
887
+ personId: import("zod").ZodOptional<import("zod").ZodString>;
888
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
889
+ session: import("zod").ZodObject<{
890
+ id: import("zod").ZodString;
891
+ name: import("zod").ZodNullable<import("zod").ZodString>;
892
+ date: import("zod").ZodNullable<import("zod").ZodString>;
893
+ week: import("zod").ZodNullable<import("zod").ZodNumber>;
894
+ day: import("zod").ZodNullable<import("zod").ZodNumber>;
895
+ kind: import("zod").ZodNullable<import("zod").ZodString>;
896
+ classType: import("zod").ZodNullable<import("zod").ZodString>;
897
+ assignment: import("zod").ZodNullable<import("zod").ZodString>;
898
+ programVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
899
+ programTitle: import("zod").ZodNullable<import("zod").ZodString>;
900
+ classTypeName: import("zod").ZodNullable<import("zod").ZodString>;
901
+ focus: import("zod").ZodNullable<import("zod").ZodString>;
902
+ state: import("zod").ZodNullable<import("zod").ZodString>;
903
+ plan: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
904
+ }, import("zod/v4/core").$strip>;
905
+ exercises: import("zod").ZodArray<import("zod").ZodObject<{
906
+ id: import("zod").ZodString;
907
+ name: import("zod").ZodNullable<import("zod").ZodString>;
908
+ video: import("zod").ZodNullable<import("zod").ZodString>;
909
+ cues: import("zod").ZodNullable<import("zod").ZodString>;
910
+ measure: import("zod").ZodNullable<import("zod").ZodString>;
911
+ last: import("zod").ZodArray<import("zod").ZodObject<{
912
+ date: import("zod").ZodNullable<import("zod").ZodString>;
913
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
914
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
915
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
916
+ rpe: import("zod").ZodNullable<import("zod").ZodNumber>;
917
+ level: import("zod").ZodNullable<import("zod").ZodNumber>;
918
+ }, import("zod/v4/core").$strip>>;
919
+ }, import("zod/v4/core").$strip>>;
920
+ logged: import("zod").ZodArray<import("zod").ZodObject<{
921
+ id: import("zod").ZodString;
922
+ item: import("zod").ZodNullable<import("zod").ZodString>;
923
+ exercise: import("zod").ZodNullable<import("zod").ZodString>;
924
+ setNumber: import("zod").ZodNullable<import("zod").ZodNumber>;
925
+ level: import("zod").ZodNullable<import("zod").ZodNumber>;
926
+ target: import("zod").ZodObject<{
927
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
928
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
929
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
930
+ }, import("zod/v4/core").$strip>;
931
+ actual: import("zod").ZodObject<{
932
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
933
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
934
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
935
+ }, import("zod/v4/core").$strip>;
936
+ rpe: import("zod").ZodNullable<import("zod").ZodNumber>;
937
+ note: import("zod").ZodNullable<import("zod").ZodString>;
938
+ recordedAs: import("zod").ZodNullable<import("zod").ZodString>;
939
+ recordedByName: import("zod").ZodNullable<import("zod").ZodString>;
940
+ exerciseName: import("zod").ZodNullable<import("zod").ZodString>;
941
+ }, import("zod/v4/core").$strip>>;
942
+ }, import("zod/v4/core").$strip>>;
943
+ readonly classToday: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
944
+ classTypeId: import("zod").ZodString;
945
+ date: import("zod").ZodOptional<import("zod").ZodString>;
946
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
947
+ date: import("zod").ZodString;
948
+ sessions: import("zod").ZodArray<import("zod").ZodObject<{
949
+ id: import("zod").ZodString;
950
+ name: import("zod").ZodNullable<import("zod").ZodString>;
951
+ date: import("zod").ZodNullable<import("zod").ZodString>;
952
+ week: import("zod").ZodNullable<import("zod").ZodNumber>;
953
+ day: import("zod").ZodNullable<import("zod").ZodNumber>;
954
+ kind: import("zod").ZodNullable<import("zod").ZodString>;
955
+ classType: import("zod").ZodNullable<import("zod").ZodString>;
956
+ assignment: import("zod").ZodNullable<import("zod").ZodString>;
957
+ programVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
958
+ programTitle: import("zod").ZodNullable<import("zod").ZodString>;
959
+ classTypeName: import("zod").ZodNullable<import("zod").ZodString>;
960
+ focus: import("zod").ZodNullable<import("zod").ZodString>;
961
+ state: import("zod").ZodNullable<import("zod").ZodString>;
962
+ plan: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
963
+ exercises: import("zod").ZodArray<import("zod").ZodObject<{
964
+ id: import("zod").ZodString;
965
+ name: import("zod").ZodNullable<import("zod").ZodString>;
966
+ video: import("zod").ZodNullable<import("zod").ZodString>;
967
+ cues: import("zod").ZodNullable<import("zod").ZodString>;
968
+ measure: import("zod").ZodNullable<import("zod").ZodString>;
969
+ last: import("zod").ZodArray<import("zod").ZodObject<{
970
+ date: import("zod").ZodNullable<import("zod").ZodString>;
971
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
972
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
973
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
974
+ rpe: import("zod").ZodNullable<import("zod").ZodNumber>;
975
+ level: import("zod").ZodNullable<import("zod").ZodNumber>;
976
+ }, import("zod/v4/core").$strip>>;
977
+ }, import("zod/v4/core").$strip>>;
978
+ }, import("zod/v4/core").$strip>>;
979
+ }, import("zod/v4/core").$strip>>;
980
+ readonly logAdd: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
981
+ sessionId: import("zod").ZodString;
982
+ item: import("zod").ZodString;
983
+ exerciseId: import("zod").ZodOptional<import("zod").ZodString>;
984
+ level: import("zod").ZodOptional<import("zod").ZodNumber>;
985
+ setNumber: import("zod").ZodNumber;
986
+ actual: import("zod").ZodObject<{
987
+ reps: import("zod").ZodOptional<import("zod").ZodNumber>;
988
+ seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
989
+ load: import("zod").ZodOptional<import("zod").ZodNumber>;
990
+ }, import("zod/v4/core").$strip>;
991
+ rpe: import("zod").ZodOptional<import("zod").ZodNumber>;
992
+ note: import("zod").ZodOptional<import("zod").ZodString>;
993
+ personId: import("zod").ZodOptional<import("zod").ZodString>;
994
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
995
+ id: import("zod").ZodString;
996
+ item: import("zod").ZodNullable<import("zod").ZodString>;
997
+ exercise: import("zod").ZodNullable<import("zod").ZodString>;
998
+ setNumber: import("zod").ZodNullable<import("zod").ZodNumber>;
999
+ level: import("zod").ZodNullable<import("zod").ZodNumber>;
1000
+ target: import("zod").ZodObject<{
1001
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
1002
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
1003
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
1004
+ }, import("zod/v4/core").$strip>;
1005
+ actual: import("zod").ZodObject<{
1006
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
1007
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
1008
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
1009
+ }, import("zod/v4/core").$strip>;
1010
+ rpe: import("zod").ZodNullable<import("zod").ZodNumber>;
1011
+ note: import("zod").ZodNullable<import("zod").ZodString>;
1012
+ recordedAs: import("zod").ZodNullable<import("zod").ZodString>;
1013
+ recordedByName: import("zod").ZodNullable<import("zod").ZodString>;
1014
+ exerciseName: import("zod").ZodNullable<import("zod").ZodString>;
1015
+ }, import("zod/v4/core").$strip>>;
1016
+ readonly logUpdate: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
1017
+ logId: import("zod").ZodString;
1018
+ actual: import("zod").ZodOptional<import("zod").ZodObject<{
1019
+ reps: import("zod").ZodOptional<import("zod").ZodNumber>;
1020
+ seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
1021
+ load: import("zod").ZodOptional<import("zod").ZodNumber>;
1022
+ }, import("zod/v4/core").$strip>>;
1023
+ rpe: import("zod").ZodOptional<import("zod").ZodNumber>;
1024
+ note: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1025
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1026
+ id: import("zod").ZodString;
1027
+ item: import("zod").ZodNullable<import("zod").ZodString>;
1028
+ exercise: import("zod").ZodNullable<import("zod").ZodString>;
1029
+ setNumber: import("zod").ZodNullable<import("zod").ZodNumber>;
1030
+ level: import("zod").ZodNullable<import("zod").ZodNumber>;
1031
+ target: import("zod").ZodObject<{
1032
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
1033
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
1034
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
1035
+ }, import("zod/v4/core").$strip>;
1036
+ actual: import("zod").ZodObject<{
1037
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
1038
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
1039
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
1040
+ }, import("zod/v4/core").$strip>;
1041
+ rpe: import("zod").ZodNullable<import("zod").ZodNumber>;
1042
+ note: import("zod").ZodNullable<import("zod").ZodString>;
1043
+ recordedAs: import("zod").ZodNullable<import("zod").ZodString>;
1044
+ recordedByName: import("zod").ZodNullable<import("zod").ZodString>;
1045
+ exerciseName: import("zod").ZodNullable<import("zod").ZodString>;
1046
+ }, import("zod/v4/core").$strip>>;
1047
+ readonly sessionComplete: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
1048
+ sessionId: import("zod").ZodString;
1049
+ state: import("zod").ZodDefault<import("zod").ZodEnum<{
1050
+ done: "done";
1051
+ skipped: "skipped";
1052
+ planned: "planned";
1053
+ }>>;
1054
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1055
+ changed: import("zod").ZodBoolean;
1056
+ session: import("zod").ZodObject<{
1057
+ id: import("zod").ZodString;
1058
+ name: import("zod").ZodNullable<import("zod").ZodString>;
1059
+ date: import("zod").ZodNullable<import("zod").ZodString>;
1060
+ week: import("zod").ZodNullable<import("zod").ZodNumber>;
1061
+ day: import("zod").ZodNullable<import("zod").ZodNumber>;
1062
+ kind: import("zod").ZodNullable<import("zod").ZodString>;
1063
+ classType: import("zod").ZodNullable<import("zod").ZodString>;
1064
+ assignment: import("zod").ZodNullable<import("zod").ZodString>;
1065
+ programVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
1066
+ programTitle: import("zod").ZodNullable<import("zod").ZodString>;
1067
+ classTypeName: import("zod").ZodNullable<import("zod").ZodString>;
1068
+ focus: import("zod").ZodNullable<import("zod").ZodString>;
1069
+ state: import("zod").ZodNullable<import("zod").ZodString>;
1070
+ plan: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
1071
+ }, import("zod/v4/core").$strip>;
1072
+ }, import("zod/v4/core").$strip>>;
1073
+ readonly history: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
1074
+ exerciseId: import("zod").ZodString;
1075
+ personId: import("zod").ZodOptional<import("zod").ZodString>;
1076
+ from: import("zod").ZodOptional<import("zod").ZodString>;
1077
+ until: import("zod").ZodOptional<import("zod").ZodString>;
1078
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1079
+ exercise: import("zod").ZodObject<{
1080
+ id: import("zod").ZodString;
1081
+ name: import("zod").ZodNullable<import("zod").ZodString>;
1082
+ }, import("zod/v4/core").$strip>;
1083
+ sets: import("zod").ZodArray<import("zod").ZodObject<{
1084
+ id: import("zod").ZodString;
1085
+ item: import("zod").ZodNullable<import("zod").ZodString>;
1086
+ exercise: import("zod").ZodNullable<import("zod").ZodString>;
1087
+ setNumber: import("zod").ZodNullable<import("zod").ZodNumber>;
1088
+ level: import("zod").ZodNullable<import("zod").ZodNumber>;
1089
+ target: import("zod").ZodObject<{
1090
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
1091
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
1092
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
1093
+ }, import("zod/v4/core").$strip>;
1094
+ actual: import("zod").ZodObject<{
1095
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
1096
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
1097
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
1098
+ }, import("zod/v4/core").$strip>;
1099
+ rpe: import("zod").ZodNullable<import("zod").ZodNumber>;
1100
+ note: import("zod").ZodNullable<import("zod").ZodString>;
1101
+ recordedAs: import("zod").ZodNullable<import("zod").ZodString>;
1102
+ recordedByName: import("zod").ZodNullable<import("zod").ZodString>;
1103
+ exerciseName: import("zod").ZodNullable<import("zod").ZodString>;
1104
+ date: import("zod").ZodNullable<import("zod").ZodString>;
1105
+ }, import("zod/v4/core").$strip>>;
1106
+ best: import("zod").ZodObject<{
1107
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
1108
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
1109
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
1110
+ }, import("zod/v4/core").$strip>;
1111
+ capped: import("zod").ZodBoolean;
1112
+ }, import("zod/v4/core").$strip>>;
1113
+ readonly progress: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
1114
+ personId: import("zod").ZodOptional<import("zod").ZodString>;
1115
+ assignmentId: import("zod").ZodOptional<import("zod").ZodString>;
1116
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1117
+ exercises: import("zod").ZodArray<import("zod").ZodObject<{
1118
+ id: import("zod").ZodString;
1119
+ name: import("zod").ZodNullable<import("zod").ZodString>;
1120
+ sets: import("zod").ZodNumber;
1121
+ first: import("zod").ZodNullable<import("zod").ZodString>;
1122
+ last: import("zod").ZodNullable<import("zod").ZodString>;
1123
+ best: import("zod").ZodObject<{
1124
+ load: import("zod").ZodNullable<import("zod").ZodNumber>;
1125
+ reps: import("zod").ZodNullable<import("zod").ZodNumber>;
1126
+ seconds: import("zod").ZodNullable<import("zod").ZodNumber>;
1127
+ }, import("zod/v4/core").$strip>;
1128
+ }, import("zod/v4/core").$strip>>;
1129
+ assignments: import("zod").ZodArray<import("zod").ZodObject<{
1130
+ id: import("zod").ZodString;
1131
+ title: import("zod").ZodNullable<import("zod").ZodString>;
1132
+ sessions: import("zod").ZodNumber;
1133
+ done: import("zod").ZodNumber;
1134
+ skipped: import("zod").ZodNumber;
1135
+ planned: import("zod").ZodNumber;
1136
+ }, import("zod/v4/core").$strip>>;
1137
+ capped: import("zod").ZodBoolean;
1138
+ }, import("zod/v4/core").$strip>>;
1139
+ readonly draft: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
1140
+ brief: import("zod").ZodString;
1141
+ title: import("zod").ZodOptional<import("zod").ZodString>;
1142
+ kind: import("zod").ZodDefault<import("zod").ZodEnum<{
1143
+ class: "class";
1144
+ client: "client";
1145
+ course: "course";
1146
+ }>>;
1147
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1148
+ programId: import("zod").ZodString;
1149
+ title: import("zod").ZodString;
1150
+ weeks: import("zod").ZodNumber;
1151
+ sessions: import("zod").ZodNumber;
1152
+ published: import("zod").ZodLiteral<false>;
1153
+ exercises: import("zod").ZodArray<import("zod").ZodObject<{
1154
+ id: import("zod").ZodString;
1155
+ name: import("zod").ZodString;
1156
+ }, import("zod/v4/core").$strip>>;
1157
+ }, import("zod/v4/core").$strip>>;
1158
+ readonly importText: import("@composable-os/sdk").ToolSpec<import("zod").ZodObject<{
1159
+ text: import("zod").ZodString;
1160
+ title: import("zod").ZodOptional<import("zod").ZodString>;
1161
+ kind: import("zod").ZodDefault<import("zod").ZodEnum<{
1162
+ class: "class";
1163
+ client: "client";
1164
+ course: "course";
1165
+ }>>;
1166
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1167
+ programId: import("zod").ZodString;
1168
+ title: import("zod").ZodString;
1169
+ weeks: import("zod").ZodNumber;
1170
+ sessions: import("zod").ZodNumber;
1171
+ published: import("zod").ZodLiteral<false>;
1172
+ items: import("zod").ZodNumber;
1173
+ unread: import("zod").ZodArray<import("zod").ZodObject<{
1174
+ line: import("zod").ZodNumber;
1175
+ text: import("zod").ZodString;
1176
+ reason: import("zod").ZodString;
1177
+ }, import("zod/v4/core").$strip>>;
1178
+ }, import("zod/v4/core").$strip>>;
1179
+ };
1180
+ }>;
1181
+ export default _default;