Files
rano/graph/account.graphql
2024-11-17 22:28:29 +05:30

28 lines
354 B
GraphQL

extend type Mutation {
"""
Verify email token
"""
accountVerifyEmail(token: String): Boolean!
"""
User account login
"""
accountLogin(email: String!, pwd: String!): AuthUser!
"""
User account logout
"""
accountLogout: Boolean!
}
extend type Query {
me: AuthUser
}
type AuthUser {
id: UID!
email: String!
name: String!
roleID: Int!
}