webapp/src/graphql/query/core/authors-followed-by.ts

18 lines
325 B
TypeScript
Raw Normal View History

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