@milobedini/shared-types 1.0.43 → 1.0.44
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 +2 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export type ProfileResponse = {
|
|
|
52
52
|
_id: string;
|
|
53
53
|
username: string;
|
|
54
54
|
email: string;
|
|
55
|
+
name?: string;
|
|
55
56
|
roles: UserRole[];
|
|
56
57
|
isVerifiedTherapist: boolean;
|
|
57
58
|
patients: string[];
|
|
@@ -224,7 +225,7 @@ export type MyAttemptsResponse = {
|
|
|
224
225
|
attempts: AttemptListItem[];
|
|
225
226
|
nextCursor: string | null;
|
|
226
227
|
};
|
|
227
|
-
export type TherapistUserPreview = Pick<AuthUser, '_id' | 'username' | 'email'>;
|
|
228
|
+
export type TherapistUserPreview = Pick<AuthUser, '_id' | 'username' | 'email' | 'name'>;
|
|
228
229
|
export type TherapistModulePreview = Pick<Module, '_id' | 'title'>;
|
|
229
230
|
export type TherapistLatestRow = {
|
|
230
231
|
user: TherapistUserPreview;
|