2024-11-01 14:25:30 +00:00
|
|
|
extend type Mutation {
|
2024-11-15 16:12:15 +00:00
|
|
|
login(email: String!, pwd: String!): AuthUser!
|
2024-11-01 14:25:30 +00:00
|
|
|
logout: Boolean!
|
|
|
|
}
|
2024-11-01 17:49:56 +00:00
|
|
|
|
|
|
|
extend type Query {
|
|
|
|
me: AuthUser
|
|
|
|
}
|
|
|
|
|
|
|
|
type AuthUser {
|
|
|
|
id: ID!
|
|
|
|
email: String!
|
|
|
|
displayName: String!
|
|
|
|
roleID: Int!
|
|
|
|
}
|