From 432e80c97e154623116c223de7b74af97cae3225 Mon Sep 17 00:00:00 2001 From: Ryan Nystrom Date: Sat, 28 Jul 2018 16:13:55 -0400 Subject: [PATCH 1/4] update schema --- gql/API.swift | 10 +- gql/schema.json | 14320 +++++++++++++++++++++++----------------------- 2 files changed, 7210 insertions(+), 7120 deletions(-) diff --git a/gql/API.swift b/gql/API.swift index f7da7d5af..5f91563dd 100644 --- a/gql/API.swift +++ b/gql/API.swift @@ -17568,7 +17568,7 @@ public struct NodeFields: GraphQLFragment { public static let fragmentString = "fragment nodeFields on Node {\n __typename\n id\n}" - public static let possibleTypes = ["License", "MarketplaceCategory", "MarketplaceListing", "Organization", "Project", "ProjectColumn", "ProjectCard", "Issue", "User", "Repository", "CommitComment", "UserContentEdit", "Reaction", "Commit", "Status", "StatusContext", "Tree", "Ref", "PullRequest", "Label", "IssueComment", "PullRequestCommit", "Milestone", "ReviewRequest", "Team", "OrganizationInvitation", "PullRequestReview", "PullRequestReviewComment", "CommitCommentThread", "PullRequestReviewThread", "ClosedEvent", "ReopenedEvent", "SubscribedEvent", "UnsubscribedEvent", "MergedEvent", "ReferencedEvent", "CrossReferencedEvent", "AssignedEvent", "UnassignedEvent", "LabeledEvent", "UnlabeledEvent", "MilestonedEvent", "DemilestonedEvent", "RenamedTitleEvent", "LockedEvent", "UnlockedEvent", "DeployedEvent", "Deployment", "DeploymentStatus", "HeadRefDeletedEvent", "HeadRefRestoredEvent", "HeadRefForcePushedEvent", "BaseRefForcePushedEvent", "ReviewRequestedEvent", "ReviewRequestRemovedEvent", "ReviewDismissedEvent", "DeployKey", "Language", "ProtectedBranch", "PushAllowance", "ReviewDismissalAllowance", "Release", "ReleaseAsset", "RepositoryTopic", "Topic", "Gist", "GistComment", "PublicKey", "OrganizationIdentityProvider", "ExternalIdentity", "Blob", "Bot", "RepositoryInvitation", "BaseRefChangedEvent", "AddedToProjectEvent", "CommentDeletedEvent", "ConvertedNoteToIssueEvent", "MentionedEvent", "MovedColumnsInProjectEvent", "RemovedFromProjectEvent", "Tag"] + public static let possibleTypes = ["License", "MarketplaceCategory", "MarketplaceListing", "Organization", "Project", "ProjectColumn", "ProjectCard", "Issue", "User", "Repository", "CommitComment", "UserContentEdit", "Reaction", "Commit", "Status", "StatusContext", "Tree", "Ref", "PullRequest", "Label", "IssueComment", "PullRequestCommit", "Milestone", "ReviewRequest", "Team", "OrganizationInvitation", "PullRequestReview", "PullRequestReviewComment", "CommitCommentThread", "PullRequestReviewThread", "ClosedEvent", "ReopenedEvent", "SubscribedEvent", "UnsubscribedEvent", "MergedEvent", "ReferencedEvent", "CrossReferencedEvent", "AssignedEvent", "UnassignedEvent", "LabeledEvent", "UnlabeledEvent", "MilestonedEvent", "DemilestonedEvent", "RenamedTitleEvent", "LockedEvent", "UnlockedEvent", "DeployedEvent", "Deployment", "DeploymentStatus", "HeadRefDeletedEvent", "HeadRefRestoredEvent", "HeadRefForcePushedEvent", "BaseRefForcePushedEvent", "ReviewRequestedEvent", "ReviewRequestRemovedEvent", "ReviewDismissedEvent", "DeployKey", "Language", "ProtectedBranch", "PushAllowance", "ReviewDismissalAllowance", "Release", "ReleaseAsset", "RepositoryTopic", "Topic", "Gist", "GistComment", "PublicKey", "OrganizationIdentityProvider", "ExternalIdentity", "Bot", "RepositoryInvitation", "Blob", "BaseRefChangedEvent", "AddedToProjectEvent", "CommentDeletedEvent", "ConvertedNoteToIssueEvent", "MentionedEvent", "MovedColumnsInProjectEvent", "RemovedFromProjectEvent", "Tag"] public static let selections: [GraphQLSelection] = [ GraphQLField("__typename", type: .nonNull(.scalar(String.self))), @@ -17861,10 +17861,6 @@ public struct NodeFields: GraphQLFragment { return NodeFields(snapshot: ["__typename": "ExternalIdentity", "id": id]) } - public static func makeBlob(id: GraphQLID) -> NodeFields { - return NodeFields(snapshot: ["__typename": "Blob", "id": id]) - } - public static func makeBot(id: GraphQLID) -> NodeFields { return NodeFields(snapshot: ["__typename": "Bot", "id": id]) } @@ -17873,6 +17869,10 @@ public struct NodeFields: GraphQLFragment { return NodeFields(snapshot: ["__typename": "RepositoryInvitation", "id": id]) } + public static func makeBlob(id: GraphQLID) -> NodeFields { + return NodeFields(snapshot: ["__typename": "Blob", "id": id]) + } + public static func makeBaseRefChangedEvent(id: GraphQLID) -> NodeFields { return NodeFields(snapshot: ["__typename": "BaseRefChangedEvent", "id": id]) } diff --git a/gql/schema.json b/gql/schema.json index 889ca8032..9488c54e4 100644 --- a/gql/schema.json +++ b/gql/schema.json @@ -186,6 +186,16 @@ } }, "defaultValue": null + }, + { + "name": "useTopicAliases", + "description": "Also check topic aliases for the category slug", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null } ], "type": { @@ -239,7 +249,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -259,7 +269,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -277,6 +287,16 @@ }, "defaultValue": null }, + { + "name": "useTopicAliases", + "description": "Also check topic aliases for the category slug", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, { "name": "viewerCanAdmin", "description": "Select listings to which user has admin access. If omitted, listings visible to the\nviewer are returned.\n", @@ -627,7 +647,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -647,7 +667,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1415,7 +1435,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1435,7 +1455,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1484,107 +1504,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "contributedRepositories", - "description": "A list of repositories that the user recently contributed to.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "privacy", - "description": "If non-null, filters repositories according to privacy", - "type": { - "kind": "ENUM", - "name": "RepositoryPrivacy", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orderBy", - "description": "Ordering options for repositories returned from the connection", - "type": { - "kind": "INPUT_OBJECT", - "name": "RepositoryOrder", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "affiliations", - "description": "Affiliation options for repositories returned from the connection", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "RepositoryAffiliation", - "ofType": null - } - }, - "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" - }, - { - "name": "isLocked", - "description": "If non-null, filters repositories according to whether they have been locked", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RepositoryConnection", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Arguments for connection `contributedRepositories` are getting redesigned. Use `User.repositoriesContributedTo` instead. Removal on 2018-07-01 UTC." - }, { "name": "createdAt", "description": "Identifies the date and time when the object was created.", @@ -1645,7 +1564,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1665,7 +1584,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1702,7 +1621,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1722,7 +1641,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1786,7 +1705,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1806,7 +1725,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1843,7 +1762,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -1863,7 +1782,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2048,7 +1967,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2068,7 +1987,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2105,7 +2024,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2125,7 +2044,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2275,7 +2194,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2295,7 +2214,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2332,7 +2251,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2352,7 +2271,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2433,7 +2352,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2453,7 +2372,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2490,7 +2409,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2510,7 +2429,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2613,7 +2532,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2633,7 +2552,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2724,7 +2643,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2744,7 +2663,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2878,7 +2797,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -2898,7 +2817,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3019,7 +2938,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3039,7 +2958,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3079,7 +2998,7 @@ "ofType": null } }, - "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" + "defaultValue": "[\"OWNER\", \"COLLABORATOR\", \"ORGANIZATION_MEMBER\"]" }, { "name": "isLocked", @@ -3129,6 +3048,16 @@ "name": "Actor", "ofType": null }, + { + "kind": "INTERFACE", + "name": "RegistryPackageOwner", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "RegistryPackageSearch", + "ofType": null + }, { "kind": "INTERFACE", "name": "RepositoryOwner", @@ -3255,6 +3184,126 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "PageInfo", + "description": "Information about pagination in a connection.", + "fields": [ + { + "name": "endCursor", + "description": "When paginating forwards, the cursor to continue.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasNextPage", + "description": "When paginating forwards, are there more items?", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasPreviousPage", + "description": "When paginating backwards, are there more items?", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startCursor", + "description": "When paginating backwards, the cursor to continue.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "DateTime", + "description": "An ISO-8601 encoded UTC date string.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "RegistryPackageOwner", + "description": "Represents an owner of a registry package.", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "Organization", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + ] + }, { "kind": "OBJECT", "name": "Repository", @@ -3276,7 +3325,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3296,7 +3345,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3345,7 +3394,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3365,7 +3414,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3408,7 +3457,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3428,7 +3477,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3505,7 +3554,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3525,7 +3574,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3562,7 +3611,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3582,7 +3631,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3693,7 +3742,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3713,7 +3762,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -3988,7 +4037,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4008,7 +4057,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4118,7 +4167,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4138,7 +4187,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4181,7 +4230,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4201,7 +4250,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4228,18 +4277,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "license", - "description": "The license associated with the repository", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": true, - "deprecationReason": "Field `license` will be replaced by a more detailed license object. Use `Repository.licenseInfo` instead. Removal on 2018-07-01 UTC." - }, { "name": "licenseInfo", "description": "The license associated with the repository", @@ -4280,7 +4317,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4300,7 +4337,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4380,7 +4417,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4400,7 +4437,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4605,7 +4642,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4625,7 +4662,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4732,7 +4769,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4752,7 +4789,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4816,7 +4853,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4836,7 +4873,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -4994,7 +5031,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5014,7 +5051,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5108,7 +5145,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5128,7 +5165,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5175,7 +5212,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5195,7 +5232,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5307,7 +5344,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5327,7 +5364,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5510,7 +5547,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5530,7 +5567,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5564,6 +5601,11 @@ "name": "ProjectOwner", "ofType": null }, + { + "kind": "INTERFACE", + "name": "RegistryPackageOwner", + "ofType": null + }, { "kind": "INTERFACE", "name": "Subscribable", @@ -5652,7 +5694,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5672,7 +5714,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5873,7 +5915,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -5893,7 +5935,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -6034,7 +6076,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -6054,7 +6096,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -6237,16 +6279,6 @@ } ] }, - { - "kind": "SCALAR", - "name": "DateTime", - "description": "An ISO-8601 encoded UTC date string.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "INTERFACE", "name": "Updatable", @@ -6483,7 +6515,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -6503,7 +6535,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -6887,22 +6919,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "projectColumn", - "description": "The column that contains this card.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectColumn", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "The associated column may be null if the card is in a pending state. Use `ProjectCard.column` instead. Removal on 2018-07-01 UTC." - }, { "name": "resourcePath", "description": "The HTTP path for this card", @@ -7058,7 +7074,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7078,7 +7094,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7219,7 +7235,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7239,7 +7255,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7364,7 +7380,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7384,7 +7400,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7473,7 +7489,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7493,7 +7509,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7530,7 +7546,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7550,7 +7566,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7619,7 +7635,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7639,7 +7655,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7744,7 +7760,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7764,7 +7780,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7859,7 +7875,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -7879,7 +7895,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -8084,7 +8100,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -8104,7 +8120,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -8256,73 +8272,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "PageInfo", - "description": "Information about pagination in a connection.", - "fields": [ - { - "name": "endCursor", - "description": "When paginating forwards, the cursor to continue.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hasNextPage", - "description": "When paginating forwards, are there more items?", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hasPreviousPage", - "description": "When paginating backwards, are there more items?", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "startCursor", - "description": "When paginating backwards, the cursor to continue.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "INTERFACE", "name": "Comment", @@ -8536,7 +8485,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -8556,7 +8505,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -8802,6 +8751,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "editedAt", + "description": "When this content was edited", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "editor", "description": "The actor who edited this content", @@ -9044,7 +9009,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -9064,7 +9029,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -9305,7 +9270,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -9325,7 +9290,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -9424,7 +9389,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -9444,7 +9409,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -9994,7 +9959,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10014,7 +9979,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10215,7 +10180,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10235,7 +10200,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10272,7 +10237,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10292,7 +10257,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10517,7 +10482,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10537,7 +10502,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10710,7 +10675,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10730,7 +10695,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10751,6 +10716,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "permalink", + "description": "The permalink to the pull request.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "potentialMergeCommit", "description": "The commit that GitHub automatically generated to test if this pull request could be merged. This field will not return a value if the pull request is merged, or if the test merge commit is still being generated. See the `mergeable` field for more details on the mergeability of the pull request.", @@ -10779,7 +10760,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10799,7 +10780,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10868,7 +10849,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -10888,7 +10869,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11009,7 +10990,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11029,7 +11010,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11062,7 +11043,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11082,7 +11063,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11179,7 +11160,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11199,7 +11180,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11294,7 +11275,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11314,7 +11295,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11584,10 +11565,37 @@ "possibleTypes": null }, { - "kind": "INTERFACE", - "name": "Reactable", - "description": "Represents a subject that can be reacted on.", + "kind": "OBJECT", + "name": "Organization", + "description": "An account on GitHub, with one or more owners, that has repositories, members and teams.", "fields": [ + { + "name": "avatarUrl", + "description": "A URL pointing to the organization's public avatar.", + "args": [ + { + "name": "size", + "description": "The size of the resulting square image.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "databaseId", "description": "Identifies the primary key from the database.", @@ -11600,6 +11608,30 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "description", + "description": "The organization's public profile description.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The organization's public email.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "id", "description": null, @@ -11617,28 +11649,149 @@ "deprecationReason": null }, { - "name": "reactionGroups", - "description": "A list of reactions grouped by content left on the subject.", + "name": "location", + "description": "The organization's public profile location.", "args": [], "type": { - "kind": "LIST", + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "login", + "description": "The organization's login name.", + "args": [], + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReactionGroup", + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "members", + "description": "A list of users who are members of this organization.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", "ofType": null - } + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserConnection", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "reactions", - "description": "A list of Reactions left on the Issue.", + "name": "name", + "description": "The organization's public profile name.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "newTeamResourcePath", + "description": "The HTTP path creating a new team", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "newTeamUrl", + "description": "The HTTP URL creating a new team", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organizationBillingEmail", + "description": "The billing email for the organization.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pinnedRepositories", + "description": "A list of repositories this user has pinned to their profile", "args": [ { "name": "first", @@ -11652,7 +11805,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11672,7 +11825,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11681,21 +11834,45 @@ "defaultValue": null }, { - "name": "content", - "description": "Allows filtering Reactions by emoji.", + "name": "privacy", + "description": "If non-null, filters repositories according to privacy", "type": { "kind": "ENUM", - "name": "ReactionContent", + "name": "RepositoryPrivacy", "ofType": null }, "defaultValue": null }, { "name": "orderBy", - "description": "Allows specifying the order in which reactions are returned.", + "description": "Ordering options for repositories returned from the connection", "type": { "kind": "INPUT_OBJECT", - "name": "ReactionOrder", + "name": "RepositoryOrder", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "affiliations", + "description": "Affiliation options for repositories returned from the connection", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "RepositoryAffiliation", + "ofType": null + } + }, + "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" + }, + { + "name": "isLocked", + "description": "If non-null, filters repositories according to whether they have been locked", + "type": { + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "defaultValue": null @@ -11706,113 +11883,43 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ReactionConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "viewerCanReact", - "description": "Can user react to this subject", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "name": "RepositoryConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "CommitComment", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Issue", - "ofType": null }, { - "kind": "OBJECT", - "name": "IssueComment", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "PullRequest", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "PullRequestReviewComment", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "ReactionGroup", - "description": "A group of emoji reactions to a particular piece of content.", - "fields": [ - { - "name": "content", - "description": "Identifies the emoji reaction.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReactionContent", - "ofType": null + "name": "project", + "description": "Find project by number.", + "args": [ + { + "name": "number", + "description": "The project number to find.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "Identifies when the reaction was created.", - "args": [], + ], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "Project", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "subject", - "description": "The subject that was reacted to.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INTERFACE", - "name": "Reactable", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "users", - "description": "Users who have reacted to the reaction subject with the emotion represented by this reaction group", + "name": "projects", + "description": "A list of projects under the owner.", "args": [ { "name": "first", @@ -11826,7 +11933,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -11846,13 +11953,51 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null + }, + { + "name": "orderBy", + "description": "Ordering options for projects returned from the connection", + "type": { + "kind": "INPUT_OBJECT", + "name": "ProjectOrder", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "search", + "description": "Query to search projects by, currently only searching by name.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "states", + "description": "A list of states to filter the projects by.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "ProjectState", + "ofType": null + } + } + }, + "defaultValue": null } ], "type": { @@ -11860,129 +12005,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ReactingUserConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "viewerHasReacted", - "description": "Whether or not the authenticated user has left a reaction on the subject.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ReactionContent", - "description": "Emojis that can be attached to Issues, Pull Requests and Comments.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "THUMBS_UP", - "description": "Represents the 👍 emoji.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "THUMBS_DOWN", - "description": "Represents the 👎 emoji.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LAUGH", - "description": "Represents the 😄 emoji.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HOORAY", - "description": "Represents the 🎉 emoji.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CONFUSED", - "description": "Represents the 😕 emoji.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HEART", - "description": "Represents the ❤️ emoji.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReactingUserConnection", - "description": "The connection type for User.", - "fields": [ - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReactingUserEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "name": "ProjectConnection", "ofType": null } }, @@ -11990,58 +12013,15 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReactingUserEdge", - "description": "Represents a user that's made a reaction.", - "fields": [ - { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "projectsResourcePath", + "description": "The HTTP path listing organization's projects", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", + "name": "URI", "ofType": null } }, @@ -12049,42 +12029,15 @@ "deprecationReason": null }, { - "name": "reactedAt", - "description": "The moment when the user made the reaction.", + "name": "projectsUrl", + "description": "The HTTP URL listing organization's projects", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReactionConnection", - "description": "A list of reactions that have been left on the subject.", - "fields": [ - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReactionEdge", + "name": "URI", "ofType": null } }, @@ -12092,173 +12045,110 @@ "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Reaction", - "ofType": null + "name": "repositories", + "description": "A list of repositories that the user owns.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "privacy", + "description": "If non-null, filters repositories according to privacy", + "type": { + "kind": "ENUM", + "name": "RepositoryPrivacy", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Ordering options for repositories returned from the connection", + "type": { + "kind": "INPUT_OBJECT", + "name": "RepositoryOrder", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "affiliations", + "description": "Affiliation options for repositories returned from the connection", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "RepositoryAffiliation", + "ofType": null + } + }, + "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" + }, + { + "name": "isLocked", + "description": "If non-null, filters repositories according to whether they have been locked", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "isFork", + "description": "If non-null, filters repositories according to whether they are forks of another repository", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "viewerHasReacted", - "description": "Whether or not the authenticated user has left a reaction on the subject.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReactionEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "node", - "description": "The item at the end of the edge.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Reaction", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Reaction", - "description": "An emoji reaction to a particular piece of content.", - "fields": [ - { - "name": "content", - "description": "Identifies the emoji reaction.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReactionContent", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "Identifies the date and time when the object was created.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "databaseId", - "description": "Identifies the primary key from the database.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", + "name": "RepositoryConnection", "ofType": null } }, @@ -12266,195 +12156,42 @@ "deprecationReason": null }, { - "name": "reactable", - "description": "The reactable piece of content", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INTERFACE", - "name": "Reactable", - "ofType": null + "name": "repository", + "description": "Find Repository.", + "args": [ + { + "name": "name", + "description": "Name of Repository to find.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": "Identifies the user who created this reaction.", - "args": [], + ], "type": { "kind": "OBJECT", - "name": "User", + "name": "Repository", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ReactionOrder", - "description": "Ways in which lists of reactions can be ordered upon return.", - "fields": null, - "inputFields": [ - { - "name": "field", - "description": "The field in which to order reactions by.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReactionOrderField", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "direction", - "description": "The direction in which to order reactions 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": "ReactionOrderField", - "description": "A list of fields that reactions can be ordered by.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "CREATED_AT", - "description": "Allows ordering a list of reactions by when they were created.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INTERFACE", - "name": "RepositoryNode", - "description": "Represents a object that belongs to a repository.", - "fields": [ - { - "name": "repository", - "description": "The repository associated with this node.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Repository", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "CommitComment", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "CommitCommentThread", - "ofType": null }, { - "kind": "OBJECT", - "name": "Issue", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "IssueComment", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "PullRequest", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "PullRequestReview", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "PullRequestReviewComment", - "ofType": null - } - ] - }, - { - "kind": "INTERFACE", - "name": "Subscribable", - "description": "Entities that can be subscribed to for web and email notifications.", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "viewerCanSubscribe", - "description": "Check if the viewer is able to change their subscription status for the repository.", + "name": "resourcePath", + "description": "The HTTP path for this user", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "URI", "ofType": null } }, @@ -12462,86 +12199,47 @@ "deprecationReason": null }, { - "name": "viewerSubscription", - "description": "Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.", + "name": "samlIdentityProvider", + "description": "The Organization's SAML Identity Providers", "args": [], "type": { - "kind": "ENUM", - "name": "SubscriptionState", + "kind": "OBJECT", + "name": "OrganizationIdentityProvider", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Commit", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Issue", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "PullRequest", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Repository", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Team", - "ofType": null - } - ] - }, - { - "kind": "ENUM", - "name": "SubscriptionState", - "description": "The possible states of a subscription.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "UNSUBSCRIBED", - "description": "The User is only notified when particpating or @mentioned.", - "isDeprecated": false, - "deprecationReason": null }, { - "name": "SUBSCRIBED", - "description": "The User is notified of all conversations.", + "name": "team", + "description": "Find an organization's team by its slug.", + "args": [ + { + "name": "slug", + "description": "The name or slug of the team to find.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "Team", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "IGNORED", - "description": "The User is never notified.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Ref", - "description": "Represents a Git reference.", - "fields": [ - { - "name": "associatedPullRequests", - "description": "A list of pull requests with this ref as the head ref.", + "name": "teams", + "description": "A list of teams in this organization.", "args": [ { "name": "first", @@ -12555,7 +12253,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -12575,7 +12273,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -12584,26 +12282,38 @@ "defaultValue": null }, { - "name": "states", - "description": "A list of states to filter the pull requests by.", + "name": "privacy", + "description": "If non-null, filters teams according to privacy", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "PullRequestState", - "ofType": null - } - } + "kind": "ENUM", + "name": "TeamPrivacy", + "ofType": null }, "defaultValue": null }, { - "name": "labels", - "description": "A list of label names to filter the pull requests by.", + "name": "role", + "description": "If non-null, filters teams according to whether the viewer is an admin or member on team", + "type": { + "kind": "ENUM", + "name": "TeamRole", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "query", + "description": "If non-null, filters teams with query on team name and team slug", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "userLogins", + "description": "User logins to filter by", "type": { "kind": "LIST", "name": null, @@ -12620,34 +12330,34 @@ "defaultValue": null }, { - "name": "headRefName", - "description": "The head ref name to filter the pull requests by.", + "name": "orderBy", + "description": "Ordering options for teams returned from the connection", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "TeamOrder", "ofType": null }, "defaultValue": null }, { - "name": "baseRefName", - "description": "The base ref name to filter the pull requests by.", + "name": "ldapMapped", + "description": "If true, filters teams that are mapped to an LDAP Group (Enterprise only)", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "orderBy", - "description": "Ordering options for pull requests returned from the connection.", + "name": "rootTeamsOnly", + "description": "If true, restrict to only root teams", "type": { - "kind": "INPUT_OBJECT", - "name": "IssueOrder", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "false" } ], "type": { @@ -12655,7 +12365,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PullRequestConnection", + "name": "TeamConnection", "ofType": null } }, @@ -12663,15 +12373,15 @@ "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "teamsResourcePath", + "description": "The HTTP path listing organization's teams", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "URI", "ofType": null } }, @@ -12679,15 +12389,15 @@ "deprecationReason": null }, { - "name": "name", - "description": "The ref name.", + "name": "teamsUrl", + "description": "The HTTP URL listing organization's teams", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "URI", "ofType": null } }, @@ -12695,31 +12405,15 @@ "deprecationReason": null }, { - "name": "prefix", - "description": "The ref's prefix, such as `refs/heads/` or `refs/tags/`.", + "name": "url", + "description": "The HTTP URL for this user", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "repository", - "description": "The repository the ref belongs to.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Repository", + "name": "URI", "ofType": null } }, @@ -12727,48 +12421,15 @@ "deprecationReason": null }, { - "name": "target", - "description": "The object the ref points to.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INTERFACE", - "name": "GitObject", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INTERFACE", - "name": "GitObject", - "description": "Represents a Git object.", - "fields": [ - { - "name": "abbreviatedOid", - "description": "An abbreviated version of the Git object ID", + "name": "viewerCanAdminister", + "description": "Organization is adminable by the viewer.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -12776,15 +12437,15 @@ "deprecationReason": null }, { - "name": "commitResourcePath", - "description": "The HTTP path for this Git object", + "name": "viewerCanCreateProjects", + "description": "Can the current viewer create new projects on this owner.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -12792,15 +12453,15 @@ "deprecationReason": null }, { - "name": "commitUrl", - "description": "The HTTP URL for this Git object", + "name": "viewerCanCreateRepositories", + "description": "Viewer can create repositories on this organization", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -12808,15 +12469,15 @@ "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "viewerCanCreateTeams", + "description": "Viewer can create teams on this organization.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "Boolean", "ofType": null } }, @@ -12824,15 +12485,15 @@ "deprecationReason": null }, { - "name": "oid", - "description": "The Git object ID", + "name": "viewerIsAMember", + "description": "Viewer is an active member of this organization.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "GitObjectID", + "name": "Boolean", "ofType": null } }, @@ -12840,127 +12501,64 @@ "deprecationReason": null }, { - "name": "repository", - "description": "The Repository the Git object belongs to", + "name": "websiteUrl", + "description": "The organization's public profile URL.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Repository", - "ofType": null - } + "kind": "SCALAR", + "name": "URI", + "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ + "interfaces": [ { - "kind": "OBJECT", - "name": "Blob", + "kind": "INTERFACE", + "name": "Node", "ofType": null }, { - "kind": "OBJECT", - "name": "Commit", + "kind": "INTERFACE", + "name": "Actor", "ofType": null }, { - "kind": "OBJECT", - "name": "Tag", + "kind": "INTERFACE", + "name": "RegistryPackageOwner", "ofType": null }, { - "kind": "OBJECT", - "name": "Tree", + "kind": "INTERFACE", + "name": "RegistryPackageSearch", "ofType": null - } - ] - }, - { - "kind": "SCALAR", - "name": "GitObjectID", - "description": "A Git object ID.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Blob", - "description": "Represents a Git blob.", - "fields": [ - { - "name": "abbreviatedOid", - "description": "An abbreviated version of the Git object ID", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "byteSize", - "description": "Byte size of Blob object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "ProjectOwner", + "ofType": null }, { - "name": "commitResourcePath", - "description": "The HTTP path for this Git object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "RepositoryOwner", + "ofType": null }, { - "name": "commitUrl", - "description": "The HTTP URL for this Git object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "INTERFACE", + "name": "UniformResourceLocatable", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "RegistryPackageSearch", + "description": "Represents an interface to search packages on an object.", + "fields": [ { "name": "id", "description": null, @@ -12976,131 +12574,50 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "isBinary", - "description": "Indicates whether the Blob is binary or text", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isTruncated", - "description": "Indicates whether the contents is truncated", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "oid", - "description": "The Git object ID", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "GitObjectID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "repository", - "description": "The Repository the Git object belongs to", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Repository", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "text", - "description": "UTF8 text data or null if the Blob is binary", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, - "interfaces": [ + "interfaces": null, + "enumValues": null, + "possibleTypes": [ { - "kind": "INTERFACE", - "name": "Node", + "kind": "OBJECT", + "name": "Organization", "ofType": null }, { - "kind": "INTERFACE", - "name": "GitObject", + "kind": "OBJECT", + "name": "User", "ofType": null } - ], - "enumValues": null, - "possibleTypes": null + ] }, { - "kind": "OBJECT", - "name": "Commit", - "description": "Represents a Git commit.", + "kind": "INTERFACE", + "name": "RepositoryOwner", + "description": "Represents an owner of a Repository.", "fields": [ { - "name": "abbreviatedOid", - "description": "An abbreviated version of the Git object ID", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "additions", - "description": "The number of additions in this commit.", - "args": [], + "name": "avatarUrl", + "description": "A URL pointing to the owner's public avatar.", + "args": [ + { + "name": "size", + "description": "The size of the resulting square image.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "URI", "ofType": null } }, @@ -13108,27 +12625,15 @@ "deprecationReason": null }, { - "name": "author", - "description": "Authorship details of the commit.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "GitActor", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "authoredByCommitter", - "description": "Check if the committer and the author match.", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } }, @@ -13136,15 +12641,15 @@ "deprecationReason": null }, { - "name": "authoredDate", - "description": "The datetime when this commit was authored.", + "name": "login", + "description": "The username used to login.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, @@ -13152,21 +12657,91 @@ "deprecationReason": null }, { - "name": "blame", - "description": "Fetches `git blame` information.", + "name": "pinnedRepositories", + "description": "A list of repositories this user has pinned to their profile", "args": [ { - "name": "path", - "description": "The file whose Git blame information you want.", + "name": "first", + "description": "Returns the first _n_ elements from the list.", "type": { - "kind": "NON_NULL", + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "privacy", + "description": "If non-null, filters repositories according to privacy", + "type": { + "kind": "ENUM", + "name": "RepositoryPrivacy", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Ordering options for repositories returned from the connection", + "type": { + "kind": "INPUT_OBJECT", + "name": "RepositoryOrder", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "affiliations", + "description": "Affiliation options for repositories returned from the connection", + "type": { + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "RepositoryAffiliation", "ofType": null } }, + "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" + }, + { + "name": "isLocked", + "description": "If non-null, filters repositories according to whether they have been locked", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, "defaultValue": null } ], @@ -13175,23 +12750,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Blame", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "changedFiles", - "description": "The number of changed files in this commit.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", + "name": "RepositoryConnection", "ofType": null } }, @@ -13199,8 +12758,8 @@ "deprecationReason": null }, { - "name": "comments", - "description": "Comments made on the commit.", + "name": "repositories", + "description": "A list of repositories that the user owns.", "args": [ { "name": "first", @@ -13214,7 +12773,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -13234,13 +12793,67 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null + }, + { + "name": "privacy", + "description": "If non-null, filters repositories according to privacy", + "type": { + "kind": "ENUM", + "name": "RepositoryPrivacy", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Ordering options for repositories returned from the connection", + "type": { + "kind": "INPUT_OBJECT", + "name": "RepositoryOrder", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "affiliations", + "description": "Affiliation options for repositories returned from the connection", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "RepositoryAffiliation", + "ofType": null + } + }, + "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" + }, + { + "name": "isLocked", + "description": "If non-null, filters repositories according to whether they have been locked", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "isFork", + "description": "If non-null, filters repositories according to whether they are forks of another repository", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null } ], "type": { @@ -13248,7 +12861,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CommitCommentConnection", + "name": "RepositoryConnection", "ofType": null } }, @@ -13256,8 +12869,35 @@ "deprecationReason": null }, { - "name": "commitResourcePath", - "description": "The HTTP path for this Git object", + "name": "repository", + "description": "Find Repository.", + "args": [ + { + "name": "name", + "description": "Name of Repository to find.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resourcePath", + "description": "The HTTP URL for the owner.", "args": [], "type": { "kind": "NON_NULL", @@ -13272,8 +12912,8 @@ "deprecationReason": null }, { - "name": "commitUrl", - "description": "The HTTP URL for this Git object", + "name": "url", + "description": "The HTTP URL for the owner.", "args": [], "type": { "kind": "NON_NULL", @@ -13286,17 +12926,39 @@ }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "Organization", + "ofType": null }, { - "name": "committedDate", - "description": "The datetime when this commit was committed.", + "kind": "OBJECT", + "name": "User", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "RepositoryConnection", + "description": "A list of repositories owned by the subject.", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "RepositoryEdge", "ofType": null } }, @@ -13304,15 +12966,31 @@ "deprecationReason": null }, { - "name": "committedViaWeb", - "description": "Check if commited via GitHub web UI.", + "name": "nodes", + "description": "A list of nodes.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "PageInfo", "ofType": null } }, @@ -13320,20 +12998,24 @@ "deprecationReason": null }, { - "name": "committer", - "description": "Committership details of the commit.", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { - "kind": "OBJECT", - "name": "GitActor", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "deletions", - "description": "The number of deletions in this commit.", + "name": "totalDiskUsage", + "description": "The total size in kilobytes of all repositories in the connection.", "args": [], "type": { "kind": "NON_NULL", @@ -13346,130 +13028,211 @@ }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "RepositoryEdge", + "description": "An edge in a connection.", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "history", - "description": "The linear commit history starting from (and including) this commit, in the same order as `git log`.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "path", - "description": "If non-null, filters history to only show commits touching files under this path.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "author", - "description": "If non-null, filters history to only show commits with matching authorship.", - "type": { - "kind": "INPUT_OBJECT", - "name": "CommitAuthor", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "since", - "description": "Allows specifying a beginning time or date for fetching commits.", - "type": { - "kind": "SCALAR", - "name": "GitTimestamp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "until", - "description": "Allows specifying an ending time or date for fetching commits.", - "type": { - "kind": "SCALAR", - "name": "GitTimestamp", - "ofType": null - }, - "defaultValue": null + "name": "node", + "description": "The item at the end of the edge.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "RepositoryPrivacy", + "description": "The privacy of a repository", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "PUBLIC", + "description": "Public", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRIVATE", + "description": "Private", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "RepositoryOrder", + "description": "Ordering options for repository connections", + "fields": null, + "inputFields": [ + { + "name": "field", + "description": "The field to order repositories by.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "RepositoryOrderField", + "ofType": null } - ], + }, + "defaultValue": null + }, + { + "name": "direction", + "description": "The ordering direction.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "CommitHistoryConnection", + "kind": "ENUM", + "name": "OrderDirection", "ofType": null } }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "RepositoryOrderField", + "description": "Properties by which repository connections can be ordered.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Order repositories by creation time", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Order repositories by update time", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PUSHED_AT", + "description": "Order repositories by push time", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NAME", + "description": "Order repositories by name", "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "STARGAZERS", + "description": "Order repositories by number of stargazers", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "RepositoryAffiliation", + "description": "The affiliation of a user to a repository", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "OWNER", + "description": "Repositories that are owned by the authenticated user.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COLLABORATOR", + "description": "Repositories that the user has been added to as a collaborator.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ORGANIZATION_MEMBER", + "description": "Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MarketplaceListing", + "description": "A listing in the GitHub integration marketplace.", + "fields": [ + { + "name": "companyUrl", + "description": "URL to the listing owner's company site.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "URI", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "message", - "description": "The Git commit message", + "name": "configurationResourcePath", + "description": "The HTTP path for configuring access to the listing's integration or OAuth app", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "URI", "ofType": null } }, @@ -13477,15 +13240,15 @@ "deprecationReason": null }, { - "name": "messageBody", - "description": "The Git commit message body", + "name": "configurationUrl", + "description": "The HTTP URL for configuring access to the listing's integration or OAuth app", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "URI", "ofType": null } }, @@ -13493,40 +13256,32 @@ "deprecationReason": null }, { - "name": "messageBodyHTML", - "description": "The commit message body rendered to HTML.", + "name": "documentationUrl", + "description": "URL to the listing's documentation.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HTML", - "ofType": null - } + "kind": "SCALAR", + "name": "URI", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "messageHeadline", - "description": "The Git commit message headline", + "name": "extendedDescription", + "description": "The listing's detailed description.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "messageHeadlineHTML", - "description": "The commit message headline rendered to HTML.", + "name": "extendedDescriptionHTML", + "description": "The listing's detailed description rendered to HTML.", "args": [], "type": { "kind": "NON_NULL", @@ -13541,15 +13296,15 @@ "deprecationReason": null }, { - "name": "oid", - "description": "The Git object ID", + "name": "fullDescription", + "description": "The listing's introductory description.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "GitObjectID", + "name": "String", "ofType": null } }, @@ -13557,56 +13312,15 @@ "deprecationReason": null }, { - "name": "parents", - "description": "The parents of a commit.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "fullDescriptionHTML", + "description": "The listing's introductory description rendered to HTML.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "CommitConnection", + "kind": "SCALAR", + "name": "HTML", "ofType": null } }, @@ -13614,27 +13328,15 @@ "deprecationReason": null }, { - "name": "pushedDate", - "description": "The datetime when this commit was pushed.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "repository", - "description": "The Repository this commit belongs to", + "name": "hasApprovalBeenRequested", + "description": "Whether this listing has been submitted for review from GitHub for approval to be displayed in the Marketplace.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Repository", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -13642,15 +13344,15 @@ "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path for this commit", + "name": "hasPublishedFreeTrialPlans", + "description": "Does this listing have any plans with a free trial?", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -13658,39 +13360,43 @@ "deprecationReason": null }, { - "name": "signature", - "description": "Commit signing information, if present.", + "name": "hasTermsOfService", + "description": "Does this listing have a terms of service link?", "args": [], "type": { - "kind": "INTERFACE", - "name": "GitSignature", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "status", - "description": "Status information for this commit", + "name": "howItWorks", + "description": "A technical description of how this app works with GitHub.", "args": [], "type": { - "kind": "OBJECT", - "name": "Status", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "tarballUrl", - "description": "Returns a URL to download a tarball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.", + "name": "howItWorksHTML", + "description": "The listing's technical description rendered to HTML.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "HTML", "ofType": null } }, @@ -13698,15 +13404,15 @@ "deprecationReason": null }, { - "name": "tree", - "description": "Commit's root Tree", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Tree", + "kind": "SCALAR", + "name": "ID", "ofType": null } }, @@ -13714,31 +13420,27 @@ "deprecationReason": null }, { - "name": "treeResourcePath", - "description": "The HTTP path for the tree of this commit", + "name": "installationUrl", + "description": "URL to install the product to the viewer's account or organization.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } + "kind": "SCALAR", + "name": "URI", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "treeUrl", - "description": "The HTTP URL for the tree of this commit", + "name": "installedForViewer", + "description": "Whether this listing's app has been installed for the current viewer", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -13746,15 +13448,15 @@ "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL for this commit", + "name": "isApproved", + "description": "Whether this listing has been approved for display in the Marketplace.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -13762,8 +13464,8 @@ "deprecationReason": null }, { - "name": "viewerCanSubscribe", - "description": "Check if the viewer is able to change their subscription status for the repository.", + "name": "isDelisted", + "description": "Whether this listing has been removed from the Marketplace.", "args": [], "type": { "kind": "NON_NULL", @@ -13778,70 +13480,31 @@ "deprecationReason": null }, { - "name": "viewerSubscription", - "description": "Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.", - "args": [], - "type": { - "kind": "ENUM", - "name": "SubscriptionState", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "zipballUrl", - "description": "Returns a URL to download a zipball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.", + "name": "isDraft", + "description": "Whether this listing is still an editable draft that has not been submitted for review and is not publicly visible in the Marketplace.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "GitObject", - "ofType": null }, { - "kind": "INTERFACE", - "name": "Subscribable", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Tree", - "description": "Represents a Git tree.", - "fields": [ - { - "name": "abbreviatedOid", - "description": "An abbreviated version of the Git object ID", + "name": "isPaid", + "description": "Whether the product this listing represents is available as part of a paid plan.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -13849,15 +13512,15 @@ "deprecationReason": null }, { - "name": "commitResourcePath", - "description": "The HTTP path for this Git object", + "name": "isRejected", + "description": "Whether this listing has been rejected by GitHub for display in the Marketplace.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -13865,15 +13528,15 @@ "deprecationReason": null }, { - "name": "commitUrl", - "description": "The HTTP URL for this Git object", + "name": "logoBackgroundColor", + "description": "The hex color code, without the leading '#', for the logo background.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, @@ -13881,35 +13544,38 @@ "deprecationReason": null }, { - "name": "entries", - "description": "A list of tree entries.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TreeEntry", + "name": "logoUrl", + "description": "URL for the listing's logo image.", + "args": [ + { + "name": "size", + "description": "The size in pixels of the resulting square image.", + "type": { + "kind": "SCALAR", + "name": "Int", "ofType": null - } + }, + "defaultValue": "400" } + ], + "type": { + "kind": "SCALAR", + "name": "URI", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "name", + "description": "The listing's full name.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, @@ -13917,15 +13583,15 @@ "deprecationReason": null }, { - "name": "oid", - "description": "The Git object ID", + "name": "normalizedShortDescription", + "description": "The listing's very short description without a trailing period or ampersands.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "GitObjectID", + "name": "String", "ofType": null } }, @@ -13933,53 +13599,27 @@ "deprecationReason": null }, { - "name": "repository", - "description": "The Repository the Git object belongs to", + "name": "pricingUrl", + "description": "URL to the listing's detailed pricing.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Repository", - "ofType": null - } + "kind": "SCALAR", + "name": "URI", + "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null }, { - "kind": "INTERFACE", - "name": "GitObject", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TreeEntry", - "description": "Represents a Git tree entry.", - "fields": [ - { - "name": "mode", - "description": "Entry file mode.", + "name": "primaryCategory", + "description": "The category that best describes the listing.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "MarketplaceCategory", "ofType": null } }, @@ -13987,15 +13627,15 @@ "deprecationReason": null }, { - "name": "name", - "description": "Entry file name.", + "name": "privacyPolicyUrl", + "description": "URL to the listing's privacy policy.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "URI", "ofType": null } }, @@ -14003,52 +13643,56 @@ "deprecationReason": null }, { - "name": "object", - "description": "Entry file object.", + "name": "resourcePath", + "description": "The HTTP path for the Marketplace listing.", "args": [], "type": { - "kind": "INTERFACE", - "name": "GitObject", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "oid", - "description": "Entry file Git object ID.", + "name": "screenshotUrls", + "description": "The URLs for the listing's screenshots.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "GitObjectID", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "repository", - "description": "The Repository the tree entry belongs to", + "name": "secondaryCategory", + "description": "An alternate category that describes the listing.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Repository", - "ofType": null - } + "kind": "OBJECT", + "name": "MarketplaceCategory", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "type", - "description": "Entry file type.", + "name": "shortDescription", + "description": "The listing's very short description.", "args": [], "type": { "kind": "NON_NULL", @@ -14061,39 +13705,17 @@ }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GitActor", - "description": "Represents an actor in a Git commit (ie. an author or committer).", - "fields": [ + }, { - "name": "avatarUrl", - "description": "A URL pointing to the author's public avatar.", - "args": [ - { - "name": "size", - "description": "The size of the resulting square image.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "slug", + "description": "The short name of the listing used in its URL.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, @@ -14101,20 +13723,20 @@ "deprecationReason": null }, { - "name": "date", - "description": "The timestamp of the Git action (authoring or committing).", + "name": "statusUrl", + "description": "URL to the listing's status page.", "args": [], "type": { "kind": "SCALAR", - "name": "GitTimestamp", + "name": "URI", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "email", - "description": "The email in the Git commit.", + "name": "supportEmail", + "description": "An email address for support for this listing's app.", "args": [], "type": { "kind": "SCALAR", @@ -14125,60 +13747,59 @@ "deprecationReason": null }, { - "name": "name", - "description": "The name in the Git commit.", + "name": "supportUrl", + "description": "Either a URL or an email address for support for this listing's app.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "termsOfServiceUrl", + "description": "URL to the listing's terms of service.", "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "URI", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user", - "description": "The GitHub user corresponding to the email field. Null if no such user exists.", + "name": "url", + "description": "The HTTP URL for the Marketplace listing.", "args": [], "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "GitTimestamp", - "description": "An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CommitConnection", - "description": "The connection type for Commit.", - "fields": [ + }, { - "name": "edges", - "description": "A list of edges.", + "name": "viewerCanAddPlans", + "description": "Can the current viewer add plans for this Marketplace listing.", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "CommitEdge", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -14186,15 +13807,15 @@ "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "viewerCanApprove", + "description": "Can the current viewer approve this Marketplace listing.", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Commit", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -14202,15 +13823,15 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "viewerCanDelist", + "description": "Can the current viewer delist this Marketplace listing.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -14218,42 +13839,31 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "viewerCanEdit", + "description": "Can the current viewer edit this Marketplace listing.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CommitEdge", - "description": "An edge in a connection.", - "fields": [ + }, { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "viewerCanEditCategories", + "description": "Can the current viewer edit the primary and secondary category of this\nMarketplace listing.\n", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -14261,38 +13871,31 @@ "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", + "name": "viewerCanEditPlans", + "description": "Can the current viewer edit the plans for this Marketplace listing.", "args": [], "type": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CommitHistoryConnection", - "description": "The connection type for Commit.", - "fields": [ + }, { - "name": "edges", - "description": null, + "name": "viewerCanRedraft", + "description": "Can the current viewer return this Marketplace listing to draft state\nso it becomes editable again.\n", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "CommitEdge", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -14300,15 +13903,15 @@ "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "viewerCanReject", + "description": "Can the current viewer reject this Marketplace listing by returning it to\nan editable draft state or rejecting it entirely.\n", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Commit", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -14316,15 +13919,15 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "viewerCanRequestApproval", + "description": "Can the current viewer request this listing be reviewed for display in\nthe Marketplace.\n", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -14332,70 +13935,69 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "viewerHasPurchased", + "description": "Indicates whether the current user has an active subscription to this Marketplace listing.\n", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CommitAuthor", - "description": "Specifies an author for filtering Git commits.", - "fields": null, - "inputFields": [ + }, { - "name": "id", - "description": "ID of a User to filter by. If non-null, only commits authored by this user will be returned. This field takes precedence over emails.", + "name": "viewerHasPurchasedForAllOrganizations", + "description": "Indicates if the current user has purchased a subscription to this Marketplace listing\nfor all of the organizations the user owns.\n", + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "emails", - "description": "Email addresses to filter by. Commits authored by any of the specified email addresses will be returned.", + "name": "viewerIsListingAdmin", + "description": "Does the current viewer role allow them to administer this Marketplace listing.\n", + "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null } ], - "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "CommitCommentConnection", - "description": "The connection type for CommitComment.", + "name": "OrganizationConnection", + "description": "The connection type for Organization.", "fields": [ { "name": "edges", @@ -14406,7 +14008,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CommitCommentEdge", + "name": "OrganizationEdge", "ofType": null } }, @@ -14422,7 +14024,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CommitComment", + "name": "Organization", "ofType": null } }, @@ -14469,7 +14071,7 @@ }, { "kind": "OBJECT", - "name": "CommitCommentEdge", + "name": "OrganizationEdge", "description": "An edge in a connection.", "fields": [ { @@ -14494,7 +14096,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "CommitComment", + "name": "Organization", "ofType": null }, "isDeprecated": false, @@ -14508,31 +14110,46 @@ }, { "kind": "OBJECT", - "name": "CommitComment", - "description": "Represents a comment on a given Commit.", + "name": "Bot", + "description": "A special type of user which takes actions on behalf of GitHub Apps.", "fields": [ { - "name": "author", - "description": "The actor who authored the comment.", - "args": [], + "name": "avatarUrl", + "description": "A URL pointing to the GitHub App's public avatar.", + "args": [ + { + "name": "size", + "description": "The size of the resulting square image.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "INTERFACE", - "name": "Actor", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "authorAssociation", - "description": "Author's association with the subject of the comment.", + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "CommentAuthorAssociation", + "kind": "SCALAR", + "name": "DateTime", "ofType": null } }, @@ -14540,31 +14157,27 @@ "deprecationReason": null }, { - "name": "body", - "description": "Identifies the comment body.", + "name": "databaseId", + "description": "Identifies the primary key from the database.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "bodyHTML", - "description": "Identifies the comment body rendered to HTML.", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "HTML", + "name": "ID", "ofType": null } }, @@ -14572,8 +14185,8 @@ "deprecationReason": null }, { - "name": "bodyText", - "description": "The body rendered to text.", + "name": "login", + "description": "The username of the actor.", "args": [], "type": { "kind": "NON_NULL", @@ -14588,20 +14201,24 @@ "deprecationReason": null }, { - "name": "commit", - "description": "Identifies the commit associated with the comment, if the commit exists.", + "name": "resourcePath", + "description": "The HTTP path for this bot", "args": [], "type": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "createdAt", - "description": "Identifies the date and time when the object was created.", + "name": "updatedAt", + "description": "Identifies the date and time when the object was last updated.", "args": [], "type": { "kind": "NON_NULL", @@ -14616,40 +14233,87 @@ "deprecationReason": null }, { - "name": "createdViaEmail", - "description": "Check if this comment was created via an email reply.", + "name": "url", + "description": "The HTTP URL for this bot", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "URI", "ofType": null } }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null }, { - "name": "databaseId", - "description": "Identifies the primary key from the database.", + "kind": "INTERFACE", + "name": "Actor", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "UniformResourceLocatable", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Float", + "description": "Represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Date", + "description": "An ISO-8601 encoded date string.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MarketplaceCategory", + "description": "A public description of a Marketplace category.", + "fields": [ + { + "name": "description", + "description": "The category's description.", "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "editor", - "description": "The actor who edited the comment.", + "name": "howItWorks", + "description": "The technical description of how apps listed in this category work with GitHub.", "args": [], "type": { - "kind": "INTERFACE", - "name": "Actor", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -14672,15 +14336,15 @@ "deprecationReason": null }, { - "name": "includesCreatedEdit", - "description": "Check if this comment was edited and includes an edit with the creation data", + "name": "name", + "description": "The category's name.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -14688,144 +14352,47 @@ "deprecationReason": null }, { - "name": "lastEditedAt", - "description": "The moment the editor made the last edit", - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", - "description": "Identifies the file path associated with the comment.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "position", - "description": "Identifies the line position associated with the comment.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publishedAt", - "description": "Identifies when the comment was published at.", + "name": "primaryListingCount", + "description": "How many Marketplace listings have this as their primary category.", "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "reactionGroups", - "description": "A list of reactions grouped by content left on the subject.", + "name": "resourcePath", + "description": "The HTTP path for this Marketplace category.", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReactionGroup", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reactions", - "description": "A list of Reactions left on the Issue.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "content", - "description": "Allows filtering Reactions by emoji.", - "type": { - "kind": "ENUM", - "name": "ReactionContent", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orderBy", - "description": "Allows specifying the order in which reactions are returned.", - "type": { - "kind": "INPUT_OBJECT", - "name": "ReactionOrder", - "ofType": null - }, - "defaultValue": null + "kind": "SCALAR", + "name": "URI", + "ofType": null } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "secondaryListingCount", + "description": "How many Marketplace listings have this as their secondary category.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ReactionConnection", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, @@ -14833,15 +14400,15 @@ "deprecationReason": null }, { - "name": "repository", - "description": "The repository associated with this node.", + "name": "slug", + "description": "The short name of the category used in its URL.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Repository", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -14849,8 +14416,8 @@ "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path permalink for this commit comment.", + "name": "url", + "description": "The HTTP URL for this Marketplace category.", "args": [], "type": { "kind": "NON_NULL", @@ -14863,17 +14430,34 @@ }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [ { - "name": "updatedAt", - "description": "Identifies the date and time when the object was last updated.", + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LanguageConnection", + "description": "A list of languages associated with the parent.", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "LanguageEdge", "ofType": null } }, @@ -14881,15 +14465,15 @@ "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL permalink for this commit comment.", + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "URI", + "kind": "OBJECT", + "name": "Language", "ofType": null } }, @@ -14897,68 +14481,31 @@ "deprecationReason": null }, { - "name": "userContentEdits", - "description": "A list of edits to this content.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], "type": { - "kind": "OBJECT", - "name": "UserContentEditConnection", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "viewerCanDelete", - "description": "Check if the current viewer can delete this object.", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, @@ -14966,31 +14513,42 @@ "deprecationReason": null }, { - "name": "viewerCanReact", - "description": "Can user react to this subject", + "name": "totalSize", + "description": "The total size in bytes of files written in that language.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LanguageEdge", + "description": "Represents the language of a repository.", + "fields": [ { - "name": "viewerCanUpdate", - "description": "Check if the current viewer can update this object.", + "name": "cursor", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -14998,39 +14556,31 @@ "deprecationReason": null }, { - "name": "viewerCannotUpdateReasons", - "description": "Reasons why the current viewer can not update this comment.", + "name": "node", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CommentCannotUpdateReason", - "ofType": null - } - } + "kind": "OBJECT", + "name": "Language", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "viewerDidAuthor", - "description": "Did the viewer author this comment.", + "name": "size", + "description": "The number of bytes of code written in the language.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, @@ -15039,61 +14589,53 @@ } ], "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Comment", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Deletable", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Updatable", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "UpdatableComment", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Reactable", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "RepositoryNode", - "ofType": null - } - ], + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "INTERFACE", - "name": "Deletable", - "description": "Entities that can be deleted.", + "kind": "OBJECT", + "name": "Language", + "description": "Represents a given language found in repositories.", "fields": [ { - "name": "viewerCanDelete", - "description": "Check if the current viewer can delete this object.", + "name": "color", + "description": "The color defined for the current language.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the current language.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -15102,51 +14644,31 @@ } ], "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "CommitComment", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "GistComment", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "IssueComment", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "PullRequestReview", - "ofType": null - }, + "interfaces": [ { - "kind": "OBJECT", - "name": "PullRequestReviewComment", + "kind": "INTERFACE", + "name": "Node", "ofType": null } - ] + ], + "enumValues": null, + "possibleTypes": null }, { - "kind": "INTERFACE", - "name": "GitSignature", - "description": "Information about a signature (GPG or S/MIME) on a Commit or Tag.", + "kind": "OBJECT", + "name": "ProjectConnection", + "description": "A list of projects associated with the owner.", "fields": [ { - "name": "email", - "description": "Email used to sign this object.", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ProjectEdge", "ofType": null } }, @@ -15154,15 +14676,31 @@ "deprecationReason": null }, { - "name": "isValid", - "description": "True if the signature is valid and verified by GitHub.", + "name": "nodes", + "description": "A list of nodes.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Project", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "PageInfo", "ofType": null } }, @@ -15170,24 +14708,35 @@ "deprecationReason": null }, { - "name": "payload", - "description": "Payload for GPG signing object. Raw ODB object without the signature header.", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectEdge", + "description": "An edge in a connection.", + "fields": [ { - "name": "signature", - "description": "ASCII-armored signature header from object.", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", @@ -15202,256 +14751,310 @@ "deprecationReason": null }, { - "name": "signer", - "description": "GitHub user corresponding to the email signing this commit.", + "name": "node", + "description": "The item at the end of the edge.", "args": [], "type": { "kind": "OBJECT", - "name": "User", + "name": "Project", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ProjectOrder", + "description": "Ways in which lists of projects can be ordered upon return.", + "fields": null, + "inputFields": [ { - "name": "state", - "description": "The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.", - "args": [], + "name": "field", + "description": "The field in which to order projects by.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", - "name": "GitSignatureState", + "name": "ProjectOrderField", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "wasSignedByGitHub", - "description": "True if the signature was made with GitHub's signing key.", - "args": [], + "name": "direction", + "description": "The direction in which to order projects by the specified field.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "OrderDirection", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, "interfaces": null, "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "GpgSignature", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "SmimeSignature", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "UnknownSignature", - "ofType": null - } - ] + "possibleTypes": null }, { "kind": "ENUM", - "name": "GitSignatureState", - "description": "The state of a Git signature.", + "name": "ProjectOrderField", + "description": "Properties by which project connections can be ordered.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "VALID", - "description": "Valid signature and verified by GitHub.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INVALID", - "description": "Invalid signature.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MALFORMED_SIG", - "description": "Malformed signature.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNKNOWN_KEY", - "description": "Key used for signing not known to GitHub.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BAD_EMAIL", - "description": "Invalid email used for signing.", + "name": "CREATED_AT", + "description": "Order projects by creation time", "isDeprecated": false, "deprecationReason": null }, { - "name": "UNVERIFIED_EMAIL", - "description": "Email used for signing unverified on GitHub.", + "name": "UPDATED_AT", + "description": "Order projects by update time", "isDeprecated": false, "deprecationReason": null }, { - "name": "NO_USER", - "description": "Email used for signing not known to GitHub.", + "name": "NAME", + "description": "Order projects by name", "isDeprecated": false, "deprecationReason": null - }, + } + ], + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "X509Certificate", + "description": "A valid x509 certificate string", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrganizationIdentityProvider", + "description": "An Identity Provider configured to provision SAML and SCIM identities for Organizations", + "fields": [ { - "name": "UNKNOWN_SIG_TYPE", - "description": "Unknown signature type.", + "name": "digestMethod", + "description": "The digest algorithm used to sign SAML requests for the Identity Provider.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "UNSIGNED", - "description": "Unsigned.", + "name": "externalIdentities", + "description": "External Identities provisioned by this Identity Provider", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ExternalIdentityConnection", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "GPGVERIFY_UNAVAILABLE", - "description": "Internal error - the GPG verification service is unavailable at the moment.", + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "GPGVERIFY_ERROR", - "description": "Internal error - the GPG verification service misbehaved.", + "name": "idpCertificate", + "description": "The x509 certificate used by the Identity Provder to sign assertions and responses.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "X509Certificate", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "NOT_SIGNING_KEY", - "description": "The usage flags for the key that signed this don't allow signing.", + "name": "issuer", + "description": "The Issuer Entity ID for the SAML Identity Provider", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "EXPIRED_KEY", - "description": "Signing key expired.", + "name": "organization", + "description": "Organization this Identity Provider belongs to", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Organization", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "OCSP_PENDING", - "description": "Valid signature, pending certificate revocation checking", + "name": "signatureMethod", + "description": "The signature algorithm used to sign SAML requests for the Identity Provider.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "OCSP_ERROR", - "description": "Valid siganture, though certificate revocation check failed", + "name": "ssoUrl", + "description": "The URL endpoint for the Identity Provider's SAML SSO.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [ { - "name": "OCSP_REVOKED", - "description": "One or more certificates in chain has been revoked", - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "Node", + "ofType": null } ], + "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "Status", - "description": "Represents a commit status.", + "name": "ExternalIdentityConnection", + "description": "The connection type for ExternalIdentity.", "fields": [ { - "name": "commit", - "description": "The commit this status is attached to.", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "context", - "description": "Looks up an individual status context by context name.", - "args": [ - { - "name": "name", - "description": "The context name.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ExternalIdentityEdge", + "ofType": null } - ], - "type": { - "kind": "OBJECT", - "name": "StatusContext", - "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "contexts", - "description": "The individual status contexts for this commit.", + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "StatusContext", - "ofType": null - } - } + "kind": "OBJECT", + "name": "ExternalIdentity", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "PageInfo", "ofType": null } }, @@ -15459,15 +15062,15 @@ "deprecationReason": null }, { - "name": "state", - "description": "The combined commit status.", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "StatusState", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, @@ -15476,77 +15079,57 @@ } ], "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "ENUM", - "name": "StatusState", - "description": "The possible commit status states.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "EXPECTED", - "description": "Status is expected.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ERROR", - "description": "Status is errored.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FAILURE", - "description": "Status is failing.", - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "OBJECT", + "name": "ExternalIdentityEdge", + "description": "An edge in a connection.", + "fields": [ { - "name": "PENDING", - "description": "Status is pending.", + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "SUCCESS", - "description": "Status is successful.", + "name": "node", + "description": "The item at the end of the edge.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "ExternalIdentity", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null } ], + "inputFields": null, + "interfaces": [], + "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "StatusContext", - "description": "Represents an individual commit status context", + "name": "ExternalIdentity", + "description": "An external identity provisioned by SAML SSO or SCIM.", "fields": [ { - "name": "commit", - "description": "This commit this status context is attached to.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "context", - "description": "The name of this status context.", + "name": "guid", + "description": "The GUID for this identity", "args": [], "type": { "kind": "NON_NULL", @@ -15561,15 +15144,15 @@ "deprecationReason": null }, { - "name": "createdAt", - "description": "Identifies the date and time when the object was created.", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null } }, @@ -15577,68 +15160,48 @@ "deprecationReason": null }, { - "name": "creator", - "description": "The actor who created this status context.", + "name": "organizationInvitation", + "description": "Organization invitation for this SCIM-provisioned external identity", "args": [], "type": { - "kind": "INTERFACE", - "name": "Actor", + "kind": "OBJECT", + "name": "OrganizationInvitation", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "description", - "description": "The description for this status context.", + "name": "samlIdentity", + "description": "SAML Identity attributes", "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ExternalIdentitySamlAttributes", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "state", - "description": "The state of this status context.", + "name": "scimIdentity", + "description": "SCIM Identity attributes", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "StatusState", - "ofType": null - } + "kind": "OBJECT", + "name": "ExternalIdentityScimAttributes", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "targetUrl", - "description": "The URL for this status context.", + "name": "user", + "description": "User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.", "args": [], "type": { - "kind": "SCALAR", - "name": "URI", + "kind": "OBJECT", + "name": "User", "ofType": null }, "isDeprecated": false, @@ -15658,36 +15221,55 @@ }, { "kind": "OBJECT", - "name": "Bot", - "description": "A special type of user which takes actions on behalf of GitHub Apps.", + "name": "ExternalIdentitySamlAttributes", + "description": "SAML attributes for the External Identity", "fields": [ { - "name": "avatarUrl", - "description": "A URL pointing to the GitHub App's public avatar.", - "args": [ - { - "name": "size", - "description": "The size of the resulting square image.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "nameId", + "description": "The NameID of the SAML identity", + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ExternalIdentityScimAttributes", + "description": "SCIM attributes for the External Identity", + "fields": [ + { + "name": "username", + "description": "The userName of the SCIM identity", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrganizationInvitation", + "description": "An Invitation for a user to an organization.", + "fields": [ { "name": "createdAt", "description": "Identifies the date and time when the object was created.", @@ -15705,12 +15287,12 @@ "deprecationReason": null }, { - "name": "databaseId", - "description": "Identifies the primary key from the database.", + "name": "email", + "description": "The email address of the user invited to the organization.", "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -15733,15 +15315,15 @@ "deprecationReason": null }, { - "name": "login", - "description": "The username of the actor.", + "name": "invitationType", + "description": "The type of invitation that was sent (e.g. email, user).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "OrganizationInvitationType", "ofType": null } }, @@ -15749,15 +15331,27 @@ "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path for this bot", + "name": "invitee", + "description": "The user who was invited to the organization.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "inviter", + "description": "The user who created the invitation.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "URI", + "kind": "OBJECT", + "name": "User", "ofType": null } }, @@ -15765,15 +15359,15 @@ "deprecationReason": null }, { - "name": "updatedAt", - "description": "Identifies the date and time when the object was last updated.", + "name": "organization", + "description": "The organization the invite is for", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "Organization", "ofType": null } }, @@ -15781,15 +15375,15 @@ "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL for this bot", + "name": "role", + "description": "The user's pending role in the organization (e.g. member, owner).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "URI", + "kind": "ENUM", + "name": "OrganizationInvitationRole", "ofType": null } }, @@ -15803,127 +15397,84 @@ "kind": "INTERFACE", "name": "Node", "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Actor", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "UniformResourceLocatable", - "ofType": null } ], "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "Organization", - "description": "An account on GitHub, with one or more owners, that has repositories, members and teams.", - "fields": [ + "kind": "ENUM", + "name": "OrganizationInvitationType", + "description": "The possible organization invitation types.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "avatarUrl", - "description": "A URL pointing to the organization's public avatar.", - "args": [ - { - "name": "size", - "description": "The size of the resulting square image.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } - }, + "name": "USER", + "description": "The invitation was to an existing user.", "isDeprecated": false, "deprecationReason": null }, { - "name": "databaseId", - "description": "Identifies the primary key from the database.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, + "name": "EMAIL", + "description": "The invitation was to an email address.", "isDeprecated": false, "deprecationReason": null - }, + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrganizationInvitationRole", + "description": "The possible organization invitation roles.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "description", - "description": "The organization's public profile description.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, + "name": "DIRECT_MEMBER", + "description": "The user is invited to be a direct member of the organization.", "isDeprecated": false, "deprecationReason": null }, { - "name": "email", - "description": "The organization's public email.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, + "name": "ADMIN", + "description": "The user is invited to be an admin of the organization.", "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, + "name": "BILLING_MANAGER", + "description": "The user is invited to be a billing manager of the organization.", "isDeprecated": false, "deprecationReason": null }, { - "name": "location", - "description": "The organization's public profile location.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, + "name": "REINSTATE", + "description": "The user's previous role will be reinstated.", "isDeprecated": false, "deprecationReason": null - }, + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "TeamConnection", + "description": "The connection type for Team.", + "fields": [ { - "name": "login", - "description": "The organization's login name.", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "TeamEdge", "ofType": null } }, @@ -15931,56 +15482,15 @@ "deprecationReason": null }, { - "name": "members", - "description": "A list of users who are members of this organization.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "nodes", + "description": "A list of nodes.", + "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", - "name": "UserConnection", + "name": "Team", "ofType": null } }, @@ -15988,43 +15498,58 @@ "deprecationReason": null }, { - "name": "name", - "description": "The organization's public profile name.", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "newTeamResourcePath", - "description": "The HTTP path creating a new team", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "TeamEdge", + "description": "An edge in a connection.", + "fields": [ { - "name": "newTeamUrl", - "description": "The HTTP URL creating a new team", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, @@ -16032,20 +15557,31 @@ "deprecationReason": null }, { - "name": "organizationBillingEmail", - "description": "The billing email for the organization.", + "name": "node", + "description": "The item at the end of the edge.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Team", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Team", + "description": "A team of users in an organization.", + "fields": [ { - "name": "pinnedRepositories", - "description": "A list of repositories this user has pinned to their profile", + "name": "ancestors", + "description": "A list of teams that are ancestors of this team.", "args": [ { "name": "first", @@ -16059,7 +15595,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -16079,57 +15615,13 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null - }, - { - "name": "privacy", - "description": "If non-null, filters repositories according to privacy", - "type": { - "kind": "ENUM", - "name": "RepositoryPrivacy", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orderBy", - "description": "Ordering options for repositories returned from the connection", - "type": { - "kind": "INPUT_OBJECT", - "name": "RepositoryOrder", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "affiliations", - "description": "Affiliation options for repositories returned from the connection", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "RepositoryAffiliation", - "ofType": null - } - }, - "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" - }, - { - "name": "isLocked", - "description": "If non-null, filters repositories according to whether they have been locked", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null } ], "type": { @@ -16137,7 +15629,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "RepositoryConnection", + "name": "TeamConnection", "ofType": null } }, @@ -16145,35 +15637,31 @@ "deprecationReason": null }, { - "name": "project", - "description": "Find project by number.", + "name": "avatarUrl", + "description": "A URL pointing to the team's avatar.", "args": [ { - "name": "number", - "description": "The project number to find.", + "name": "size", + "description": "The size in pixels of the resulting square image.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, - "defaultValue": null + "defaultValue": "400" } ], "type": { - "kind": "OBJECT", - "name": "Project", + "kind": "SCALAR", + "name": "URI", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "projects", - "description": "A list of projects under the owner.", + "name": "childTeams", + "description": "List of child teams belonging to this team", "args": [ { "name": "first", @@ -16187,7 +15675,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -16207,7 +15695,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -16217,27 +15705,17 @@ }, { "name": "orderBy", - "description": "Ordering options for projects returned from the connection", + "description": "Order for connection", "type": { "kind": "INPUT_OBJECT", - "name": "ProjectOrder", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "search", - "description": "Query to search projects by, currently only searching by name.", - "type": { - "kind": "SCALAR", - "name": "String", + "name": "TeamOrder", "ofType": null }, "defaultValue": null }, { - "name": "states", - "description": "A list of states to filter the projects by.", + "name": "userLogins", + "description": "User logins to filter by", "type": { "kind": "LIST", "name": null, @@ -16245,13 +15723,23 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "ProjectState", + "kind": "SCALAR", + "name": "String", "ofType": null } } }, "defaultValue": null + }, + { + "name": "immediateOnly", + "description": "Whether to list immediate child teams or all descendant child teams.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "true" } ], "type": { @@ -16259,7 +15747,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnection", + "name": "TeamConnection", "ofType": null } }, @@ -16267,8 +15755,52 @@ "deprecationReason": null }, { - "name": "projectsResourcePath", - "description": "The HTTP path listing organization's projects", + "name": "combinedSlug", + "description": "The slug corresponding to the organization and team.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of the team.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "editTeamResourcePath", + "description": "The HTTP path for editing this team", "args": [], "type": { "kind": "NON_NULL", @@ -16283,8 +15815,8 @@ "deprecationReason": null }, { - "name": "projectsUrl", - "description": "The HTTP URL listing organization's projects", + "name": "editTeamUrl", + "description": "The HTTP URL for editing this team", "args": [], "type": { "kind": "NON_NULL", @@ -16299,8 +15831,24 @@ "deprecationReason": null }, { - "name": "repositories", - "description": "A list of repositories that the user owns.", + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "invitations", + "description": "A list of pending invitations for users to this team", "args": [ { "name": "first", @@ -16314,7 +15862,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -16334,64 +15882,103 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null - }, + } + ], + "type": { + "kind": "OBJECT", + "name": "OrganizationInvitationConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "members", + "description": "A list of users who are members of this team.", + "args": [ { - "name": "privacy", - "description": "If non-null, filters repositories according to privacy", + "name": "first", + "description": "Returns the first _n_ elements from the list.", "type": { - "kind": "ENUM", - "name": "RepositoryPrivacy", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null }, { - "name": "orderBy", - "description": "Ordering options for repositories returned from the connection", + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { - "kind": "INPUT_OBJECT", - "name": "RepositoryOrder", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "affiliations", - "description": "Affiliation options for repositories returned from the connection", + "name": "last", + "description": "Returns the last _n_ elements from the list.", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "RepositoryAffiliation", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, - "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" + "defaultValue": null }, { - "name": "isLocked", - "description": "If non-null, filters repositories according to whether they have been locked", + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "isFork", - "description": "If non-null, filters repositories according to whether they are forks of another repository", + "name": "query", + "description": "The search string to look for.", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "membership", + "description": "Filter by membership type", + "type": { + "kind": "ENUM", + "name": "TeamMembershipType", + "ofType": null + }, + "defaultValue": "ALL" + }, + { + "name": "role", + "description": "Filter by team member role", + "type": { + "kind": "ENUM", + "name": "TeamMemberRole", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Order for the connection.", + "type": { + "kind": "INPUT_OBJECT", + "name": "TeamMemberOrder", "ofType": null }, "defaultValue": null @@ -16402,7 +15989,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "RepositoryConnection", + "name": "TeamMemberConnection", "ofType": null } }, @@ -16410,35 +15997,72 @@ "deprecationReason": null }, { - "name": "repository", - "description": "Find Repository.", - "args": [ - { - "name": "name", - "description": "Name of Repository to find.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null + "name": "membersResourcePath", + "description": "The HTTP path for the team' members", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "membersUrl", + "description": "The HTTP URL for the team' members", + "args": [], "type": { - "kind": "OBJECT", - "name": "Repository", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the team.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "newTeamResourcePath", + "description": "The HTTP path creating a new team", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path for this user", + "name": "newTeamUrl", + "description": "The HTTP URL creating a new team", "args": [], "type": { "kind": "NON_NULL", @@ -16453,36 +16077,25 @@ "deprecationReason": null }, { - "name": "samlIdentityProvider", - "description": "The Organization's SAML Identity Providers", + "name": "organization", + "description": "The organization that owns this team.", "args": [], "type": { - "kind": "OBJECT", - "name": "OrganizationIdentityProvider", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Organization", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "team", - "description": "Find an organization's team by its slug.", - "args": [ - { - "name": "slug", - "description": "The name or slug of the team to find.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], + "name": "parentTeam", + "description": "The parent team of the team.", + "args": [], "type": { "kind": "OBJECT", "name": "Team", @@ -16492,8 +16105,24 @@ "deprecationReason": null }, { - "name": "teams", - "description": "A list of teams in this organization.", + "name": "privacy", + "description": "The level of privacy the team has.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "TeamPrivacy", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "repositories", + "description": "A list of repositories this team has access to.", "args": [ { "name": "first", @@ -16507,7 +16136,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -16527,7 +16156,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -16535,29 +16164,9 @@ }, "defaultValue": null }, - { - "name": "privacy", - "description": "If non-null, filters teams according to privacy", - "type": { - "kind": "ENUM", - "name": "TeamPrivacy", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "role", - "description": "If non-null, filters teams according to whether the viewer is an admin or member on team", - "type": { - "kind": "ENUM", - "name": "TeamRole", - "ofType": null - }, - "defaultValue": null - }, { "name": "query", - "description": "If non-null, filters teams with query on team name and team slug", + "description": "The search string to look for.", "type": { "kind": "SCALAR", "name": "String", @@ -16565,53 +16174,15 @@ }, "defaultValue": null }, - { - "name": "userLogins", - "description": "User logins to filter by", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, { "name": "orderBy", - "description": "Ordering options for teams returned from the connection", + "description": "Order for the connection.", "type": { "kind": "INPUT_OBJECT", - "name": "TeamOrder", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "ldapMapped", - "description": "If true, filters teams that are mapped to an LDAP Group (Enterprise only)", - "type": { - "kind": "SCALAR", - "name": "Boolean", + "name": "TeamRepositoryOrder", "ofType": null }, "defaultValue": null - }, - { - "name": "rootTeamsOnly", - "description": "If true, restrict to only root teams", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" } ], "type": { @@ -16619,7 +16190,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "TeamConnection", + "name": "TeamRepositoryConnection", "ofType": null } }, @@ -16627,8 +16198,8 @@ "deprecationReason": null }, { - "name": "teamsResourcePath", - "description": "The HTTP path listing organization's teams", + "name": "repositoriesResourcePath", + "description": "The HTTP path for this team's repositories", "args": [], "type": { "kind": "NON_NULL", @@ -16643,8 +16214,8 @@ "deprecationReason": null }, { - "name": "teamsUrl", - "description": "The HTTP URL listing organization's teams", + "name": "repositoriesUrl", + "description": "The HTTP URL for this team's repositories", "args": [], "type": { "kind": "NON_NULL", @@ -16659,8 +16230,8 @@ "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL for this user", + "name": "resourcePath", + "description": "The HTTP path for this team", "args": [], "type": { "kind": "NON_NULL", @@ -16675,31 +16246,15 @@ "deprecationReason": null }, { - "name": "viewerCanAdminister", - "description": "Organization is adminable by the viewer.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "viewerCanCreateProjects", - "description": "Can the current viewer create new projects on this owner.", + "name": "slug", + "description": "The slug corresponding to the team.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -16707,15 +16262,15 @@ "deprecationReason": null }, { - "name": "viewerCanCreateRepositories", - "description": "Viewer can create repositories on this organization", + "name": "teamsResourcePath", + "description": "The HTTP path for this team's teams", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "URI", "ofType": null } }, @@ -16723,15 +16278,15 @@ "deprecationReason": null }, { - "name": "viewerCanCreateTeams", - "description": "Viewer can create teams on this organization.", + "name": "teamsUrl", + "description": "The HTTP URL for this team's teams", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "URI", "ofType": null } }, @@ -16739,15 +16294,15 @@ "deprecationReason": null }, { - "name": "viewerIsAMember", - "description": "Viewer is an active member of this organization.", + "name": "updatedAt", + "description": "Identifies the date and time when the object was last updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, @@ -16755,69 +16310,9 @@ "deprecationReason": null }, { - "name": "websiteUrl", - "description": "The organization's public profile URL.", + "name": "url", + "description": "The HTTP URL for this team", "args": [], - "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Actor", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "ProjectOwner", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "RepositoryOwner", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "UniformResourceLocatable", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INTERFACE", - "name": "RepositoryOwner", - "description": "Represents an owner of a Repository.", - "fields": [ - { - "name": "avatarUrl", - "description": "A URL pointing to the owner's public avatar.", - "args": [ - { - "name": "size", - "description": "The size of the resulting square image.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], "type": { "kind": "NON_NULL", "name": null, @@ -16831,15 +16326,15 @@ "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "viewerCanAdminister", + "description": "Team is adminable by the viewer.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "Boolean", "ofType": null } }, @@ -16847,15 +16342,15 @@ "deprecationReason": null }, { - "name": "login", - "description": "The username used to login.", + "name": "viewerCanSubscribe", + "description": "Check if the viewer is able to change their subscription status for the repository.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -16863,254 +16358,49 @@ "deprecationReason": null }, { - "name": "pinnedRepositories", - "description": "A list of repositories this user has pinned to their profile", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "privacy", - "description": "If non-null, filters repositories according to privacy", - "type": { - "kind": "ENUM", - "name": "RepositoryPrivacy", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orderBy", - "description": "Ordering options for repositories returned from the connection", - "type": { - "kind": "INPUT_OBJECT", - "name": "RepositoryOrder", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "affiliations", - "description": "Affiliation options for repositories returned from the connection", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "RepositoryAffiliation", - "ofType": null - } - }, - "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" - }, - { - "name": "isLocked", - "description": "If non-null, filters repositories according to whether they have been locked", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "viewerSubscription", + "description": "Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.", + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RepositoryConnection", - "ofType": null - } + "kind": "ENUM", + "name": "SubscriptionState", + "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [ { - "name": "repositories", - "description": "A list of repositories that the user owns.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "privacy", - "description": "If non-null, filters repositories according to privacy", - "type": { - "kind": "ENUM", - "name": "RepositoryPrivacy", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orderBy", - "description": "Ordering options for repositories returned from the connection", - "type": { - "kind": "INPUT_OBJECT", - "name": "RepositoryOrder", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "affiliations", - "description": "Affiliation options for repositories returned from the connection", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "RepositoryAffiliation", - "ofType": null - } - }, - "defaultValue": "[\"OWNER\", \"COLLABORATOR\"]" - }, - { - "name": "isLocked", - "description": "If non-null, filters repositories according to whether they have been locked", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "isFork", - "description": "If non-null, filters repositories according to whether they are forks of another repository", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RepositoryConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "Node", + "ofType": null }, { - "name": "repository", - "description": "Find Repository.", - "args": [ - { - "name": "name", - "description": "Name of Repository to find.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Repository", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "INTERFACE", + "name": "Subscribable", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "Subscribable", + "description": "Entities that can be subscribed to for web and email notifications.", + "fields": [ { - "name": "resourcePath", - "description": "The HTTP URL for the owner.", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "ID", "ofType": null } }, @@ -17118,20 +16408,32 @@ "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL for the owner.", + "name": "viewerCanSubscribe", + "description": "Check if the viewer is able to change their subscription status for the repository.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "viewerSubscription", + "description": "Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.", + "args": [], + "type": { + "kind": "ENUM", + "name": "SubscriptionState", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -17140,20 +16442,87 @@ "possibleTypes": [ { "kind": "OBJECT", - "name": "Organization", + "name": "Commit", "ofType": null }, { "kind": "OBJECT", - "name": "User", + "name": "Issue", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PullRequest", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Team", "ofType": null } ] }, + { + "kind": "ENUM", + "name": "SubscriptionState", + "description": "The possible states of a subscription.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "UNSUBSCRIBED", + "description": "The User is only notified when particpating or @mentioned.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIBED", + "description": "The User is notified of all conversations.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IGNORED", + "description": "The User is never notified.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "TeamPrivacy", + "description": "The possible team privacy values.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "SECRET", + "description": "A secret team can only be seen by its members.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VISIBLE", + "description": "A visible team can be seen and @mentioned by every member of the organization.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", - "name": "RepositoryConnection", - "description": "A list of repositories owned by the subject.", + "name": "TeamMemberConnection", + "description": "The connection type for User.", "fields": [ { "name": "edges", @@ -17164,7 +16533,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "RepositoryEdge", + "name": "TeamMemberEdge", "ofType": null } }, @@ -17180,7 +16549,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Repository", + "name": "User", "ofType": null } }, @@ -17218,22 +16587,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "totalDiskUsage", - "description": "The total size in kilobytes of all repositories in the connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -17243,8 +16596,8 @@ }, { "kind": "OBJECT", - "name": "RepositoryEdge", - "description": "An edge in a connection.", + "name": "TeamMemberEdge", + "description": "Represents a user who is a member of a team.", "fields": [ { "name": "cursor", @@ -17262,14 +16615,66 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "memberAccessResourcePath", + "description": "The HTTP path to the organization's member access page.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "memberAccessUrl", + "description": "The HTTP URL to the organization's member access page.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "node", - "description": "The item at the end of the edge.", + "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "Repository", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": "The role the member has on the team.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "TeamMemberRole", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -17282,21 +16687,50 @@ }, { "kind": "ENUM", - "name": "RepositoryPrivacy", - "description": "The privacy of a repository", + "name": "TeamMemberRole", + "description": "The possible team member roles; either 'maintainer' or 'member'.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "PUBLIC", - "description": "Public", + "name": "MAINTAINER", + "description": "A team maintainer has permission to add and remove team members.", "isDeprecated": false, "deprecationReason": null }, { - "name": "PRIVATE", - "description": "Private", + "name": "MEMBER", + "description": "A team member has no administrative permissions on the team.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "TeamMembershipType", + "description": "Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "IMMEDIATE", + "description": "Includes only immediate members of the team.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CHILD_TEAM", + "description": "Includes only child team members for the team.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ALL", + "description": "Includes immediate and child team members for the team.", "isDeprecated": false, "deprecationReason": null } @@ -17305,19 +16739,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "RepositoryOrder", - "description": "Ordering options for repository connections", + "name": "TeamMemberOrder", + "description": "Ordering options for team member connections", "fields": null, "inputFields": [ { "name": "field", - "description": "The field to order repositories by.", + "description": "The field to order team members by.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", - "name": "RepositoryOrderField", + "name": "TeamMemberOrderField", "ofType": null } }, @@ -17344,68 +16778,21 @@ }, { "kind": "ENUM", - "name": "RepositoryOrderField", - "description": "Properties by which repository connections can be ordered.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "CREATED_AT", - "description": "Order repositories by creation time", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UPDATED_AT", - "description": "Order repositories by update time", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PUSHED_AT", - "description": "Order repositories by push time", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NAME", - "description": "Order repositories by name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "STARGAZERS", - "description": "Order repositories by number of stargazers", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "RepositoryAffiliation", - "description": "The affiliation of a user to a repository", + "name": "TeamMemberOrderField", + "description": "Properties by which team member connections can be ordered.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "OWNER", - "description": "Repositories that are owned by the authenticated user.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "COLLABORATOR", - "description": "Repositories that the user has been added to as a collaborator.", + "name": "LOGIN", + "description": "Order team members by login", "isDeprecated": false, "deprecationReason": null }, { - "name": "ORGANIZATION_MEMBER", - "description": "Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.", + "name": "CREATED_AT", + "description": "Order team members by creation time", "isDeprecated": false, "deprecationReason": null } @@ -17414,31 +16801,35 @@ }, { "kind": "OBJECT", - "name": "MarketplaceListing", - "description": "A listing in the GitHub integration marketplace.", + "name": "TeamRepositoryConnection", + "description": "The connection type for Repository.", "fields": [ { - "name": "companyUrl", - "description": "URL to the listing owner's company site.", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TeamRepositoryEdge", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "configurationResourcePath", - "description": "The HTTP path for configuring access to the listing's integration or OAuth app", + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "URI", + "kind": "OBJECT", + "name": "Repository", "ofType": null } }, @@ -17446,15 +16837,15 @@ "deprecationReason": null }, { - "name": "configurationUrl", - "description": "The HTTP URL for configuring access to the listing's integration or OAuth app", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "URI", + "kind": "OBJECT", + "name": "PageInfo", "ofType": null } }, @@ -17462,48 +16853,35 @@ "deprecationReason": null }, { - "name": "documentationUrl", - "description": "URL to the listing's documentation.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "extendedDescription", - "description": "The listing's detailed description.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "extendedDescriptionHTML", - "description": "The listing's detailed description rendered to HTML.", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "HTML", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "TeamRepositoryEdge", + "description": "Represents a team repository.", + "fields": [ { - "name": "fullDescription", - "description": "The listing's introductory description.", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", @@ -17518,15 +16896,15 @@ "deprecationReason": null }, { - "name": "fullDescriptionHTML", - "description": "The listing's introductory description rendered to HTML.", + "name": "node", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "HTML", + "kind": "OBJECT", + "name": "Repository", "ofType": null } }, @@ -17534,75 +16912,157 @@ "deprecationReason": null }, { - "name": "hasApprovalBeenRequested", - "description": "Whether this listing has been submitted for review from GitHub for approval to be displayed in the Marketplace.", + "name": "permission", + "description": "The permission level the team has on the repository", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "RepositoryPermission", "ofType": null } }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "RepositoryPermission", + "description": "The access level to a repository", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ADMIN", + "description": "Can read, clone, push, and add collaborators", + "isDeprecated": false, + "deprecationReason": null }, { - "name": "hasPublishedFreeTrialPlans", - "description": "Does this listing have any plans with a free trial?", - "args": [], + "name": "WRITE", + "description": "Can read, clone and push", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "READ", + "description": "Can read and clone", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "TeamRepositoryOrder", + "description": "Ordering options for team repository connections", + "fields": null, + "inputFields": [ + { + "name": "field", + "description": "The field to order repositories by.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "TeamRepositoryOrderField", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "hasTermsOfService", - "description": "Does this listing have a terms of service link?", - "args": [], + "name": "direction", + "description": "The ordering direction.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "OrderDirection", "ofType": null } }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "TeamRepositoryOrderField", + "description": "Properties by which team repository connections can be ordered.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Order repositories by creation time", "isDeprecated": false, "deprecationReason": null }, { - "name": "howItWorks", - "description": "A technical description of how this app works with GitHub.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, + "name": "UPDATED_AT", + "description": "Order repositories by update time", "isDeprecated": false, "deprecationReason": null }, { - "name": "howItWorksHTML", - "description": "The listing's technical description rendered to HTML.", + "name": "PUSHED_AT", + "description": "Order repositories by push time", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NAME", + "description": "Order repositories by name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PERMISSION", + "description": "Order repositories by permission", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STARGAZERS", + "description": "Order repositories by number of stargazers", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrganizationInvitationConnection", + "description": "The connection type for OrganizationInvitation.", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "HTML", + "kind": "OBJECT", + "name": "OrganizationInvitationEdge", "ofType": null } }, @@ -17610,15 +17070,15 @@ "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "OrganizationInvitation", "ofType": null } }, @@ -17626,43 +17086,58 @@ "deprecationReason": null }, { - "name": "installationUrl", - "description": "URL to install the product to the viewer's account or organization.", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "installedForViewer", - "description": "Whether this listing's app has been installed for the current viewer", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrganizationInvitationEdge", + "description": "An edge in a connection.", + "fields": [ { - "name": "isApproved", - "description": "Whether this listing has been approved for display in the Marketplace.", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -17670,40 +17145,87 @@ "deprecationReason": null }, { - "name": "isDelisted", - "description": "Whether this listing has been removed from the Marketplace.", + "name": "node", + "description": "The item at the end of the edge.", "args": [], + "type": { + "kind": "OBJECT", + "name": "OrganizationInvitation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "TeamOrder", + "description": "Ways in which team connections can be ordered.", + "fields": null, + "inputFields": [ + { + "name": "field", + "description": "The field in which to order nodes by.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "TeamOrderField", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "isDraft", - "description": "Whether this listing is still an editable draft that has not been submitted for review and is not publicly visible in the Marketplace.", - "args": [], + "name": "direction", + "description": "The direction in which to order nodes.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "OrderDirection", "ofType": null } }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "TeamOrderField", + "description": "Properties by which team connections can be ordered.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "NAME", + "description": "Allows ordering a list of teams by name.", "isDeprecated": false, "deprecationReason": null - }, + } + ], + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "Deletable", + "description": "Entities that can be deleted.", + "fields": [ { - "name": "isPaid", - "description": "Whether the product this listing represents is available as part of a paid plan.", + "name": "viewerCanDelete", + "description": "Check if the current viewer can delete this object.", "args": [], "type": { "kind": "NON_NULL", @@ -17716,17 +17238,66 @@ }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "CommitComment", + "ofType": null }, { - "name": "isRejected", - "description": "Whether this listing has been rejected by GitHub for display in the Marketplace.", + "kind": "OBJECT", + "name": "GistComment", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "IssueComment", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PullRequestReview", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PullRequestReviewComment", + "ofType": null + } + ] + }, + { + "kind": "INTERFACE", + "name": "Reactable", + "description": "Represents a subject that can be reacted on.", + "fields": [ + { + "name": "databaseId", + "description": "Identifies the primary key from the database.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } }, @@ -17734,70 +17305,165 @@ "deprecationReason": null }, { - "name": "logoBackgroundColor", - "description": "The hex color code, without the leading '#', for the logo background.", + "name": "reactionGroups", + "description": "A list of reactions grouped by content left on the subject.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReactionGroup", + "ofType": null + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "logoUrl", - "description": "URL for the listing's logo image.", + "name": "reactions", + "description": "A list of Reactions left on the Issue.", "args": [ { - "name": "size", - "description": "The size in pixels of the resulting square image.", + "name": "first", + "description": "Returns the first _n_ elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, - "defaultValue": "400" + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "content", + "description": "Allows filtering Reactions by emoji.", + "type": { + "kind": "ENUM", + "name": "ReactionContent", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Allows specifying the order in which reactions are returned.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ReactionOrder", + "ofType": null + }, + "defaultValue": null } ], "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReactionConnection", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "name", - "description": "The listing's full name.", + "name": "viewerCanReact", + "description": "Can user react to this subject", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "CommitComment", + "ofType": null }, { - "name": "normalizedShortDescription", - "description": "The listing's very short description without a trailing period or ampersands.", + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "IssueComment", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PullRequest", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PullRequestReviewComment", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "ReactionGroup", + "description": "A group of emoji reactions to a particular piece of content.", + "fields": [ + { + "name": "content", + "description": "Identifies the emoji reaction.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "ReactionContent", "ofType": null } }, @@ -17805,27 +17471,27 @@ "deprecationReason": null }, { - "name": "pricingUrl", - "description": "URL to the listing's detailed pricing.", + "name": "createdAt", + "description": "Identifies when the reaction was created.", "args": [], "type": { "kind": "SCALAR", - "name": "URI", + "name": "DateTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "primaryCategory", - "description": "The category that best describes the listing.", + "name": "subject", + "description": "The subject that was reacted to.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "MarketplaceCategory", + "kind": "INTERFACE", + "name": "Reactable", "ofType": null } }, @@ -17833,15 +17499,56 @@ "deprecationReason": null }, { - "name": "privacyPolicyUrl", - "description": "URL to the listing's privacy policy.", - "args": [], + "name": "users", + "description": "Users who have reacted to the reaction subject with the emotion represented by this reaction group", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "URI", + "kind": "OBJECT", + "name": "ReactingUserConnection", "ofType": null } }, @@ -17849,63 +17556,89 @@ "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path for the Marketplace listing.", + "name": "viewerHasReacted", + "description": "Whether or not the authenticated user has left a reaction on the subject.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ReactionContent", + "description": "Emojis that can be attached to Issues, Pull Requests and Comments.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "THUMBS_UP", + "description": "Represents the 👍 emoji.", + "isDeprecated": false, + "deprecationReason": null }, { - "name": "screenshotUrls", - "description": "The URLs for the listing's screenshots.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, + "name": "THUMBS_DOWN", + "description": "Represents the 👎 emoji.", "isDeprecated": false, "deprecationReason": null }, { - "name": "secondaryCategory", - "description": "An alternate category that describes the listing.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "MarketplaceCategory", - "ofType": null - }, + "name": "LAUGH", + "description": "Represents the 😄 emoji.", "isDeprecated": false, "deprecationReason": null }, { - "name": "shortDescription", - "description": "The listing's very short description.", + "name": "HOORAY", + "description": "Represents the 🎉 emoji.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CONFUSED", + "description": "Represents the 😕 emoji.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HEART", + "description": "Represents the ❤️ emoji.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReactingUserConnection", + "description": "The connection type for User.", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ReactingUserEdge", "ofType": null } }, @@ -17913,15 +17646,15 @@ "deprecationReason": null }, { - "name": "slug", - "description": "The short name of the listing used in its URL.", + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "User", "ofType": null } }, @@ -17929,39 +17662,58 @@ "deprecationReason": null }, { - "name": "statusUrl", - "description": "URL to the listing's status page.", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "supportEmail", - "description": "An email address for support for this listing's app.", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReactingUserEdge", + "description": "Represents a user that's made a reaction.", + "fields": [ { - "name": "supportUrl", - "description": "Either a URL or an email address for support for this listing's app.", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, @@ -17969,43 +17721,58 @@ "deprecationReason": null }, { - "name": "termsOfServiceUrl", - "description": "URL to the listing's terms of service.", + "name": "node", + "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL for the Marketplace listing.", + "name": "reactedAt", + "description": "The moment when the user made the reaction.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReactionConnection", + "description": "A list of reactions that have been left on the subject.", + "fields": [ { - "name": "viewerCanAddPlans", - "description": "Can the current viewer add plans for this Marketplace listing.", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "ReactionEdge", "ofType": null } }, @@ -18013,15 +17780,15 @@ "deprecationReason": null }, { - "name": "viewerCanApprove", - "description": "Can the current viewer approve this Marketplace listing.", + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "Reaction", "ofType": null } }, @@ -18029,15 +17796,15 @@ "deprecationReason": null }, { - "name": "viewerCanDelist", - "description": "Can the current viewer delist this Marketplace listing.", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "PageInfo", "ofType": null } }, @@ -18045,15 +17812,15 @@ "deprecationReason": null }, { - "name": "viewerCanEdit", - "description": "Can the current viewer edit this Marketplace listing.", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, @@ -18061,8 +17828,8 @@ "deprecationReason": null }, { - "name": "viewerCanEditCategories", - "description": "Can the current viewer edit the primary and secondary category of this\nMarketplace listing.\n", + "name": "viewerHasReacted", + "description": "Whether or not the authenticated user has left a reaction on the subject.", "args": [], "type": { "kind": "NON_NULL", @@ -18075,17 +17842,28 @@ }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReactionEdge", + "description": "An edge in a connection.", + "fields": [ { - "name": "viewerCanEditPlans", - "description": "Can the current viewer edit the plans for this Marketplace listing.", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -18093,15 +17871,38 @@ "deprecationReason": null }, { - "name": "viewerCanRedraft", - "description": "Can the current viewer return this Marketplace listing to draft state\nso it becomes editable again.\n", + "name": "node", + "description": "The item at the end of the edge.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Reaction", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Reaction", + "description": "An emoji reaction to a particular piece of content.", + "fields": [ + { + "name": "content", + "description": "Identifies the emoji reaction.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "ReactionContent", "ofType": null } }, @@ -18109,15 +17910,15 @@ "deprecationReason": null }, { - "name": "viewerCanReject", - "description": "Can the current viewer reject this Marketplace listing by returning it to\nan editable draft state or rejecting it entirely.\n", + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, @@ -18125,15 +17926,27 @@ "deprecationReason": null }, { - "name": "viewerCanRequestApproval", - "description": "Can the current viewer request this listing be reviewed for display in\nthe Marketplace.\n", + "name": "databaseId", + "description": "Identifies the primary key from the database.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } }, @@ -18141,15 +17954,15 @@ "deprecationReason": null }, { - "name": "viewerHasPurchased", - "description": "Indicates whether the current user has an active subscription to this Marketplace listing.\n", + "name": "reactable", + "description": "The reactable piece of content", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INTERFACE", + "name": "Reactable", "ofType": null } }, @@ -18157,53 +17970,147 @@ "deprecationReason": null }, { - "name": "viewerHasPurchasedForAllOrganizations", - "description": "Indicates if the current user has purchased a subscription to this Marketplace listing\nfor all of the organizations the user owns.\n", + "name": "user", + "description": "Identifies the user who created this reaction.", "args": [], + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ReactionOrder", + "description": "Ways in which lists of reactions can be ordered upon return.", + "fields": null, + "inputFields": [ + { + "name": "field", + "description": "The field in which to order reactions by.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "ReactionOrderField", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "viewerIsListingAdmin", - "description": "Does the current viewer role allow them to administer this Marketplace listing.\n", - "args": [], + "name": "direction", + "description": "The direction in which to order reactions by the specified field.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "OrderDirection", "ofType": null } }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ReactionOrderField", + "description": "A list of fields that reactions can be ordered by.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Allows ordering a list of reactions by when they were created.", "isDeprecated": false, "deprecationReason": null } ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DefaultRepositoryPermissionField", + "description": "The possible default permissions for repositories.", + "fields": null, "inputFields": null, - "interfaces": [ + "interfaces": null, + "enumValues": [ { - "kind": "INTERFACE", - "name": "Node", - "ofType": null + "name": "NONE", + "description": "No access", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "READ", + "description": "Can read repos by default", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WRITE", + "description": "Can read and write repos by default", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADMIN", + "description": "Can read, write, and administrate repos by default", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "TeamRole", + "description": "The role of a user on a team.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ADMIN", + "description": "User has admin rights on the team.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MEMBER", + "description": "User is a member of the team.", + "isDeprecated": false, + "deprecationReason": null } ], - "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "OrganizationConnection", - "description": "The connection type for Organization.", + "name": "GistConnection", + "description": "The connection type for Gist.", "fields": [ { "name": "edges", @@ -18214,7 +18121,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "OrganizationEdge", + "name": "GistEdge", "ofType": null } }, @@ -18230,7 +18137,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Organization", + "name": "Gist", "ofType": null } }, @@ -18277,7 +18184,7 @@ }, { "kind": "OBJECT", - "name": "OrganizationEdge", + "name": "GistEdge", "description": "An edge in a connection.", "fields": [ { @@ -18302,7 +18209,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "Organization", + "name": "Gist", "ofType": null }, "isDeprecated": false, @@ -18316,43 +18223,60 @@ }, { "kind": "OBJECT", - "name": "MarketplaceCategory", - "description": "A public description of a Marketplace category.", + "name": "Gist", + "description": "A Gist.", "fields": [ { - "name": "description", - "description": "The category's description.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "howItWorks", - "description": "The technical description of how apps listed in this category work with GitHub.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], + "name": "comments", + "description": "A list of comments associated with the gist", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "GistCommentConnection", "ofType": null } }, @@ -18360,15 +18284,15 @@ "deprecationReason": null }, { - "name": "name", - "description": "The category's name.", + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, @@ -18376,31 +18300,27 @@ "deprecationReason": null }, { - "name": "primaryListingCount", - "description": "How many Marketplace listings have this as their primary category.", + "name": "description", + "description": "The gist description.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path for this Marketplace category.", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "ID", "ofType": null } }, @@ -18408,15 +18328,15 @@ "deprecationReason": null }, { - "name": "secondaryListingCount", - "description": "How many Marketplace listings have this as their secondary category.", + "name": "isPublic", + "description": "Whether the gist is public or not.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, @@ -18424,8 +18344,8 @@ "deprecationReason": null }, { - "name": "slug", - "description": "The short name of the category used in its URL.", + "name": "name", + "description": "The gist name.", "args": [], "type": { "kind": "NON_NULL", @@ -18440,80 +18360,90 @@ "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL for this Marketplace category.", + "name": "owner", + "description": "The gist owner.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } + "kind": "INTERFACE", + "name": "RepositoryOwner", + "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LanguageConnection", - "description": "A list of languages associated with the parent.", - "fields": [ + }, { - "name": "edges", - "description": "A list of edges.", + "name": "pushedAt", + "description": "Identifies when the gist was last pushed to.", "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LanguageEdge", - "ofType": null - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Language", - "ofType": null + "name": "stargazers", + "description": "A list of users who have starred this starrable.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Order for connection", + "type": { + "kind": "INPUT_OBJECT", + "name": "StarOrder", + "ofType": null + }, + "defaultValue": null } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "PageInfo", + "name": "StargazerConnection", "ofType": null } }, @@ -18521,15 +18451,15 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "updatedAt", + "description": "Identifies the date and time when the object was last updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, @@ -18537,15 +18467,15 @@ "deprecationReason": null }, { - "name": "totalSize", - "description": "The total size in bytes of files written in that language.", + "name": "viewerHasStarred", + "description": "Returns a boolean indicating whether the viewing user has starred this starrable.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, @@ -18554,17 +18484,28 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "Starrable", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "LanguageEdge", - "description": "Represents the language of a repository.", + "kind": "INTERFACE", + "name": "Starrable", + "description": "Things that can be starred.", "fields": [ { - "name": "cursor", + "name": "id", "description": null, "args": [], "type": { @@ -18572,7 +18513,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -18580,15 +18521,66 @@ "deprecationReason": null }, { - "name": "node", - "description": null, - "args": [], + "name": "stargazers", + "description": "A list of users who have starred this starrable.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Order for connection", + "type": { + "kind": "INPUT_OBJECT", + "name": "StarOrder", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "Language", + "name": "StargazerConnection", "ofType": null } }, @@ -18596,15 +18588,15 @@ "deprecationReason": null }, { - "name": "size", - "description": "The number of bytes of code written in the language.", + "name": "viewerHasStarred", + "description": "Returns a boolean indicating whether the viewing user has starred this starrable.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, @@ -18613,95 +18605,25 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Language", - "description": "Represents a given language found in repositories.", - "fields": [ - { - "name": "color", - "description": "The color defined for the current language.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, + "possibleTypes": [ { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null + "kind": "OBJECT", + "name": "Gist", + "ofType": null }, { - "name": "name", - "description": "The name of the current language.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", + "kind": "OBJECT", + "name": "Repository", "ofType": null } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Date", - "description": "An ISO-8601 encoded date string.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Float", - "description": "Represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null + ] }, { "kind": "OBJECT", - "name": "ProjectConnection", - "description": "A list of projects associated with the owner.", + "name": "StargazerConnection", + "description": "The connection type for User.", "fields": [ { "name": "edges", @@ -18712,7 +18634,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectEdge", + "name": "StargazerEdge", "ofType": null } }, @@ -18728,7 +18650,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Project", + "name": "User", "ofType": null } }, @@ -18775,8 +18697,8 @@ }, { "kind": "OBJECT", - "name": "ProjectEdge", - "description": "An edge in a connection.", + "name": "StargazerEdge", + "description": "Represents a user that's starred a repository.", "fields": [ { "name": "cursor", @@ -18796,12 +18718,32 @@ }, { "name": "node", - "description": "The item at the end of the edge.", + "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "Project", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "starredAt", + "description": "Identifies when the item was starred.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -18814,19 +18756,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "ProjectOrder", - "description": "Ways in which lists of projects can be ordered upon return.", + "name": "StarOrder", + "description": "Ways in which star connections can be ordered.", "fields": null, "inputFields": [ { "name": "field", - "description": "The field in which to order projects by.", + "description": "The field in which to order nodes by.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", - "name": "ProjectOrderField", + "name": "StarOrderField", "ofType": null } }, @@ -18834,7 +18776,7 @@ }, { "name": "direction", - "description": "The direction in which to order projects by the specified field.", + "description": "The direction in which to order nodes.", "type": { "kind": "NON_NULL", "name": null, @@ -18853,209 +18795,25 @@ }, { "kind": "ENUM", - "name": "ProjectOrderField", - "description": "Properties by which project connections can be ordered.", + "name": "StarOrderField", + "description": "Properties by which star connections can be ordered.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "CREATED_AT", - "description": "Order projects by creation time", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UPDATED_AT", - "description": "Order projects by update time", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NAME", - "description": "Order projects by name", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "X509Certificate", - "description": "A valid x509 certificate string", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganizationIdentityProvider", - "description": "An Identity Provider configured to provision SAML and SCIM identities for Organizations", - "fields": [ - { - "name": "digestMethod", - "description": "The digest algorithm used to sign SAML requests for the Identity Provider.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalIdentities", - "description": "External Identities provisioned by this Identity Provider", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ExternalIdentityConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "idpCertificate", - "description": "The x509 certificate used by the Identity Provder to sign assertions and responses.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "X509Certificate", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "issuer", - "description": "The Issuer Entity ID for the SAML Identity Provider", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organization", - "description": "Organization this Identity Provider belongs to", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "signatureMethod", - "description": "The signature algorithm used to sign SAML requests for the Identity Provider.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ssoUrl", - "description": "The URL endpoint for the Identity Provider's SAML SSO.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - }, + "name": "STARRED_AT", + "description": "Allows ordering a list of stars by when they were created.", "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "ExternalIdentityConnection", - "description": "The connection type for ExternalIdentity.", + "name": "GistCommentConnection", + "description": "The connection type for GistComment.", "fields": [ { "name": "edges", @@ -19066,7 +18824,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ExternalIdentityEdge", + "name": "GistCommentEdge", "ofType": null } }, @@ -19082,7 +18840,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ExternalIdentity", + "name": "GistComment", "ofType": null } }, @@ -19129,7 +18887,7 @@ }, { "kind": "OBJECT", - "name": "ExternalIdentityEdge", + "name": "GistCommentEdge", "description": "An edge in a connection.", "fields": [ { @@ -19140,8 +18898,59 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of the edge.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "GistComment", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GistComment", + "description": "Represents a comment on an Gist.", + "fields": [ + { + "name": "author", + "description": "The actor who authored the comment.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "Actor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "authorAssociation", + "description": "Author's association with the gist.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CommentAuthorAssociation", "ofType": null } }, @@ -19149,38 +18958,31 @@ "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", + "name": "body", + "description": "Identifies the comment body.", "args": [], "type": { - "kind": "OBJECT", - "name": "ExternalIdentity", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ExternalIdentity", - "description": "An external identity provisioned by SAML SSO or SCIM.", - "fields": [ + }, { - "name": "guid", - "description": "The GUID for this identity", + "name": "bodyHTML", + "description": "The comment body rendered to HTML.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "HTML", "ofType": null } }, @@ -19188,15 +18990,15 @@ "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "bodyText", + "description": "The body rendered to text.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, @@ -19204,126 +19006,103 @@ "deprecationReason": null }, { - "name": "organizationInvitation", - "description": "Organization invitation for this SCIM-provisioned external identity", + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", "args": [], "type": { - "kind": "OBJECT", - "name": "OrganizationInvitation", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "samlIdentity", - "description": "SAML Identity attributes", + "name": "createdViaEmail", + "description": "Check if this comment was created via an email reply.", "args": [], "type": { - "kind": "OBJECT", - "name": "ExternalIdentitySamlAttributes", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "scimIdentity", - "description": "SCIM Identity attributes", + "name": "databaseId", + "description": "Identifies the primary key from the database.", "args": [], "type": { - "kind": "OBJECT", - "name": "ExternalIdentityScimAttributes", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user", - "description": "User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.", + "name": "editor", + "description": "The actor who edited the comment.", "args": [], "type": { - "kind": "OBJECT", - "name": "User", + "kind": "INTERFACE", + "name": "Actor", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ExternalIdentitySamlAttributes", - "description": "SAML attributes for the External Identity", - "fields": [ + }, { - "name": "nameId", - "description": "The NameID of the SAML identity", + "name": "gist", + "description": "The associated gist.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Gist", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ExternalIdentityScimAttributes", - "description": "SCIM attributes for the External Identity", - "fields": [ + }, { - "name": "username", - "description": "The userName of the SCIM identity", + "name": "id", + "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganizationInvitation", - "description": "An Invitation for a user to an organization.", - "fields": [ + }, { - "name": "createdAt", - "description": "Identifies the date and time when the object was created.", + "name": "includesCreatedEdit", + "description": "Check if this comment was edited and includes an edit with the creation data", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } }, @@ -19331,43 +19110,39 @@ "deprecationReason": null }, { - "name": "email", - "description": "The email address of the user invited to the organization.", + "name": "lastEditedAt", + "description": "The moment the editor made the last edit", "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "publishedAt", + "description": "Identifies when the comment was published at.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "invitationType", - "description": "The type of invitation that was sent (e.g. email, user).", + "name": "updatedAt", + "description": "Identifies the date and time when the object was last updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "OrganizationInvitationType", + "kind": "SCALAR", + "name": "DateTime", "ofType": null } }, @@ -19375,27 +19150,68 @@ "deprecationReason": null }, { - "name": "invitee", - "description": "The user who was invited to the organization.", - "args": [], + "name": "userContentEdits", + "description": "A list of edits to this content.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "OBJECT", - "name": "User", + "name": "UserContentEditConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "inviter", - "description": "The user who created the invitation.", + "name": "viewerCanDelete", + "description": "Check if the current viewer can delete this object.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "User", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -19403,15 +19219,15 @@ "deprecationReason": null }, { - "name": "organization", - "description": "The organization the invite is for", + "name": "viewerCanUpdate", + "description": "Check if the current viewer can update this object.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Organization", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -19419,15 +19235,39 @@ "deprecationReason": null }, { - "name": "role", - "description": "The user's pending role in the organization (e.g. member, owner).", + "name": "viewerCannotUpdateReasons", + "description": "Reasons why the current viewer can not update this comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "OrganizationInvitationRole", + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CommentCannotUpdateReason", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "viewerDidAuthor", + "description": "Did the viewer author this comment.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -19441,63 +19281,54 @@ "kind": "INTERFACE", "name": "Node", "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "OrganizationInvitationType", - "description": "The possible organization invitation types.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + }, { - "name": "USER", - "description": "The invitation was to an existing user.", - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "Comment", + "ofType": null }, { - "name": "EMAIL", - "description": "The invitation was to an email address.", - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "Deletable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "Updatable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "UpdatableComment", + "ofType": null } ], + "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", - "name": "OrganizationInvitationRole", - "description": "The possible organization invitation roles.", + "name": "GistPrivacy", + "description": "The privacy of a Gist", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "DIRECT_MEMBER", - "description": "The user is invited to be a direct member of the organization.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ADMIN", - "description": "The user is invited to be an admin of the organization.", + "name": "PUBLIC", + "description": "Public", "isDeprecated": false, "deprecationReason": null }, { - "name": "BILLING_MANAGER", - "description": "The user is invited to be a billing manager of the organization.", + "name": "SECRET", + "description": "Secret", "isDeprecated": false, "deprecationReason": null }, { - "name": "REINSTATE", - "description": "The user's previous role will be reinstated.", + "name": "ALL", + "description": "Gists that are public and secret", "isDeprecated": false, "deprecationReason": null } @@ -19505,175 +19336,88 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "TeamConnection", - "description": "The connection type for Team.", - "fields": [ - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TeamEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Team", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "INPUT_OBJECT", + "name": "GistOrder", + "description": "Ordering options for gist connections", + "fields": null, + "inputFields": [ { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], + "name": "field", + "description": "The field to order repositories by.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "ENUM", + "name": "GistOrderField", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", - "args": [], + "name": "direction", + "description": "The ordering direction.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "OrderDirection", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "TeamEdge", - "description": "An edge in a connection.", - "fields": [ + "kind": "ENUM", + "name": "GistOrderField", + "description": "Properties by which gist connections can be ordered.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, + "name": "CREATED_AT", + "description": "Order gists by creation time", "isDeprecated": false, "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Team", - "ofType": null - }, + "name": "UPDATED_AT", + "description": "Order gists by update time", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PUSHED_AT", + "description": "Order gists by push time", "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], - "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "Team", - "description": "A team of users in an organization.", + "name": "RepositoryInvitationEdge", + "description": "An edge in a connection.", "fields": [ { - "name": "ancestors", - "description": "A list of teams that are ancestors of this team.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "TeamConnection", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -19681,117 +19425,70 @@ "deprecationReason": null }, { - "name": "avatarUrl", - "description": "A URL pointing to the team's avatar.", - "args": [ - { - "name": "size", - "description": "The size in pixels of the resulting square image.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "400" - } - ], + "name": "node", + "description": "The item at the end of the edge.", + "args": [], "type": { - "kind": "SCALAR", - "name": "URI", + "kind": "OBJECT", + "name": "RepositoryInvitation", "ofType": null }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "RepositoryInvitation", + "description": "An invitation for a user to be added to a repository.", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "childTeams", - "description": "List of child teams belonging to this team", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orderBy", - "description": "Order for connection", - "type": { - "kind": "INPUT_OBJECT", - "name": "TeamOrder", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "userLogins", - "description": "User logins to filter by", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "immediateOnly", - "description": "Whether to list immediate child teams or all descendant child teams.", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" + "name": "invitee", + "description": "The user who received the invitation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "inviter", + "description": "The user who created the invitation.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "TeamConnection", + "name": "User", "ofType": null } }, @@ -19799,21 +19496,50 @@ "deprecationReason": null }, { - "name": "combinedSlug", - "description": "The slug corresponding to the organization and team.", + "name": "permission", + "description": "The permission granted on this repository by this invitation.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "RepositoryPermission", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, + { + "name": "repository", + "description": "The Repository the user is invited to.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "RepositoryInfo", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "RepositoryInfo", + "description": "A subset of repository info.", + "fields": [ { "name": "createdAt", "description": "Identifies the date and time when the object was created.", @@ -19832,7 +19558,7 @@ }, { "name": "description", - "description": "The description of the team.", + "description": "The description of the repository.", "args": [], "type": { "kind": "SCALAR", @@ -19843,15 +19569,15 @@ "deprecationReason": null }, { - "name": "editTeamResourcePath", - "description": "The HTTP path for editing this team", + "name": "descriptionHTML", + "description": "The description of the repository rendered to HTML.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "HTML", "ofType": null } }, @@ -19859,15 +19585,15 @@ "deprecationReason": null }, { - "name": "editTeamUrl", - "description": "The HTTP URL for editing this team", + "name": "forkCount", + "description": "Returns how many forks there are of this repository in the whole network.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Int", "ofType": null } }, @@ -19875,15 +19601,15 @@ "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "hasIssuesEnabled", + "description": "Indicates if the repository has issues feature enabled.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "Boolean", "ofType": null } }, @@ -19891,149 +19617,43 @@ "deprecationReason": null }, { - "name": "invitations", - "description": "A list of pending invitations for users to this team", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null + "name": "hasWikiEnabled", + "description": "Indicates if the repository has wiki feature enabled.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "homepageUrl", + "description": "The repository's URL.", + "args": [], "type": { - "kind": "OBJECT", - "name": "OrganizationInvitationConnection", + "kind": "SCALAR", + "name": "URI", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "members", - "description": "A list of users who are members of this team.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "query", - "description": "The search string to look for.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "membership", - "description": "Filter by membership type", - "type": { - "kind": "ENUM", - "name": "TeamMembershipType", - "ofType": null - }, - "defaultValue": "ALL" - }, - { - "name": "role", - "description": "Filter by team member role", - "type": { - "kind": "ENUM", - "name": "TeamMemberRole", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orderBy", - "description": "Order for the connection.", - "type": { - "kind": "INPUT_OBJECT", - "name": "TeamMemberOrder", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "isArchived", + "description": "Indicates if the repository is unmaintained.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "TeamMemberConnection", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -20041,15 +19661,15 @@ "deprecationReason": null }, { - "name": "membersResourcePath", - "description": "The HTTP path for the team' members", + "name": "isFork", + "description": "Identifies if the repository is a fork.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -20057,15 +19677,15 @@ "deprecationReason": null }, { - "name": "membersUrl", - "description": "The HTTP URL for the team' members", + "name": "isLocked", + "description": "Indicates if the repository has been locked or not.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -20073,15 +19693,15 @@ "deprecationReason": null }, { - "name": "name", - "description": "The name of the team.", + "name": "isMirror", + "description": "Identifies if the repository is a mirror.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -20089,15 +19709,15 @@ "deprecationReason": null }, { - "name": "newTeamResourcePath", - "description": "The HTTP path creating a new team", + "name": "isPrivate", + "description": "Identifies if the repository is private.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -20105,59 +19725,51 @@ "deprecationReason": null }, { - "name": "newTeamUrl", - "description": "The HTTP URL creating a new team", + "name": "licenseInfo", + "description": "The license associated with the repository", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } + "kind": "OBJECT", + "name": "License", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "organization", - "description": "The organization that owns this team.", + "name": "lockReason", + "description": "The reason the repository has been locked.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - } + "kind": "ENUM", + "name": "RepositoryLockReason", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "parentTeam", - "description": "The parent team of the team.", + "name": "mirrorUrl", + "description": "The repository's original mirror URL.", "args": [], "type": { - "kind": "OBJECT", - "name": "Team", + "kind": "SCALAR", + "name": "URI", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "privacy", - "description": "The level of privacy the team has.", + "name": "name", + "description": "The name of the repository.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "TeamPrivacy", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -20165,76 +19777,31 @@ "deprecationReason": null }, { - "name": "repositories", - "description": "A list of repositories this team has access to.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "query", - "description": "The search string to look for.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orderBy", - "description": "Order for the connection.", - "type": { - "kind": "INPUT_OBJECT", - "name": "TeamRepositoryOrder", - "ofType": null - }, - "defaultValue": null + "name": "nameWithOwner", + "description": "The repository's name with owner.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "owner", + "description": "The User owner of the repository.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "TeamRepositoryConnection", + "kind": "INTERFACE", + "name": "RepositoryOwner", "ofType": null } }, @@ -20242,24 +19809,20 @@ "deprecationReason": null }, { - "name": "repositoriesResourcePath", - "description": "The HTTP path for this team's repositories", + "name": "pushedAt", + "description": "Identifies when the repository was last pushed to.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "repositoriesUrl", - "description": "The HTTP URL for this team's repositories", + "name": "resourcePath", + "description": "The HTTP path for this repository", "args": [], "type": { "kind": "NON_NULL", @@ -20274,15 +19837,26 @@ "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path for this team", - "args": [], + "name": "shortDescriptionHTML", + "description": "A description of the repository, rendered to HTML without any links in it.", + "args": [ + { + "name": "limit", + "description": "How many characters to return.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": "200" + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "HTML", "ofType": null } }, @@ -20290,15 +19864,15 @@ "deprecationReason": null }, { - "name": "slug", - "description": "The slug corresponding to the team.", + "name": "updatedAt", + "description": "Identifies the date and time when the object was last updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, @@ -20306,8 +19880,8 @@ "deprecationReason": null }, { - "name": "teamsResourcePath", - "description": "The HTTP path for this team's teams", + "name": "url", + "description": "The HTTP URL for this repository", "args": [], "type": { "kind": "NON_NULL", @@ -20320,17 +19894,69 @@ }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + } + ] + }, + { + "kind": "ENUM", + "name": "RepositoryLockReason", + "description": "The possible reasons a given repository could be in a locked state.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "MOVING", + "description": "The repository is locked due to a move.", + "isDeprecated": false, + "deprecationReason": null }, { - "name": "teamsUrl", - "description": "The HTTP URL for this team's teams", + "name": "BILLING", + "description": "The repository is locked due to a billing related reason.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RENAME", + "description": "The repository is locked due to a rename.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MIGRATING", + "description": "The repository is locked due to a migration.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "License", + "description": "A repository's open source license", + "fields": [ + { + "name": "body", + "description": "The full text of the license", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, @@ -20338,31 +19964,47 @@ "deprecationReason": null }, { - "name": "updatedAt", - "description": "Identifies the date and time when the object was last updated.", + "name": "conditions", + "description": "The conditions set by the license", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LicenseRule", + "ofType": null + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL for this team", + "name": "description", + "description": "A human-readable description of the license", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "featured", + "description": "Whether the license should be featured", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -20370,8 +20012,8 @@ "deprecationReason": null }, { - "name": "viewerCanAdminister", - "description": "Team is adminable by the viewer.", + "name": "hidden", + "description": "Whether the license should be displayed in license pickers", "args": [], "type": { "kind": "NON_NULL", @@ -20386,15 +20028,15 @@ "deprecationReason": null }, { - "name": "viewerCanSubscribe", - "description": "Check if the viewer is able to change their subscription status for the repository.", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } }, @@ -20402,88 +20044,63 @@ "deprecationReason": null }, { - "name": "viewerSubscription", - "description": "Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.", + "name": "implementation", + "description": "Instructions on how to implement the license", "args": [], "type": { - "kind": "ENUM", - "name": "SubscriptionState", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null }, { - "kind": "INTERFACE", - "name": "Subscribable", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "TeamPrivacy", - "description": "The possible team privacy values.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SECRET", - "description": "A secret team can only be seen by its members.", + "name": "key", + "description": "The lowercased SPDX ID of the license", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "VISIBLE", - "description": "A visible team can be seen and @mentioned by every member of the organization.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TeamMemberConnection", - "description": "The connection type for User.", - "fields": [ - { - "name": "edges", - "description": "A list of edges.", + "name": "limitations", + "description": "The limitations set by the license", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "TeamMemberEdge", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LicenseRule", + "ofType": null + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "name", + "description": "The license full name specified by ", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "User", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -20491,51 +20108,97 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "nickname", + "description": "Customary short name if applicable (e.g, GPLv3)", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "permissions", + "description": "The permissions set by the license", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LicenseRule", + "ofType": null + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "pseudoLicense", + "description": "Whether the license is a pseudo-license placeholder (e.g., other, no-license)", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "spdxId", + "description": "Short identifier specified by ", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "URL to the license on ", + "args": [], + "type": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "TeamMemberEdge", - "description": "Represents a user who is a member of a team.", + "name": "LicenseRule", + "description": "Describes a License's conditions, permissions, and limitations", "fields": [ { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "description", + "description": "A description of the rule", "args": [], "type": { "kind": "NON_NULL", @@ -20550,15 +20213,15 @@ "deprecationReason": null }, { - "name": "memberAccessResourcePath", - "description": "The HTTP path to the organization's member access page.", + "name": "key", + "description": "The machine-readable rule key", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, @@ -20566,47 +20229,42 @@ "deprecationReason": null }, { - "name": "memberAccessUrl", - "description": "The HTTP URL to the organization's member access page.", + "name": "label", + "description": "The human-readable rule label", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "RepositoryNode", + "description": "Represents a object that belongs to a repository.", + "fields": [ { - "name": "node", - "description": null, + "name": "repository", + "description": "The repository associated with this node.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "role", - "description": "The role the member has on the team.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "TeamMemberRole", + "name": "Repository", "ofType": null } }, @@ -20615,139 +20273,200 @@ } ], "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "TeamMemberRole", - "description": "The possible team member roles; either 'maintainer' or 'member'.", - "fields": null, - "inputFields": null, "interfaces": null, - "enumValues": [ + "enumValues": null, + "possibleTypes": [ { - "name": "MAINTAINER", - "description": "A team maintainer has permission to add and remove team members.", - "isDeprecated": false, - "deprecationReason": null + "kind": "OBJECT", + "name": "CommitComment", + "ofType": null }, { - "name": "MEMBER", - "description": "A team member has no administrative permissions on the team.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "TeamMembershipType", - "description": "Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + "kind": "OBJECT", + "name": "CommitCommentThread", + "ofType": null + }, { - "name": "IMMEDIATE", - "description": "Includes only immediate members of the team.", - "isDeprecated": false, - "deprecationReason": null + "kind": "OBJECT", + "name": "Issue", + "ofType": null }, { - "name": "CHILD_TEAM", - "description": "Includes only child team members for the team.", - "isDeprecated": false, - "deprecationReason": null + "kind": "OBJECT", + "name": "IssueComment", + "ofType": null }, { - "name": "ALL", - "description": "Includes immediate and child team members for the team.", - "isDeprecated": false, - "deprecationReason": null + "kind": "OBJECT", + "name": "PullRequest", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PullRequestReview", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PullRequestReviewComment", + "ofType": null } - ], - "possibleTypes": null + ] }, { - "kind": "INPUT_OBJECT", - "name": "TeamMemberOrder", - "description": "Ordering options for team member connections", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "Ref", + "description": "Represents a Git reference.", + "fields": [ { - "name": "field", - "description": "The field to order team members by.", + "name": "associatedPullRequests", + "description": "A list of pull requests with this ref as the head ref.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "states", + "description": "A list of states to filter the pull requests by.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PullRequestState", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "labels", + "description": "A list of label names to filter the pull requests by.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "headRefName", + "description": "The head ref name to filter the pull requests by.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "baseRefName", + "description": "The base ref name to filter the pull requests by.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Ordering options for pull requests returned from the connection.", + "type": { + "kind": "INPUT_OBJECT", + "name": "IssueOrder", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "TeamMemberOrderField", + "kind": "OBJECT", + "name": "PullRequestConnection", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "direction", - "description": "The ordering direction.", + "name": "id", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "OrderDirection", + "kind": "SCALAR", + "name": "ID", "ofType": null } }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "TeamMemberOrderField", - "description": "Properties by which team member connections can be ordered.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "LOGIN", - "description": "Order team members by login", "isDeprecated": false, "deprecationReason": null }, { - "name": "CREATED_AT", - "description": "Order team members by creation time", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TeamRepositoryConnection", - "description": "The connection type for Repository.", - "fields": [ - { - "name": "edges", - "description": "A list of edges.", + "name": "name", + "description": "The ref name.", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "TeamRepositoryEdge", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -20755,15 +20474,15 @@ "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "prefix", + "description": "The ref's prefix, such as `refs/heads/` or `refs/tags/`.", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Repository", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -20771,15 +20490,15 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "repository", + "description": "The repository the ref belongs to.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "PageInfo", + "name": "Repository", "ofType": null } }, @@ -20787,15 +20506,15 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "target", + "description": "The object the ref points to.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "INTERFACE", + "name": "GitObject", "ofType": null } }, @@ -20804,18 +20523,24 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "TeamRepositoryEdge", - "description": "Represents a team repository.", + "kind": "INTERFACE", + "name": "GitObject", + "description": "Represents a Git object.", "fields": [ { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "abbreviatedOid", + "description": "An abbreviated version of the Git object ID", "args": [], "type": { "kind": "NON_NULL", @@ -20830,15 +20555,15 @@ "deprecationReason": null }, { - "name": "node", - "description": null, + "name": "commitResourcePath", + "description": "The HTTP path for this Git object", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Repository", + "kind": "SCALAR", + "name": "URI", "ofType": null } }, @@ -20846,157 +20571,121 @@ "deprecationReason": null }, { - "name": "permission", - "description": "The permission level the team has on the repository", + "name": "commitUrl", + "description": "The HTTP URL for this Git object", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "RepositoryPermission", + "kind": "SCALAR", + "name": "URI", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "RepositoryPermission", - "description": "The access level to a repository", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "ADMIN", - "description": "Can read, clone, push, and add collaborators", - "isDeprecated": false, - "deprecationReason": null }, { - "name": "WRITE", - "description": "Can read, clone and push", + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "READ", - "description": "Can read and clone", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TeamRepositoryOrder", - "description": "Ordering options for team repository connections", - "fields": null, - "inputFields": [ - { - "name": "field", - "description": "The field to order repositories by.", + "name": "oid", + "description": "The Git object ID", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "TeamRepositoryOrderField", + "kind": "SCALAR", + "name": "GitObjectID", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "direction", - "description": "The ordering direction.", + "name": "repository", + "description": "The Repository the Git object belongs to", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "OrderDirection", + "kind": "OBJECT", + "name": "Repository", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "TeamRepositoryOrderField", - "description": "Properties by which team repository connections can be ordered.", - "fields": null, "inputFields": null, "interfaces": null, - "enumValues": [ - { - "name": "CREATED_AT", - "description": "Order repositories by creation time", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UPDATED_AT", - "description": "Order repositories by update time", - "isDeprecated": false, - "deprecationReason": null - }, + "enumValues": null, + "possibleTypes": [ { - "name": "PUSHED_AT", - "description": "Order repositories by push time", - "isDeprecated": false, - "deprecationReason": null + "kind": "OBJECT", + "name": "Blob", + "ofType": null }, { - "name": "NAME", - "description": "Order repositories by name", - "isDeprecated": false, - "deprecationReason": null + "kind": "OBJECT", + "name": "Commit", + "ofType": null }, { - "name": "PERMISSION", - "description": "Order repositories by permission", - "isDeprecated": false, - "deprecationReason": null + "kind": "OBJECT", + "name": "Tag", + "ofType": null }, { - "name": "STARGAZERS", - "description": "Order repositories by number of stargazers", - "isDeprecated": false, - "deprecationReason": null + "kind": "OBJECT", + "name": "Tree", + "ofType": null } - ], + ] + }, + { + "kind": "SCALAR", + "name": "GitObjectID", + "description": "A Git object ID.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "OrganizationInvitationConnection", - "description": "The connection type for OrganizationInvitation.", + "name": "Blob", + "description": "Represents a Git blob.", "fields": [ { - "name": "edges", - "description": "A list of edges.", + "name": "abbreviatedOid", + "description": "An abbreviated version of the Git object ID", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "OrganizationInvitationEdge", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -21004,15 +20693,15 @@ "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "byteSize", + "description": "Byte size of Blob object", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "OrganizationInvitation", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, @@ -21020,15 +20709,15 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "commitResourcePath", + "description": "The HTTP path for this Git object", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "SCALAR", + "name": "URI", "ofType": null } }, @@ -21036,42 +20725,31 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "commitUrl", + "description": "The HTTP URL for this Git object", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "URI", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganizationInvitationEdge", - "description": "An edge in a connection.", - "fields": [ + }, { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -21079,152 +20757,113 @@ "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", + "name": "isBinary", + "description": "Indicates whether the Blob is binary or text", "args": [], "type": { - "kind": "OBJECT", - "name": "OrganizationInvitation", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TeamOrder", - "description": "Ways in which team connections can be ordered.", - "fields": null, - "inputFields": [ + }, { - "name": "field", - "description": "The field in which to order nodes by.", + "name": "isTruncated", + "description": "Indicates whether the contents is truncated", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "TeamOrderField", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "direction", - "description": "The direction in which to order nodes.", + "name": "oid", + "description": "The Git object ID", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "OrderDirection", + "kind": "SCALAR", + "name": "GitObjectID", "ofType": null } }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "TeamOrderField", - "description": "Properties by which team connections can be ordered.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "NAME", - "description": "Allows ordering a list of teams by name.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "DefaultRepositoryPermissionField", - "description": "The possible default permissions for repositories.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "NONE", - "description": "No access", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "READ", - "description": "Can read repos by default", "isDeprecated": false, "deprecationReason": null }, { - "name": "WRITE", - "description": "Can read and write repos by default", + "name": "repository", + "description": "The Repository the Git object belongs to", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "ADMIN", - "description": "Can read, write, and administrate repos by default", + "name": "text", + "description": "UTF8 text data or null if the Blob is binary", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null } ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "TeamRole", - "description": "The role of a user on a team.", - "fields": null, "inputFields": null, - "interfaces": null, - "enumValues": [ + "interfaces": [ { - "name": "ADMIN", - "description": "User has admin rights on the team.", - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "Node", + "ofType": null }, { - "name": "MEMBER", - "description": "User is a member of the team.", - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "GitObject", + "ofType": null } ], + "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "GistConnection", - "description": "The connection type for Gist.", + "name": "Commit", + "description": "Represents a Git commit.", "fields": [ { - "name": "edges", - "description": "A list of edges.", + "name": "abbreviatedOid", + "description": "An abbreviated version of the Git object ID", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "GistEdge", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -21232,15 +20871,15 @@ "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "additions", + "description": "The number of additions in this commit.", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Gist", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, @@ -21248,15 +20887,27 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "author", + "description": "Authorship details of the commit.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "GitActor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "authoredByCommitter", + "description": "Check if the committer and the author match.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -21264,42 +20915,46 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "authoredDate", + "description": "The datetime when this commit was authored.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GistEdge", - "description": "An edge in a connection.", - "fields": [ + }, { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], + "name": "blame", + "description": "Fetches `git blame` information.", + "args": [ + { + "name": "path", + "description": "The file whose Git blame information you want.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Blame", "ofType": null } }, @@ -21307,31 +20962,24 @@ "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", + "name": "changedFiles", + "description": "The number of changed files in this commit.", "args": [], "type": { - "kind": "OBJECT", - "name": "Gist", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Gist", - "description": "A Gist.", - "fields": [ + }, { "name": "comments", - "description": "A list of comments associated with the gist", + "description": "Comments made on the commit.", "args": [ { "name": "first", @@ -21345,7 +20993,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -21365,7 +21013,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -21379,7 +21027,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "GistCommentConnection", + "name": "CommitCommentConnection", "ofType": null } }, @@ -21387,15 +21035,15 @@ "deprecationReason": null }, { - "name": "createdAt", - "description": "Identifies the date and time when the object was created.", + "name": "commitResourcePath", + "description": "The HTTP path for this Git object", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "URI", "ofType": null } }, @@ -21403,27 +21051,15 @@ "deprecationReason": null }, { - "name": "description", - "description": "The gist description.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, + "name": "commitUrl", + "description": "The HTTP URL for this Git object", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "URI", "ofType": null } }, @@ -21431,15 +21067,15 @@ "deprecationReason": null }, { - "name": "isPublic", - "description": "Whether the gist is public or not.", + "name": "committedDate", + "description": "The datetime when this commit was committed.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, @@ -21447,15 +21083,15 @@ "deprecationReason": null }, { - "name": "name", - "description": "The gist name.", + "name": "committedViaWeb", + "description": "Check if commited via GitHub web UI.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -21463,32 +21099,36 @@ "deprecationReason": null }, { - "name": "owner", - "description": "The gist owner.", + "name": "committer", + "description": "Committership details of the commit.", "args": [], "type": { - "kind": "INTERFACE", - "name": "RepositoryOwner", + "kind": "OBJECT", + "name": "GitActor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "pushedAt", - "description": "Identifies when the gist was last pushed to.", + "name": "deletions", + "description": "The number of deletions in this commit.", "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "stargazers", - "description": "A list of users who have starred this starrable.", + "name": "history", + "description": "The linear commit history starting from (and including) this commit, in the same order as `git log`.", "args": [ { "name": "first", @@ -21502,7 +21142,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -21522,7 +21162,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -21531,11 +21171,41 @@ "defaultValue": null }, { - "name": "orderBy", - "description": "Order for connection", + "name": "path", + "description": "If non-null, filters history to only show commits touching files under this path.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "author", + "description": "If non-null, filters history to only show commits with matching authorship.", "type": { "kind": "INPUT_OBJECT", - "name": "StarOrder", + "name": "CommitAuthor", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "since", + "description": "Allows specifying a beginning time or date for fetching commits.", + "type": { + "kind": "SCALAR", + "name": "GitTimestamp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "until", + "description": "Allows specifying an ending time or date for fetching commits.", + "type": { + "kind": "SCALAR", + "name": "GitTimestamp", "ofType": null }, "defaultValue": null @@ -21546,7 +21216,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "StargazerConnection", + "name": "CommitHistoryConnection", "ofType": null } }, @@ -21554,15 +21224,15 @@ "deprecationReason": null }, { - "name": "updatedAt", - "description": "Identifies the date and time when the object was last updated.", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null } }, @@ -21570,53 +21240,63 @@ "deprecationReason": null }, { - "name": "viewerHasStarred", - "description": "Returns a boolean indicating whether the viewing user has starred this starrable.", + "name": "message", + "description": "The Git commit message", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ + }, { - "kind": "INTERFACE", - "name": "Node", - "ofType": null + "name": "messageBody", + "description": "The Git commit message body", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null }, { - "kind": "INTERFACE", - "name": "Starrable", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INTERFACE", - "name": "Starrable", - "description": "Things that can be starred.", - "fields": [ + "name": "messageBodyHTML", + "description": "The commit message body rendered to HTML.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "HTML", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { - "name": "id", - "description": null, + "name": "messageHeadline", + "description": "The Git commit message headline", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, @@ -21624,8 +21304,40 @@ "deprecationReason": null }, { - "name": "stargazers", - "description": "A list of users who have starred this starrable.", + "name": "messageHeadlineHTML", + "description": "The commit message headline rendered to HTML.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "HTML", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "oid", + "description": "The Git object ID", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "GitObjectID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parents", + "description": "The parents of a commit.", "args": [ { "name": "first", @@ -21639,7 +21351,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -21659,23 +21371,13 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null - }, - { - "name": "orderBy", - "description": "Order for connection", - "type": { - "kind": "INPUT_OBJECT", - "name": "StarOrder", - "ofType": null - }, - "defaultValue": null } ], "type": { @@ -21683,7 +21385,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "StargazerConnection", + "name": "CommitConnection", "ofType": null } }, @@ -21691,8 +21393,156 @@ "deprecationReason": null }, { - "name": "viewerHasStarred", - "description": "Returns a boolean indicating whether the viewing user has starred this starrable.", + "name": "pushedDate", + "description": "The datetime when this commit was pushed.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "repository", + "description": "The Repository this commit belongs to", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resourcePath", + "description": "The HTTP path for this commit", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "signature", + "description": "Commit signing information, if present.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "GitSignature", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "Status information for this commit", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Status", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tarballUrl", + "description": "Returns a URL to download a tarball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tree", + "description": "Commit's root Tree", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Tree", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "treeResourcePath", + "description": "The HTTP path for the tree of this commit", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "treeUrl", + "description": "The HTTP URL for the tree of this commit", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The HTTP URL for this commit", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "viewerCanSubscribe", + "description": "Check if the viewer is able to change their subscription status for the repository.", "args": [], "type": { "kind": "NON_NULL", @@ -21705,39 +21555,72 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "viewerSubscription", + "description": "Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.", + "args": [], + "type": { + "kind": "ENUM", + "name": "SubscriptionState", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zipballUrl", + "description": "Returns a URL to download a zipball archive for a repository.\nNote: For private repositories, these links are temporary and expire after five minutes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ + "interfaces": [ { - "kind": "OBJECT", - "name": "Gist", + "kind": "INTERFACE", + "name": "Node", "ofType": null }, { - "kind": "OBJECT", - "name": "Repository", + "kind": "INTERFACE", + "name": "GitObject", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "Subscribable", "ofType": null } - ] + ], + "enumValues": null, + "possibleTypes": null }, { "kind": "OBJECT", - "name": "StargazerConnection", - "description": "The connection type for User.", + "name": "Tree", + "description": "Represents a Git tree.", "fields": [ - { - "name": "edges", - "description": "A list of edges.", + { + "name": "abbreviatedOid", + "description": "An abbreviated version of the Git object ID", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "StargazerEdge", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -21745,15 +21628,15 @@ "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "commitResourcePath", + "description": "The HTTP path for this Git object", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "User", + "kind": "SCALAR", + "name": "URI", "ofType": null } }, @@ -21761,15 +21644,15 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "commitUrl", + "description": "The HTTP URL for this Git object", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "SCALAR", + "name": "URI", "ofType": null } }, @@ -21777,42 +21660,35 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "entries", + "description": "A list of tree entries.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TreeEntry", + "ofType": null + } } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "StargazerEdge", - "description": "Represents a user that's starred a repository.", - "fields": [ + }, { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -21820,15 +21696,15 @@ "deprecationReason": null }, { - "name": "node", - "description": null, + "name": "oid", + "description": "The Git object ID", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "User", + "kind": "SCALAR", + "name": "GitObjectID", "ofType": null } }, @@ -21836,15 +21712,15 @@ "deprecationReason": null }, { - "name": "starredAt", - "description": "Identifies when the item was starred.", + "name": "repository", + "description": "The Repository the Git object belongs to", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "Repository", "ofType": null } }, @@ -21853,97 +21729,80 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "GitObject", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "StarOrder", - "description": "Ways in which star connections can be ordered.", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "TreeEntry", + "description": "Represents a Git tree entry.", + "fields": [ { - "name": "field", - "description": "The field in which to order nodes by.", + "name": "mode", + "description": "Entry file mode.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "StarOrderField", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "direction", - "description": "The direction in which to order nodes.", + "name": "name", + "description": "Entry file name.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "OrderDirection", + "kind": "SCALAR", + "name": "String", "ofType": null } }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "StarOrderField", - "description": "Properties by which star connections can be ordered.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "STARRED_AT", - "description": "Allows ordering a list of stars by when they were created.", "isDeprecated": false, "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GistCommentConnection", - "description": "The connection type for GistComment.", - "fields": [ + }, { - "name": "edges", - "description": "A list of edges.", + "name": "object", + "description": "Entry file object.", "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GistCommentEdge", - "ofType": null - } + "kind": "INTERFACE", + "name": "GitObject", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "oid", + "description": "Entry file Git object ID.", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "GistComment", + "kind": "SCALAR", + "name": "GitObjectID", "ofType": null } }, @@ -21951,15 +21810,15 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "repository", + "description": "The Repository the tree entry belongs to", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "PageInfo", + "name": "Repository", "ofType": null } }, @@ -21967,15 +21826,15 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "type", + "description": "Entry file type.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, @@ -21990,19 +21849,30 @@ }, { "kind": "OBJECT", - "name": "GistCommentEdge", - "description": "An edge in a connection.", + "name": "GitActor", + "description": "Represents an actor in a Git commit (ie. an author or committer).", "fields": [ { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], + "name": "avatarUrl", + "description": "A URL pointing to the author's public avatar.", + "args": [ + { + "name": "size", + "description": "The size of the resulting square image.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "URI", "ofType": null } }, @@ -22010,66 +21880,84 @@ "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", + "name": "date", + "description": "The timestamp of the Git action (authoring or committing).", "args": [], "type": { - "kind": "OBJECT", - "name": "GistComment", + "kind": "SCALAR", + "name": "GitTimestamp", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GistComment", - "description": "Represents a comment on an Gist.", - "fields": [ + }, { - "name": "author", - "description": "The actor who authored the comment.", + "name": "email", + "description": "The email in the Git commit.", "args": [], "type": { - "kind": "INTERFACE", - "name": "Actor", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "authorAssociation", - "description": "Author's association with the gist.", + "name": "name", + "description": "The name in the Git commit.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CommentAuthorAssociation", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "body", - "description": "Identifies the comment body.", + "name": "user", + "description": "The GitHub user corresponding to the email field. Null if no such user exists.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "OBJECT", + "name": "User", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "GitTimestamp", + "description": "An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CommitConnection", + "description": "The connection type for Commit.", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "CommitEdge", "ofType": null } }, @@ -22077,15 +21965,15 @@ "deprecationReason": null }, { - "name": "bodyHTML", - "description": "The comment body rendered to HTML.", + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "HTML", + "kind": "OBJECT", + "name": "Commit", "ofType": null } }, @@ -22093,15 +21981,15 @@ "deprecationReason": null }, { - "name": "bodyText", - "description": "The body rendered to text.", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "PageInfo", "ofType": null } }, @@ -22109,31 +21997,42 @@ "deprecationReason": null }, { - "name": "createdAt", - "description": "Identifies the date and time when the object was created.", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CommitEdge", + "description": "An edge in a connection.", + "fields": [ { - "name": "createdViaEmail", - "description": "Check if this comment was created via an email reply.", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -22141,39 +22040,54 @@ "deprecationReason": null }, { - "name": "databaseId", - "description": "Identifies the primary key from the database.", + "name": "node", + "description": "The item at the end of the edge.", "args": [], "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Commit", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CommitHistoryConnection", + "description": "The connection type for Commit.", + "fields": [ { - "name": "editor", - "description": "The actor who edited the comment.", + "name": "edges", + "description": null, "args": [], "type": { - "kind": "INTERFACE", - "name": "Actor", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CommitEdge", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "gist", - "description": "The associated gist.", + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", - "name": "Gist", + "name": "Commit", "ofType": null } }, @@ -22181,15 +22095,15 @@ "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "PageInfo", "ofType": null } }, @@ -22197,124 +22111,81 @@ "deprecationReason": null }, { - "name": "includesCreatedEdit", - "description": "Check if this comment was edited and includes an edit with the creation data", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "lastEditedAt", - "description": "The moment the editor made the last edit", - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CommitAuthor", + "description": "Specifies an author for filtering Git commits.", + "fields": null, + "inputFields": [ { - "name": "publishedAt", - "description": "Identifies when the comment was published at.", - "args": [], + "name": "id", + "description": "ID of a User to filter by. If non-null, only commits authored by this user will be returned. This field takes precedence over emails.", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "updatedAt", - "description": "Identifies the date and time when the object was last updated.", - "args": [], + "name": "emails", + "description": "Email addresses to filter by. Commits authored by any of the specified email addresses will be returned.", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userContentEdits", - "description": "A list of edits to this content.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { "kind": "SCALAR", "name": "String", "ofType": null - }, - "defaultValue": null + } } - ], - "type": { - "kind": "OBJECT", - "name": "UserContentEditConnection", - "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CommitCommentConnection", + "description": "The connection type for CommitComment.", + "fields": [ { - "name": "viewerCanDelete", - "description": "Check if the current viewer can delete this object.", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "CommitCommentEdge", "ofType": null } }, @@ -22322,15 +22193,15 @@ "deprecationReason": null }, { - "name": "viewerCanUpdate", - "description": "Check if the current viewer can update this object.", + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "CommitComment", "ofType": null } }, @@ -22338,39 +22209,31 @@ "deprecationReason": null }, { - "name": "viewerCannotUpdateReasons", - "description": "Reasons why the current viewer can not update this comment.", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CommentCannotUpdateReason", - "ofType": null - } - } + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "viewerDidAuthor", - "description": "Did the viewer author this comment.", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, @@ -22379,141 +22242,117 @@ } ], "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Comment", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Deletable", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Updatable", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "UpdatableComment", - "ofType": null - } - ], + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "ENUM", - "name": "GistPrivacy", - "description": "The privacy of a Gist", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "PUBLIC", - "description": "Public", - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "OBJECT", + "name": "CommitCommentEdge", + "description": "An edge in a connection.", + "fields": [ { - "name": "SECRET", - "description": "Secret", + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "ALL", - "description": "Gists that are public and secret", + "name": "node", + "description": "The item at the end of the edge.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CommitComment", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null } ], + "inputFields": null, + "interfaces": [], + "enumValues": null, "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "GistOrder", - "description": "Ordering options for gist connections", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "CommitComment", + "description": "Represents a comment on a given Commit.", + "fields": [ { - "name": "field", - "description": "The field to order repositories by.", + "name": "author", + "description": "The actor who authored the comment.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "Actor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "authorAssociation", + "description": "Author's association with the subject of the comment.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", - "name": "GistOrderField", + "name": "CommentAuthorAssociation", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "direction", - "description": "The ordering direction.", + "name": "body", + "description": "Identifies the comment body.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "OrderDirection", + "kind": "SCALAR", + "name": "String", "ofType": null } }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "GistOrderField", - "description": "Properties by which gist connections can be ordered.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "CREATED_AT", - "description": "Order gists by creation time", "isDeprecated": false, "deprecationReason": null }, { - "name": "UPDATED_AT", - "description": "Order gists by update time", + "name": "bodyHTML", + "description": "Identifies the comment body rendered to HTML.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "HTML", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "PUSHED_AT", - "description": "Order gists by push time", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RepositoryInvitationEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "bodyText", + "description": "The body rendered to text.", "args": [], "type": { "kind": "NON_NULL", @@ -22528,38 +22367,27 @@ "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", + "name": "commit", + "description": "Identifies the commit associated with the comment, if the commit exists.", "args": [], "type": { "kind": "OBJECT", - "name": "RepositoryInvitation", + "name": "Commit", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RepositoryInvitation", - "description": "An invitation for a user to be added to a repository.", - "fields": [ + }, { - "name": "id", - "description": null, + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "DateTime", "ofType": null } }, @@ -22567,15 +22395,15 @@ "deprecationReason": null }, { - "name": "invitee", - "description": "The user who received the invitation.", + "name": "createdViaEmail", + "description": "Check if this comment was created via an email reply.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "User", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -22583,15 +22411,39 @@ "deprecationReason": null }, { - "name": "inviter", - "description": "The user who created the invitation.", + "name": "databaseId", + "description": "Identifies the primary key from the database.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "editor", + "description": "The actor who edited the comment.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "Actor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "User", + "kind": "SCALAR", + "name": "ID", "ofType": null } }, @@ -22599,15 +22451,15 @@ "deprecationReason": null }, { - "name": "permission", - "description": "The permission granted on this repository by this invitation.", + "name": "includesCreatedEdit", + "description": "Check if this comment was edited and includes an edit with the creation data", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "RepositoryPermission", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -22615,72 +22467,160 @@ "deprecationReason": null }, { - "name": "repository", - "description": "The Repository the user is invited to.", + "name": "lastEditedAt", + "description": "The moment the editor made the last edit", "args": [], "type": { - "kind": "INTERFACE", - "name": "RepositoryInfo", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ + }, { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INTERFACE", - "name": "RepositoryInfo", - "description": "A subset of repository info.", - "fields": [ + "name": "path", + "description": "Identifies the file path associated with the comment.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { - "name": "createdAt", - "description": "Identifies the date and time when the object was created.", + "name": "position", + "description": "Identifies the line position associated with the comment.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "description", - "description": "The description of the repository.", + "name": "publishedAt", + "description": "Identifies when the comment was published at.", "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "descriptionHTML", - "description": "The description of the repository rendered to HTML.", + "name": "reactionGroups", + "description": "A list of reactions grouped by content left on the subject.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReactionGroup", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reactions", + "description": "A list of Reactions left on the Issue.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "content", + "description": "Allows filtering Reactions by emoji.", + "type": { + "kind": "ENUM", + "name": "ReactionContent", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Allows specifying the order in which reactions are returned.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ReactionOrder", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReactionConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "repository", + "description": "The repository associated with this node.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "HTML", + "kind": "OBJECT", + "name": "Repository", "ofType": null } }, @@ -22688,15 +22628,15 @@ "deprecationReason": null }, { - "name": "forkCount", - "description": "Returns how many forks there are of this repository in the whole network.", + "name": "resourcePath", + "description": "The HTTP path permalink for this commit comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "URI", "ofType": null } }, @@ -22704,15 +22644,15 @@ "deprecationReason": null }, { - "name": "hasIssuesEnabled", - "description": "Indicates if the repository has issues feature enabled.", + "name": "updatedAt", + "description": "Identifies the date and time when the object was last updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, @@ -22720,15 +22660,15 @@ "deprecationReason": null }, { - "name": "hasWikiEnabled", - "description": "Indicates if the repository has wiki feature enabled.", + "name": "url", + "description": "The HTTP URL permalink for this commit comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "URI", "ofType": null } }, @@ -22736,20 +22676,61 @@ "deprecationReason": null }, { - "name": "homepageUrl", - "description": "The repository's URL.", - "args": [], + "name": "userContentEdits", + "description": "A list of edits to this content.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "URI", + "kind": "OBJECT", + "name": "UserContentEditConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "isArchived", - "description": "Indicates if the repository is unmaintained.", + "name": "viewerCanDelete", + "description": "Check if the current viewer can delete this object.", "args": [], "type": { "kind": "NON_NULL", @@ -22764,8 +22745,8 @@ "deprecationReason": null }, { - "name": "isFork", - "description": "Identifies if the repository is a fork.", + "name": "viewerCanReact", + "description": "Can user react to this subject", "args": [], "type": { "kind": "NON_NULL", @@ -22780,8 +22761,8 @@ "deprecationReason": null }, { - "name": "isLocked", - "description": "Indicates if the repository has been locked or not.", + "name": "viewerCanUpdate", + "description": "Check if the current viewer can update this object.", "args": [], "type": { "kind": "NON_NULL", @@ -22796,24 +22777,32 @@ "deprecationReason": null }, { - "name": "isMirror", - "description": "Identifies if the repository is a mirror.", + "name": "viewerCannotUpdateReasons", + "description": "Reasons why the current viewer can not update this comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CommentCannotUpdateReason", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "isPrivate", - "description": "Identifies if the repository is private.", + "name": "viewerDidAuthor", + "description": "Did the viewer author this comment.", "args": [], "type": { "kind": "NON_NULL", @@ -22826,58 +22815,57 @@ }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null }, { - "name": "license", - "description": "The license associated with the repository", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": true, - "deprecationReason": "Field `license` will be replaced by a more detailed license object. Use `Repository.licenseInfo` instead. Removal on 2018-07-01 UTC." + "kind": "INTERFACE", + "name": "Comment", + "ofType": null }, { - "name": "licenseInfo", - "description": "The license associated with the repository", - "args": [], - "type": { - "kind": "OBJECT", - "name": "License", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "Deletable", + "ofType": null }, { - "name": "lockReason", - "description": "The reason the repository has been locked.", - "args": [], - "type": { - "kind": "ENUM", - "name": "RepositoryLockReason", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "Updatable", + "ofType": null }, { - "name": "mirrorUrl", - "description": "The repository's original mirror URL.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "UpdatableComment", + "ofType": null }, { - "name": "name", - "description": "The name of the repository.", + "kind": "INTERFACE", + "name": "Reactable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "RepositoryNode", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "GitSignature", + "description": "Information about a signature (GPG or S/MIME) on a Commit or Tag.", + "fields": [ + { + "name": "email", + "description": "Email used to sign this object.", "args": [], "type": { "kind": "NON_NULL", @@ -22892,15 +22880,15 @@ "deprecationReason": null }, { - "name": "nameWithOwner", - "description": "The repository's name with owner.", + "name": "isValid", + "description": "True if the signature is valid and verified by GitHub.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -22908,15 +22896,15 @@ "deprecationReason": null }, { - "name": "owner", - "description": "The User owner of the repository.", + "name": "payload", + "description": "Payload for GPG signing object. Raw ODB object without the signature header.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INTERFACE", - "name": "RepositoryOwner", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -22924,27 +22912,15 @@ "deprecationReason": null }, { - "name": "pushedAt", - "description": "Identifies when the repository was last pushed to.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resourcePath", - "description": "The HTTP path for this repository", + "name": "signature", + "description": "ASCII-armored signature header from object.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, @@ -22952,42 +22928,27 @@ "deprecationReason": null }, { - "name": "shortDescriptionHTML", - "description": "A description of the repository, rendered to HTML without any links in it.", - "args": [ - { - "name": "limit", - "description": "How many characters to return.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "200" - } - ], + "name": "signer", + "description": "GitHub user corresponding to the email signing this commit.", + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HTML", - "ofType": null - } + "kind": "OBJECT", + "name": "User", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updatedAt", - "description": "Identifies the date and time when the object was last updated.", + "name": "state", + "description": "The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "ENUM", + "name": "GitSignatureState", "ofType": null } }, @@ -22995,15 +22956,15 @@ "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL for this repository", + "name": "wasSignedByGitHub", + "description": "True if the signature was made with GitHub's signing key.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Boolean", "ofType": null } }, @@ -23017,40 +22978,122 @@ "possibleTypes": [ { "kind": "OBJECT", - "name": "Repository", + "name": "GpgSignature", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SmimeSignature", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UnknownSignature", "ofType": null } ] }, { "kind": "ENUM", - "name": "RepositoryLockReason", - "description": "The possible reasons a given repository could be in a locked state.", + "name": "GitSignatureState", + "description": "The state of a Git signature.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "MOVING", - "description": "The repository is locked due to a move.", + "name": "VALID", + "description": "Valid signature and verified by GitHub.", "isDeprecated": false, "deprecationReason": null }, { - "name": "BILLING", - "description": "The repository is locked due to a billing related reason.", + "name": "INVALID", + "description": "Invalid signature.", "isDeprecated": false, "deprecationReason": null }, { - "name": "RENAME", - "description": "The repository is locked due to a rename.", + "name": "MALFORMED_SIG", + "description": "Malformed signature.", "isDeprecated": false, "deprecationReason": null }, { - "name": "MIGRATING", - "description": "The repository is locked due to a migration.", + "name": "UNKNOWN_KEY", + "description": "Key used for signing not known to GitHub.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BAD_EMAIL", + "description": "Invalid email used for signing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNVERIFIED_EMAIL", + "description": "Email used for signing unverified on GitHub.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NO_USER", + "description": "Email used for signing not known to GitHub.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNKNOWN_SIG_TYPE", + "description": "Unknown signature type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNSIGNED", + "description": "Unsigned.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GPGVERIFY_UNAVAILABLE", + "description": "Internal error - the GPG verification service is unavailable at the moment.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GPGVERIFY_ERROR", + "description": "Internal error - the GPG verification service misbehaved.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_SIGNING_KEY", + "description": "The usage flags for the key that signed this don't allow signing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EXPIRED_KEY", + "description": "Signing key expired.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OCSP_PENDING", + "description": "Valid signature, pending certificate revocation checking", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OCSP_ERROR", + "description": "Valid siganture, though certificate revocation check failed", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OCSP_REVOKED", + "description": "One or more certificates in chain has been revoked", "isDeprecated": false, "deprecationReason": null } @@ -23059,28 +23102,51 @@ }, { "kind": "OBJECT", - "name": "License", - "description": "A respository's open source license", + "name": "Status", + "description": "Represents a commit status.", "fields": [ { - "name": "body", - "description": "The full text of the license", + "name": "commit", + "description": "The commit this status is attached to.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "OBJECT", + "name": "Commit", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "context", + "description": "Looks up an individual status context by context name.", + "args": [ + { + "name": "name", + "description": "The context name.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null } + ], + "type": { + "kind": "OBJECT", + "name": "StatusContext", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "conditions", - "description": "The conditions set by the license", + "name": "contexts", + "description": "The individual status contexts for this commit.", "args": [], "type": { "kind": "NON_NULL", @@ -23089,9 +23155,13 @@ "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "LicenseRule", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StatusContext", + "ofType": null + } } } }, @@ -23099,27 +23169,15 @@ "deprecationReason": null }, { - "name": "description", - "description": "A human-readable description of the license", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "featured", - "description": "Whether the license should be featured", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } }, @@ -23127,52 +23185,94 @@ "deprecationReason": null }, { - "name": "hidden", - "description": "Whether the license should be displayed in license pickers", + "name": "state", + "description": "The combined commit status.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "StatusState", "ofType": null } }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "StatusState", + "description": "The possible commit status states.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "EXPECTED", + "description": "Status is expected.", + "isDeprecated": false, + "deprecationReason": null }, { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, + "name": "ERROR", + "description": "Status is errored.", "isDeprecated": false, "deprecationReason": null }, { - "name": "implementation", - "description": "Instructions on how to implement the license", + "name": "FAILURE", + "description": "Status is failing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PENDING", + "description": "Status is pending.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUCCESS", + "description": "Status is successful.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "StatusContext", + "description": "Represents an individual commit status context", + "fields": [ + { + "name": "commit", + "description": "This commit this status context is attached to.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Commit", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "key", - "description": "The lowercased SPDX ID of the license", + "name": "context", + "description": "The name of this status context.", "args": [], "type": { "kind": "NON_NULL", @@ -23187,44 +23287,36 @@ "deprecationReason": null }, { - "name": "limitations", - "description": "The limitations set by the license", + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LicenseRule", - "ofType": null - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "name", - "description": "The license full name specified by ", + "name": "creator", + "description": "The actor who created this status context.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INTERFACE", + "name": "Actor", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "nickname", - "description": "Customary short name if applicable (e.g, GPLv3)", + "name": "description", + "description": "The description for this status context.", "args": [], "type": { "kind": "SCALAR", @@ -23235,35 +23327,31 @@ "deprecationReason": null }, { - "name": "permissions", - "description": "The permissions set by the license", + "name": "id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LicenseRule", - "ofType": null - } + "kind": "SCALAR", + "name": "ID", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "pseudoLicense", - "description": "Whether the license is a pseudo-license placeholder (e.g., other, no-license)", + "name": "state", + "description": "The state of this status context.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "StatusState", "ofType": null } }, @@ -23271,20 +23359,8 @@ "deprecationReason": null }, { - "name": "spdxId", - "description": "Short identifier specified by ", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "URL to the license on ", + "name": "targetUrl", + "description": "The URL for this status context.", "args": [], "type": { "kind": "SCALAR", @@ -23307,62 +23383,32 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "LicenseRule", - "description": "Describes a License's conditions, permissions, and limitations", - "fields": [ + "kind": "ENUM", + "name": "PullRequestState", + "description": "The possible states of a pull request.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "description", - "description": "A description of the rule", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, + "name": "OPEN", + "description": "A pull request that is still open.", "isDeprecated": false, "deprecationReason": null }, { - "name": "key", - "description": "The machine-readable rule key", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, + "name": "CLOSED", + "description": "A pull request that has been closed without being merged.", "isDeprecated": false, "deprecationReason": null }, { - "name": "label", - "description": "The human-readable rule label", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, + "name": "MERGED", + "description": "A pull request that has been closed by being merged.", "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], - "enumValues": null, "possibleTypes": null }, { @@ -23475,35 +23521,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "ENUM", - "name": "PullRequestState", - "description": "The possible states of a pull request.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "OPEN", - "description": "A pull request that is still open.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CLOSED", - "description": "A pull request that has been closed without being merged.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MERGED", - "description": "A pull request that has been closed by being merged.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, { "kind": "OBJECT", "name": "Milestone", @@ -23621,7 +23638,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -23641,7 +23658,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -23740,7 +23757,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -23760,7 +23777,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -24388,7 +24405,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -24408,7 +24425,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -24529,7 +24546,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -24549,7 +24566,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -24709,26 +24726,250 @@ "description": "The channel ID for observing issue updates.", "isDeprecated": false, "deprecationReason": null - }, + }, + { + "name": "MARKASREAD", + "description": "The channel ID for marking an issue as read.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TIMELINE", + "description": "The channel ID for updating items on the issue timeline.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PullRequestReviewThread", + "description": "A threaded list of comments for a given pull request.", + "fields": [ + { + "name": "comments", + "description": "A list of pull request comments associated with the thread.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PullRequestReviewCommentConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pullRequest", + "description": "Identifies the pull request associated with this thread.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PullRequest", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "repository", + "description": "Identifies the repository associated with this thread.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PullRequestCommit", + "description": "Represents a Git commit part of a pull request.", + "fields": [ + { + "name": "commit", + "description": "The Git commit object", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Commit", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pullRequest", + "description": "The pull request this commit belongs to", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PullRequest", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resourcePath", + "description": "The HTTP path for this pull request commit", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The HTTP URL for this pull request commit", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ { - "name": "MARKASREAD", - "description": "The channel ID for marking an issue as read.", - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "Node", + "ofType": null }, { - "name": "TIMELINE", - "description": "The channel ID for updating items on the issue timeline.", - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "UniformResourceLocatable", + "ofType": null } ], + "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "PullRequestReviewConnection", - "description": "The connection type for PullRequestReview.", + "name": "PullRequestReviewCommentConnection", + "description": "The connection type for PullRequestReviewComment.", "fields": [ { "name": "edges", @@ -24739,7 +24980,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PullRequestReviewEdge", + "name": "PullRequestReviewCommentEdge", "ofType": null } }, @@ -24755,7 +24996,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PullRequestReview", + "name": "PullRequestReviewComment", "ofType": null } }, @@ -24802,7 +25043,7 @@ }, { "kind": "OBJECT", - "name": "PullRequestReviewEdge", + "name": "PullRequestReviewCommentEdge", "description": "An edge in a connection.", "fields": [ { @@ -24827,7 +25068,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "PullRequestReview", + "name": "PullRequestReviewComment", "ofType": null }, "isDeprecated": false, @@ -24841,8 +25082,8 @@ }, { "kind": "OBJECT", - "name": "PullRequestReview", - "description": "A review object for a given pull request.", + "name": "PullRequestReviewComment", + "description": "A review comment associated with a given repository pull request.", "fields": [ { "name": "author", @@ -24874,7 +25115,7 @@ }, { "name": "body", - "description": "Identifies the pull request review body.", + "description": "The comment body of this review comment.", "args": [], "type": { "kind": "NON_NULL", @@ -24890,7 +25131,7 @@ }, { "name": "bodyHTML", - "description": "The body of this review rendered to HTML.", + "description": "The comment body of this review comment rendered to HTML.", "args": [], "type": { "kind": "NON_NULL", @@ -24906,7 +25147,7 @@ }, { "name": "bodyText", - "description": "The body of this review rendered as plain text.", + "description": "The comment body of this review comment rendered as plain text.", "args": [], "type": { "kind": "NON_NULL", @@ -24921,77 +25162,24 @@ "deprecationReason": null }, { - "name": "comments", - "description": "A list of review comments for the current pull request review.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "commit", + "description": "Identifies the commit associated with the comment.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "PullRequestReviewCommentConnection", + "name": "Commit", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, - { - "name": "commit", - "description": "Identifies the commit associated with this pull request review.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "createdAt", - "description": "Identifies the date and time when the object was created.", + "description": "Identifies when the comment was created.", "args": [], "type": { "kind": "NON_NULL", @@ -25033,6 +25221,38 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "diffHunk", + "description": "The diff hunk to which the comment applies.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftedAt", + "description": "Identifies when the comment was created in a draft state.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "editor", "description": "The actor who edited the comment.", @@ -25090,43 +25310,27 @@ "deprecationReason": null }, { - "name": "publishedAt", - "description": "Identifies when the comment was published at.", + "name": "originalCommit", + "description": "Identifies the original commit associated with the comment.", "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "Commit", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "pullRequest", - "description": "Identifies the pull request associated with this pull request review.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PullRequest", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "repository", - "description": "The repository associated with this node.", + "name": "originalPosition", + "description": "The original line index in the diff to which the comment applies.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Repository", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, @@ -25134,15 +25338,15 @@ "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path permalink for this PullRequestReview.", + "name": "path", + "description": "The path to which the comment applies.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, @@ -25150,24 +25354,20 @@ "deprecationReason": null }, { - "name": "state", - "description": "Identifies the current state of the pull request review.", + "name": "position", + "description": "The line index in the diff to which the comment applies.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "PullRequestReviewState", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "submittedAt", - "description": "Identifies when the Pull Request Review was submitted", + "name": "publishedAt", + "description": "Identifies when the comment was published at.", "args": [], "type": { "kind": "SCALAR", @@ -25178,15 +25378,15 @@ "deprecationReason": null }, { - "name": "updatedAt", - "description": "Identifies the date and time when the object was last updated.", + "name": "pullRequest", + "description": "The pull request associated with this review comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "PullRequest", "ofType": null } }, @@ -25194,24 +25394,40 @@ "deprecationReason": null }, { - "name": "url", - "description": "The HTTP URL permalink for this PullRequestReview.", + "name": "pullRequestReview", + "description": "The pull request review associated with this review comment.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "OBJECT", + "name": "PullRequestReview", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reactionGroups", + "description": "A list of reactions grouped by content left on the subject.", + "args": [], + "type": { + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReactionGroup", + "ofType": null + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "userContentEdits", - "description": "A list of edits to this content.", + "name": "reactions", + "description": "A list of Reactions left on the Issue.", "args": [ { "name": "first", @@ -25225,7 +25441,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -25245,33 +25461,69 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null + }, + { + "name": "content", + "description": "Allows filtering Reactions by emoji.", + "type": { + "kind": "ENUM", + "name": "ReactionContent", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Allows specifying the order in which reactions are returned.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ReactionOrder", + "ofType": null + }, + "defaultValue": null } ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReactionConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "replyTo", + "description": "The comment this is a reply to.", + "args": [], "type": { "kind": "OBJECT", - "name": "UserContentEditConnection", + "name": "PullRequestReviewComment", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "viewerCanDelete", - "description": "Check if the current viewer can delete this object.", + "name": "repository", + "description": "The repository associated with this node.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "Repository", "ofType": null } }, @@ -25279,15 +25531,15 @@ "deprecationReason": null }, { - "name": "viewerCanUpdate", - "description": "Check if the current viewer can update this object.", + "name": "resourcePath", + "description": "The HTTP path permalink for this review comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "URI", "ofType": null } }, @@ -25295,154 +25547,100 @@ "deprecationReason": null }, { - "name": "viewerCannotUpdateReasons", - "description": "Reasons why the current viewer can not update this comment.", + "name": "updatedAt", + "description": "Identifies when the comment was last updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CommentCannotUpdateReason", - "ofType": null - } - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "viewerDidAuthor", - "description": "Did the viewer author this comment.", + "name": "url", + "description": "The HTTP URL permalink for this review comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "URI", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Comment", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Deletable", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Updatable", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "UpdatableComment", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "RepositoryNode", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "PullRequestReviewState", - "description": "The possible states of a pull request review.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "PENDING", - "description": "A review that has not yet been submitted.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "COMMENTED", - "description": "An informational review.", - "isDeprecated": false, - "deprecationReason": null }, { - "name": "APPROVED", - "description": "A review allowing the pull request to merge.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CHANGES_REQUESTED", - "description": "A review blocking the pull request from merging.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DISMISSED", - "description": "A review that has been dismissed.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PullRequestReviewCommentConnection", - "description": "The connection type for PullRequestReviewComment.", - "fields": [ - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PullRequestReviewCommentEdge", - "ofType": null + "name": "userContentEdits", + "description": "A list of edits to this content.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null } + ], + "type": { + "kind": "OBJECT", + "name": "UserContentEditConnection", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "viewerCanDelete", + "description": "Check if the current viewer can delete this object.", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PullRequestReviewComment", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -25450,15 +25648,15 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "viewerCanReact", + "description": "Can user react to this subject", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -25466,70 +25664,107 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.", + "name": "viewerCanUpdate", + "description": "Check if the current viewer can update this object.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PullRequestReviewCommentEdge", - "description": "An edge in a connection.", - "fields": [ + }, { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "viewerCannotUpdateReasons", + "description": "Reasons why the current viewer can not update this comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CommentCannotUpdateReason", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", + "name": "viewerDidAuthor", + "description": "Did the viewer author this comment.", "args": [], "type": { - "kind": "OBJECT", - "name": "PullRequestReviewComment", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "Comment", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "Deletable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "Updatable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "UpdatableComment", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "Reactable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "RepositoryNode", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "PullRequestReviewComment", - "description": "A review comment associated with a given repository pull request.", + "name": "PullRequestReview", + "description": "A review object for a given pull request.", "fields": [ { "name": "author", @@ -25561,7 +25796,7 @@ }, { "name": "body", - "description": "The comment body of this review comment.", + "description": "Identifies the pull request review body.", "args": [], "type": { "kind": "NON_NULL", @@ -25577,7 +25812,7 @@ }, { "name": "bodyHTML", - "description": "The comment body of this review comment rendered to HTML.", + "description": "The body of this review rendered to HTML.", "args": [], "type": { "kind": "NON_NULL", @@ -25593,7 +25828,7 @@ }, { "name": "bodyText", - "description": "The comment body of this review comment rendered as plain text.", + "description": "The body of this review rendered as plain text.", "args": [], "type": { "kind": "NON_NULL", @@ -25608,24 +25843,77 @@ "deprecationReason": null }, { - "name": "commit", - "description": "Identifies the commit associated with the comment.", - "args": [], + "name": "comments", + "description": "A list of review comments for the current pull request review.", + "args": [ + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "Commit", + "name": "PullRequestReviewCommentConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, + { + "name": "commit", + "description": "Identifies the commit associated with this pull request review.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Commit", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "createdAt", - "description": "Identifies when the comment was created.", + "description": "Identifies the date and time when the object was created.", "args": [], "type": { "kind": "NON_NULL", @@ -25667,38 +25955,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "diffHunk", - "description": "The diff hunk to which the comment applies.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "draftedAt", - "description": "Identifies when the comment was created in a draft state.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "editor", "description": "The actor who edited the comment.", @@ -25755,62 +26011,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "originalCommit", - "description": "Identifies the original commit associated with the comment.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "originalPosition", - "description": "The original line index in the diff to which the comment applies.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", - "description": "The path to which the comment applies.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "position", - "description": "The line index in the diff to which the comment applies.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "publishedAt", "description": "Identifies when the comment was published at.", @@ -25825,7 +26025,7 @@ }, { "name": "pullRequest", - "description": "The pull request associated with this review comment.", + "description": "Identifies the pull request associated with this pull request review.", "args": [], "type": { "kind": "NON_NULL", @@ -25840,108 +26040,31 @@ "deprecationReason": null }, { - "name": "pullRequestReview", - "description": "The pull request review associated with this review comment.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "PullRequestReview", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reactionGroups", - "description": "A list of reactions grouped by content left on the subject.", + "name": "repository", + "description": "The repository associated with this node.", "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReactionGroup", - "ofType": null - } + "kind": "OBJECT", + "name": "Repository", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "reactions", - "description": "A list of Reactions left on the Issue.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "content", - "description": "Allows filtering Reactions by emoji.", - "type": { - "kind": "ENUM", - "name": "ReactionContent", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orderBy", - "description": "Allows specifying the order in which reactions are returned.", - "type": { - "kind": "INPUT_OBJECT", - "name": "ReactionOrder", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "resourcePath", + "description": "The HTTP path permalink for this PullRequestReview.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ReactionConnection", + "kind": "SCALAR", + "name": "URI", "ofType": null } }, @@ -25949,27 +26072,15 @@ "deprecationReason": null }, { - "name": "replyTo", - "description": "The comment this is a reply to.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "PullRequestReviewComment", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "repository", - "description": "The repository associated with this node.", + "name": "state", + "description": "Identifies the current state of the pull request review.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Repository", + "kind": "ENUM", + "name": "PullRequestReviewState", "ofType": null } }, @@ -25977,24 +26088,20 @@ "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path permalink for this review comment.", + "name": "submittedAt", + "description": "Identifies when the Pull Request Review was submitted", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", - "description": "Identifies when the comment was last updated.", + "description": "Identifies the date and time when the object was last updated.", "args": [], "type": { "kind": "NON_NULL", @@ -26010,7 +26117,7 @@ }, { "name": "url", - "description": "The HTTP URL permalink for this review comment.", + "description": "The HTTP URL permalink for this PullRequestReview.", "args": [], "type": { "kind": "NON_NULL", @@ -26040,7 +26147,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -26060,7 +26167,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -26093,22 +26200,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "viewerCanReact", - "description": "Can user react to this subject", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "viewerCanUpdate", "description": "Check if the current viewer can update this object.", @@ -26193,11 +26284,6 @@ "name": "UpdatableComment", "ofType": null }, - { - "kind": "INTERFACE", - "name": "Reactable", - "ofType": null - }, { "kind": "INTERFACE", "name": "RepositoryNode", @@ -26209,33 +26295,39 @@ }, { "kind": "ENUM", - "name": "PullRequestPubSubTopic", - "description": "The possible PubSub channels for a pull request.", + "name": "PullRequestReviewState", + "description": "The possible states of a pull request review.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "UPDATED", - "description": "The channel ID for observing pull request updates.", + "name": "PENDING", + "description": "A review that has not yet been submitted.", "isDeprecated": false, "deprecationReason": null }, { - "name": "MARKASREAD", - "description": "The channel ID for marking an pull request as read.", + "name": "COMMENTED", + "description": "An informational review.", "isDeprecated": false, "deprecationReason": null }, { - "name": "HEAD_REF", - "description": "The channel ID for observing head ref updates.", + "name": "APPROVED", + "description": "A review allowing the pull request to merge.", "isDeprecated": false, "deprecationReason": null }, { - "name": "TIMELINE", - "description": "The channel ID for updating items on the pull request timeline.", + "name": "CHANGES_REQUESTED", + "description": "A review blocking the pull request from merging.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISMISSED", + "description": "A review that has been dismissed.", "isDeprecated": false, "deprecationReason": null } @@ -26243,131 +26335,44 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "PullRequestReviewThread", - "description": "A threaded list of comments for a given pull request.", - "fields": [ + "kind": "ENUM", + "name": "PullRequestPubSubTopic", + "description": "The possible PubSub channels for a pull request.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "comments", - "description": "A list of pull request comments associated with the thread.", - "args": [ - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PullRequestReviewCommentConnection", - "ofType": null - } - }, + "name": "UPDATED", + "description": "The channel ID for observing pull request updates.", "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, + "name": "MARKASREAD", + "description": "The channel ID for marking an pull request as read.", "isDeprecated": false, "deprecationReason": null }, { - "name": "pullRequest", - "description": "Identifies the pull request associated with this thread.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PullRequest", - "ofType": null - } - }, + "name": "HEAD_REF", + "description": "The channel ID for observing head ref updates.", "isDeprecated": false, "deprecationReason": null }, { - "name": "repository", - "description": "Identifies the repository associated with this thread.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Repository", - "ofType": null - } - }, + "name": "TIMELINE", + "description": "The channel ID for updating items on the pull request timeline.", "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "PullRequestCommitConnection", - "description": "The connection type for PullRequestCommit.", + "name": "PullRequestReviewConnection", + "description": "The connection type for PullRequestReview.", "fields": [ { "name": "edges", @@ -26378,7 +26383,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PullRequestCommitEdge", + "name": "PullRequestReviewEdge", "ofType": null } }, @@ -26394,7 +26399,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PullRequestCommit", + "name": "PullRequestReview", "ofType": null } }, @@ -26441,7 +26446,7 @@ }, { "kind": "OBJECT", - "name": "PullRequestCommitEdge", + "name": "PullRequestReviewEdge", "description": "An edge in a connection.", "fields": [ { @@ -26466,7 +26471,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "PullRequestCommit", + "name": "PullRequestReview", "ofType": null }, "isDeprecated": false, @@ -26480,19 +26485,19 @@ }, { "kind": "OBJECT", - "name": "PullRequestCommit", - "description": "Represents a Git commit part of a pull request.", + "name": "PullRequestCommitConnection", + "description": "The connection type for PullRequestCommit.", "fields": [ { - "name": "commit", - "description": "The Git commit object", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", - "name": "Commit", + "name": "PullRequestCommitEdge", "ofType": null } }, @@ -26500,15 +26505,15 @@ "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "PullRequestCommit", "ofType": null } }, @@ -26516,15 +26521,15 @@ "deprecationReason": null }, { - "name": "pullRequest", - "description": "The pull request this commit belongs to", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "PullRequest", + "name": "PageInfo", "ofType": null } }, @@ -26532,51 +26537,63 @@ "deprecationReason": null }, { - "name": "resourcePath", - "description": "The HTTP path for this pull request commit", + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PullRequestCommitEdge", + "description": "An edge in a connection.", + "fields": [ { - "name": "url", - "description": "The HTTP URL for this pull request commit", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URI", + "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null }, { - "kind": "INTERFACE", - "name": "UniformResourceLocatable", - "ofType": null + "name": "node", + "description": "The item at the end of the edge.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PullRequestCommit", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, @@ -26754,18 +26771,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "reviewer", - "description": "Identifies the author associated with this review request.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": true, - "deprecationReason": "Field `reviewer` will be changed in favor of returning a union type. Use `ReviewRequest.requestedReviewer` instead. Removal on 2018-07-01 UTC." } ], "inputFields": null, @@ -27096,7 +27101,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -27116,7 +27121,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -27271,18 +27276,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "commit", - "description": "Identifies the commit associated with the 'closed' event.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null - }, - "isDeprecated": true, - "deprecationReason": "`ClosedEvent` may be associated with other objects than a commit. Use ClosedEvent.closer instead. Removal on 2018-07-01 UTC." - }, { "name": "createdAt", "description": "Identifies the date and time when the object was created.", @@ -27847,22 +27840,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "isCrossReference", - "description": "Reference originated in a different repository.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "`isCrossReference` will be renamed. Use `ReferencedEvent.isCrossRepository` instead. Removal on 2018-07-01 UTC." - }, { "name": "isCrossRepository", "description": "Reference originated in a different repository.", @@ -29163,6 +29140,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "description", + "description": "The deployment description.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "environment", "description": "The environment to which this deployment was made.", @@ -29259,7 +29248,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -29279,7 +29268,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -29295,6 +29284,34 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "task", + "description": "The deployment task.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "Identifies the date and time when the object was last updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -30145,18 +30162,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "subject", - "description": "Identifies the user whose review was requested.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": true, - "deprecationReason": "`subject` will be renamed. Use `ReviewRequestedEvent.requestedReviewer` instead. Removal on 2018-07-01 UTC." } ], "inputFields": null, @@ -30246,18 +30251,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "subject", - "description": "Identifies the user whose review request was removed.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": true, - "deprecationReason": "`subject` will be renamed. Use `ReviewRequestRemovedEvent.requestedReviewer` instead. Removal on 2018-07-01 UTC." } ], "inputFields": null, @@ -31955,7 +31948,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -31975,7 +31968,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -32388,8 +32381,8 @@ }, { "kind": "OBJECT", - "name": "ProtectedBranchConnection", - "description": "The connection type for ProtectedBranch.", + "name": "ReviewDismissalAllowanceConnection", + "description": "The connection type for ReviewDismissalAllowance.", "fields": [ { "name": "edges", @@ -32400,7 +32393,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProtectedBranchEdge", + "name": "ReviewDismissalAllowanceEdge", "ofType": null } }, @@ -32416,7 +32409,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProtectedBranch", + "name": "ReviewDismissalAllowance", "ofType": null } }, @@ -32463,7 +32456,7 @@ }, { "kind": "OBJECT", - "name": "ProtectedBranchEdge", + "name": "ReviewDismissalAllowanceEdge", "description": "An edge in a connection.", "fields": [ { @@ -32488,7 +32481,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProtectedBranch", + "name": "ReviewDismissalAllowance", "ofType": null }, "isDeprecated": false, @@ -32500,6 +32493,88 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "ReviewDismissalAllowance", + "description": "A team or user who has the ability to dismiss a review on a protected branch.", + "fields": [ + { + "name": "actor", + "description": "The actor that can dismiss.", + "args": [], + "type": { + "kind": "UNION", + "name": "ReviewDismissalAllowanceActor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "protectedBranch", + "description": "Identifies the protected branch associated with the allowed user or team.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProtectedBranch", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "ReviewDismissalAllowanceActor", + "description": "Types that can be an actor.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "User", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Team", + "ofType": null + } + ] + }, { "kind": "OBJECT", "name": "ProtectedBranch", @@ -32677,7 +32752,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -32697,7 +32772,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -32766,7 +32841,7 @@ }, { "name": "after", - "description": "Returns the elements in the list that come after the specified global ID.", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -32786,7 +32861,7 @@ }, { "name": "before", - "description": "Returns the elements in the list that come before the specified global ID.", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", @@ -32821,8 +32896,8 @@ }, { "kind": "OBJECT", - "name": "ReviewDismissalAllowanceConnection", - "description": "The connection type for ReviewDismissalAllowance.", + "name": "PushAllowanceConnection", + "description": "The connection type for PushAllowance.", "fields": [ { "name": "edges", @@ -32833,7 +32908,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ReviewDismissalAllowanceEdge", + "name": "PushAllowanceEdge", "ofType": null } }, @@ -32849,7 +32924,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ReviewDismissalAllowance", + "name": "PushAllowance", "ofType": null } }, @@ -32896,7 +32971,7 @@ }, { "kind": "OBJECT", - "name": "ReviewDismissalAllowanceEdge", + "name": "PushAllowanceEdge", "description": "An edge in a connection.", "fields": [ { @@ -32921,7 +32996,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ReviewDismissalAllowance", + "name": "PushAllowance", "ofType": null }, "isDeprecated": false, @@ -32935,16 +33010,16 @@ }, { "kind": "OBJECT", - "name": "ReviewDismissalAllowance", - "description": "A team or user who has the ability to dismiss a review on a protected branch.", + "name": "PushAllowance", + "description": "A team or user who has the ability to push to a protected branch.", "fields": [ { "name": "actor", - "description": "The actor that can dismiss.", + "description": "The actor that can push.", "args": [], "type": { "kind": "UNION", - "name": "ReviewDismissalAllowanceActor", + "name": "PushAllowanceActor", "ofType": null }, "isDeprecated": false, @@ -32996,7 +33071,7 @@ }, { "kind": "UNION", - "name": "ReviewDismissalAllowanceActor", + "name": "PushAllowanceActor", "description": "Types that can be an actor.", "fields": null, "inputFields": null, @@ -33017,8 +33092,8 @@ }, { "kind": "OBJECT", - "name": "PushAllowanceConnection", - "description": "The connection type for PushAllowance.", + "name": "RefConnection", + "description": "The connection type for Ref.", "fields": [ { "name": "edges", @@ -33029,7 +33104,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PushAllowanceEdge", + "name": "RefEdge", "ofType": null } }, @@ -33045,7 +33120,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PushAllowance", + "name": "Ref", "ofType": null } }, @@ -33092,7 +33167,7 @@ }, { "kind": "OBJECT", - "name": "PushAllowanceEdge", + "name": "RefEdge", "description": "An edge in a connection.", "fields": [ { @@ -33117,7 +33192,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "PushAllowance", + "name": "Ref", "ofType": null }, "isDeprecated": false, @@ -33131,90 +33206,8 @@ }, { "kind": "OBJECT", - "name": "PushAllowance", - "description": "A team or user who has the ability to push to a protected branch.", - "fields": [ - { - "name": "actor", - "description": "The actor that can push.", - "args": [], - "type": { - "kind": "UNION", - "name": "PushAllowanceActor", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "protectedBranch", - "description": "Identifies the protected branch associated with the allowed user or team.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProtectedBranch", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "PushAllowanceActor", - "description": "Types that can be an actor.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Team", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "MilestoneConnection", - "description": "The connection type for Milestone.", + "name": "ProtectedBranchConnection", + "description": "The connection type for ProtectedBranch.", "fields": [ { "name": "edges", @@ -33225,7 +33218,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MilestoneEdge", + "name": "ProtectedBranchEdge", "ofType": null } }, @@ -33241,7 +33234,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Milestone", + "name": "ProtectedBranch", "ofType": null } }, @@ -33288,7 +33281,7 @@ }, { "kind": "OBJECT", - "name": "MilestoneEdge", + "name": "ProtectedBranchEdge", "description": "An edge in a connection.", "fields": [ { @@ -33313,148 +33306,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "Milestone", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "MilestoneOrder", - "description": "Ordering options for milestone connections.", - "fields": null, - "inputFields": [ - { - "name": "field", - "description": "The field to order milestones by.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MilestoneOrderField", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "direction", - "description": "The ordering direction.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "OrderDirection", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "MilestoneOrderField", - "description": "Properties by which milestone connections can be ordered.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "DUE_DATE", - "description": "Order milestones by when they are due.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CREATED_AT", - "description": "Order milestones by when they were created.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UPDATED_AT", - "description": "Order milestones by when they were last updated.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NUMBER", - "description": "Order milestones by their number.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CodeOfConduct", - "description": "The Code of Conduct for a repository", - "fields": [ - { - "name": "body", - "description": "The body of the CoC", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "key", - "description": "The key for the CoC", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The formal name of the CoC", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The path to the CoC", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URI", + "name": "ProtectedBranch", "ofType": null }, "isDeprecated": false, @@ -33468,8 +33320,8 @@ }, { "kind": "OBJECT", - "name": "RepositoryCollaboratorConnection", - "description": "The connection type for User.", + "name": "MilestoneConnection", + "description": "The connection type for Milestone.", "fields": [ { "name": "edges", @@ -33480,7 +33332,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "RepositoryCollaboratorEdge", + "name": "MilestoneEdge", "ofType": null } }, @@ -33496,7 +33348,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "User", + "name": "Milestone", "ofType": null } }, @@ -33543,8 +33395,8 @@ }, { "kind": "OBJECT", - "name": "RepositoryCollaboratorEdge", - "description": "Represents a user who is a collaborator of a repository.", + "name": "MilestoneEdge", + "description": "An edge in a connection.", "fields": [ { "name": "cursor", @@ -33564,32 +33416,12 @@ }, { "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "permission", - "description": "The permission the user has on the repository.", + "description": "The item at the end of the edge.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "RepositoryPermission", - "ofType": null - } + "kind": "OBJECT", + "name": "Milestone", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -33602,19 +33434,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "LanguageOrder", - "description": "Ordering options for language connections.", + "name": "MilestoneOrder", + "description": "Ordering options for milestone connections.", "fields": null, "inputFields": [ { "name": "field", - "description": "The field to order languages by.", + "description": "The field to order milestones by.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", - "name": "LanguageOrderField", + "name": "MilestoneOrderField", "ofType": null } }, @@ -33641,15 +33473,33 @@ }, { "kind": "ENUM", - "name": "LanguageOrderField", - "description": "Properties by which language connections can be ordered.", + "name": "MilestoneOrderField", + "description": "Properties by which milestone connections can be ordered.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "SIZE", - "description": "Order languages by the size of all files containing the language", + "name": "DUE_DATE", + "description": "Order milestones by when they are due.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CREATED_AT", + "description": "Order milestones by when they were created.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Order milestones by when they were last updated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NUMBER", + "description": "Order milestones by their number.", "isDeprecated": false, "deprecationReason": null } @@ -33658,8 +33508,75 @@ }, { "kind": "OBJECT", - "name": "RefConnection", - "description": "The connection type for Ref.", + "name": "CodeOfConduct", + "description": "The Code of Conduct for a repository", + "fields": [ + { + "name": "body", + "description": "The body of the CoC", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "key", + "description": "The key for the CoC", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The formal name of the CoC", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The path to the CoC", + "args": [], + "type": { + "kind": "SCALAR", + "name": "URI", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "RepositoryCollaboratorConnection", + "description": "The connection type for User.", "fields": [ { "name": "edges", @@ -33670,7 +33587,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "RefEdge", + "name": "RepositoryCollaboratorEdge", "ofType": null } }, @@ -33686,7 +33603,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Ref", + "name": "User", "ofType": null } }, @@ -33733,8 +33650,8 @@ }, { "kind": "OBJECT", - "name": "RefEdge", - "description": "An edge in a connection.", + "name": "RepositoryCollaboratorEdge", + "description": "Represents a user who is a collaborator of a repository.", "fields": [ { "name": "cursor", @@ -33754,12 +33671,32 @@ }, { "name": "node", - "description": "The item at the end of the edge.", + "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "Ref", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "permission", + "description": "The permission the user has on the repository.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "RepositoryPermission", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -33770,6 +33707,62 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "LanguageOrder", + "description": "Ordering options for language connections.", + "fields": null, + "inputFields": [ + { + "name": "field", + "description": "The field to order languages by.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "LanguageOrderField", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "direction", + "description": "The ordering direction.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderDirection", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "LanguageOrderField", + "description": "Properties by which language connections can be ordered.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "SIZE", + "description": "Order languages by the size of all files containing the language", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "RefOrder", @@ -35092,9 +35085,13 @@ "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "TextMatchHighlight", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TextMatchHighlight", + "ofType": null + } } } }, @@ -35365,7 +35362,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "GitObjectID", "ofType": null } }, @@ -36100,6 +36097,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "unlockLockable", + "description": "Unlock a lockable object", + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UnlockLockableInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UnlockLockablePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "updateProject", "description": "Updates an existing project.", @@ -37536,13 +37560,9 @@ "name": "note", "description": "The note of ProjectCard.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, @@ -37829,6 +37849,76 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "UnlockLockablePayload", + "description": "Autogenerated return type of UnlockLockable", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unlockedRecord", + "description": "The item that was unlocked.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "Lockable", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UnlockLockableInput", + "description": "Autogenerated input type of UnlockLockable", + "fields": null, + "inputFields": [ + { + "name": "lockableId", + "description": "ID of the issue or pull request to be unlocked.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "AddPullRequestReviewPayload", From aea2d7efe653ceef1d4397cfa7f6151a9c8b10fc Mon Sep 17 00:00:00 2001 From: Ryan Nystrom Date: Sat, 28 Jul 2018 16:39:42 -0400 Subject: [PATCH 2/4] more granular merge status messaging and controls --- Classes/Issues/Merge/IssueMergeModel.swift | 4 +- .../Merge/IssueMergeSectionController.swift | 34 ++++++-- Classes/Issues/PullRequest+IssueType.swift | 2 +- .../GitHubAPI/ConfiguredNetworkers.swift | 3 + gql/API.swift | 82 ++++++++++++++++-- gql/IssueOrPullRequest.graphql | 1 + gql/schema.json | 85 +++++++++++++++++++ 7 files changed, 197 insertions(+), 14 deletions(-) diff --git a/Classes/Issues/Merge/IssueMergeModel.swift b/Classes/Issues/Merge/IssueMergeModel.swift index 3c36c91f7..ae5d94948 100644 --- a/Classes/Issues/Merge/IssueMergeModel.swift +++ b/Classes/Issues/Merge/IssueMergeModel.swift @@ -12,13 +12,13 @@ import IGListKit final class IssueMergeModel: ListDiffable { let id: String - let state: MergeableState + let state: MergeStateStatus let contexts: [IssueMergeContextModel] let availableTypes: [IssueMergeType] init( id: String, - state: MergeableState, + state: MergeStateStatus, contexts: [IssueMergeContextModel], availableTypes: [IssueMergeType] ) { diff --git a/Classes/Issues/Merge/IssueMergeSectionController.swift b/Classes/Issues/Merge/IssueMergeSectionController.swift index 1cb4c6e54..d9db3113c 100644 --- a/Classes/Issues/Merge/IssueMergeSectionController.swift +++ b/Classes/Issues/Merge/IssueMergeSectionController.swift @@ -92,16 +92,38 @@ ListBindingSectionControllerSelectionDelegate { viewModels += object.contexts as [ListDiffable] - let mergeable = object.state == .mergeable + let title: String + let state: IssueMergeSummaryModel.State + let buttonEnabled: Bool + switch object.state { + case .clean, .hasHooks, .unstable: + title = NSLocalizedString("No conflicts with base branch", comment: "") + state = .success + buttonEnabled = true + case .behind: + title = NSLocalizedString("Head ref is out of date", comment: "") + state = .warning + buttonEnabled = false + case .blocked: + title = NSLocalizedString("Not authorized to merge", comment: "") + state = .failure + buttonEnabled = false + case .unknown: + title = NSLocalizedString("Merge status unknown", comment: "") + state = .pending + buttonEnabled = false + case .dirty: + title = NSLocalizedString("Merge conflicts found", comment: "") + state = .failure + buttonEnabled = false + } viewModels.append(IssueMergeSummaryModel( - title: mergeable ? - NSLocalizedString("No conflicts with base branch", comment: "") - : NSLocalizedString("Merge conflicts found", comment: ""), - state: mergeable ? .success : .warning + title: title, + state: state )) viewModels.append(IssueMergeButtonModel( - enabled: mergeable, + enabled: buttonEnabled, type: preferredMergeType, loading: loading )) diff --git a/Classes/Issues/PullRequest+IssueType.swift b/Classes/Issues/PullRequest+IssueType.swift index 4f0b71959..d10309943 100644 --- a/Classes/Issues/PullRequest+IssueType.swift +++ b/Classes/Issues/PullRequest+IssueType.swift @@ -76,7 +76,7 @@ extension IssueOrPullRequestQuery.Data.Repository.IssueOrPullRequest.AsPullReque return IssueMergeModel( id: commit.id, - state: mergeable, + state: mergeStateStatus, contexts: contexts, availableTypes: availableTypes ) diff --git a/Local Pods/GitHubAPI/GitHubAPI/ConfiguredNetworkers.swift b/Local Pods/GitHubAPI/GitHubAPI/ConfiguredNetworkers.swift index 2f78ac253..e6b551a82 100644 --- a/Local Pods/GitHubAPI/GitHubAPI/ConfiguredNetworkers.swift +++ b/Local Pods/GitHubAPI/GitHubAPI/ConfiguredNetworkers.swift @@ -22,6 +22,9 @@ public func ConfiguredNetworkers( additionalHeaders["Authorization"] = header } + // https://developer.github.com/v4/previews/#mergeinfopreview---more-detailed-information-about-a-pull-requests-merge-state + additionalHeaders["Accept"] = "application/vnd.github.merge-info-preview+json" + let config = URLSessionConfiguration.default config.httpAdditionalHeaders = additionalHeaders config.timeoutIntervalForRequest = 15 diff --git a/gql/API.swift b/gql/API.swift index 5f91563dd..7cef6ebc7 100644 --- a/gql/API.swift +++ b/gql/API.swift @@ -201,6 +201,67 @@ public enum MergeableState: RawRepresentable, Equatable, Apollo.JSONDecodable, A } } +/// Detailed status information about a pull request merge. +public enum MergeStateStatus: RawRepresentable, Equatable, Apollo.JSONDecodable, Apollo.JSONEncodable { + public typealias RawValue = String + /// The merge commit cannot be cleanly created. + case dirty + /// The state cannot currently be determined. + case unknown + /// The merge is blocked. + case blocked + /// The head ref is out of date. + case behind + /// Mergeable with non-passing commit status. + case unstable + /// Mergeable with passing commit status and pre-recieve hooks. + case hasHooks + /// Mergeable and passing commit status. + case clean + /// Auto generated constant for unknown enum values + case __unknown(RawValue) + + public init?(rawValue: RawValue) { + switch rawValue { + case "DIRTY": self = .dirty + case "UNKNOWN": self = .unknown + case "BLOCKED": self = .blocked + case "BEHIND": self = .behind + case "UNSTABLE": self = .unstable + case "HAS_HOOKS": self = .hasHooks + case "CLEAN": self = .clean + default: self = .__unknown(rawValue) + } + } + + public var rawValue: RawValue { + switch self { + case .dirty: return "DIRTY" + case .unknown: return "UNKNOWN" + case .blocked: return "BLOCKED" + case .behind: return "BEHIND" + case .unstable: return "UNSTABLE" + case .hasHooks: return "HAS_HOOKS" + case .clean: return "CLEAN" + case .__unknown(let value): return value + } + } + + public static func == (lhs: MergeStateStatus, rhs: MergeStateStatus) -> Bool { + switch (lhs, rhs) { + case (.dirty, .dirty): return true + case (.unknown, .unknown): return true + case (.blocked, .blocked): return true + case (.behind, .behind): return true + case (.unstable, .unstable): return true + case (.hasHooks, .hasHooks): return true + case (.clean, .clean): return true + case (.__unknown(let lhsValue), .__unknown(let rhsValue)): return lhsValue == rhsValue + default: return false + } + } +} + /// The possible states of an issue. public enum IssueState: RawRepresentable, Equatable, Apollo.JSONDecodable, Apollo.JSONEncodable { public typealias RawValue = String @@ -1439,7 +1500,7 @@ public final class IssueAutocompleteQuery: GraphQLQuery { public final class IssueOrPullRequestQuery: GraphQLQuery { public static let operationString = - "query IssueOrPullRequest($owner: String!, $repo: String!, $number: Int!, $page_size: Int!, $before: String) {\n repository(owner: $owner, name: $repo) {\n __typename\n name\n hasIssuesEnabled\n viewerCanAdminister\n mergeCommitAllowed\n rebaseMergeAllowed\n squashMergeAllowed\n mentionableUsers(first: 20) {\n __typename\n nodes {\n __typename\n avatarUrl\n login\n }\n }\n defaultBranchRef {\n __typename\n name\n }\n issueOrPullRequest(number: $number) {\n __typename\n ... on Issue {\n timeline(last: $page_size, before: $before) {\n __typename\n pageInfo {\n __typename\n ...headPaging\n }\n nodes {\n __typename\n ... on Commit {\n ...nodeFields\n author {\n __typename\n user {\n __typename\n login\n avatarUrl\n }\n }\n oid\n messageHeadline\n }\n ... on IssueComment {\n ...nodeFields\n ...reactionFields\n ...commentFields\n ...updatableFields\n ...deletableFields\n }\n ... on LabeledEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n label {\n __typename\n color\n name\n }\n createdAt\n }\n ... on UnlabeledEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n label {\n __typename\n color\n name\n }\n createdAt\n }\n ... on ClosedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n closer {\n __typename\n ... on Commit {\n oid\n }\n ... on PullRequest {\n mergeCommit {\n __typename\n oid\n }\n }\n }\n }\n ... on ReopenedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on RenamedTitleEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n currentTitle\n }\n ... on LockedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on UnlockedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on CrossReferencedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n source {\n __typename\n ... on Issue {\n title\n number\n closed\n repository {\n __typename\n name\n owner {\n __typename\n login\n }\n }\n }\n ... on PullRequest {\n title\n number\n closed\n merged\n repository {\n __typename\n name\n owner {\n __typename\n login\n }\n }\n }\n }\n }\n ... on ReferencedEvent {\n createdAt\n ...nodeFields\n refCommit: commit {\n __typename\n oid\n }\n actor {\n __typename\n login\n }\n commitRepository {\n __typename\n ...referencedRepositoryFields\n }\n subject {\n __typename\n ... on Issue {\n title\n number\n closed\n }\n ... on PullRequest {\n title\n number\n closed\n merged\n }\n }\n }\n ... on RenamedTitleEvent {\n ...nodeFields\n createdAt\n currentTitle\n previousTitle\n actor {\n __typename\n login\n }\n }\n ... on AssignedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n user {\n __typename\n login\n }\n }\n ... on UnassignedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n user {\n __typename\n login\n }\n }\n ... on MilestonedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n milestoneTitle\n }\n ... on DemilestonedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n milestoneTitle\n }\n }\n }\n milestone {\n __typename\n ...milestoneFields\n }\n ...reactionFields\n ...commentFields\n ...lockableFields\n ...closableFields\n ...labelableFields\n ...updatableFields\n ...nodeFields\n ...assigneeFields\n number\n title\n }\n ... on PullRequest {\n timeline(last: $page_size, before: $before) {\n __typename\n pageInfo {\n __typename\n ...headPaging\n }\n nodes {\n __typename\n ... on Commit {\n ...nodeFields\n author {\n __typename\n user {\n __typename\n login\n avatarUrl\n }\n }\n oid\n messageHeadline\n }\n ... on IssueComment {\n ...nodeFields\n ...reactionFields\n ...commentFields\n ...updatableFields\n ...deletableFields\n }\n ... on LabeledEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n label {\n __typename\n color\n name\n }\n createdAt\n }\n ... on UnlabeledEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n label {\n __typename\n color\n name\n }\n createdAt\n }\n ... on ClosedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n closer {\n __typename\n ... on Commit {\n oid\n }\n ... on PullRequest {\n mergeCommit {\n __typename\n oid\n }\n }\n }\n }\n ... on ReopenedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on RenamedTitleEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n currentTitle\n }\n ... on LockedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on UnlockedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on MergedEvent {\n ...nodeFields\n mergedCommit: commit {\n __typename\n oid\n }\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on PullRequestReviewThread {\n comments(first: $page_size) {\n __typename\n nodes {\n __typename\n ...reactionFields\n ...nodeFields\n ...commentFields\n path\n diffHunk\n }\n }\n }\n ... on PullRequestReview {\n ...nodeFields\n ...commentFields\n state\n submittedAt\n author {\n __typename\n login\n }\n comments {\n __typename\n totalCount\n }\n }\n ... on CrossReferencedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n source {\n __typename\n ... on Issue {\n title\n number\n closed\n repository {\n __typename\n name\n owner {\n __typename\n login\n }\n }\n }\n ... on PullRequest {\n title\n number\n closed\n merged\n repository {\n __typename\n name\n owner {\n __typename\n login\n }\n }\n }\n }\n }\n ... on ReferencedEvent {\n createdAt\n ...nodeFields\n actor {\n __typename\n login\n }\n commitRepository {\n __typename\n ...referencedRepositoryFields\n }\n subject {\n __typename\n ... on Issue {\n title\n number\n closed\n }\n ... on PullRequest {\n title\n number\n closed\n merged\n }\n }\n }\n ... on RenamedTitleEvent {\n ...nodeFields\n createdAt\n currentTitle\n previousTitle\n actor {\n __typename\n login\n }\n }\n ... on AssignedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n user {\n __typename\n login\n }\n }\n ... on UnassignedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n user {\n __typename\n login\n }\n }\n ... on ReviewRequestedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n requestedReviewer {\n __typename\n ... on Actor {\n login\n }\n }\n }\n ... on ReviewRequestRemovedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n requestedReviewer {\n __typename\n ... on Actor {\n login\n }\n }\n }\n ... on MilestonedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n milestoneTitle\n }\n ... on DemilestonedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n milestoneTitle\n }\n }\n }\n reviewRequests(first: $page_size) {\n __typename\n nodes {\n __typename\n requestedReviewer {\n __typename\n ... on Actor {\n login\n avatarUrl\n }\n }\n }\n }\n commits(last: 1) {\n __typename\n nodes {\n __typename\n commit {\n __typename\n ...commitContext\n }\n }\n }\n milestone {\n __typename\n ...milestoneFields\n }\n ...reactionFields\n ...commentFields\n ...lockableFields\n ...closableFields\n ...labelableFields\n ...updatableFields\n ...nodeFields\n ...assigneeFields\n number\n title\n merged\n baseRefName\n changedFiles\n additions\n deletions\n mergeable\n }\n }\n }\n}" + "query IssueOrPullRequest($owner: String!, $repo: String!, $number: Int!, $page_size: Int!, $before: String) {\n repository(owner: $owner, name: $repo) {\n __typename\n name\n hasIssuesEnabled\n viewerCanAdminister\n mergeCommitAllowed\n rebaseMergeAllowed\n squashMergeAllowed\n mentionableUsers(first: 20) {\n __typename\n nodes {\n __typename\n avatarUrl\n login\n }\n }\n defaultBranchRef {\n __typename\n name\n }\n issueOrPullRequest(number: $number) {\n __typename\n ... on Issue {\n timeline(last: $page_size, before: $before) {\n __typename\n pageInfo {\n __typename\n ...headPaging\n }\n nodes {\n __typename\n ... on Commit {\n ...nodeFields\n author {\n __typename\n user {\n __typename\n login\n avatarUrl\n }\n }\n oid\n messageHeadline\n }\n ... on IssueComment {\n ...nodeFields\n ...reactionFields\n ...commentFields\n ...updatableFields\n ...deletableFields\n }\n ... on LabeledEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n label {\n __typename\n color\n name\n }\n createdAt\n }\n ... on UnlabeledEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n label {\n __typename\n color\n name\n }\n createdAt\n }\n ... on ClosedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n closer {\n __typename\n ... on Commit {\n oid\n }\n ... on PullRequest {\n mergeCommit {\n __typename\n oid\n }\n }\n }\n }\n ... on ReopenedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on RenamedTitleEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n currentTitle\n }\n ... on LockedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on UnlockedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on CrossReferencedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n source {\n __typename\n ... on Issue {\n title\n number\n closed\n repository {\n __typename\n name\n owner {\n __typename\n login\n }\n }\n }\n ... on PullRequest {\n title\n number\n closed\n merged\n repository {\n __typename\n name\n owner {\n __typename\n login\n }\n }\n }\n }\n }\n ... on ReferencedEvent {\n createdAt\n ...nodeFields\n refCommit: commit {\n __typename\n oid\n }\n actor {\n __typename\n login\n }\n commitRepository {\n __typename\n ...referencedRepositoryFields\n }\n subject {\n __typename\n ... on Issue {\n title\n number\n closed\n }\n ... on PullRequest {\n title\n number\n closed\n merged\n }\n }\n }\n ... on RenamedTitleEvent {\n ...nodeFields\n createdAt\n currentTitle\n previousTitle\n actor {\n __typename\n login\n }\n }\n ... on AssignedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n user {\n __typename\n login\n }\n }\n ... on UnassignedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n user {\n __typename\n login\n }\n }\n ... on MilestonedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n milestoneTitle\n }\n ... on DemilestonedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n milestoneTitle\n }\n }\n }\n milestone {\n __typename\n ...milestoneFields\n }\n ...reactionFields\n ...commentFields\n ...lockableFields\n ...closableFields\n ...labelableFields\n ...updatableFields\n ...nodeFields\n ...assigneeFields\n number\n title\n }\n ... on PullRequest {\n timeline(last: $page_size, before: $before) {\n __typename\n pageInfo {\n __typename\n ...headPaging\n }\n nodes {\n __typename\n ... on Commit {\n ...nodeFields\n author {\n __typename\n user {\n __typename\n login\n avatarUrl\n }\n }\n oid\n messageHeadline\n }\n ... on IssueComment {\n ...nodeFields\n ...reactionFields\n ...commentFields\n ...updatableFields\n ...deletableFields\n }\n ... on LabeledEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n label {\n __typename\n color\n name\n }\n createdAt\n }\n ... on UnlabeledEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n label {\n __typename\n color\n name\n }\n createdAt\n }\n ... on ClosedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n closer {\n __typename\n ... on Commit {\n oid\n }\n ... on PullRequest {\n mergeCommit {\n __typename\n oid\n }\n }\n }\n }\n ... on ReopenedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on RenamedTitleEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n currentTitle\n }\n ... on LockedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on UnlockedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on MergedEvent {\n ...nodeFields\n mergedCommit: commit {\n __typename\n oid\n }\n actor {\n __typename\n login\n }\n createdAt\n }\n ... on PullRequestReviewThread {\n comments(first: $page_size) {\n __typename\n nodes {\n __typename\n ...reactionFields\n ...nodeFields\n ...commentFields\n path\n diffHunk\n }\n }\n }\n ... on PullRequestReview {\n ...nodeFields\n ...commentFields\n state\n submittedAt\n author {\n __typename\n login\n }\n comments {\n __typename\n totalCount\n }\n }\n ... on CrossReferencedEvent {\n ...nodeFields\n actor {\n __typename\n login\n }\n createdAt\n source {\n __typename\n ... on Issue {\n title\n number\n closed\n repository {\n __typename\n name\n owner {\n __typename\n login\n }\n }\n }\n ... on PullRequest {\n title\n number\n closed\n merged\n repository {\n __typename\n name\n owner {\n __typename\n login\n }\n }\n }\n }\n }\n ... on ReferencedEvent {\n createdAt\n ...nodeFields\n actor {\n __typename\n login\n }\n commitRepository {\n __typename\n ...referencedRepositoryFields\n }\n subject {\n __typename\n ... on Issue {\n title\n number\n closed\n }\n ... on PullRequest {\n title\n number\n closed\n merged\n }\n }\n }\n ... on RenamedTitleEvent {\n ...nodeFields\n createdAt\n currentTitle\n previousTitle\n actor {\n __typename\n login\n }\n }\n ... on AssignedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n user {\n __typename\n login\n }\n }\n ... on UnassignedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n user {\n __typename\n login\n }\n }\n ... on ReviewRequestedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n requestedReviewer {\n __typename\n ... on Actor {\n login\n }\n }\n }\n ... on ReviewRequestRemovedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n requestedReviewer {\n __typename\n ... on Actor {\n login\n }\n }\n }\n ... on MilestonedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n milestoneTitle\n }\n ... on DemilestonedEvent {\n ...nodeFields\n createdAt\n actor {\n __typename\n login\n }\n milestoneTitle\n }\n }\n }\n reviewRequests(first: $page_size) {\n __typename\n nodes {\n __typename\n requestedReviewer {\n __typename\n ... on Actor {\n login\n avatarUrl\n }\n }\n }\n }\n commits(last: 1) {\n __typename\n nodes {\n __typename\n commit {\n __typename\n ...commitContext\n }\n }\n }\n milestone {\n __typename\n ...milestoneFields\n }\n ...reactionFields\n ...commentFields\n ...lockableFields\n ...closableFields\n ...labelableFields\n ...updatableFields\n ...nodeFields\n ...assigneeFields\n number\n title\n merged\n baseRefName\n changedFiles\n additions\n deletions\n mergeable\n mergeStateStatus\n }\n }\n }\n}" public static var requestString: String { return operationString.appending(HeadPaging.fragmentString).appending(NodeFields.fragmentString).appending(ReactionFields.fragmentString).appending(CommentFields.fragmentString).appending(UpdatableFields.fragmentString).appending(DeletableFields.fragmentString).appending(ReferencedRepositoryFields.fragmentString).appending(MilestoneFields.fragmentString).appending(LockableFields.fragmentString).appending(ClosableFields.fragmentString).appending(LabelableFields.fragmentString).appending(AssigneeFields.fragmentString).appending(CommitContext.fragmentString) } @@ -1760,8 +1821,8 @@ public final class IssueOrPullRequestQuery: GraphQLQuery { return IssueOrPullRequest(snapshot: ["__typename": "Issue", "timeline": timeline.snapshot, "milestone": milestone.flatMap { (value: AsIssue.Milestone) -> Snapshot in value.snapshot }, "viewerCanReact": viewerCanReact, "reactionGroups": reactionGroups.flatMap { (value: [AsIssue.ReactionGroup]) -> [Snapshot] in value.map { (value: AsIssue.ReactionGroup) -> Snapshot in value.snapshot } }, "author": author.flatMap { (value: AsIssue.Author) -> Snapshot in value.snapshot }, "editor": editor.flatMap { (value: AsIssue.Editor) -> Snapshot in value.snapshot }, "lastEditedAt": lastEditedAt, "body": body, "createdAt": createdAt, "viewerDidAuthor": viewerDidAuthor, "locked": locked, "closed": closed, "labels": labels.flatMap { (value: AsIssue.Label) -> Snapshot in value.snapshot }, "viewerCanUpdate": viewerCanUpdate, "id": id, "assignees": assignees.snapshot, "number": number, "title": title]) } - public static func makePullRequest(timeline: AsPullRequest.Timeline, reviewRequests: AsPullRequest.ReviewRequest? = nil, commits: AsPullRequest.Commit, milestone: AsPullRequest.Milestone? = nil, viewerCanReact: Bool, reactionGroups: [AsPullRequest.ReactionGroup]? = nil, author: AsPullRequest.Author? = nil, editor: AsPullRequest.Editor? = nil, lastEditedAt: String? = nil, body: String, createdAt: String, viewerDidAuthor: Bool, locked: Bool, closed: Bool, labels: AsPullRequest.Label? = nil, viewerCanUpdate: Bool, id: GraphQLID, assignees: AsPullRequest.Assignee, number: Int, title: String, merged: Bool, baseRefName: String, changedFiles: Int, additions: Int, deletions: Int, mergeable: MergeableState) -> IssueOrPullRequest { - return IssueOrPullRequest(snapshot: ["__typename": "PullRequest", "timeline": timeline.snapshot, "reviewRequests": reviewRequests.flatMap { (value: AsPullRequest.ReviewRequest) -> Snapshot in value.snapshot }, "commits": commits.snapshot, "milestone": milestone.flatMap { (value: AsPullRequest.Milestone) -> Snapshot in value.snapshot }, "viewerCanReact": viewerCanReact, "reactionGroups": reactionGroups.flatMap { (value: [AsPullRequest.ReactionGroup]) -> [Snapshot] in value.map { (value: AsPullRequest.ReactionGroup) -> Snapshot in value.snapshot } }, "author": author.flatMap { (value: AsPullRequest.Author) -> Snapshot in value.snapshot }, "editor": editor.flatMap { (value: AsPullRequest.Editor) -> Snapshot in value.snapshot }, "lastEditedAt": lastEditedAt, "body": body, "createdAt": createdAt, "viewerDidAuthor": viewerDidAuthor, "locked": locked, "closed": closed, "labels": labels.flatMap { (value: AsPullRequest.Label) -> Snapshot in value.snapshot }, "viewerCanUpdate": viewerCanUpdate, "id": id, "assignees": assignees.snapshot, "number": number, "title": title, "merged": merged, "baseRefName": baseRefName, "changedFiles": changedFiles, "additions": additions, "deletions": deletions, "mergeable": mergeable]) + public static func makePullRequest(timeline: AsPullRequest.Timeline, reviewRequests: AsPullRequest.ReviewRequest? = nil, commits: AsPullRequest.Commit, milestone: AsPullRequest.Milestone? = nil, viewerCanReact: Bool, reactionGroups: [AsPullRequest.ReactionGroup]? = nil, author: AsPullRequest.Author? = nil, editor: AsPullRequest.Editor? = nil, lastEditedAt: String? = nil, body: String, createdAt: String, viewerDidAuthor: Bool, locked: Bool, closed: Bool, labels: AsPullRequest.Label? = nil, viewerCanUpdate: Bool, id: GraphQLID, assignees: AsPullRequest.Assignee, number: Int, title: String, merged: Bool, baseRefName: String, changedFiles: Int, additions: Int, deletions: Int, mergeable: MergeableState, mergeStateStatus: MergeStateStatus) -> IssueOrPullRequest { + return IssueOrPullRequest(snapshot: ["__typename": "PullRequest", "timeline": timeline.snapshot, "reviewRequests": reviewRequests.flatMap { (value: AsPullRequest.ReviewRequest) -> Snapshot in value.snapshot }, "commits": commits.snapshot, "milestone": milestone.flatMap { (value: AsPullRequest.Milestone) -> Snapshot in value.snapshot }, "viewerCanReact": viewerCanReact, "reactionGroups": reactionGroups.flatMap { (value: [AsPullRequest.ReactionGroup]) -> [Snapshot] in value.map { (value: AsPullRequest.ReactionGroup) -> Snapshot in value.snapshot } }, "author": author.flatMap { (value: AsPullRequest.Author) -> Snapshot in value.snapshot }, "editor": editor.flatMap { (value: AsPullRequest.Editor) -> Snapshot in value.snapshot }, "lastEditedAt": lastEditedAt, "body": body, "createdAt": createdAt, "viewerDidAuthor": viewerDidAuthor, "locked": locked, "closed": closed, "labels": labels.flatMap { (value: AsPullRequest.Label) -> Snapshot in value.snapshot }, "viewerCanUpdate": viewerCanUpdate, "id": id, "assignees": assignees.snapshot, "number": number, "title": title, "merged": merged, "baseRefName": baseRefName, "changedFiles": changedFiles, "additions": additions, "deletions": deletions, "mergeable": mergeable, "mergeStateStatus": mergeStateStatus]) } public var __typename: String { @@ -6699,6 +6760,7 @@ public final class IssueOrPullRequestQuery: GraphQLQuery { GraphQLField("additions", type: .nonNull(.scalar(Int.self))), GraphQLField("deletions", type: .nonNull(.scalar(Int.self))), GraphQLField("mergeable", type: .nonNull(.scalar(MergeableState.self))), + GraphQLField("mergeStateStatus", type: .nonNull(.scalar(MergeStateStatus.self))), ] public var snapshot: Snapshot @@ -6707,8 +6769,8 @@ public final class IssueOrPullRequestQuery: GraphQLQuery { self.snapshot = snapshot } - public init(timeline: Timeline, reviewRequests: ReviewRequest? = nil, commits: Commit, milestone: Milestone? = nil, viewerCanReact: Bool, reactionGroups: [ReactionGroup]? = nil, author: Author? = nil, editor: Editor? = nil, lastEditedAt: String? = nil, body: String, createdAt: String, viewerDidAuthor: Bool, locked: Bool, closed: Bool, labels: Label? = nil, viewerCanUpdate: Bool, id: GraphQLID, assignees: Assignee, number: Int, title: String, merged: Bool, baseRefName: String, changedFiles: Int, additions: Int, deletions: Int, mergeable: MergeableState) { - self.init(snapshot: ["__typename": "PullRequest", "timeline": timeline.snapshot, "reviewRequests": reviewRequests.flatMap { (value: ReviewRequest) -> Snapshot in value.snapshot }, "commits": commits.snapshot, "milestone": milestone.flatMap { (value: Milestone) -> Snapshot in value.snapshot }, "viewerCanReact": viewerCanReact, "reactionGroups": reactionGroups.flatMap { (value: [ReactionGroup]) -> [Snapshot] in value.map { (value: ReactionGroup) -> Snapshot in value.snapshot } }, "author": author.flatMap { (value: Author) -> Snapshot in value.snapshot }, "editor": editor.flatMap { (value: Editor) -> Snapshot in value.snapshot }, "lastEditedAt": lastEditedAt, "body": body, "createdAt": createdAt, "viewerDidAuthor": viewerDidAuthor, "locked": locked, "closed": closed, "labels": labels.flatMap { (value: Label) -> Snapshot in value.snapshot }, "viewerCanUpdate": viewerCanUpdate, "id": id, "assignees": assignees.snapshot, "number": number, "title": title, "merged": merged, "baseRefName": baseRefName, "changedFiles": changedFiles, "additions": additions, "deletions": deletions, "mergeable": mergeable]) + public init(timeline: Timeline, reviewRequests: ReviewRequest? = nil, commits: Commit, milestone: Milestone? = nil, viewerCanReact: Bool, reactionGroups: [ReactionGroup]? = nil, author: Author? = nil, editor: Editor? = nil, lastEditedAt: String? = nil, body: String, createdAt: String, viewerDidAuthor: Bool, locked: Bool, closed: Bool, labels: Label? = nil, viewerCanUpdate: Bool, id: GraphQLID, assignees: Assignee, number: Int, title: String, merged: Bool, baseRefName: String, changedFiles: Int, additions: Int, deletions: Int, mergeable: MergeableState, mergeStateStatus: MergeStateStatus) { + self.init(snapshot: ["__typename": "PullRequest", "timeline": timeline.snapshot, "reviewRequests": reviewRequests.flatMap { (value: ReviewRequest) -> Snapshot in value.snapshot }, "commits": commits.snapshot, "milestone": milestone.flatMap { (value: Milestone) -> Snapshot in value.snapshot }, "viewerCanReact": viewerCanReact, "reactionGroups": reactionGroups.flatMap { (value: [ReactionGroup]) -> [Snapshot] in value.map { (value: ReactionGroup) -> Snapshot in value.snapshot } }, "author": author.flatMap { (value: Author) -> Snapshot in value.snapshot }, "editor": editor.flatMap { (value: Editor) -> Snapshot in value.snapshot }, "lastEditedAt": lastEditedAt, "body": body, "createdAt": createdAt, "viewerDidAuthor": viewerDidAuthor, "locked": locked, "closed": closed, "labels": labels.flatMap { (value: Label) -> Snapshot in value.snapshot }, "viewerCanUpdate": viewerCanUpdate, "id": id, "assignees": assignees.snapshot, "number": number, "title": title, "merged": merged, "baseRefName": baseRefName, "changedFiles": changedFiles, "additions": additions, "deletions": deletions, "mergeable": mergeable, "mergeStateStatus": mergeStateStatus]) } public var __typename: String { @@ -6980,6 +7042,16 @@ public final class IssueOrPullRequestQuery: GraphQLQuery { } } + /// Detailed information about the current pull request merge state status. + public var mergeStateStatus: MergeStateStatus { + get { + return snapshot["mergeStateStatus"]! as! MergeStateStatus + } + set { + snapshot.updateValue(newValue, forKey: "mergeStateStatus") + } + } + public var fragments: Fragments { get { return Fragments(snapshot: snapshot) diff --git a/gql/IssueOrPullRequest.graphql b/gql/IssueOrPullRequest.graphql index ba38b75c2..6f5baae98 100644 --- a/gql/IssueOrPullRequest.graphql +++ b/gql/IssueOrPullRequest.graphql @@ -412,6 +412,7 @@ query IssueOrPullRequest($owner: String!, $repo: String!, $number: Int!, $page_s additions deletions mergeable + mergeStateStatus } } } diff --git a/gql/schema.json b/gql/schema.json index 9488c54e4..9068ecdb9 100644 --- a/gql/schema.json +++ b/gql/schema.json @@ -10120,6 +10120,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "canBeRebased", + "description": "Whether or not the pull request is rebaseable.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "changedFiles", "description": "The number of changed files in this pull request.", @@ -10575,6 +10591,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "mergeStateStatus", + "description": "Detailed information about the current pull request merge state status.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "MergeStateStatus", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "mergeable", "description": "Whether or not the pull request can be merged based on the existence of merge conflicts.", @@ -24034,6 +24066,59 @@ ], "possibleTypes": null }, + { + "kind": "ENUM", + "name": "MergeStateStatus", + "description": "Detailed status information about a pull request merge.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "DIRTY", + "description": "The merge commit cannot be cleanly created.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNKNOWN", + "description": "The state cannot currently be determined.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BLOCKED", + "description": "The merge is blocked.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BEHIND", + "description": "The head ref is out of date.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNSTABLE", + "description": "Mergeable with non-passing commit status.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HAS_HOOKS", + "description": "Mergeable with passing commit status and pre-recieve hooks.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CLEAN", + "description": "Mergeable and passing commit status.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", "name": "IssueCommentConnection", From 237acebbe024351fd973993ba8322b9daab42c14 Mon Sep 17 00:00:00 2001 From: Ryan Nystrom Date: Sat, 28 Jul 2018 16:42:37 -0400 Subject: [PATCH 3/4] handle unknown --- Classes/Issues/Merge/IssueMergeSectionController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Issues/Merge/IssueMergeSectionController.swift b/Classes/Issues/Merge/IssueMergeSectionController.swift index d9db3113c..01400db16 100644 --- a/Classes/Issues/Merge/IssueMergeSectionController.swift +++ b/Classes/Issues/Merge/IssueMergeSectionController.swift @@ -108,7 +108,7 @@ ListBindingSectionControllerSelectionDelegate { title = NSLocalizedString("Not authorized to merge", comment: "") state = .failure buttonEnabled = false - case .unknown: + case .unknown, .__unknown(_): title = NSLocalizedString("Merge status unknown", comment: "") state = .pending buttonEnabled = false From 6c0d4884ea58b76e65d3a19b3b76621945fd9edf Mon Sep 17 00:00:00 2001 From: Ryan Nystrom Date: Sat, 28 Jul 2018 16:52:07 -0400 Subject: [PATCH 4/4] pending state --- Classes/Issues/Merge/IssueMergeSectionController.swift | 2 +- Classes/Issues/Merge/IssueMergeSummaryCell.swift | 5 ++++- .../Assets.xcassets/splash_branches.imageset/Contents.json | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Classes/Issues/Merge/IssueMergeSectionController.swift b/Classes/Issues/Merge/IssueMergeSectionController.swift index 01400db16..edb8c6a31 100644 --- a/Classes/Issues/Merge/IssueMergeSectionController.swift +++ b/Classes/Issues/Merge/IssueMergeSectionController.swift @@ -114,7 +114,7 @@ ListBindingSectionControllerSelectionDelegate { buttonEnabled = false case .dirty: title = NSLocalizedString("Merge conflicts found", comment: "") - state = .failure + state = .warning buttonEnabled = false } viewModels.append(IssueMergeSummaryModel( diff --git a/Classes/Issues/Merge/IssueMergeSummaryCell.swift b/Classes/Issues/Merge/IssueMergeSummaryCell.swift index 6eee20e2d..cbe76c277 100644 --- a/Classes/Issues/Merge/IssueMergeSummaryCell.swift +++ b/Classes/Issues/Merge/IssueMergeSummaryCell.swift @@ -62,7 +62,10 @@ final class IssueMergeSummaryCell: CardCollectionViewCell, ListBindable { case .failure: imageViewBackground = Styles.Colors.Red.medium.color iconName = "merge-x" - case .warning, .pending: + case .pending: + imageViewBackground = Styles.Colors.Yellow.medium.color + iconName = "primitive-dot" + case .warning: imageViewBackground = Styles.Colors.Gray.medium.color iconName = "merge-alert" } diff --git a/Resources/Assets.xcassets/splash_branches.imageset/Contents.json b/Resources/Assets.xcassets/splash_branches.imageset/Contents.json index 6eee64548..7a89710ec 100644 --- a/Resources/Assets.xcassets/splash_branches.imageset/Contents.json +++ b/Resources/Assets.xcassets/splash_branches.imageset/Contents.json @@ -1,5 +1,9 @@ { "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, { "idiom" : "universal", "filename" : "splash_branches@2x.png",