40 lines
643 B
TypeScript
40 lines
643 B
TypeScript
import { gql } from '@urql/core'
|
|
|
|
export default gql`
|
|
query ShoutsReactedByUserQuery($slug: String!, $limit: Int!, $offset: Int!) {
|
|
load_shouts_followed(slug: String!, limit: Int, offset: Int) {
|
|
title
|
|
subtitle
|
|
layout
|
|
slug
|
|
cover
|
|
# community
|
|
main_topic
|
|
topics {
|
|
# id
|
|
title
|
|
body
|
|
slug
|
|
stat {
|
|
shouts
|
|
authors
|
|
followers
|
|
}
|
|
}
|
|
authors {
|
|
id
|
|
name
|
|
slug
|
|
pic
|
|
}
|
|
created_at
|
|
published_at
|
|
stat {
|
|
viewed
|
|
reacted
|
|
rating
|
|
}
|
|
}
|
|
}
|
|
`
|