feat: repo watch

This commit is contained in:
Rongjian Zhang
2020-01-20 14:18:45 +08:00
parent c2ea91ef56
commit 42c733fe4c
5 changed files with 600 additions and 80 deletions

View File

@@ -0,0 +1,9 @@
mutation GhWatch($id: ID!, $state: SubscriptionState!) {
updateSubscription(input: { subscribableId: $id, state: $state }) {
subscribable {
... on Repository {
viewerSubscription
}
}
}
}