21 lines
336 B
TypeScript
21 lines
336 B
TypeScript
|
import { gql } from '@urql/core'
|
||
|
|
||
|
export default gql`
|
||
|
query TopicsByCommunityQuery($community: String!) {
|
||
|
topicsByCommunity(community: $community) {
|
||
|
title
|
||
|
body
|
||
|
slug
|
||
|
pic
|
||
|
# community
|
||
|
stat {
|
||
|
_id: shouts
|
||
|
shouts
|
||
|
authors
|
||
|
# viewed
|
||
|
followers
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
`
|