@milobedini/shared-types 1.0.42 → 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.
Files changed (2) hide show
  1. package/dist/types.d.ts +2 -1
  2. 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milobedini/shared-types",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [