graph2, changes, rpdata-server: Added changes subscription.

This commit is contained in:
2018-12-02 21:17:49 +01:00
parent a58535fcb9
commit 31239330df
7 changed files with 151 additions and 1 deletions
+8
View File
@@ -1,6 +1,7 @@
schema {
query: Query
mutation: Mutation
subscription: Subscription
}
type Query {
@@ -141,6 +142,13 @@ type Mutation {
editChannel(input: ChannelEditInput!): Channel!
}
type Subscription {
"""
Changes subscribes to the changes matching the following keys.
"""
changes(keys: [ChangeKeyInput!]!): Change!
}
# A Date represents a RFC3339 encoded date with up to millisecond precision.
scalar Date