added in graphql client
This commit is contained in:
@@ -2,3 +2,17 @@ extend type Mutation {
|
||||
login(username: String!, email: String!): Boolean!
|
||||
logout: Boolean!
|
||||
}
|
||||
|
||||
extend type Query {
|
||||
"""
|
||||
me, is current AuthUser info
|
||||
"""
|
||||
me: AuthUser
|
||||
}
|
||||
|
||||
type AuthUser {
|
||||
id: ID!
|
||||
email: String!
|
||||
displayName: String!
|
||||
roleID: Int!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user