21 lines
361 B
TypeScript
21 lines
361 B
TypeScript
|
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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
`
|