Skip to content

Commit 6a0c5ef

Browse files
octokitbotgr2m
authored andcommittedSep 24, 2019
feat: unfollowUser mutation (#216)
1 parent 416d48e commit 6a0c5ef

File tree

2 files changed

+132
-0
lines changed

2 files changed

+132
-0
lines changed
 

‎schema.graphql

+35
Original file line numberDiff line numberDiff line change
@@ -9678,6 +9678,11 @@ type Mutation {
96789678
"""
96799679
transferIssue(input: TransferIssueInput!): TransferIssuePayload
96809680

9681+
"""
9682+
Unfollow a user.
9683+
"""
9684+
unfollowUser(input: UnfollowUserInput!): UnfollowUserPayload
9685+
96819686
"""
96829687
Deletes a repository link from a project.
96839688
"""
@@ -27911,6 +27916,36 @@ type UnassignedEvent implements Node {
2791127916
user: User @deprecated(reason: "Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC.")
2791227917
}
2791327918

27919+
"""
27920+
Autogenerated input type of UnfollowUser
27921+
"""
27922+
input UnfollowUserInput {
27923+
"""
27924+
A unique identifier for the client performing the mutation.
27925+
"""
27926+
clientMutationId: String
27927+
27928+
"""
27929+
ID of the user to unfollow.
27930+
"""
27931+
userId: ID!
27932+
}
27933+
27934+
"""
27935+
Autogenerated return type of UnfollowUser
27936+
"""
27937+
type UnfollowUserPayload {
27938+
"""
27939+
A unique identifier for the client performing the mutation.
27940+
"""
27941+
clientMutationId: String
27942+
27943+
"""
27944+
The user that was unfollowed.
27945+
"""
27946+
user: User
27947+
}
27948+
2791427949
"""
2791527950
Represents a type that can be retrieved by a URL.
2791627951
"""

‎schema.json

+97
Original file line numberDiff line numberDiff line change
@@ -74791,6 +74791,33 @@
7479174791
"isDeprecated": false,
7479274792
"deprecationReason": null
7479374793
},
74794+
{
74795+
"name": "unfollowUser",
74796+
"description": "Unfollow a user.",
74797+
"args": [
74798+
{
74799+
"name": "input",
74800+
"description": null,
74801+
"type": {
74802+
"kind": "NON_NULL",
74803+
"name": null,
74804+
"ofType": {
74805+
"kind": "INPUT_OBJECT",
74806+
"name": "UnfollowUserInput",
74807+
"ofType": null
74808+
}
74809+
},
74810+
"defaultValue": null
74811+
}
74812+
],
74813+
"type": {
74814+
"kind": "OBJECT",
74815+
"name": "UnfollowUserPayload",
74816+
"ofType": null
74817+
},
74818+
"isDeprecated": false,
74819+
"deprecationReason": null
74820+
},
7479474821
{
7479574822
"name": "unlinkRepositoryFromProject",
7479674823
"description": "Deletes a repository link from a project.",
@@ -83626,6 +83653,76 @@
8362683653
"enumValues": null,
8362783654
"possibleTypes": null
8362883655
},
83656+
{
83657+
"kind": "OBJECT",
83658+
"name": "UnfollowUserPayload",
83659+
"description": "Autogenerated return type of UnfollowUser",
83660+
"fields": [
83661+
{
83662+
"name": "clientMutationId",
83663+
"description": "A unique identifier for the client performing the mutation.",
83664+
"args": [],
83665+
"type": {
83666+
"kind": "SCALAR",
83667+
"name": "String",
83668+
"ofType": null
83669+
},
83670+
"isDeprecated": false,
83671+
"deprecationReason": null
83672+
},
83673+
{
83674+
"name": "user",
83675+
"description": "The user that was unfollowed.",
83676+
"args": [],
83677+
"type": {
83678+
"kind": "OBJECT",
83679+
"name": "User",
83680+
"ofType": null
83681+
},
83682+
"isDeprecated": false,
83683+
"deprecationReason": null
83684+
}
83685+
],
83686+
"inputFields": null,
83687+
"interfaces": [],
83688+
"enumValues": null,
83689+
"possibleTypes": null
83690+
},
83691+
{
83692+
"kind": "INPUT_OBJECT",
83693+
"name": "UnfollowUserInput",
83694+
"description": "Autogenerated input type of UnfollowUser",
83695+
"fields": null,
83696+
"inputFields": [
83697+
{
83698+
"name": "userId",
83699+
"description": "ID of the user to unfollow.",
83700+
"type": {
83701+
"kind": "NON_NULL",
83702+
"name": null,
83703+
"ofType": {
83704+
"kind": "SCALAR",
83705+
"name": "ID",
83706+
"ofType": null
83707+
}
83708+
},
83709+
"defaultValue": null
83710+
},
83711+
{
83712+
"name": "clientMutationId",
83713+
"description": "A unique identifier for the client performing the mutation.",
83714+
"type": {
83715+
"kind": "SCALAR",
83716+
"name": "String",
83717+
"ofType": null
83718+
},
83719+
"defaultValue": null
83720+
}
83721+
],
83722+
"interfaces": null,
83723+
"enumValues": null,
83724+
"possibleTypes": null
83725+
},
8362983726
{
8363083727
"kind": "OBJECT",
8363183728
"name": "ContentAttachment",

0 commit comments

Comments
 (0)
Please sign in to comment.