rano/graph/account.graphql

28 lines
354 B
GraphQL
Raw Normal View History

2024-11-01 14:25:30 +00:00
extend type Mutation {
2024-11-17 16:58:29 +00:00
"""
Verify email token
"""
accountVerifyEmail(token: String): Boolean!
"""
User account login
"""
accountLogin(email: String!, pwd: String!): AuthUser!
"""
User account logout
"""
accountLogout: Boolean!
2024-11-01 14:25:30 +00:00
}
2024-11-01 17:49:56 +00:00
extend type Query {
me: AuthUser
}
type AuthUser {
2024-11-17 16:58:29 +00:00
id: UID!
2024-11-01 17:49:56 +00:00
email: String!
2024-11-17 16:58:29 +00:00
name: String!
2024-11-01 17:49:56 +00:00
roleID: Int!
}