2024-02-21 09:13:40 +00:00
|
|
|
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) {
|
2024-05-08 20:43:38 +00:00
|
|
|
error
|
2024-02-22 23:13:31 +00:00
|
|
|
authors {
|
2024-02-21 09:13:40 +00:00
|
|
|
id
|
|
|
|
slug
|
|
|
|
name
|
|
|
|
pic
|
|
|
|
bio
|
2024-02-29 06:51:39 +00:00
|
|
|
created_at
|
2024-02-22 23:13:31 +00:00
|
|
|
stat {
|
|
|
|
shouts
|
|
|
|
authors
|
|
|
|
followers
|
|
|
|
}
|
2024-02-21 09:13:40 +00:00
|
|
|
}
|
|
|
|
topics {
|
|
|
|
id
|
|
|
|
slug
|
|
|
|
title
|
2024-02-22 23:13:31 +00:00
|
|
|
stat {
|
|
|
|
shouts
|
|
|
|
authors
|
|
|
|
followers
|
|
|
|
}
|
|
|
|
}
|
2024-02-23 19:31:33 +00:00
|
|
|
#communities {
|
|
|
|
# id
|
|
|
|
# slug
|
|
|
|
# name
|
|
|
|
# pic
|
|
|
|
#}
|
2024-02-21 09:13:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
`
|