chore: update github api schema

This commit is contained in:
Rongjian Zhang 2019-12-31 17:29:49 +08:00
parent 38fe9caf8d
commit 4e7ac48664
1 changed files with 196 additions and 2 deletions

View File

@ -6867,6 +6867,16 @@
"name": "labels",
"description": "A list of labels associated with the repository.",
"args": [
{
"name": "orderBy",
"description": "Ordering options for labels returned from the connection.",
"type": {
"kind": "INPUT_OBJECT",
"name": "LabelOrder",
"ofType": null
},
"defaultValue": "{field: CREATED_AT, direction: ASC}"
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified cursor.",
@ -10651,6 +10661,16 @@
"name": "labels",
"description": "A list of labels associated with the object.",
"args": [
{
"name": "orderBy",
"description": "Ordering options for labels returned from the connection.",
"type": {
"kind": "INPUT_OBJECT",
"name": "LabelOrder",
"ofType": null
},
"defaultValue": "{field: CREATED_AT, direction: ASC}"
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified cursor.",
@ -13526,6 +13546,16 @@
"name": "labels",
"description": "A list of labels associated with the object.",
"args": [
{
"name": "orderBy",
"description": "Ordering options for labels returned from the connection.",
"type": {
"kind": "INPUT_OBJECT",
"name": "LabelOrder",
"ofType": null
},
"defaultValue": "{field: CREATED_AT, direction: ASC}"
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified cursor.",
@ -14716,6 +14746,68 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "LabelOrder",
"description": "Ways in which lists of labels can be ordered upon return.",
"fields": null,
"inputFields": [
{
"name": "field",
"description": "The field in which to order labels by.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "LabelOrderField",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "direction",
"description": "The direction in which to order labels by the specified field.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "OrderDirection",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "LabelOrderField",
"description": "Properties by which label connections can be ordered.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "NAME",
"description": "Order labels by name ",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "CREATED_AT",
"description": "Order labels by creation time",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "LockReason",
@ -16550,8 +16642,8 @@
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
"isDeprecated": true,
"deprecationReason": "`Sponsorship.maintainer` will be removed. Use `Sponsorship.sponsorable` instead. Removal on 2020-04-01 UTC."
},
{
"name": "privacyLevel",
@ -16581,6 +16673,22 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "sponsorable",
"description": "The entity that is being sponsored",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Sponsorable",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "tier",
"description": "The associated sponsorship tier",
@ -69999,6 +70107,16 @@
"name": "labels",
"description": "A list of labels associated with the object.",
"args": [
{
"name": "orderBy",
"description": "Ordering options for labels returned from the connection.",
"type": {
"kind": "INPUT_OBJECT",
"name": "LabelOrder",
"ofType": null
},
"defaultValue": "{field: CREATED_AT, direction: ASC}"
},
{
"name": "after",
"description": "Returns the elements in the list that come after the specified cursor.",
@ -76859,6 +76977,22 @@
"isDeprecated": true,
"deprecationReason": "advisory specific fields are being removed from repositoryVulnerabilityAlert objects Use `securityVulnerability.vulnerableVersionRange` instead. Removal on 2019-10-01 UTC."
},
{
"name": "createdAt",
"description": "When was the alert created?",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "dismissReason",
"description": "The reason the alert was dismissed",
@ -88635,6 +88769,18 @@
"name": "LockLockablePayload",
"description": "Autogenerated return type of LockLockable",
"fields": [
{
"name": "actor",
"description": "Identifies the actor who performed the event.",
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Actor",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
@ -88715,6 +88861,18 @@
"name": "UnlockLockablePayload",
"description": "Autogenerated return type of UnlockLockable",
"fields": [
{
"name": "actor",
"description": "Identifies the actor who performed the event.",
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Actor",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
@ -89659,6 +89817,18 @@
"name": "UpdateIssuePayload",
"description": "Autogenerated return type of UpdateIssue",
"fields": [
{
"name": "actor",
"description": "Identifies the actor who performed the event.",
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Actor",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
@ -90095,6 +90265,18 @@
"name": "UpdatePullRequestPayload",
"description": "Autogenerated return type of UpdatePullRequest",
"fields": [
{
"name": "actor",
"description": "Identifies the actor who performed the event.",
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Actor",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
@ -90442,6 +90624,18 @@
"name": "MergePullRequestPayload",
"description": "Autogenerated return type of MergePullRequest",
"fields": [
{
"name": "actor",
"description": "Identifies the actor who performed the event.",
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Actor",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",