diff --git a/client/coral-admin/src/graphql/queries/modQueueQuery.graphql b/client/coral-admin/src/graphql/queries/modQueueQuery.graphql new file mode 100644 index 000000000..e26e440f8 --- /dev/null +++ b/client/coral-admin/src/graphql/queries/modQueueQuery.graphql @@ -0,0 +1,20 @@ +query ModQueue { + flagged_comments: comments(query: { + action_type: FLAG, + asset_id: $asset_id + }) { + id + } + accepted_comments: comments(query: { + statuses: [ACCEPTED], + asset_id: $asset_id + }) { + id + } + rejected_comments: comments(query: { + statuses: [REJECTED], + asset_id: $asset_id + }) { + id + } +}