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

18 lines
324 B
TypeScript
Raw Normal View History

2023-11-28 13:18:25 +00:00
import { gql } from '@urql/core'
export default gql`
query UserSubscribersQuery($slug: String, $user: String, $author_id: Int) {
get_author_followers(slug: $slug, user: $user, author_id: $author_id) {
id
slug
name
pic
bio
created_at
stat {
shouts
}
}
}
`