text: import { gql } from '@apollo/client';
  
  export const LOGIN_USER = gql`
    mutation login($email: String!, $password: String!){
      login(email: $email, password: $password){
          token
          user{
              _id
              username
          }
      }
  }
  `;
  
  export const ADD_USER = gql`
    mutation addUser($email: String!, $password: String!, $username: String!){
      addUser(email: $email, password: $password, username: $username){
          user{
              username
              email
          }
          token
      }
  }
  `;
  
  export const SAVE_BOOK = gql`
    mutation saveBook($input: bookDataInput){
      saveBook(input: $input){
          _id
          username 
          email
          savedBooks{
          authors
          title
          description
          }
      }
  }
  `;
  
  export const DELETE_BOOK = gql`
    mutation deleteBook($bookId: String!){
      deleteBook(bookId: $bookId){
          username
          savedBooks{
          title
          }
      }
  }
  `;