rano/graph/auth.graphql

19 lines
252 B
GraphQL
Raw Normal View History

2024-11-01 14:25:30 +00:00
extend type Mutation {
login(username: String!, email: String!): Boolean!
logout: Boolean!
}
2024-11-01 17:49:56 +00:00
extend type Query {
"""
me, is current AuthUser info
"""
me: AuthUser
}
type AuthUser {
id: ID!
email: String!
displayName: String!
roleID: Int!
}