mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 01:41:13 +08:00
32 lines
686 B
GraphQL
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
|
|
}
|
|
}
|
|
}
|
|
}
|