From df31584fc18277da6780c16e66c69393b3ba3b65 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Mon, 14 Aug 2023 11:42:47 -0500 Subject: [PATCH] GraphQL schema update (#40491) Co-authored-by: rachmari --- data/graphql/ghae/schema.docs-ghae.graphql | 73 +- data/graphql/ghec/schema.docs.graphql | 78 +- .../ghes-3.10/graphql_previews.enterprise.yml | 2 +- ...hql_upcoming_changes.public-enterprise.yml | 100 --- .../ghes-3.10/schema.docs-enterprise.graphql | 559 +++++++++++-- data/graphql/schema.docs.graphql | 78 +- src/graphql/data/fpt/changelog.json | 18 + src/graphql/data/fpt/schema.json | 112 ++- src/graphql/data/ghae/schema.json | 104 ++- src/graphql/data/ghec/schema.json | 112 ++- src/graphql/data/ghes-3.10/previews.json | 2 +- src/graphql/data/ghes-3.10/schema.json | 771 ++++++++++++++++-- .../data/ghes-3.10/upcoming-changes.json | 126 --- 13 files changed, 1763 insertions(+), 372 deletions(-) diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 9930e0640351..6e125047bde9 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -697,6 +697,46 @@ type AddPullRequestReviewThreadPayload { thread: PullRequestReviewThread } +""" +Autogenerated input type of AddPullRequestReviewThreadReply +""" +input AddPullRequestReviewThreadReplyInput { + """ + The text of the reply. + """ + body: String! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Node ID of the pending review to which the reply will belong. + """ + pullRequestReviewId: ID @possibleTypes(concreteTypes: ["PullRequestReview"]) + + """ + The Node ID of the thread to which this reply is being written. + """ + pullRequestReviewThreadId: ID! @possibleTypes(concreteTypes: ["PullRequestReviewThread"]) +} + +""" +Autogenerated return type of AddPullRequestReviewThreadReply +""" +type AddPullRequestReviewThreadReplyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created reply. + """ + comment: PullRequestReviewComment +} + """ Autogenerated input type of AddReaction """ @@ -18722,6 +18762,16 @@ type Mutation { input: AddPullRequestReviewThreadInput! ): AddPullRequestReviewThreadPayload + """ + Adds a reply to an existing Pull Request Review Thread. + """ + addPullRequestReviewThreadReply( + """ + Parameters for AddPullRequestReviewThreadReply + """ + input: AddPullRequestReviewThreadReplyInput! + ): AddPullRequestReviewThreadReplyPayload + """ Adds a reaction to a subject. """ @@ -27957,6 +28007,21 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab viewerSubscription: SubscriptionState } +""" +The possible methods for updating a pull request's head branch with the base branch. +""" +enum PullRequestBranchUpdateMethod { + """ + Update branch via merge + """ + MERGE + + """ + Update branch via rebase + """ + REBASE +} + """ A file changed in a pull request. """ @@ -39748,7 +39813,8 @@ input StartRepositoryMigrationInput { """ Whether to continue the migration on error. Defaults to `false`. We strongly - recommend setting this to `true` for the smoothest migration experience. + recommend setting this to `true` for the smoothest migration experience. *This + default will change to `true` on September 4, 2023.* """ continueOnError: Boolean @@ -45120,6 +45186,11 @@ input UpdatePullRequestBranchInput { The Node ID of the pull request. """ pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) + + """ + The update branch method to use. If omitted, defaults to 'MERGE' + """ + updateMethod: PullRequestBranchUpdateMethod } """ diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 9051775ebe34..b95c8eb5395d 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -864,6 +864,46 @@ type AddPullRequestReviewThreadPayload { thread: PullRequestReviewThread } +""" +Autogenerated input type of AddPullRequestReviewThreadReply +""" +input AddPullRequestReviewThreadReplyInput { + """ + The text of the reply. + """ + body: String! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Node ID of the pending review to which the reply will belong. + """ + pullRequestReviewId: ID @possibleTypes(concreteTypes: ["PullRequestReview"]) + + """ + The Node ID of the thread to which this reply is being written. + """ + pullRequestReviewThreadId: ID! @possibleTypes(concreteTypes: ["PullRequestReviewThread"]) +} + +""" +Autogenerated return type of AddPullRequestReviewThreadReply +""" +type AddPullRequestReviewThreadReplyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created reply. + """ + comment: PullRequestReviewComment +} + """ Autogenerated input type of AddReaction """ @@ -16069,6 +16109,11 @@ type GitHubMetadata { """ gitIpAddresses: [String!] + """ + IP addresses that GitHub Enterprise Importer uses for outbound connections + """ + githubEnterpriseImporterIpAddresses: [String!] + """ IP addresses that service hooks are sent from """ @@ -21439,6 +21484,16 @@ type Mutation { input: AddPullRequestReviewThreadInput! ): AddPullRequestReviewThreadPayload + """ + Adds a reply to an existing Pull Request Review Thread. + """ + addPullRequestReviewThreadReply( + """ + Parameters for AddPullRequestReviewThreadReply + """ + input: AddPullRequestReviewThreadReplyInput! + ): AddPullRequestReviewThreadReplyPayload + """ Adds a reaction to a subject. """ @@ -34934,6 +34989,21 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab viewerSubscription: SubscriptionState } +""" +The possible methods for updating a pull request's head branch with the base branch. +""" +enum PullRequestBranchUpdateMethod { + """ + Update branch via merge + """ + MERGE + + """ + Update branch via rebase + """ + REBASE +} + """ A file changed in a pull request. """ @@ -50406,7 +50476,8 @@ input StartRepositoryMigrationInput { """ Whether to continue the migration on error. Defaults to `false`. We strongly - recommend setting this to `true` for the smoothest migration experience. + recommend setting this to `true` for the smoothest migration experience. *This + default will change to `true` on September 4, 2023.* """ continueOnError: Boolean @@ -56422,6 +56493,11 @@ input UpdatePullRequestBranchInput { The Node ID of the pull request. """ pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) + + """ + The update branch method to use. If omitted, defaults to 'MERGE' + """ + updateMethod: PullRequestBranchUpdateMethod } """ diff --git a/data/graphql/ghes-3.10/graphql_previews.enterprise.yml b/data/graphql/ghes-3.10/graphql_previews.enterprise.yml index 617fbdd1129d..e6ae97ea1a9e 100644 --- a/data/graphql/ghes-3.10/graphql_previews.enterprise.yml +++ b/data/graphql/ghes-3.10/graphql_previews.enterprise.yml @@ -52,7 +52,7 @@ - UpdateRefsInput - UpdateRefsPayload owning_teams: - - '@github/reponauts' + - '@github/repos' - title: Access to a Repository's Dependency Graph description: This preview adds support for reading a dependency graph for a repository. toggled_by: ':hawkgirl-preview' diff --git a/data/graphql/ghes-3.10/graphql_upcoming_changes.public-enterprise.yml b/data/graphql/ghes-3.10/graphql_upcoming_changes.public-enterprise.yml index f16f51076bed..f04fac936552 100644 --- a/data/graphql/ghes-3.10/graphql_upcoming_changes.public-enterprise.yml +++ b/data/graphql/ghes-3.10/graphql_upcoming_changes.public-enterprise.yml @@ -78,30 +78,6 @@ upcoming_changes: date: '2022-10-01T00:00:00+00:00' criticality: breaking owner: jhunschejones - - location: PackageType.NPM - description: '`NPM` will be removed.' - reason: - NPM will be removed from this enum as this type will be migrated to only - be used by the Packages REST API. - date: '2022-11-21' - criticality: breaking - owner: s-anupam - - location: PackageType.NUGET - description: '`NUGET` will be removed.' - reason: - NUGET will be removed from this enum as this type will be migrated to only - be used by the Packages REST API. - date: '2022-11-21' - criticality: breaking - owner: s-anupam - - location: PackageType.RUBYGEMS - description: '`RUBYGEMS` will be removed.' - reason: - RUBYGEMS will be removed from this enum as this type will be migrated to - only be used by the Packages REST API. - date: '2022-12-28' - criticality: breaking - owner: ankitkaushal01 - location: Commit.changedFiles description: '`changedFiles` will be removed. Use `changedFilesIfAvailable` instead.' reason: '`changedFiles` will be removed.' @@ -118,14 +94,6 @@ upcoming_changes: date: '2023-01-01T00:00:00+00:00' criticality: breaking owner: mattruggio - - location: PackageType.MAVEN - description: '`MAVEN` will be removed.' - reason: - MAVEN will be removed from this enum as this type will be migrated to only - be used by the Packages REST API. - date: '2023-02-10' - criticality: breaking - owner: ankitkaushal01 - location: ProjectV2View.groupBy description: '`groupBy` will be removed. Check out the `ProjectV2View#group_by_fields` @@ -164,80 +132,12 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: github/pull_requests - - location: RepositoryVulnerabilityAlert.fixReason - description: '`fixReason` will be removed.' - reason: - The `fixReason` field is being removed. You can still use `fixedAt` and - `dismissReason`. - date: '2023-04-01T00:00:00+00:00' - criticality: breaking - owner: jamestran201 - location: Commit.pushedDate description: '`pushedDate` will be removed.' reason: '`pushedDate` is no longer supported.' date: '2023-07-01T00:00:00+00:00' criticality: breaking owner: darthwillis - - location: MergeQueue.headOid - description: '`headOid` will be removed. Use `entry.headOid` instead.' - reason: '`headOid` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.mergeMethod - description: '`mergeMethod` will be removed. Use `configuration.merge_method` instead.' - reason: '`mergeMethod` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.mergingEntries - description: '`mergingEntries` will be removed.' - reason: '`mergingEntries` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.pendingRemovalEntries - description: '`pendingRemovalEntries` will be removed.' - reason: '`pendingRemovalEntries` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.baseOid - description: '`baseOid` will be removed. Use `baseCommit` instead.' - reason: '`baseOid` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.blockedByMergeConflicts - description: '`blockedByMergeConflicts` will be removed. Use `state` instead.' - reason: '`blockedByMergeConflicts` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.checkStatus - description: '`checkStatus` will be removed. Use `state` instead.' - reason: '`checkStatus` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.hasJumpedQueue - description: '`hasJumpedQueue` will be removed. Use `jump` instead.' - reason: '`hasJumpedQueue` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.headOid - description: '`headOid` will be removed. Use `headCommit` instead.' - reason: '`headOid` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.isSolo - description: '`isSolo` will be removed. Use `solo` instead.' - reason: '`isSolo` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - location: ProjectV2ItemFieldGroup.field description: '`field` will be removed. Check out the `ProjectV2ItemFieldGroup#groupByField` diff --git a/data/graphql/ghes-3.10/schema.docs-enterprise.graphql b/data/graphql/ghes-3.10/schema.docs-enterprise.graphql index 3ca079a77331..32933af89c70 100644 --- a/data/graphql/ghes-3.10/schema.docs-enterprise.graphql +++ b/data/graphql/ghes-3.10/schema.docs-enterprise.graphql @@ -4237,7 +4237,7 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl ): Blame! """ - We recommend using the `changedFielsIfAvailable` field instead of + We recommend using the `changedFilesIfAvailable` field instead of `changedFiles`, as `changedFiles` will cause your request to return an error if GitHub is unable to calculate the number of changed files. """ @@ -8668,8 +8668,6 @@ type DependencyGraphDependency @preview(toggledBy: "hawkgirl-preview") { """ The name of the package in the canonical form used by the package manager. - This may differ from the original textual form (see packageLabel), for example - in a package manager that uses case-insensitive comparisons. """ packageName: String! @@ -11248,7 +11246,8 @@ type Enterprise implements AnnouncementBanner & Node { ): OrganizationConnection! """ - Enterprise information only visible to enterprise owners. + Enterprise information visible to enterprise owners or enterprise owners' + personal access tokens (classic) with read:enterprise or admin:enterprise scope. """ ownerInfo: EnterpriseOwnerInfo @@ -11661,6 +11660,8 @@ type EnterpriseFailedInvitationEdge { """ An identity provider configured to provision identities for an enterprise. +Visible to enterprise owners or enterprise owners' personal access tokens +(classic) with read:enterprise or admin:enterprise scope. """ type EnterpriseIdentityProvider implements Node { """ @@ -11976,7 +11977,8 @@ type EnterpriseOutsideCollaboratorEdge { } """ -Enterprise information only visible to enterprise owners. +Enterprise information visible to enterprise owners or enterprise owners' +personal access tokens (classic) with read:enterprise or admin:enterprise scope. """ type EnterpriseOwnerInfo { """ @@ -12145,7 +12147,8 @@ type EnterpriseOwnerInfo { ): OrganizationConnection! """ - A list of domains owned by the enterprise. + A list of domains owned by the enterprise. Visible to enterprise owners or + enterprise owners' personal access tokens (classic) with admin:enterprise scope. """ domains( """ @@ -12221,6 +12224,8 @@ type EnterpriseOwnerInfo { """ The IP addresses that are allowed to access resources owned by the enterprise. + Visible to enterprise owners or enterprise owners' personal access tokens + (classic) with admin:enterprise scope. """ ipAllowListEntries( """ @@ -12821,8 +12826,7 @@ type EnterpriseOwnerInfo { ): OrganizationConnection! """ - The SAML Identity Provider for the enterprise. When used by a GitHub App, - requires an installation token with read and write access to members. + The SAML Identity Provider for the enterprise. """ samlIdentityProvider: EnterpriseIdentityProvider @@ -13831,7 +13835,13 @@ type EnvironmentEdge { } """ -An external identity provisioned by SAML SSO or SCIM. +An external identity provisioned by SAML SSO or SCIM. If SAML is configured on +the organization, the external identity is visible to (1) organization owners, +(2) organization owners' personal access tokens (classic) with read:org or +admin:org scope, (3) GitHub App with an installation token with read or write +access to members. If SAML is configured on the enterprise, the external +identity is visible to (1) enterprise owners, (2) enterprise owners' personal +access tokens (classic) with read:enterprise or admin:enterprise scope. """ type ExternalIdentity implements Node { """ @@ -15528,7 +15538,7 @@ union IpAllowListOwner = App | Enterprise | Organization """ An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. """ -type Issue implements Assignable & Closable & Comment & Labelable & Lockable & Node & ProjectV2Owner & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment { +type Issue implements Assignable & Closable & Comment & Deletable & Labelable & Lockable & Node & ProjectV2Owner & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment { """ Reason that the conversation was locked. """ @@ -16046,6 +16056,11 @@ type Issue implements Assignable & Closable & Comment & Labelable & Lockable & N """ viewerCanClose: Boolean! + """ + Check if the current viewer can delete this object. + """ + viewerCanDelete: Boolean! + """ Can user react to this subject """ @@ -16590,6 +16605,31 @@ type IssueTemplate { """ about: String + """ + The suggested assignees. + """ + assignees( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): UserConnection! + """ The suggested issue body. """ @@ -16600,6 +16640,36 @@ type IssueTemplate { """ filename: String! + """ + The suggested issue labels + """ + labels( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for labels returned from the connection. + """ + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} + ): LabelConnection + """ The template name. """ @@ -17874,6 +17944,36 @@ type MarkFileAsViewedPayload { pullRequest: PullRequest } +""" +Autogenerated input type of MarkProjectV2AsTemplate +""" +input MarkProjectV2AsTemplateInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the Project to mark as a template. + """ + projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"]) +} + +""" +Autogenerated return type of MarkProjectV2AsTemplate +""" +type MarkProjectV2AsTemplatePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The project. + """ + projectV2: ProjectV2 +} + """ Autogenerated input type of MarkPullRequestReadyForReview """ @@ -18612,6 +18712,12 @@ interface Migration { The migration state. """ state: MigrationState! + + """ + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + """ + warningsCount: Int! } """ @@ -20187,6 +20293,16 @@ type Mutation { input: MarkFileAsViewedInput! ): MarkFileAsViewedPayload + """ + Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template. + """ + markProjectV2AsTemplate( + """ + Parameters for MarkProjectV2AsTemplate + """ + input: MarkProjectV2AsTemplateInput! + ): MarkProjectV2AsTemplatePayload + """ Marks a pull request ready for review. """ @@ -20587,6 +20703,16 @@ type Mutation { input: UnmarkIssueAsDuplicateInput! ): UnmarkIssueAsDuplicatePayload + """ + Unmark a project as a template. + """ + unmarkProjectV2AsTemplate( + """ + Parameters for UnmarkProjectV2AsTemplate + """ + input: UnmarkProjectV2AsTemplateInput! + ): UnmarkProjectV2AsTemplatePayload + """ Unminimizes a comment on an Issue, Commit, Pull Request, or Gist """ @@ -20967,6 +21093,16 @@ type Mutation { input: UpdateProjectV2Input! ): UpdateProjectV2Payload + """ + Update the collaborators on a team or a project + """ + updateProjectV2Collaborators( + """ + Parameters for UpdateProjectV2Collaborators + """ + input: UpdateProjectV2CollaboratorsInput! + ): UpdateProjectV2CollaboratorsPayload + """ Updates a draft issue within a Project. """ @@ -21196,17 +21332,17 @@ Metadata for an audit entry with action oauth_application.* """ interface OauthApplicationAuditEntryData { """ - The name of the OAuth Application. + The name of the OAuth application. """ oauthApplicationName: String """ - The HTTP path for the OAuth Application + The HTTP path for the OAuth application """ oauthApplicationResourcePath: URI """ - The HTTP URL for the OAuth Application + The HTTP URL for the OAuth application """ oauthApplicationUrl: URI } @@ -21251,12 +21387,12 @@ type OauthApplicationCreateAuditEntry implements AuditEntry & Node & OauthApplic actorUrl: URI """ - The application URL of the OAuth Application. + The application URL of the OAuth application. """ applicationUrl: URI """ - The callback URL of the OAuth Application. + The callback URL of the OAuth application. """ callbackUrl: URI @@ -21267,17 +21403,17 @@ type OauthApplicationCreateAuditEntry implements AuditEntry & Node & OauthApplic id: ID! """ - The name of the OAuth Application. + The name of the OAuth application. """ oauthApplicationName: String """ - The HTTP path for the OAuth Application + The HTTP path for the OAuth application """ oauthApplicationResourcePath: URI """ - The HTTP URL for the OAuth Application + The HTTP URL for the OAuth application """ oauthApplicationUrl: URI @@ -21307,12 +21443,12 @@ type OauthApplicationCreateAuditEntry implements AuditEntry & Node & OauthApplic organizationUrl: URI """ - The rate limit of the OAuth Application. + The rate limit of the OAuth application. """ rateLimit: Int """ - The state of the OAuth Application. + The state of the OAuth application. """ state: OauthApplicationCreateAuditEntryState @@ -21338,21 +21474,21 @@ type OauthApplicationCreateAuditEntry implements AuditEntry & Node & OauthApplic } """ -The state of an OAuth Application when it was created. +The state of an OAuth application when it was created. """ enum OauthApplicationCreateAuditEntryState { """ - The OAuth Application was active and allowed to have OAuth Accesses. + The OAuth application was active and allowed to have OAuth Accesses. """ ACTIVE """ - The OAuth Application was in the process of being deleted. + The OAuth application was in the process of being deleted. """ PENDING_DELETION """ - The OAuth Application was suspended from generating OAuth Accesses due to abuse or security concerns. + The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns. """ SUSPENDED } @@ -22902,17 +23038,17 @@ type OrgOauthAppAccessApprovedAuditEntry implements AuditEntry & Node & OauthApp id: ID! """ - The name of the OAuth Application. + The name of the OAuth application. """ oauthApplicationName: String """ - The HTTP path for the OAuth Application + The HTTP path for the OAuth application """ oauthApplicationResourcePath: URI """ - The HTTP URL for the OAuth Application + The HTTP URL for the OAuth application """ oauthApplicationUrl: URI @@ -23008,17 +23144,17 @@ type OrgOauthAppAccessDeniedAuditEntry implements AuditEntry & Node & OauthAppli id: ID! """ - The name of the OAuth Application. + The name of the OAuth application. """ oauthApplicationName: String """ - The HTTP path for the OAuth Application + The HTTP path for the OAuth application """ oauthApplicationResourcePath: URI """ - The HTTP URL for the OAuth Application + The HTTP URL for the OAuth application """ oauthApplicationUrl: URI @@ -23114,17 +23250,17 @@ type OrgOauthAppAccessRequestedAuditEntry implements AuditEntry & Node & OauthAp id: ID! """ - The name of the OAuth Application. + The name of the OAuth application. """ oauthApplicationName: String """ - The HTTP path for the OAuth Application + The HTTP path for the OAuth application """ oauthApplicationResourcePath: URI """ - The HTTP URL for the OAuth Application + The HTTP URL for the OAuth application """ oauthApplicationUrl: URI @@ -25233,7 +25369,10 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod resourcePath: URI! """ - The Organization's SAML identity providers + The Organization's SAML identity provider. Visible to (1) organization owners, + (2) organization owners' personal access tokens (classic) with read:org or + admin:org scope, (3) GitHub App with an installation token with read or write + access to members. """ samlIdentityProvider: OrganizationIdentityProvider @@ -25276,6 +25415,11 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod """ ldapMapped: Boolean + """ + If non-null, filters teams according to notification setting + """ + notificationSetting: TeamNotificationSetting + """ Ordering options for teams returned from the connection """ @@ -25592,7 +25736,10 @@ type OrganizationEnterpriseOwnerEdge { } """ -An Identity Provider configured to provision SAML and SCIM identities for Organizations +An Identity Provider configured to provision SAML and SCIM identities for +Organizations. Visible to (1) organization owners, (2) organization owners' +personal access tokens (classic) with read:org or admin:org scope, (3) GitHub +App with an installation token with read or write access to members. """ type OrganizationIdentityProvider implements Node { """ @@ -25963,6 +26110,11 @@ enum OrganizationMigrationState { """ FAILED + """ + The Octoshift migration has invalid credentials. + """ + FAILED_VALIDATION + """ The Octoshift migration is in progress. """ @@ -25973,6 +26125,11 @@ enum OrganizationMigrationState { """ NOT_STARTED + """ + The Octoshift migration needs to have its credentials validated. + """ + PENDING_VALIDATION + """ The Octoshift migration is performing post repository migrations. """ @@ -26488,25 +26645,16 @@ enum PackageType { A maven package. """ MAVEN - @deprecated( - reason: "MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2023-02-10 UTC." - ) """ An npm package. """ NPM - @deprecated( - reason: "NPM will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2022-11-21 UTC." - ) """ A nuget package. """ NUGET - @deprecated( - reason: "NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2022-11-21 UTC." - ) """ A python package. @@ -26517,9 +26665,6 @@ enum PackageType { A rubygems package. """ RUBYGEMS - @deprecated( - reason: "RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2022-12-28 UTC." - ) } """ @@ -28542,6 +28687,71 @@ type ProjectV2 implements Closable & Node & Updatable { ): ProjectV2WorkflowConnection! } +""" +Possible collaborators for a project. +""" +union ProjectV2Actor = Team | User + +""" +The connection type for ProjectV2Actor. +""" +type ProjectV2ActorConnection { + """ + A list of edges. + """ + edges: [ProjectV2ActorEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2Actor] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2ActorEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2Actor +} + +""" +A collaborator to update on a project. Only one of the userId or teamId should be provided. +""" +input ProjectV2Collaborator { + """ + The role to grant the collaborator + """ + role: ProjectV2Roles! + + """ + The ID of the team as a collaborator. + """ + teamId: ID @possibleTypes(concreteTypes: ["Team"]) + + """ + The ID of the user as a collaborator. + """ + userId: ID @possibleTypes(concreteTypes: ["User"]) +} + """ The connection type for ProjectV2. """ @@ -28929,7 +29139,7 @@ type ProjectV2Item implements Node { databaseId: Int """ - A specific field value given a field name + The field value of the first project field which matches the 'name' argument that is set on the item. """ fieldValueByName( """ @@ -28939,7 +29149,7 @@ type ProjectV2Item implements Node { ): ProjectV2ItemFieldValue """ - List of field values + The field values that are set on the item. """ fieldValues( """ @@ -29830,6 +30040,31 @@ interface ProjectV2Recent { ): ProjectV2Connection! } +""" +The possible roles of a collaborator on a project. +""" +enum ProjectV2Roles { + """ + The collaborator can view, edit, and maange the settings of the project + """ + ADMIN + + """ + The collaborator has no direct access to the project + """ + NONE + + """ + The collaborator can view the project + """ + READER + + """ + The collaborator can view and edit the project + """ + WRITER +} + """ A single select field inside a project. """ @@ -29858,7 +30093,12 @@ type ProjectV2SingleSelectField implements Node & ProjectV2FieldCommon { """ Options for the single select field """ - options: [ProjectV2SingleSelectFieldOption!]! + options( + """ + Filter returned options to only those matching these names, case insensitive. + """ + names: [String!] + ): [ProjectV2SingleSelectFieldOption!]! """ The project that contains this field. @@ -33210,11 +33450,6 @@ type PullRequestTimelineItemsEdge { The possible item types found in a timeline. """ enum PullRequestTimelineItemsItemType { - """ - Represents an 'added_to_merge_queue' event on a given pull request. - """ - ADDED_TO_MERGE_QUEUE_EVENT - """ Represents a 'added_to_project' event on a given issue or pull request. """ @@ -33420,11 +33655,6 @@ enum PullRequestTimelineItemsItemType { """ REFERENCED_EVENT - """ - Represents a 'removed_from_merge_queue' event on a given pull request. - """ - REMOVED_FROM_MERGE_QUEUE_EVENT - """ Represents a 'removed_from_project' event on a given issue or pull request. """ @@ -33734,7 +33964,8 @@ type Query { ): RateLimit """ - Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object + Workaround for re-exposing the root query object. (Refer to + https://github.com/facebook/relay/issues/112 for more information.) """ relay: Query! @@ -37948,6 +38179,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ allowUpdateBranch: Boolean! + """ + Identifies the date and time when the repository was archived. + """ + archivedAt: DateTime + """ A list of users that can be assigned to issues in this repository. """ @@ -39039,7 +39275,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent ): PullRequestConnection! """ - Identifies when the repository was last pushed to. + Identifies the date and time when the repository was last pushed to. """ pushedAt: DateTime @@ -39791,6 +40027,11 @@ type RepositoryEdge { A subset of repository info. """ interface RepositoryInfo { + """ + Identifies the date and time when the repository was archived. + """ + archivedAt: DateTime + """ Identifies the date and time when the object was created. """ @@ -39912,7 +40153,7 @@ interface RepositoryInfo { owner: RepositoryOwner! """ - Identifies when the repository was last pushed to. + Identifies the date and time when the repository was last pushed to. """ pushedAt: DateTime @@ -40132,6 +40373,12 @@ type RepositoryMigration implements Migration & Node { The migration state. """ state: MigrationState! + + """ + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + """ + warningsCount: Int! } """ @@ -40753,14 +41000,6 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode { """ dismisser: User - """ - The reason the alert was marked as fixed. - """ - fixReason: String - @deprecated( - reason: "The `fixReason` field is being removed. You can still use `fixedAt` and `dismissReason`. Removal on 2023-04-01 UTC." - ) - """ When was the alert fixed? """ @@ -42095,6 +42334,11 @@ enum SecurityAdvisoryEcosystem { Rust crates """ RUST + + """ + Swift packages + """ + SWIFT } """ @@ -43611,6 +43855,11 @@ type Team implements MemberStatusable & Node & Subscribable { """ newTeamUrl: URI! + """ + The notification setting that the team has set. + """ + notificationSetting: TeamNotificationSetting! + """ The organization that owns this team. """ @@ -44903,6 +45152,21 @@ enum TeamMembershipType { IMMEDIATE } +""" +The possible team notification values. +""" +enum TeamNotificationSetting { + """ + No one will receive notifications. + """ + NOTIFICATIONS_DISABLED + + """ + Everyone will receive notifications when the team is @mentioned. + """ + NOTIFICATIONS_ENABLED +} + """ Ways in which team connections can be ordered. """ @@ -46180,6 +46444,36 @@ type UnmarkIssueAsDuplicatePayload { duplicate: IssueOrPullRequest } +""" +Autogenerated input type of UnmarkProjectV2AsTemplate +""" +input UnmarkProjectV2AsTemplateInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the Project to unmark as a template. + """ + projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"]) +} + +""" +Autogenerated return type of UnmarkProjectV2AsTemplate +""" +type UnmarkProjectV2AsTemplatePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The project. + """ + projectV2: ProjectV2 +} + """ Represents an 'unmarked_as_duplicate' event on a given issue or pull request. """ @@ -47949,6 +48243,61 @@ type UpdateProjectPayload { project: Project } +""" +Autogenerated input type of UpdateProjectV2Collaborators +""" +input UpdateProjectV2CollaboratorsInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The collaborators to update. + """ + collaborators: [ProjectV2Collaborator!]! + + """ + The ID of the project to update the collaborators for. + """ + projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"]) +} + +""" +Autogenerated return type of UpdateProjectV2Collaborators +""" +type UpdateProjectV2CollaboratorsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The collaborators granted a role + """ + collaborators( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ProjectV2ActorConnection +} + """ Autogenerated input type of UpdateProjectV2DraftIssue """ @@ -49063,7 +49412,7 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & isEmployee: Boolean! """ - Whether or not this user is following the viewer. Inverse of viewer_is_following + Whether or not this user is following the viewer. Inverse of viewerIsFollowing """ isFollowingViewer: Boolean! @@ -49930,7 +50279,7 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & viewerCanFollow: Boolean! """ - Whether or not this user is followed by the viewer. Inverse of is_following_viewer. + Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. """ viewerIsFollowing: Boolean! @@ -50531,7 +50880,7 @@ interface Votable { """ A workflow contains meta information about an Actions workflow file. """ -type Workflow implements Node { +type Workflow implements Node & UniformResourceLocatable { """ Identifies the date and time when the object was created. """ @@ -50548,6 +50897,11 @@ type Workflow implements Node { """ name: String! + """ + The HTTP path for this workflow + """ + resourcePath: URI! + """ The runs of the workflow. """ @@ -50587,6 +50941,11 @@ type Workflow implements Node { Identifies the date and time when the object was last updated. """ updatedAt: DateTime! + + """ + The HTTP URL for this workflow + """ + url: URI! } """ @@ -50637,6 +50996,11 @@ type WorkflowRun implements Node & UniformResourceLocatable { The event that triggered the workflow run """ event: String! + + """ + The workflow file + """ + file: WorkflowRunFile id: ID! """ @@ -50730,6 +51094,53 @@ type WorkflowRunEdge { node: WorkflowRun } +""" +An executed workflow file for a workflow run. +""" +type WorkflowRunFile implements Node & UniformResourceLocatable { + id: ID! + + """ + The path of the workflow file relative to its repository. + """ + path: String! + + """ + The direct link to the file in the repository which stores the workflow file. + """ + repositoryFileUrl: URI! + + """ + The repository name and owner which stores the workflow file. + """ + repositoryName: URI! + + """ + The HTTP path for this workflow run file + """ + resourcePath: URI! + + """ + The parent workflow run execution for this file. + """ + run: WorkflowRun! + + """ + The HTTP URL for this workflow run file + """ + url: URI! + + """ + If the viewer has permissions to push to the repository which stores the workflow. + """ + viewerCanPushRepository: Boolean! + + """ + If the viewer has permissions to read the repository which stores the workflow. + """ + viewerCanReadRepository: Boolean! +} + """ Ways in which lists of workflow runs can be ordered upon return. """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 9051775ebe34..b95c8eb5395d 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -864,6 +864,46 @@ type AddPullRequestReviewThreadPayload { thread: PullRequestReviewThread } +""" +Autogenerated input type of AddPullRequestReviewThreadReply +""" +input AddPullRequestReviewThreadReplyInput { + """ + The text of the reply. + """ + body: String! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Node ID of the pending review to which the reply will belong. + """ + pullRequestReviewId: ID @possibleTypes(concreteTypes: ["PullRequestReview"]) + + """ + The Node ID of the thread to which this reply is being written. + """ + pullRequestReviewThreadId: ID! @possibleTypes(concreteTypes: ["PullRequestReviewThread"]) +} + +""" +Autogenerated return type of AddPullRequestReviewThreadReply +""" +type AddPullRequestReviewThreadReplyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created reply. + """ + comment: PullRequestReviewComment +} + """ Autogenerated input type of AddReaction """ @@ -16069,6 +16109,11 @@ type GitHubMetadata { """ gitIpAddresses: [String!] + """ + IP addresses that GitHub Enterprise Importer uses for outbound connections + """ + githubEnterpriseImporterIpAddresses: [String!] + """ IP addresses that service hooks are sent from """ @@ -21439,6 +21484,16 @@ type Mutation { input: AddPullRequestReviewThreadInput! ): AddPullRequestReviewThreadPayload + """ + Adds a reply to an existing Pull Request Review Thread. + """ + addPullRequestReviewThreadReply( + """ + Parameters for AddPullRequestReviewThreadReply + """ + input: AddPullRequestReviewThreadReplyInput! + ): AddPullRequestReviewThreadReplyPayload + """ Adds a reaction to a subject. """ @@ -34934,6 +34989,21 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab viewerSubscription: SubscriptionState } +""" +The possible methods for updating a pull request's head branch with the base branch. +""" +enum PullRequestBranchUpdateMethod { + """ + Update branch via merge + """ + MERGE + + """ + Update branch via rebase + """ + REBASE +} + """ A file changed in a pull request. """ @@ -50406,7 +50476,8 @@ input StartRepositoryMigrationInput { """ Whether to continue the migration on error. Defaults to `false`. We strongly - recommend setting this to `true` for the smoothest migration experience. + recommend setting this to `true` for the smoothest migration experience. *This + default will change to `true` on September 4, 2023.* """ continueOnError: Boolean @@ -56422,6 +56493,11 @@ input UpdatePullRequestBranchInput { The Node ID of the pull request. """ pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) + + """ + The update branch method to use. If omitted, defaults to 'MERGE' + """ + updateMethod: PullRequestBranchUpdateMethod } """ diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index f3490ae1d8a4..fb22e8a85d68 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,22 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type AddPullRequestReviewThreadReplyInput was added

", + "

Type AddPullRequestReviewThreadReplyPayload was added

", + "

Type PullRequestBranchUpdateMethod was added

", + "

Field githubEnterpriseImporterIpAddresses was added to object type GitHubMetadata

", + "

Field addPullRequestReviewThreadReply was added to object type Mutation

", + "

Input field updateMethod of type PullRequestBranchUpdateMethod was added to input object type UpdatePullRequestBranchInput

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2023-08-14" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 84f603046ed6..7d4e6ebcd264 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -1492,6 +1492,40 @@ } ] }, + { + "name": "addPullRequestReviewThreadReply", + "kind": "mutations", + "id": "addpullrequestreviewthreadreply", + "href": "/graphql/reference/mutations#addpullrequestreviewthreadreply", + "description": "

Adds a reply to an existing Pull Request Review Thread.

", + "inputFields": [ + { + "name": "input", + "type": "AddPullRequestReviewThreadReplyInput!", + "id": "addpullrequestreviewthreadreplyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#addpullrequestreviewthreadreplyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "comment", + "type": "PullRequestReviewComment", + "id": "pullrequestreviewcomment", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequestreviewcomment", + "description": "

The newly created reply.

" + } + ] + }, { "name": "addReaction", "kind": "mutations", @@ -26039,6 +26073,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "githubEnterpriseImporterIpAddresses", + "description": "

IP addresses that GitHub Enterprise Importer uses for outbound connections.

", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "hookIpAddresses", "description": "

IP addresses that service hooks are sent from.

", @@ -81436,6 +81478,23 @@ } ] }, + { + "name": "PullRequestBranchUpdateMethod", + "kind": "enums", + "id": "pullrequestbranchupdatemethod", + "href": "/graphql/reference/enums#pullrequestbranchupdatemethod", + "description": "

The possible methods for updating a pull request's head branch with the base branch.

", + "values": [ + { + "name": "MERGE", + "description": "

Update branch via merge.

" + }, + { + "name": "REBASE", + "description": "

Update branch via rebase.

" + } + ] + }, { "name": "PullRequestMergeMethod", "kind": "enums", @@ -87312,6 +87371,49 @@ } ] }, + { + "name": "AddPullRequestReviewThreadReplyInput", + "kind": "inputObjects", + "id": "addpullrequestreviewthreadreplyinput", + "href": "/graphql/reference/input-objects#addpullrequestreviewthreadreplyinput", + "description": "

Autogenerated input type of AddPullRequestReviewThreadReply.

", + "inputFields": [ + { + "name": "body", + "description": "

The text of the reply.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "pullRequestReviewId", + "description": "

The Node ID of the pending review to which the reply will belong.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "pullRequestReviewThreadId", + "description": "

The Node ID of the thread to which this reply is being written.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "AddReactionInput", "kind": "inputObjects", @@ -95610,7 +95712,7 @@ }, { "name": "continueOnError", - "description": "

Whether to continue the migration on error. Defaults to false. We strongly\nrecommend setting this to true for the smoothest migration experience.

", + "description": "

Whether to continue the migration on error. Defaults to false. We strongly\nrecommend setting this to true for the smoothest migration experience. This\ndefault will change to true on September 4, 2023..

", "type": "Boolean", "id": "boolean", "kind": "scalars", @@ -98466,6 +98568,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#id", "isDeprecated": false + }, + { + "name": "updateMethod", + "description": "

The update branch method to use. If omitted, defaults to 'MERGE'.

", + "type": "PullRequestBranchUpdateMethod", + "id": "pullrequestbranchupdatemethod", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestbranchupdatemethod" } ] }, diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index 25bfd53b2bcc..6ce0f79756c7 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -1077,6 +1077,40 @@ } ] }, + { + "name": "addPullRequestReviewThreadReply", + "kind": "mutations", + "id": "addpullrequestreviewthreadreply", + "href": "/graphql/reference/mutations#addpullrequestreviewthreadreply", + "description": "

Adds a reply to an existing Pull Request Review Thread.

", + "inputFields": [ + { + "name": "input", + "type": "AddPullRequestReviewThreadReplyInput!", + "id": "addpullrequestreviewthreadreplyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#addpullrequestreviewthreadreplyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "comment", + "type": "PullRequestReviewComment", + "id": "pullrequestreviewcomment", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequestreviewcomment", + "description": "

The newly created reply.

" + } + ] + }, { "name": "addReaction", "kind": "mutations", @@ -67334,6 +67368,23 @@ } ] }, + { + "name": "PullRequestBranchUpdateMethod", + "kind": "enums", + "id": "pullrequestbranchupdatemethod", + "href": "/graphql/reference/enums#pullrequestbranchupdatemethod", + "description": "

The possible methods for updating a pull request's head branch with the base branch.

", + "values": [ + { + "name": "MERGE", + "description": "

Update branch via merge.

" + }, + { + "name": "REBASE", + "description": "

Update branch via rebase.

" + } + ] + }, { "name": "PullRequestMergeMethod", "kind": "enums", @@ -71412,6 +71463,49 @@ } ] }, + { + "name": "AddPullRequestReviewThreadReplyInput", + "kind": "inputObjects", + "id": "addpullrequestreviewthreadreplyinput", + "href": "/graphql/reference/input-objects#addpullrequestreviewthreadreplyinput", + "description": "

Autogenerated input type of AddPullRequestReviewThreadReply.

", + "inputFields": [ + { + "name": "body", + "description": "

The text of the reply.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "pullRequestReviewId", + "description": "

The Node ID of the pending review to which the reply will belong.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "pullRequestReviewThreadId", + "description": "

The Node ID of the thread to which this reply is being written.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "AddReactionInput", "kind": "inputObjects", @@ -77480,7 +77574,7 @@ }, { "name": "continueOnError", - "description": "

Whether to continue the migration on error. Defaults to false. We strongly\nrecommend setting this to true for the smoothest migration experience.

", + "description": "

Whether to continue the migration on error. Defaults to false. We strongly\nrecommend setting this to true for the smoothest migration experience. This\ndefault will change to true on September 4, 2023..

", "type": "Boolean", "id": "boolean", "kind": "scalars", @@ -79847,6 +79941,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#id", "isDeprecated": false + }, + { + "name": "updateMethod", + "description": "

The update branch method to use. If omitted, defaults to 'MERGE'.

", + "type": "PullRequestBranchUpdateMethod", + "id": "pullrequestbranchupdatemethod", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestbranchupdatemethod" } ] }, diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 84f603046ed6..7d4e6ebcd264 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -1492,6 +1492,40 @@ } ] }, + { + "name": "addPullRequestReviewThreadReply", + "kind": "mutations", + "id": "addpullrequestreviewthreadreply", + "href": "/graphql/reference/mutations#addpullrequestreviewthreadreply", + "description": "

Adds a reply to an existing Pull Request Review Thread.

", + "inputFields": [ + { + "name": "input", + "type": "AddPullRequestReviewThreadReplyInput!", + "id": "addpullrequestreviewthreadreplyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#addpullrequestreviewthreadreplyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "comment", + "type": "PullRequestReviewComment", + "id": "pullrequestreviewcomment", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequestreviewcomment", + "description": "

The newly created reply.

" + } + ] + }, { "name": "addReaction", "kind": "mutations", @@ -26039,6 +26073,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "githubEnterpriseImporterIpAddresses", + "description": "

IP addresses that GitHub Enterprise Importer uses for outbound connections.

", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "hookIpAddresses", "description": "

IP addresses that service hooks are sent from.

", @@ -81436,6 +81478,23 @@ } ] }, + { + "name": "PullRequestBranchUpdateMethod", + "kind": "enums", + "id": "pullrequestbranchupdatemethod", + "href": "/graphql/reference/enums#pullrequestbranchupdatemethod", + "description": "

The possible methods for updating a pull request's head branch with the base branch.

", + "values": [ + { + "name": "MERGE", + "description": "

Update branch via merge.

" + }, + { + "name": "REBASE", + "description": "

Update branch via rebase.

" + } + ] + }, { "name": "PullRequestMergeMethod", "kind": "enums", @@ -87312,6 +87371,49 @@ } ] }, + { + "name": "AddPullRequestReviewThreadReplyInput", + "kind": "inputObjects", + "id": "addpullrequestreviewthreadreplyinput", + "href": "/graphql/reference/input-objects#addpullrequestreviewthreadreplyinput", + "description": "

Autogenerated input type of AddPullRequestReviewThreadReply.

", + "inputFields": [ + { + "name": "body", + "description": "

The text of the reply.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "pullRequestReviewId", + "description": "

The Node ID of the pending review to which the reply will belong.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "pullRequestReviewThreadId", + "description": "

The Node ID of the thread to which this reply is being written.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "AddReactionInput", "kind": "inputObjects", @@ -95610,7 +95712,7 @@ }, { "name": "continueOnError", - "description": "

Whether to continue the migration on error. Defaults to false. We strongly\nrecommend setting this to true for the smoothest migration experience.

", + "description": "

Whether to continue the migration on error. Defaults to false. We strongly\nrecommend setting this to true for the smoothest migration experience. This\ndefault will change to true on September 4, 2023..

", "type": "Boolean", "id": "boolean", "kind": "scalars", @@ -98466,6 +98568,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#id", "isDeprecated": false + }, + { + "name": "updateMethod", + "description": "

The update branch method to use. If omitted, defaults to 'MERGE'.

", + "type": "PullRequestBranchUpdateMethod", + "id": "pullrequestbranchupdatemethod", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestbranchupdatemethod" } ] }, diff --git a/src/graphql/data/ghes-3.10/previews.json b/src/graphql/data/ghes-3.10/previews.json index 95e2ab937b08..67698a38a72e 100644 --- a/src/graphql/data/ghes-3.10/previews.json +++ b/src/graphql/data/ghes-3.10/previews.json @@ -51,7 +51,7 @@ "RefUpdate" ], "owning_teams": [ - "@github/reponauts" + "@github/repos" ], "accept_header": "application/vnd.github.update-refs-preview+json", "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" diff --git a/src/graphql/data/ghes-3.10/schema.json b/src/graphql/data/ghes-3.10/schema.json index 34de948ca9c4..d5cda860f910 100644 --- a/src/graphql/data/ghes-3.10/schema.json +++ b/src/graphql/data/ghes-3.10/schema.json @@ -218,7 +218,7 @@ "kind": "objects", "id": "query", "href": "/graphql/reference/objects#query", - "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", + "description": "

Workaround for re-exposing the root query object. (Refer to\nhttps://github.com/facebook/relay/issues/112 for more information.).

", "args": [] }, { @@ -4089,6 +4089,40 @@ } ] }, + { + "name": "markProjectV2AsTemplate", + "kind": "mutations", + "id": "markprojectv2astemplate", + "href": "/graphql/reference/mutations#markprojectv2astemplate", + "description": "

Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template.

", + "inputFields": [ + { + "name": "input", + "type": "MarkProjectV2AsTemplateInput!", + "id": "markprojectv2astemplateinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#markprojectv2astemplateinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "projectV2", + "type": "ProjectV2", + "id": "projectv2", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2", + "description": "

The project.

" + } + ] + }, { "name": "markPullRequestReadyForReview", "kind": "mutations", @@ -5537,6 +5571,40 @@ } ] }, + { + "name": "unmarkProjectV2AsTemplate", + "kind": "mutations", + "id": "unmarkprojectv2astemplate", + "href": "/graphql/reference/mutations#unmarkprojectv2astemplate", + "description": "

Unmark a project as a template.

", + "inputFields": [ + { + "name": "input", + "type": "UnmarkProjectV2AsTemplateInput!", + "id": "unmarkprojectv2astemplateinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#unmarkprojectv2astemplateinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "projectV2", + "type": "ProjectV2", + "id": "projectv2", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2", + "description": "

The project.

" + } + ] + }, { "name": "unminimizeComment", "kind": "mutations", @@ -6981,6 +7049,40 @@ } ] }, + { + "name": "updateProjectV2Collaborators", + "kind": "mutations", + "id": "updateprojectv2collaborators", + "href": "/graphql/reference/mutations#updateprojectv2collaborators", + "description": "

Update the collaborators on a team or a project.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateProjectV2CollaboratorsInput!", + "id": "updateprojectv2collaboratorsinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updateprojectv2collaboratorsinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "collaborators", + "type": "ProjectV2ActorConnection", + "id": "projectv2actorconnection", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2actorconnection", + "description": "

The collaborators granted a role.

" + } + ] + }, { "name": "updateProjectV2DraftIssue", "kind": "mutations", @@ -7278,7 +7380,7 @@ "RefUpdate" ], "owning_teams": [ - "@github/reponauts" + "@github/repos" ], "accept_header": "application/vnd.github.update-refs-preview+json", "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" @@ -11357,7 +11459,7 @@ }, { "name": "changedFiles", - "description": "

We recommend using the changedFielsIfAvailable field instead of\nchangedFiles, as changedFiles will cause your request to return an error\nif GitHub is unable to calculate the number of changed files.

", + "description": "

We recommend using the changedFilesIfAvailable field instead of\nchangedFiles, as changedFiles will cause your request to return an error\nif GitHub is unable to calculate the number of changed files.

", "type": "Int!", "id": "int", "kind": "scalars", @@ -15087,7 +15189,7 @@ }, { "name": "packageName", - "description": "

The name of the package in the canonical form used by the package manager.\nThis may differ from the original textual form (see packageLabel), for example\nin a package manager that uses case-insensitive comparisons.

", + "description": "

The name of the package in the canonical form used by the package manager.

", "type": "String!", "id": "string", "kind": "scalars", @@ -18873,7 +18975,7 @@ }, { "name": "ownerInfo", - "description": "

Enterprise information only visible to enterprise owners.

", + "description": "

Enterprise information visible to enterprise owners or enterprise owners'\npersonal access tokens (classic) with read:enterprise or admin:enterprise scope.

", "type": "EnterpriseOwnerInfo", "id": "enterpriseownerinfo", "kind": "objects", @@ -19293,7 +19395,7 @@ "kind": "objects", "id": "enterpriseidentityprovider", "href": "/graphql/reference/objects#enterpriseidentityprovider", - "description": "

An identity provider configured to provision identities for an enterprise.

", + "description": "

An identity provider configured to provision identities for an enterprise.\nVisible to enterprise owners or enterprise owners' personal access tokens\n(classic) with read:enterprise or admin:enterprise scope.

", "implements": [ { "name": "Node", @@ -19711,7 +19813,7 @@ "kind": "objects", "id": "enterpriseownerinfo", "href": "/graphql/reference/objects#enterpriseownerinfo", - "description": "

Enterprise information only visible to enterprise owners.

", + "description": "

Enterprise information visible to enterprise owners or enterprise owners'\npersonal access tokens (classic) with read:enterprise or admin:enterprise scope.

", "fields": [ { "name": "admins", @@ -20037,7 +20139,7 @@ }, { "name": "domains", - "description": "

A list of domains owned by the enterprise.

", + "description": "

A list of domains owned by the enterprise. Visible to enterprise owners or\nenterprise owners' personal access tokens (classic) with admin:enterprise scope.

", "type": "VerifiableDomainConnection!", "id": "verifiabledomainconnection", "kind": "objects", @@ -20185,7 +20287,7 @@ }, { "name": "ipAllowListEntries", - "description": "

The IP addresses that are allowed to access resources owned by the enterprise.

", + "description": "

The IP addresses that are allowed to access resources owned by the enterprise.\nVisible to enterprise owners or enterprise owners' personal access tokens\n(classic) with admin:enterprise scope.

", "type": "IpAllowListEntryConnection!", "id": "ipallowlistentryconnection", "kind": "objects", @@ -21351,7 +21453,7 @@ }, { "name": "samlIdentityProvider", - "description": "

The SAML Identity Provider for the enterprise. When used by a GitHub App,\nrequires an installation token with read and write access to members.

", + "description": "

The SAML Identity Provider for the enterprise.

", "type": "EnterpriseIdentityProvider", "id": "enterpriseidentityprovider", "kind": "objects", @@ -22891,7 +22993,7 @@ "kind": "objects", "id": "externalidentity", "href": "/graphql/reference/objects#externalidentity", - "description": "

An external identity provisioned by SAML SSO or SCIM.

", + "description": "

An external identity provisioned by SAML SSO or SCIM. If SAML is configured on\nthe organization, the external identity is visible to (1) organization owners,\n(2) organization owners' personal access tokens (classic) with read:org or\nadmin:org scope, (3) GitHub App with an installation token with read or write\naccess to members. If SAML is configured on the enterprise, the external\nidentity is visible to (1) enterprise owners, (2) enterprise owners' personal\naccess tokens (classic) with read:enterprise or admin:enterprise scope.

", "implements": [ { "name": "Node", @@ -24637,6 +24739,11 @@ "id": "comment", "href": "/graphql/reference/interfaces#comment" }, + { + "name": "Deletable", + "id": "deletable", + "href": "/graphql/reference/interfaces#deletable" + }, { "name": "Labelable", "id": "labelable", @@ -25656,6 +25763,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanDelete", + "description": "

Check if the current viewer can delete this object.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "viewerCanReact", "description": "

Can user react to this subject.

", @@ -26333,6 +26448,56 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "assignees", + "description": "

The suggested assignees.

", + "type": "UserConnection!", + "id": "userconnection", + "kind": "objects", + "href": "/graphql/reference/objects#userconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, { "name": "body", "description": "

The suggested issue body.

", @@ -26349,6 +26514,66 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "labels", + "description": "

The suggested issue labels.

", + "type": "LabelConnection", + "id": "labelconnection", + "kind": "objects", + "href": "/graphql/reference/objects#labelconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for labels returned from the connection.

", + "type": { + "name": "LabelOrder", + "id": "labelorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#labelorder" + } + } + ] + }, { "name": "name", "description": "

The template name.

", @@ -29055,7 +29280,7 @@ }, { "name": "applicationUrl", - "description": "

The application URL of the OAuth Application.

", + "description": "

The application URL of the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -29063,7 +29288,7 @@ }, { "name": "callbackUrl", - "description": "

The callback URL of the OAuth Application.

", + "description": "

The callback URL of the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -29079,7 +29304,7 @@ }, { "name": "oauthApplicationName", - "description": "

The name of the OAuth Application.

", + "description": "

The name of the OAuth application.

", "type": "String", "id": "string", "kind": "scalars", @@ -29087,7 +29312,7 @@ }, { "name": "oauthApplicationResourcePath", - "description": "

The HTTP path for the OAuth Application.

", + "description": "

The HTTP path for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -29095,7 +29320,7 @@ }, { "name": "oauthApplicationUrl", - "description": "

The HTTP URL for the OAuth Application.

", + "description": "

The HTTP URL for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -29143,7 +29368,7 @@ }, { "name": "rateLimit", - "description": "

The rate limit of the OAuth Application.

", + "description": "

The rate limit of the OAuth application.

", "type": "Int", "id": "int", "kind": "scalars", @@ -29151,7 +29376,7 @@ }, { "name": "state", - "description": "

The state of the OAuth Application.

", + "description": "

The state of the OAuth application.

", "type": "OauthApplicationCreateAuditEntryState", "id": "oauthapplicationcreateauditentrystate", "kind": "enums", @@ -31719,7 +31944,7 @@ }, { "name": "oauthApplicationName", - "description": "

The name of the OAuth Application.

", + "description": "

The name of the OAuth application.

", "type": "String", "id": "string", "kind": "scalars", @@ -31727,7 +31952,7 @@ }, { "name": "oauthApplicationResourcePath", - "description": "

The HTTP path for the OAuth Application.

", + "description": "

The HTTP path for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -31735,7 +31960,7 @@ }, { "name": "oauthApplicationUrl", - "description": "

The HTTP URL for the OAuth Application.

", + "description": "

The HTTP URL for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -31910,7 +32135,7 @@ }, { "name": "oauthApplicationName", - "description": "

The name of the OAuth Application.

", + "description": "

The name of the OAuth application.

", "type": "String", "id": "string", "kind": "scalars", @@ -31918,7 +32143,7 @@ }, { "name": "oauthApplicationResourcePath", - "description": "

The HTTP path for the OAuth Application.

", + "description": "

The HTTP path for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -31926,7 +32151,7 @@ }, { "name": "oauthApplicationUrl", - "description": "

The HTTP URL for the OAuth Application.

", + "description": "

The HTTP URL for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -32101,7 +32326,7 @@ }, { "name": "oauthApplicationName", - "description": "

The name of the OAuth Application.

", + "description": "

The name of the OAuth application.

", "type": "String", "id": "string", "kind": "scalars", @@ -32109,7 +32334,7 @@ }, { "name": "oauthApplicationResourcePath", - "description": "

The HTTP path for the OAuth Application.

", + "description": "

The HTTP path for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -32117,7 +32342,7 @@ }, { "name": "oauthApplicationUrl", - "description": "

The HTTP URL for the OAuth Application.

", + "description": "

The HTTP URL for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -35641,7 +35866,7 @@ }, { "name": "samlIdentityProvider", - "description": "

The Organization's SAML identity providers.

", + "description": "

The Organization's SAML identity provider. Visible to (1) organization owners,\n(2) organization owners' personal access tokens (classic) with read:org or\nadmin:org scope, (3) GitHub App with an installation token with read or write\naccess to members.

", "type": "OrganizationIdentityProvider", "id": "organizationidentityprovider", "kind": "objects", @@ -35725,6 +35950,16 @@ "href": "/graphql/reference/scalars#boolean" } }, + { + "name": "notificationSetting", + "description": "

If non-null, filters teams according to notification setting.

", + "type": { + "name": "TeamNotificationSetting", + "id": "teamnotificationsetting", + "kind": "enums", + "href": "/graphql/reference/enums#teamnotificationsetting" + } + }, { "name": "orderBy", "description": "

Ordering options for teams returned from the connection.

", @@ -36113,7 +36348,7 @@ "kind": "objects", "id": "organizationidentityprovider", "href": "/graphql/reference/objects#organizationidentityprovider", - "description": "

An Identity Provider configured to provision SAML and SCIM identities for Organizations.

", + "description": "

An Identity Provider configured to provision SAML and SCIM identities for\nOrganizations. Visible to (1) organization owners, (2) organization owners'\npersonal access tokens (classic) with read:org or admin:org scope, (3) GitHub\nApp with an installation token with read or write access to members.

", "implements": [ { "name": "Node", @@ -39763,6 +39998,72 @@ } ] }, + { + "name": "ProjectV2ActorConnection", + "kind": "objects", + "id": "projectv2actorconnection", + "href": "/graphql/reference/objects#projectv2actorconnection", + "description": "

The connection type for ProjectV2Actor.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[ProjectV2ActorEdge]", + "id": "projectv2actoredge", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2actoredge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[ProjectV2Actor]", + "id": "projectv2actor", + "kind": "unions", + "href": "/graphql/reference/unions#projectv2actor" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "ProjectV2ActorEdge", + "kind": "objects", + "id": "projectv2actoredge", + "href": "/graphql/reference/objects#projectv2actoredge", + "description": "

An edge in a connection.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "

The item at the end of the edge.

", + "type": "ProjectV2Actor", + "id": "projectv2actor", + "kind": "unions", + "href": "/graphql/reference/unions#projectv2actor" + } + ] + }, { "name": "ProjectV2Connection", "kind": "objects", @@ -40078,7 +40379,7 @@ }, { "name": "fieldValueByName", - "description": "

A specific field value given a field name.

", + "description": "

The field value of the first project field which matches thenameargument that is set on the item.

", "type": "ProjectV2ItemFieldValue", "id": "projectv2itemfieldvalue", "kind": "unions", @@ -40098,7 +40399,7 @@ }, { "name": "fieldValues", - "description": "

List of field values.

", + "description": "

The field values that are set on the item.

", "type": "ProjectV2ItemFieldValueConnection!", "id": "projectv2itemfieldvalueconnection", "kind": "objects", @@ -41307,7 +41608,19 @@ "type": "[ProjectV2SingleSelectFieldOption!]!", "id": "projectv2singleselectfieldoption", "kind": "objects", - "href": "/graphql/reference/objects#projectv2singleselectfieldoption" + "href": "/graphql/reference/objects#projectv2singleselectfieldoption", + "arguments": [ + { + "name": "names", + "description": "

Filter returned options to only those matching these names, case insensitive.

", + "type": { + "name": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] }, { "name": "project", @@ -52542,6 +52855,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "archivedAt", + "description": "

Identifies the date and time when the repository was archived.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "assignableUsers", "description": "

A list of users that can be assigned to issues in this repository.

", @@ -54640,7 +54961,7 @@ }, { "name": "pushedAt", - "description": "

Identifies when the repository was last pushed to.

", + "description": "

Identifies the date and time when the repository was last pushed to.

", "type": "DateTime", "id": "datetime", "kind": "scalars", @@ -55902,6 +56223,14 @@ "id": "migrationstate", "kind": "enums", "href": "/graphql/reference/enums#migrationstate" + }, + { + "name": "warningsCount", + "description": "

The number of warnings encountered for this migration. To review the warnings,\ncheck the Migration Log.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" } ] }, @@ -56539,16 +56868,6 @@ "kind": "objects", "href": "/graphql/reference/objects#user" }, - { - "name": "fixReason", - "description": "

The reason the alert was marked as fixed.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "isDeprecated": true, - "deprecationReason": "

The fixReason field is being removed. You can still use fixedAt and dismissReason. Removal on 2023-04-01 UTC.

" - }, { "name": "fixedAt", "description": "

When was the alert fixed?.

", @@ -59780,6 +60099,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "notificationSetting", + "description": "

The notification setting that the team has set.

", + "type": "TeamNotificationSetting!", + "id": "teamnotificationsetting", + "kind": "enums", + "href": "/graphql/reference/enums#teamnotificationsetting" + }, { "name": "organization", "description": "

The organization that owns this team.

", @@ -63902,7 +64229,7 @@ }, { "name": "isFollowingViewer", - "description": "

Whether or not this user is following the viewer. Inverse of viewer_is_following.

", + "description": "

Whether or not this user is following the viewer. Inverse of viewerIsFollowing.

", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -65580,7 +65907,7 @@ }, { "name": "viewerIsFollowing", - "description": "

Whether or not this user is followed by the viewer. Inverse of is_following_viewer.

", + "description": "

Whether or not this user is followed by the viewer. Inverse of isFollowingViewer.

", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -66380,6 +66707,11 @@ "name": "Node", "id": "node", "href": "/graphql/reference/interfaces#node" + }, + { + "name": "UniformResourceLocatable", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable" } ], "fields": [ @@ -66407,6 +66739,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "resourcePath", + "description": "

The HTTP path for this workflow.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + }, { "name": "runs", "description": "

The runs of the workflow.

", @@ -66482,6 +66822,14 @@ "id": "datetime", "kind": "scalars", "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "url", + "description": "

The HTTP URL for this workflow.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" } ] }, @@ -66586,6 +66934,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "file", + "description": "

The workflow file.

", + "type": "WorkflowRunFile", + "id": "workflowrunfile", + "kind": "objects", + "href": "/graphql/reference/objects#workflowrunfile" + }, { "name": "pendingDeploymentRequests", "description": "

The pending deployment requests of all check runs in this workflow run.

", @@ -66743,6 +67099,91 @@ "href": "/graphql/reference/objects#workflowrun" } ] + }, + { + "name": "WorkflowRunFile", + "kind": "objects", + "id": "workflowrunfile", + "href": "/graphql/reference/objects#workflowrunfile", + "description": "

An executed workflow file for a workflow run.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + }, + { + "name": "UniformResourceLocatable", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable" + } + ], + "fields": [ + { + "name": "path", + "description": "

The path of the workflow file relative to its repository.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "repositoryFileUrl", + "description": "

The direct link to the file in the repository which stores the workflow file.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + }, + { + "name": "repositoryName", + "description": "

The repository name and owner which stores the workflow file.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + }, + { + "name": "resourcePath", + "description": "

The HTTP path for this workflow run file.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + }, + { + "name": "run", + "description": "

The parent workflow run execution for this file.

", + "type": "WorkflowRun!", + "id": "workflowrun", + "kind": "objects", + "href": "/graphql/reference/objects#workflowrun" + }, + { + "name": "url", + "description": "

The HTTP URL for this workflow run file.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + }, + { + "name": "viewerCanPushRepository", + "description": "

If the viewer has permissions to push to the repository which stores the workflow.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "viewerCanReadRepository", + "description": "

If the viewer has permissions to read the repository which stores the workflow.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] } ], "interfaces": [ @@ -67687,6 +68128,14 @@ "id": "migrationstate", "kind": "enums", "href": "/graphql/reference/enums#migrationstate" + }, + { + "name": "warningsCount", + "description": "

The number of warnings encountered for this migration. To review the warnings,\ncheck the Migration Log.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" } ] }, @@ -67749,7 +68198,7 @@ "fields": [ { "name": "oauthApplicationName", - "description": "

The name of the OAuth Application.

", + "description": "

The name of the OAuth application.

", "type": "String", "id": "string", "kind": "scalars", @@ -67757,7 +68206,7 @@ }, { "name": "oauthApplicationResourcePath", - "description": "

The HTTP path for the OAuth Application.

", + "description": "

The HTTP path for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -67765,7 +68214,7 @@ }, { "name": "oauthApplicationUrl", - "description": "

The HTTP URL for the OAuth Application.

", + "description": "

The HTTP URL for the OAuth application.

", "type": "URI", "id": "uri", "kind": "scalars", @@ -68861,6 +69310,14 @@ "href": "/graphql/reference/interfaces#repositoryinfo", "description": "

A subset of repository info.

", "fields": [ + { + "name": "archivedAt", + "description": "

Identifies the date and time when the repository was archived.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "createdAt", "description": "

Identifies the date and time when the object was created.

", @@ -69055,7 +69512,7 @@ }, { "name": "pushedAt", - "description": "

Identifies when the repository was last pushed to.

", + "description": "

Identifies the date and time when the repository was last pushed to.

", "type": "DateTime", "id": "datetime", "kind": "scalars", @@ -71374,19 +71831,19 @@ "kind": "enums", "id": "oauthapplicationcreateauditentrystate", "href": "/graphql/reference/enums#oauthapplicationcreateauditentrystate", - "description": "

The state of an OAuth Application when it was created.

", + "description": "

The state of an OAuth application when it was created.

", "values": [ { "name": "ACTIVE", - "description": "

The OAuth Application was active and allowed to have OAuth Accesses.

" + "description": "

The OAuth application was active and allowed to have OAuth Accesses.

" }, { "name": "PENDING_DELETION", - "description": "

The OAuth Application was in the process of being deleted.

" + "description": "

The OAuth application was in the process of being deleted.

" }, { "name": "SUSPENDED", - "description": "

The OAuth Application was suspended from generating OAuth Accesses due to abuse or security concerns.

" + "description": "

The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns.

" } ] }, @@ -71823,6 +72280,10 @@ "name": "FAILED", "description": "

The Octoshift migration has failed.

" }, + { + "name": "FAILED_VALIDATION", + "description": "

The Octoshift migration has invalid credentials.

" + }, { "name": "IN_PROGRESS", "description": "

The Octoshift migration is in progress.

" @@ -71831,6 +72292,10 @@ "name": "NOT_STARTED", "description": "

The Octoshift migration has not started.

" }, + { + "name": "PENDING_VALIDATION", + "description": "

The Octoshift migration needs to have its credentials validated.

" + }, { "name": "POST_REPO_MIGRATION", "description": "

The Octoshift migration is performing post repository migrations.

" @@ -72391,6 +72856,31 @@ } ] }, + { + "name": "ProjectV2Roles", + "kind": "enums", + "id": "projectv2roles", + "href": "/graphql/reference/enums#projectv2roles", + "description": "

The possible roles of a collaborator on a project.

", + "values": [ + { + "name": "ADMIN", + "description": "

The collaborator can view, edit, and maange the settings of the project.

" + }, + { + "name": "NONE", + "description": "

The collaborator has no direct access to the project.

" + }, + { + "name": "READER", + "description": "

The collaborator can view the project.

" + }, + { + "name": "WRITER", + "description": "

The collaborator can view and edit the project.

" + } + ] + }, { "name": "ProjectV2SingleSelectFieldOptionColor", "kind": "enums", @@ -72674,10 +73164,6 @@ "href": "/graphql/reference/enums#pullrequesttimelineitemsitemtype", "description": "

The possible item types found in a timeline.

", "values": [ - { - "name": "ADDED_TO_MERGE_QUEUE_EVENT", - "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" - }, { "name": "ADDED_TO_PROJECT_EVENT", "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" @@ -72842,10 +73328,6 @@ "name": "REFERENCED_EVENT", "description": "

Represents areferencedevent on a given ReferencedSubject.

" }, - { - "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", - "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" - }, { "name": "REMOVED_FROM_PROJECT_EVENT", "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" @@ -73646,6 +74128,10 @@ { "name": "RUST", "description": "

Rust crates.

" + }, + { + "name": "SWIFT", + "description": "

Swift packages.

" } ] }, @@ -73905,6 +74391,23 @@ } ] }, + { + "name": "TeamNotificationSetting", + "kind": "enums", + "id": "teamnotificationsetting", + "href": "/graphql/reference/enums#teamnotificationsetting", + "description": "

The possible team notification values.

", + "values": [ + { + "name": "NOTIFICATIONS_DISABLED", + "description": "

No one will receive notifications.

" + }, + { + "name": "NOTIFICATIONS_ENABLED", + "description": "

Everyone will receive notifications when the team is @mentioned.

" + } + ] + }, { "name": "TeamOrderField", "kind": "enums", @@ -75068,6 +75571,25 @@ } ] }, + { + "name": "ProjectV2Actor", + "kind": "unions", + "id": "projectv2actor", + "href": "/graphql/reference/unions#projectv2actor", + "description": "

Possible collaborators for a project.

", + "possibleTypes": [ + { + "name": "Team", + "id": "team", + "href": "/graphql/reference/objects#team" + }, + { + "name": "User", + "id": "user", + "href": "/graphql/reference/objects#user" + } + ] + }, { "name": "ProjectV2FieldConfiguration", "kind": "unions", @@ -81167,6 +81689,32 @@ } ] }, + { + "name": "MarkProjectV2AsTemplateInput", + "kind": "inputObjects", + "id": "markprojectv2astemplateinput", + "href": "/graphql/reference/input-objects#markprojectv2astemplateinput", + "description": "

Autogenerated input type of MarkProjectV2AsTemplate.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "projectId", + "description": "

The ID of the Project to mark as a template.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "MarkPullRequestReadyForReviewInput", "kind": "inputObjects", @@ -81681,6 +82229,41 @@ } ] }, + { + "name": "ProjectV2Collaborator", + "kind": "inputObjects", + "id": "projectv2collaborator", + "href": "/graphql/reference/input-objects#projectv2collaborator", + "description": "

A collaborator to update on a project. Only one of the userId or teamId should be provided.

", + "inputFields": [ + { + "name": "role", + "description": "

The role to grant the collaborator.

", + "type": "ProjectV2Roles!", + "id": "projectv2roles", + "kind": "enums", + "href": "/graphql/reference/enums#projectv2roles" + }, + { + "name": "teamId", + "description": "

The ID of the team as a collaborator.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "userId", + "description": "

The ID of the user as a collaborator.

", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "ProjectV2FieldOrder", "kind": "inputObjects", @@ -82005,7 +82588,7 @@ "RefUpdate" ], "owning_teams": [ - "@github/reponauts" + "@github/repos" ], "accept_header": "application/vnd.github.update-refs-preview+json", "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" @@ -83553,6 +84136,32 @@ } ] }, + { + "name": "UnmarkProjectV2AsTemplateInput", + "kind": "inputObjects", + "id": "unmarkprojectv2astemplateinput", + "href": "/graphql/reference/input-objects#unmarkprojectv2astemplateinput", + "description": "

Autogenerated input type of UnmarkProjectV2AsTemplate.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "projectId", + "description": "

The ID of the Project to unmark as a template.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "UnminimizeCommentInput", "kind": "inputObjects", @@ -85297,6 +85906,40 @@ } ] }, + { + "name": "UpdateProjectV2CollaboratorsInput", + "kind": "inputObjects", + "id": "updateprojectv2collaboratorsinput", + "href": "/graphql/reference/input-objects#updateprojectv2collaboratorsinput", + "description": "

Autogenerated input type of UpdateProjectV2Collaborators.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "collaborators", + "description": "

The collaborators to update.

", + "type": "[ProjectV2Collaborator!]!", + "id": "projectv2collaborator", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#projectv2collaborator" + }, + { + "name": "projectId", + "description": "

The ID of the project to update the collaborators for.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "UpdateProjectV2DraftIssueInput", "kind": "inputObjects", @@ -85772,7 +86415,7 @@ "RefUpdate" ], "owning_teams": [ - "@github/reponauts" + "@github/repos" ], "accept_header": "application/vnd.github.update-refs-preview+json", "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" @@ -86393,7 +87036,7 @@ "RefUpdate" ], "owning_teams": [ - "@github/reponauts" + "@github/repos" ], "accept_header": "application/vnd.github.update-refs-preview+json", "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" diff --git a/src/graphql/data/ghes-3.10/upcoming-changes.json b/src/graphql/data/ghes-3.10/upcoming-changes.json index 001ce54ac03d..7f980690de97 100644 --- a/src/graphql/data/ghes-3.10/upcoming-changes.json +++ b/src/graphql/data/ghes-3.10/upcoming-changes.json @@ -90,86 +90,6 @@ "criticality": "breaking", "owner": "stevepopovich" }, - { - "location": "MergeQueueEntry.isSolo", - "description": "

isSolo will be removed. Use solo instead.

", - "reason": "

isSolo will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, - { - "location": "MergeQueueEntry.headOid", - "description": "

headOid will be removed. Use headCommit instead.

", - "reason": "

headOid will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, - { - "location": "MergeQueueEntry.hasJumpedQueue", - "description": "

hasJumpedQueue will be removed. Use jump instead.

", - "reason": "

hasJumpedQueue will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, - { - "location": "MergeQueueEntry.checkStatus", - "description": "

checkStatus will be removed. Use state instead.

", - "reason": "

checkStatus will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, - { - "location": "MergeQueueEntry.blockedByMergeConflicts", - "description": "

blockedByMergeConflicts will be removed. Use state instead.

", - "reason": "

blockedByMergeConflicts will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, - { - "location": "MergeQueueEntry.baseOid", - "description": "

baseOid will be removed. Use baseCommit instead.

", - "reason": "

baseOid will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, - { - "location": "MergeQueue.pendingRemovalEntries", - "description": "

pendingRemovalEntries will be removed.

", - "reason": "

pendingRemovalEntries will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, - { - "location": "MergeQueue.mergingEntries", - "description": "

mergingEntries will be removed.

", - "reason": "

mergingEntries will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, - { - "location": "MergeQueue.mergeMethod", - "description": "

mergeMethod will be removed. Use configuration.merge_method instead.

", - "reason": "

mergeMethod will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, - { - "location": "MergeQueue.headOid", - "description": "

headOid will be removed. Use entry.headOid instead.

", - "reason": "

headOid will be removed.

", - "date": "2023-07-01", - "criticality": "breaking", - "owner": "github/merge_queue" - }, { "location": "Commit.pushedDate", "description": "

pushedDate will be removed.

", @@ -180,14 +100,6 @@ } ], "2023-04-01": [ - { - "location": "RepositoryVulnerabilityAlert.fixReason", - "description": "

fixReason will be removed.

", - "reason": "

The fixReason field is being removed. You can still use fixedAt and dismissReason.

", - "date": "2023-04-01", - "criticality": "breaking", - "owner": "jamestran201" - }, { "location": "Repository.squashPrTitleUsedAsDefault", "description": "

squashPrTitleUsedAsDefault will be removed. Use Repository.squashMergeCommitTitle instead.

", @@ -221,16 +133,6 @@ "owner": "alcere" } ], - "2023-02-10": [ - { - "location": "PackageType.MAVEN", - "description": "

MAVEN will be removed.

", - "reason": "

MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", - "date": "2023-02-10", - "criticality": "breaking", - "owner": "ankitkaushal01" - } - ], "2023-01-01": [ { "location": "ProjectV2View.visibleFields", @@ -249,34 +151,6 @@ "owner": "adamshwert" } ], - "2022-12-28": [ - { - "location": "PackageType.RUBYGEMS", - "description": "

RUBYGEMS will be removed.

", - "reason": "

RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", - "date": "2022-12-28", - "criticality": "breaking", - "owner": "ankitkaushal01" - } - ], - "2022-11-21": [ - { - "location": "PackageType.NUGET", - "description": "

NUGET will be removed.

", - "reason": "

NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", - "date": "2022-11-21", - "criticality": "breaking", - "owner": "s-anupam" - }, - { - "location": "PackageType.NPM", - "description": "

NPM will be removed.

", - "reason": "

NPM will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", - "date": "2022-11-21", - "criticality": "breaking", - "owner": "s-anupam" - } - ], "2022-10-01": [ { "location": "RemovePullRequestFromMergeQueueInput.branch",