git-touch-android-ios-app/lib/graphql/gh_star.graphql

13 lines
267 B
GraphQL
Raw Normal View History

2020-01-07 14:03:04 +01:00
mutation GhStar($id: ID!, $flag: Boolean!) {
addStar(input: { starrableId: $id }) @include(if: $flag) {
starrable {
viewerHasStarred
}
}
removeStar(input: { starrableId: $id }) @skip(if: $flag) {
starrable {
viewerHasStarred
}
}
}