mirror of
https://github.com/wassname/talk.git
synced 2026-07-04 01:08:21 +08:00
29 lines
602 B
GraphQL
29 lines
602 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
|
|
closeTimeout
|
|
closedMessage
|
|
charCountEnable
|
|
charCount
|
|
requireEmailConfirmation
|
|
}
|
|
commentCount
|
|
comments(limit: 10) {
|
|
...commentView
|
|
replies(limit: 3) {
|
|
...commentView
|
|
}
|
|
}
|
|
}
|
|
}
|