text: import { gql } from '@apollo/client';
  
  export const newUser = gql`
    mutation addUser($username: String!, $email: String!, $password: String!) {
      addUser(username: $username, email: $email, password: $password) {
        token
        user {
          _id
          username
        }
      }
    }
  `;
  
  export const userLogin = gql`
    mutation login($email: String!, $password: String!) {
      login(email: $email, password: $password) {
        token
        user {
          _id
          username
        }
      }
    }
  `;
  
  export const saveNewBook = gql`
    mutation saveBook($bookId: String!, $authors: [String], $description: String, $image: String, $link: String, $title: String!) {
      saveBook(bookId: $bookId, authors: $authors, description: $description, image: $image, link: $link, title: $title) {
        _id
        username
        email
        savedBooks {
          bookId
          authors
          image
          description
          title
          link
        }
      }
    }
  `;
  
  export const dropBook = gql`
    mutation removeBook($bookId: String!) {
      removeBook(bookId: $bookId) {
        _id
        username
        email
        savedBooks {
          bookId
          authors
          image
          description
          title
          link
        }
      }
    }
  `;