Mod Queue Working

This commit is contained in:
Belen Curcio committed 2017-02-08 12:36:05 -03:00
commit 6a6574239f
102 files changed
+3083 -991

No files matched your search

@@ -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
}
}