webapp/src/graphql/query/authors-all.ts

23 lines
359 B
TypeScript
Raw Normal View History

2022-09-09 11:53:35 +00:00
import { gql } from '@urql/core'
export default gql`
query AuthorssAllQuery($page: Int!, $size: Int!) {
authorsAll(page: $page, size: $size) {
_id: slug
slug
name
bio
userpic
communities
links
createdAt
wasOnlineAt
ratings {
_id: rater
rater
value
}
}
}
`