@milobedini/shared-types 1.0.78 → 1.0.79
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 +21 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -271,6 +271,27 @@ export type TherapistLatestRow = {
|
|
|
271
271
|
export type TherapistLatestResponse = {
|
|
272
272
|
success: boolean;
|
|
273
273
|
rows: TherapistLatestRow[];
|
|
274
|
+
nextCursor: string | null;
|
|
275
|
+
totalCount: number;
|
|
276
|
+
};
|
|
277
|
+
export type SeverityOption = 'severe' | 'moderate' | 'mild';
|
|
278
|
+
export type SortOption = 'newest' | 'oldest' | 'severity';
|
|
279
|
+
export type TherapistLatestFilters = {
|
|
280
|
+
patientId?: string;
|
|
281
|
+
moduleId?: string;
|
|
282
|
+
severity?: SeverityOption;
|
|
283
|
+
status?: string;
|
|
284
|
+
sort?: SortOption;
|
|
285
|
+
limit?: number;
|
|
286
|
+
};
|
|
287
|
+
export type TherapistAttemptModule = {
|
|
288
|
+
_id: string;
|
|
289
|
+
title: string;
|
|
290
|
+
moduleType: ModuleType;
|
|
291
|
+
};
|
|
292
|
+
export type TherapistAttemptModulesResponse = {
|
|
293
|
+
success: boolean;
|
|
294
|
+
modules: TherapistAttemptModule[];
|
|
274
295
|
};
|
|
275
296
|
export type CreateAssignmentInput = {
|
|
276
297
|
userId: string;
|