return user info in signIn

This commit is contained in:
knst-kotov
2022-05-03 15:55:29 +03:00
parent d7cbe150d6
commit 0d67d1df95
3 changed files with 21 additions and 6 deletions

View File

@@ -6,17 +6,22 @@ type Result {
error: String
}
type CurrentUserInfo {
totalUnreadMessages: Int
userSubscribedTopics: [String]!
}
type AuthResult {
error: String
token: String
user: User
info: CurrentUserInfo
}
type UserResult {
error: String
user: User
totalUnreadMessages: Int
userSubscribedTopics: [String]!
info: CurrentUserInfo
}
input ShoutInput {