import gql from "graphql-tag" ; export const userDataQuery = gql `
  query {
    currentUser {
      ethAddress
      nrStep
      nrFurthestStep
    }
  }
` ; export const getCharterQuery = gql `
  query {
    nrsignupNewsroom {
      grantRequested
      grantApproved
      newsroomDeployTx
      tcrApplyTx
      newsroomAddress
      charter {
        name
        tagline
        logoUrl
        newsroomUrl
        roster {
          name
          role
          bio
          ethAddress
          socialUrls {
            twitter
            facebook
          }
          avatarUrl
          signature
        }
        signatures {
          signer
          signature
          message
        }
        mission {
          purpose
          structure
          revenue
          encumbrances
          miscellaneous
        }
        socialUrls {
          twitter
          facebook
        }
      }
    }
  }
` ; export const grantQuery = gql `
  query {
    nrsignupNewsroom {
      grantRequested
    }
  }
` ;