webapp/src/graphql/query/core/author-follows.ts

37 lines
597 B
TypeScript
Raw Normal View History

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-02-22 23:13:31 +00:00
authors {
2024-02-21 09:13:40 +00:00
id
slug
name
pic
bio
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
}
}
communities {
id
slug
name
pic
2024-02-21 09:13:40 +00:00
}
}
}
`