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

23 lines
368 B
TypeScript
Raw Normal View History

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