@milobedini/shared-types 1.0.50 → 1.0.52
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 +11 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -344,7 +344,10 @@ export type ProgramPreviewForAssignment = Pick<Program, '_id' | 'title'>;
|
|
|
344
344
|
export type MyAssignmentView = {
|
|
345
345
|
_id: string;
|
|
346
346
|
user: string;
|
|
347
|
-
therapist:
|
|
347
|
+
therapist: {
|
|
348
|
+
_id: string;
|
|
349
|
+
name: string;
|
|
350
|
+
};
|
|
348
351
|
status: AssignmentStatus;
|
|
349
352
|
dueAt?: string;
|
|
350
353
|
recurrence?: AssignmentRecurrence;
|
|
@@ -363,3 +366,10 @@ export type ModulesQuery = {
|
|
|
363
366
|
program?: string;
|
|
364
367
|
withMeta?: boolean | string;
|
|
365
368
|
};
|
|
369
|
+
export type AdminStats = {
|
|
370
|
+
totalUsers: number;
|
|
371
|
+
totalTherapists: number;
|
|
372
|
+
totalPatients: number;
|
|
373
|
+
unverifiedTherapists: AuthUser[];
|
|
374
|
+
completedAttempts: number;
|
|
375
|
+
};
|