47 lines
678 B
TypeScript
47 lines
678 B
TypeScript
![]() |
import { gql } from '@urql/core'
|
||
|
|
||
|
export default gql`
|
||
|
query LoadUnratedShoutsQuery($limit: Int!) {
|
||
|
loadUnratedShouts(limit: $limit) {
|
||
|
id
|
||
|
title
|
||
|
lead
|
||
|
description
|
||
|
subtitle
|
||
|
slug
|
||
|
layout
|
||
|
cover
|
||
|
lead
|
||
|
# community
|
||
|
mainTopic
|
||
|
topics {
|
||
|
id
|
||
|
title
|
||
|
body
|
||
|
slug
|
||
|
stat {
|
||
|
shouts
|
||
|
authors
|
||
|
followers
|
||
|
}
|
||
|
}
|
||
|
authors {
|
||
|
id
|
||
|
name
|
||
|
slug
|
||
|
userpic
|
||
|
createdAt
|
||
|
bio
|
||
|
}
|
||
|
createdAt
|
||
|
publishedAt
|
||
|
stat {
|
||
|
viewed
|
||
|
reacted
|
||
|
rating
|
||
|
commented
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
`
|