extend type Mutation { login(username: String!, email: String!): Boolean! logout: Boolean! } extend type Query { """ me, is current AuthUser info """ me: AuthUser } type AuthUser { id: ID! email: String! displayName: String! roleID: Int! }