webapp/src/graphql/query/core/articles-load-unrated.ts
Untone eb1be9652c
Some checks failed
deploy / test (push) Failing after 54s
deploy / deploy (push) Has been skipped
inbox-reuse-authors
2023-12-19 12:34:24 +03:00

47 lines
721 B
TypeScript

import { gql } from '@urql/core'
export default gql`
query LoadUnratedShoutsQuery($limit: Int, $offset: Int) {
load_shouts_unrated(limit: $limit, offset: $offset) {
id
title
# lead
description
subtitle
slug
layout
cover
cover_caption
# community
main_topic
topics {
id
title
body
slug
stat {
shouts
authors
followers
}
}
authors {
id
name
slug
pic
created_at
bio
}
created_at
published_at
stat {
viewed
reacted
rating
commented
}
}
}
`