mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-11-16 12:00:51 -06:00
chore: remove unused graphql queries
This commit is contained in:
-2072
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,13 +0,0 @@
|
||||
mutation GhCreateIssue($repoId: ID!, $title: String!, $body: String!) {
|
||||
createIssue(input: { repositoryId: $repoId, title: $title, body: $body }) {
|
||||
issue {
|
||||
number
|
||||
repository {
|
||||
owner {
|
||||
login
|
||||
}
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
mutation GhFollow($id: ID!, $flag: Boolean!) {
|
||||
followUser(input: { userId: $id }) @include(if: $flag) {
|
||||
user {
|
||||
viewerIsFollowing
|
||||
}
|
||||
}
|
||||
unfollowUser(input: { userId: $id }) @skip(if: $flag) {
|
||||
user {
|
||||
viewerIsFollowing
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
query GhObject($owner: String!, $name: String!, $expression: String!) {
|
||||
repository(owner: $owner, name: $name) {
|
||||
object(expression: $expression) {
|
||||
__typename
|
||||
... on Blob {
|
||||
text
|
||||
byteSize # x
|
||||
}
|
||||
... on Tree {
|
||||
entries {
|
||||
type
|
||||
name
|
||||
object {
|
||||
__typename
|
||||
... on Blob {
|
||||
byteSize
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
query GhRepoId($owner: String!, $name: String!) {
|
||||
repository(owner: $owner, name: $name) {
|
||||
id
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
mutation GhStar($id: ID!, $flag: Boolean!) {
|
||||
addStar(input: { starrableId: $id }) @include(if: $flag) {
|
||||
starrable {
|
||||
viewerHasStarred
|
||||
}
|
||||
}
|
||||
removeStar(input: { starrableId: $id }) @skip(if: $flag) {
|
||||
starrable {
|
||||
viewerHasStarred
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
mutation GhWatch($id: ID!, $state: SubscriptionState!) {
|
||||
updateSubscription(input: { subscribableId: $id, state: $state }) {
|
||||
subscribable {
|
||||
__typename
|
||||
... on Repository {
|
||||
viewerSubscription
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user