mirror of
https://github.com/git-touch/git-touch
synced 2024-12-19 03:33:42 +01:00
13 lines
267 B
GraphQL
13 lines
267 B
GraphQL
|
mutation GhStar($id: ID!, $flag: Boolean!) {
|
||
|
addStar(input: { starrableId: $id }) @include(if: $flag) {
|
||
|
starrable {
|
||
|
viewerHasStarred
|
||
|
}
|
||
|
}
|
||
|
removeStar(input: { starrableId: $id }) @skip(if: $flag) {
|
||
|
starrable {
|
||
|
viewerHasStarred
|
||
|
}
|
||
|
}
|
||
|
}
|