@milobedini/shared-types 1.0.40 → 1.0.42

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 +5 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -7,6 +7,7 @@ export type User = {
7
7
  _id: string;
8
8
  username: string;
9
9
  email: string;
10
+ name?: string;
10
11
  };
11
12
  export type UserRole = 'therapist' | 'admin' | 'patient';
12
13
  export type AuthUser = User & {
@@ -30,6 +31,10 @@ export type LoginInput = {
30
31
  identifier: string;
31
32
  password: string;
32
33
  };
34
+ export type UpdateNameInput = {
35
+ newName: string;
36
+ userId: string;
37
+ };
33
38
  export type VerifyInput = {
34
39
  verificationCode: string;
35
40
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milobedini/shared-types",
3
- "version": "1.0.40",
3
+ "version": "1.0.42",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [