webapp/src/graphql/query/core/author-followers.ts
2023-11-28 16:18:25 +03:00

18 lines
324 B
TypeScript

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
}
}
}
`