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

26 lines
378 B
TypeScript
Raw Normal View History

import { gql } from '@urql/core'
export default gql`
query GetAuthorBySlugQuery($slug: String!) {
getAuthor(slug: $slug) {
2022-12-17 03:27:00 +00:00
id
slug
name
bio
2022-12-09 06:09:21 +00:00
about
userpic
# communities
links
createdAt
lastSeen
stat {
shouts
followers
followings
rating
commented
}
}
}
`