text: import gql from 'graphql-tag'
  
  export const messagesQuery = gql`
      query MessagesQuery {
          messages {
              id
              from
              text
          }
      }
  `
  
  export const addMessageMutation = gql`
      mutation AddMessageMutation($input: MessageInput!) {
          message: addMessage(input: $input) {
              id
              from
              text
          }
      }
  `
  
  export const messageAddedSubscription = gql`
      subscription {
          messageAdded {
              id
              from
              text
          }
      }
  `