import gql from 'graphql-tag' const USER_SIGNUP = gql` mutation USER_SIGNUP($email: String!, $password: String!, $name: String!) { signup(email: $email, password: $password, name: $name) { id email name } } ` const USER_LOGIN = gql` mutation USER_LOGIN($email: String!, $password: String!) { login(email: $email, password: $password) { id email name } } ` const USER_LOGOUT = gql` mutation USER_LOGOUT { logout } ` const CURRENT_USER = gql` query { me { id email name } } ` export { USER_SIGNUP, USER_LOGIN, USER_LOGOUT, CURRENT_USER }