rano/graph/auth.graphql

19 lines
252 B
GraphQL
Raw Normal View History

2024-11-01 19:55:30 +05:30
extend type Mutation {
login(username: String!, email: String!): Boolean!
logout: Boolean!
}
2024-11-01 23:19:56 +05:30
extend type Query {
"""
me, is current AuthUser info
"""
me: AuthUser
}
type AuthUser {
id: ID!
email: String!
displayName: String!
roleID: Int!
}