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

21 lines
361 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) {
authors {
id
slug
name
pic
bio
}
topics {
id
slug
title
}
}
}
`