Support live comment edit update

This commit is contained in:
Chi Vinh Le
2017-06-15 22:46:38 +07:00
parent 5ecdfe94cc
commit 303b3ea0f5
15 changed files with 221 additions and 91 deletions
+1 -2
View File
@@ -940,12 +940,11 @@ type RootMutation {
type CommentStatusChangedUpdate {
user: User
comment: Comment
previous: Comment
}
type Subscription {
commentAdded(asset_id: ID!): Comment
commentEdited(asset_id: ID!): Comment
commentEdited(asset_id: ID): Comment
commentStatusChanged(asset_id: ID): CommentStatusChangedUpdate
}