import { gql } from '@urql/core'

export default gql`
  query LoadCommunitiesFollowedBy($slug: String, $user: String, $author_id: Int) {
    get_communities_by_author(slug: $slug, user: $user, author_id: $author_id) {
      id
      slug
      title
      pic
      stat {
        shouts
        followers
        authors
      }
    }
  }
`
