subs-on-ws

This commit is contained in:
2022-12-07 21:51:38 +03:00
parent c9400f23fb
commit 044bfa5bd4
4 changed files with 17 additions and 14 deletions

View File

@@ -305,11 +305,9 @@ type Query {
############################################ Subscription
type Subscription {
newMessages: Message
onlineUpdated: [User!]!
shoutUpdated: Shout!
userUpdated: User!
reactionUpdated(shout: String!): ReactionUpdating!
newMessage: Message # new messages in inbox
collabUpdate(collab: Int!): Reaction # new reactions in collaborative editor
}
############################################ Entities