This commit is contained in:
Untone 2024-02-23 02:13:31 +03:00
parent fa594b6009
commit 11e722d2af

View File

@ -3,17 +3,33 @@ import { gql } from '@urql/core'
export default gql` export default gql`
query GetAuthorFollows($slug: String, $user: String, $author_id: Int) { query GetAuthorFollows($slug: String, $user: String, $author_id: Int) {
get_author_follows(slug: $slug, user: $user, author_id: $author_id) { get_author_follows(slug: $slug, user: $user, author_id: $author_id) {
authors { authors {
id id
slug slug
name name
pic pic
bio bio
stat {
shouts
authors
followers
}
} }
topics { topics {
id id
slug slug
title title
stat {
shouts
authors
followers
}
}
communities {
id
slug
name
pic
} }
} }
} }