chore: remove unused graphql queries

This commit is contained in:
Rongjian Zhang 2020-04-06 12:57:27 +08:00
parent 13783bdb76
commit fc98ef254e
8 changed files with 0 additions and 3211 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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
}
}
}
}

View File

@ -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
}
}
}

View File

@ -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
}
}
}
}
}
}
}

View File

@ -1,5 +0,0 @@
query GhRepoId($owner: String!, $name: String!) {
repository(owner: $owner, name: $name) {
id
}
}

View File

@ -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
}
}
}

View File

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