@milobedini/shared-types 1.0.87 → 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 +8 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -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 & {
|