16 lines
208 B
GraphQL
16 lines
208 B
GraphQL
extend type Mutation {
|
|
login(email: String!, pwd: String!): AuthUser!
|
|
logout: Boolean!
|
|
}
|
|
|
|
extend type Query {
|
|
me: AuthUser
|
|
}
|
|
|
|
type AuthUser {
|
|
id: ID!
|
|
email: String!
|
|
displayName: String!
|
|
roleID: Int!
|
|
}
|