41 lines
589 B
TypeScript
41 lines
589 B
TypeScript
|
import { gql } from '@urql/core'
|
||
|
|
||
|
export default gql`
|
||
|
query MyFeedQuery($options: LoadShoutsOptions) {
|
||
|
myFeed(options: $options) {
|
||
|
id
|
||
|
title
|
||
|
subtitle
|
||
|
slug
|
||
|
layout
|
||
|
cover
|
||
|
# community
|
||
|
mainTopic
|
||
|
topics {
|
||
|
# id
|
||
|
title
|
||
|
body
|
||
|
slug
|
||
|
stat {
|
||
|
shouts
|
||
|
authors
|
||
|
followers
|
||
|
}
|
||
|
}
|
||
|
authors {
|
||
|
id
|
||
|
name
|
||
|
slug
|
||
|
userpic
|
||
|
}
|
||
|
createdAt
|
||
|
publishedAt
|
||
|
stat {
|
||
|
viewed
|
||
|
reacted
|
||
|
rating
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
`
|