
type User { id: Int! email: String! name: String! updatedAt: String! createdAt: String! } type Session { token: String! user: User! } type Query { login(email: String!, password: String!): Session! myUserInfo: User! } type Mutation { register(email: String!, password: String!, name: String!): Session! changePassword(oldPassword: String!, newPassword: String!): Boolean! }