working on auth.
mailer, basic setup with html template and a dev treansport
This commit is contained in:
15
graph/account.graphql
Normal file
15
graph/account.graphql
Normal file
@@ -0,0 +1,15 @@
|
||||
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!
|
||||
}
|
Reference in New Issue
Block a user