Merge branch 'hotfix/author-follows' into dev
This commit is contained in:
commit
7c0759945b
|
@ -15,8 +15,8 @@ export default gql`
|
|||
last_seen
|
||||
stat {
|
||||
shouts
|
||||
authors
|
||||
followers
|
||||
followings
|
||||
rating
|
||||
commented
|
||||
}
|
||||
|
|
|
@ -3,17 +3,33 @@ import { gql } from '@urql/core'
|
|||
export default gql`
|
||||
query GetAuthorFollows($slug: String, $user: String, $author_id: Int) {
|
||||
get_author_follows(slug: $slug, user: $user, author_id: $author_id) {
|
||||
authors {
|
||||
authors {
|
||||
id
|
||||
slug
|
||||
name
|
||||
pic
|
||||
bio
|
||||
stat {
|
||||
shouts
|
||||
authors
|
||||
followers
|
||||
}
|
||||
}
|
||||
topics {
|
||||
id
|
||||
slug
|
||||
title
|
||||
stat {
|
||||
shouts
|
||||
authors
|
||||
followers
|
||||
}
|
||||
}
|
||||
communities {
|
||||
id
|
||||
slug
|
||||
name
|
||||
pic
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,10 +14,10 @@ export default gql`
|
|||
last_seen
|
||||
stat {
|
||||
shouts
|
||||
comments: commented
|
||||
authors
|
||||
followers
|
||||
followings
|
||||
rating
|
||||
comments: commented
|
||||
rating_shouts
|
||||
rating_comments
|
||||
}
|
||||
|
|
|
@ -11,10 +11,10 @@ export default gql`
|
|||
created_at
|
||||
stat {
|
||||
shouts
|
||||
comments: commented
|
||||
authors
|
||||
followers
|
||||
followings
|
||||
rating
|
||||
comments: commented
|
||||
rating_shouts
|
||||
rating_comments
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user