Showing
1 changed file
with
7 additions
and
1 deletions
... | @@ -2,7 +2,8 @@ type User { | ... | @@ -2,7 +2,8 @@ type User { |
2 | id: ID! | 2 | id: ID! |
3 | avatarUrl: String | 3 | avatarUrl: String |
4 | name: String | 4 | name: String |
5 | - email: String | 5 | + email: String! |
6 | + password: String | ||
6 | loginSecret: String | 7 | loginSecret: String |
7 | bio: String | 8 | bio: String |
8 | rooms: [Room] | 9 | rooms: [Room] |
... | @@ -26,3 +27,8 @@ type Message { | ... | @@ -26,3 +27,8 @@ type Message { |
26 | text: String | 27 | text: String |
27 | sender: User | 28 | sender: User |
28 | } | 29 | } |
30 | + | ||
31 | +type AuthPayload { | ||
32 | + token: String | ||
33 | + user: User | ||
34 | +} | ... | ... |
-
Please register or login to post a comment