@milobedini/shared-types 1.0.52 → 1.0.54
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 +12 -4
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -247,11 +247,15 @@ export type MyAttemptsResponse = {
|
|
|
247
247
|
export type TherapistUserPreview = Pick<AuthUser, '_id' | 'username' | 'email' | 'name'>;
|
|
248
248
|
export type TherapistModulePreview = Pick<Module, '_id' | 'title'>;
|
|
249
249
|
export type TherapistLatestRow = {
|
|
250
|
+
_id: string;
|
|
250
251
|
user: TherapistUserPreview;
|
|
251
252
|
module: TherapistModulePreview;
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
iteration?: number;
|
|
254
|
+
completedAt?: string;
|
|
255
|
+
totalScore?: number;
|
|
256
|
+
scoreBandLabel?: string;
|
|
257
|
+
weekStart?: string;
|
|
258
|
+
band?: ScoreBandSummary;
|
|
255
259
|
};
|
|
256
260
|
export type TherapistLatestResponse = {
|
|
257
261
|
success: boolean;
|
|
@@ -343,7 +347,11 @@ export type ModulePreviewForAssignment = Pick<Module, '_id' | 'title' | 'type' |
|
|
|
343
347
|
export type ProgramPreviewForAssignment = Pick<Program, '_id' | 'title'>;
|
|
344
348
|
export type MyAssignmentView = {
|
|
345
349
|
_id: string;
|
|
346
|
-
user:
|
|
350
|
+
user: {
|
|
351
|
+
_id: string;
|
|
352
|
+
name: string;
|
|
353
|
+
username: string;
|
|
354
|
+
};
|
|
347
355
|
therapist: {
|
|
348
356
|
_id: string;
|
|
349
357
|
name: string;
|