webapp/src/graphql/query/author-by-slug.ts

24 lines
355 B
TypeScript
Raw Normal View History

import { gql } from '@urql/core'
export default gql`
query GetAuthorBySlugQuery($slug: String!) {
getAuthor(slug: $slug) {
_id: slug
slug
name
bio
2022-12-09 06:09:21 +00:00
about
userpic
communities
links
createdAt
lastSeen
2022-11-18 02:23:04 +00:00
# ratings {
# _id: rater
# rater
# value
# }
}
}
`