Refactor subscriptions

This commit is contained in:
Chi Vinh Le
2017-06-16 22:55:22 +07:00
parent 9573c9a7af
commit 74fbadcc0f
5 changed files with 79 additions and 19 deletions
+6 -2
View File
@@ -959,9 +959,13 @@ type Subscription {
# Requires the `ADMIN` or `MODERATOR` role.
commentFlagged(asset_id: ID): Comment
# Get an update whenever the status of a comment changed due to a moderator action.
# Get an update whenever a comment has been accepted.
# Requires the `ADMIN` or `MODERATOR` role.
commentStatusChanged(asset_id: ID): Comment
commentAccepted(asset_id: ID): Comment
# Get an update whenever a comment has been rejected.
# Requires the `ADMIN` or `MODERATOR` role.
commentRejected(asset_id: ID): Comment
}
################################################################################