Files
talk/client/coral-framework/graphql/queries/streamQuery.graphql
T
2017-02-16 11:31:32 -05:00

32 lines
686 B
GraphQL

#import "../fragments/commentView.graphql"
query AssetQuery($asset_url: String!) {
asset(url: $asset_url) {
id
title
url
closedAt
created_at
settings {
moderation
infoBoxEnable
infoBoxContent
questionBoxEnable
questionBoxContent
closeTimeout
closedMessage
charCountEnable
charCount
requireEmailConfirmation
}
commentCount
comments(limit: 10) {
...commentView
replyCount
replies(limit: 3) {
...commentView
}
}
}
}