@milobedini/shared-types 1.0.86 → 1.0.88
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/types.d.ts +9 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -482,7 +482,7 @@ export type ReviewResponse = {
|
|
|
482
482
|
};
|
|
483
483
|
export type UpdateAssignmentInput = {
|
|
484
484
|
status?: AssignmentStatus;
|
|
485
|
-
dueAt?: string;
|
|
485
|
+
dueAt?: string | null;
|
|
486
486
|
notes?: string;
|
|
487
487
|
recurrence?: AssignmentRecurrence;
|
|
488
488
|
};
|
|
@@ -636,6 +636,7 @@ export type PatientModuleTimelineQuery = {
|
|
|
636
636
|
moduleId?: string;
|
|
637
637
|
limit?: number;
|
|
638
638
|
cursor?: Cursor;
|
|
639
|
+
severity?: SeverityOption;
|
|
639
640
|
/**
|
|
640
641
|
* Status filter:
|
|
641
642
|
* - 'submitted' (default) = completed timeline (sorted by completedAt)
|
|
@@ -645,6 +646,13 @@ export type PatientModuleTimelineQuery = {
|
|
|
645
646
|
*/
|
|
646
647
|
status?: 'submitted' | 'active' | AttemptStatus | `${AttemptStatus},${string}` | 'all' | string;
|
|
647
648
|
};
|
|
649
|
+
export type PatientModulesResponse = {
|
|
650
|
+
success: boolean;
|
|
651
|
+
modules: {
|
|
652
|
+
_id: string;
|
|
653
|
+
title: string;
|
|
654
|
+
}[];
|
|
655
|
+
};
|
|
648
656
|
export type PatientModuleTimelineResponse = {
|
|
649
657
|
success: boolean;
|
|
650
658
|
attempts: (AttemptListItem & {
|