mirror of
https://github.com/wassname/talk.git
synced 2026-08-18 12:30:39 +08:00
Mod Queue Working
This commit is contained in:
@@ -1,20 +1,34 @@
|
||||
query ModQueue {
|
||||
flagged_comments: comments(query: {
|
||||
#import "../fragments/commentView.graphql"
|
||||
|
||||
query ($asset_id: ID!) {
|
||||
premod: comments(query: {
|
||||
statuses: [PREMOD],
|
||||
asset_id: $asset_id
|
||||
}) {
|
||||
...commentView
|
||||
}
|
||||
flagged: comments(query: {
|
||||
action_type: FLAG,
|
||||
asset_id: $asset_id
|
||||
}) {
|
||||
id
|
||||
}
|
||||
accepted_comments: comments(query: {
|
||||
}) {
|
||||
...commentView
|
||||
}
|
||||
all: comments(query: {
|
||||
statuses: [ACCEPTED],
|
||||
asset_id: $asset_id
|
||||
}) {
|
||||
id
|
||||
}
|
||||
rejected_comments: comments(query: {
|
||||
}) {
|
||||
...commentView
|
||||
}
|
||||
account: comments(query: {
|
||||
statuses: [ACCEPTED],
|
||||
asset_id: $asset_id
|
||||
}) {
|
||||
...commentView
|
||||
}
|
||||
rejected: comments(query: {
|
||||
statuses: [REJECTED],
|
||||
asset_id: $asset_id
|
||||
}) {
|
||||
id
|
||||
}
|
||||
}) {
|
||||
...commentView
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user