# Auth domain operations
mutation Register($input: RegisterInput!) {
  register(input: $input) {
    token
    user { id username email }
  }
}

mutation Login($email: String!, $password: String!) {
  login(email: $email, password: $password) {
    token
    user { id username email }
  }
}

mutation Logout {
  logout
}

mutation RefreshToken {
  refreshToken {
    token
    user { id username email }
  }
}
