24 lines
426 B
TypeScript
24 lines
426 B
TypeScript
import { gql } from '@urql/core'
|
|
|
|
export default gql`
|
|
query AuthorsAllQuery($by: AuthorsBy!, $limit: Int, $offset: Int) {
|
|
load_authors_by(by: $by, limit: $limit, offset: $offset) {
|
|
id
|
|
slug
|
|
name
|
|
bio
|
|
pic
|
|
created_at
|
|
stat {
|
|
shouts
|
|
authors
|
|
followers
|
|
rating
|
|
comments: commented
|
|
rating_shouts
|
|
rating_comments
|
|
}
|
|
}
|
|
}
|
|
`
|