diff --git a/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-oidc-for-enterprise-managed-users.md b/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-oidc-for-enterprise-managed-users.md index 63e8100e4f70..4b60b9c8fee0 100644 --- a/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-oidc-for-enterprise-managed-users.md +++ b/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-oidc-for-enterprise-managed-users.md @@ -36,6 +36,8 @@ To change the lifetime policy property, you will need the object ID associated w Support for OIDC is available for customers using Entra ID. +{% data reusables.enterprise-accounts.gov-cloud-idp-not-supported %} + Each Entra ID tenant can support only one OIDC integration with {% data variables.product.prodname_emus %}. If you want to connect Entra ID to more than one enterprise on {% data variables.product.prodname_dotcom %}, use SAML instead. See [AUTOTITLE](/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/configuring-saml-single-sign-on-for-enterprise-managed-users). OIDC does not support IdP-initiated authentication. diff --git a/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md b/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md index 9148fd913734..a4d06b49e9de 100644 --- a/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md +++ b/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md @@ -27,6 +27,8 @@ With {% data variables.product.prodname_emus %}, access to your enterprise's res After you configure SAML SSO, we recommend storing your recovery codes so you can recover access to your enterprise in the event that your IdP is unavailable. +{% data reusables.enterprise-accounts.gov-cloud-idp-not-supported %} + {% data reusables.enterprise_user_management.SAML-to-OIDC-migration-for-EMU %} ## Prerequisites diff --git a/content/admin/managing-iam/provisioning-user-accounts-with-scim/configuring-scim-provisioning-for-users.md b/content/admin/managing-iam/provisioning-user-accounts-with-scim/configuring-scim-provisioning-for-users.md index 30ad7016e778..eb242da40241 100644 --- a/content/admin/managing-iam/provisioning-user-accounts-with-scim/configuring-scim-provisioning-for-users.md +++ b/content/admin/managing-iam/provisioning-user-accounts-with-scim/configuring-scim-provisioning-for-users.md @@ -26,6 +26,8 @@ category: If you use a partner IdP, you can simplify the configuration of SCIM provisioning by using the partner IdP's application. If you don't use a partner IdP for provisioning, you can implement SCIM using calls to {% data variables.product.company_short %}'s REST API for SCIM. For more information, see {% ifversion ghec %}[AUTOTITLE](/admin/managing-iam/understanding-iam-for-enterprises/about-enterprise-managed-users#identity-management-systems).{% else %}[AUTOTITLE](/admin/managing-iam/provisioning-user-accounts-with-scim/user-provisioning-with-scim-on-ghes#supported-identity-providers).{% endif %} +{% data reusables.enterprise-accounts.gov-cloud-idp-not-supported %} + {% ifversion ghes %} ## Who needs to follow these instructions? diff --git a/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md b/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md index 62a9d6748aa3..c0f34db75eb9 100644 --- a/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md +++ b/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md @@ -65,11 +65,13 @@ If an unauthenticated user attempts to sign in to {% data variables.location.pro For more information about connecting Microsoft Entra ID (previously known as Azure AD) to your enterprise, see [Tutorial: Microsoft Entra SSO integration with GitHub Enterprise Cloud - Enterprise Account](https://learn.microsoft.com/en-us/entra/identity/saas-apps/github-enterprise-cloud-enterprise-account-tutorial) in Microsoft Docs. +{% data reusables.enterprise-accounts.gov-cloud-idp-not-supported %} + {% elsif ghes %} For more information about connecting Entra ID to your enterprise, see [Tutorial: Microsoft Entra SSO integration with GitHub Enterprise Server](https://learn.microsoft.com/en-us/entra/identity/saas-apps/github-ae-tutorial) in Microsoft Docs. -We do not have a supported partner application when using Entra ID for Azure Government. +{% data reusables.enterprise-accounts.gov-cloud-idp-not-supported %} ## Username considerations with SAML diff --git a/content/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app.md b/content/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app.md index d26b676ae2bf..57f4eff342af 100644 --- a/content/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app.md +++ b/content/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app.md @@ -19,6 +19,8 @@ In order to authenticate as an app installation, you must generate an installati You should keep your installation access token secure. For more information, see [AUTOTITLE](/apps/creating-github-apps/setting-up-a-github-app/best-practices-for-creating-a-github-app). +{% data reusables.apps.ghs-stateless-token-format %} + ## Generating an installation access token {% data reusables.apps.generate-installation-access-token %} diff --git a/content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md b/content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md index d1983b30c8fa..727b2ea8c37b 100644 --- a/content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md +++ b/content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md @@ -145,6 +145,8 @@ To use a {% data variables.product.pat_generic %} or SSH key to access resources {% data variables.product.company_short %} issues tokens that begin with a prefix to indicate the token's type. +{% data reusables.apps.ghs-stateless-token-format %} + | Token type | Prefix | More information | | :- | :- | :- | | {% data variables.product.pat_v1_caps %} | `ghp_` | [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-personal-access-token-classic) | @@ -154,4 +156,4 @@ To use a {% data variables.product.pat_generic %} or SSH key to access resources | Installation access token for a {% data variables.product.prodname_github_app %} | `ghs_` | [AUTOTITLE](/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation) | | Refresh token for a {% data variables.product.prodname_github_app %} | `ghr_` | [AUTOTITLE](/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-access-tokens) | -For more information {% data variables.product.github %}'s token types and their management, see [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/github-credential-types). \ No newline at end of file +For more information {% data variables.product.github %}'s token types and their management, see [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/github-credential-types). diff --git a/content/copilot/how-tos/manage-and-track-spending/prepare-for-usage-based-billing.md b/content/copilot/how-tos/manage-and-track-spending/prepare-for-usage-based-billing.md index a87ab532c784..cc2bb0388cde 100644 --- a/content/copilot/how-tos/manage-and-track-spending/prepare-for-usage-based-billing.md +++ b/content/copilot/how-tos/manage-and-track-spending/prepare-for-usage-based-billing.md @@ -3,7 +3,7 @@ title: Preparing your organization for usage-based billing shortTitle: Prepare your organization for usage-based billing allowTitleToDifferFromFilename: true intro: 'Review your estimated costs under usage-based billing and take steps to prepare your organization before the transition.' -permissions: Enterprise owners, organization owners, and billing managers +permissions: Enterprise owners and billing managers can download the usage report for enterprises. Organization owners can download the usage report for standalone organizations. versions: feature: copilot product: '{% data variables.copilot.copilot_enterprise_short %} or {% data variables.copilot.copilot_business_short %}' diff --git a/content/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions.md b/content/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions.md index 48f10ead7a54..4cfab85954b1 100644 --- a/content/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions.md +++ b/content/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions.md @@ -81,7 +81,7 @@ jobs: GH_TOKEN: {% raw %}${{ steps.generate-token.outputs.token }}{% endraw %} ORGANIZATION: YOUR_ORGANIZATION PROJECT_NUMBER: YOUR_PROJECT_NUMBER - # Uses [{% data variables.product.prodname_cli %}](https://cli.github.com/manual/) to query the API for the ID of the project and return the name and ID of the first 20 fields in the project. `fields` returns a union and the query uses inline fragments (`... on`) to return information about any `ProjectV2Field` and `ProjectV2SingleSelectField` fields. The response is stored in a file called `project_data.json`. + # Uses [{% data variables.product.prodname_cli %} manual](https://cli.github.com/manual/) to query the API for the ID of the project and return the name and ID of the first 20 fields in the project. `fields` returns a union and the query uses inline fragments (`... on`) to return information about any `ProjectV2Field` and `ProjectV2SingleSelectField` fields. The response is stored in a file called `project_data.json`. run: | gh api graphql -f query=' query($org: String!, $number: Int!) { @@ -125,7 +125,7 @@ jobs: env: GH_TOKEN: {% raw %}${{ steps.generate-token.outputs.token }}{% endraw %} PR_ID: {% raw %}${{ github.event.pull_request.node_id }}{% endraw %} - # Uses [{% data variables.product.prodname_cli %}](https://cli.github.com/manual/) and the API to add the pull request that triggered this workflow to the project. The `jq` flag parses the response to get the ID of the created item. + # Uses [{% data variables.product.prodname_cli %} manual](https://cli.github.com/manual/) and the API to add the pull request that triggered this workflow to the project. The `jq` flag parses the response to get the ID of the created item. run: | item_id="$( gh api graphql -f query=' mutation($project:ID!, $pr:ID!) { @@ -214,7 +214,7 @@ jobs: GH_TOKEN: {% raw %}${{ secrets.YOUR_TOKEN }}{% endraw %} ORGANIZATION: YOUR_ORGANIZATION PROJECT_NUMBER: YOUR_PROJECT_NUMBER - # Uses [{% data variables.product.prodname_cli %}](https://cli.github.com/manual/) to query the API for the ID of the project and return the name and ID of the first 20 fields in the project. `fields` returns a union and the query uses inline fragments (`... on`) to return information about any `ProjectV2Field` and `ProjectV2SingleSelectField` fields. The response is stored in a file called `project_data.json`. + # Uses [{% data variables.product.prodname_cli %} manual](https://cli.github.com/manual/) to query the API for the ID of the project and return the name and ID of the first 20 fields in the project. `fields` returns a union and the query uses inline fragments (`... on`) to return information about any `ProjectV2Field` and `ProjectV2SingleSelectField` fields. The response is stored in a file called `project_data.json`. run: | gh api graphql -f query=' query($org: String!, $number: Int!) { @@ -258,7 +258,7 @@ jobs: env: GH_TOKEN: {% raw %}${{ secrets.YOUR_TOKEN }}{% endraw %} PR_ID: {% raw %}${{ github.event.pull_request.node_id }}{% endraw %} - # Uses [{% data variables.product.prodname_cli %}](https://cli.github.com/manual/) and the API to add the pull request that triggered this workflow to the project. The `jq` flag parses the response to get the ID of the created item. + # Uses [{% data variables.product.prodname_cli %} manual](https://cli.github.com/manual/) and the API to add the pull request that triggered this workflow to the project. The `jq` flag parses the response to get the ID of the created item. run: | item_id="$( gh api graphql -f query=' mutation($project:ID!, $pr:ID!) { diff --git a/data/reusables/apps/ghs-stateless-token-format.md b/data/reusables/apps/ghs-stateless-token-format.md new file mode 100644 index 000000000000..fc70259d0b11 --- /dev/null +++ b/data/reusables/apps/ghs-stateless-token-format.md @@ -0,0 +1,2 @@ +> [!NOTE] +> Starting April 27, 2026, {% data variables.product.github %} began a staged rollout of a stateless format (`ghs_APPID_JWT`) to all newly minted {% data variables.product.prodname_github_app %} installation tokens, making them more performant and improving the reliability of our API surface. If your application expects or relies on installation tokens being exactly 40 characters long, it may not handle this new token format correctly. You can now validate your apps and workflows using a temporary request header that lets you enable the token format on demand. For more information about the temporary header, see [the {% data variables.product.company_short %} blog](https://github.blog/changelog/2026-05-15-github-app-installation-tokens-per-request-override-header). diff --git a/data/reusables/copilot/copilot-cloud-agent-non-auto-models.md b/data/reusables/copilot/copilot-cloud-agent-non-auto-models.md index 817aa7a58ab0..c606728d9b8e 100644 --- a/data/reusables/copilot/copilot-cloud-agent-non-auto-models.md +++ b/data/reusables/copilot/copilot-cloud-agent-non-auto-models.md @@ -1,2 +1,4 @@ * {% data variables.copilot.copilot_claude_opus_47 %} +* {% data variables.copilot.copilot_claude_haiku_45 %} * {% data variables.copilot.copilot_gpt_52_codex %} +* {% data variables.copilot.copilot_gpt_54_mini %} diff --git a/data/reusables/enterprise-accounts/gov-cloud-idp-not-supported.md b/data/reusables/enterprise-accounts/gov-cloud-idp-not-supported.md new file mode 100644 index 000000000000..e721b5c90822 --- /dev/null +++ b/data/reusables/enterprise-accounts/gov-cloud-idp-not-supported.md @@ -0,0 +1 @@ +> [!NOTE] {% data variables.product.company_short %} does not test or validate identity provider (IdP) gallery applications for use in Government Cloud environments, including Microsoft Entra ID Government Cloud and Okta Government Cloud. Authentication and SCIM provisioning issues that involve gallery applications in these environments fall outside {% data variables.product.company_short %}'s [scope of support](/support/learning-about-github-support/about-github-support#scope-of-support). diff --git a/package-lock.json b/package-lock.json index fdb6a59d8055..c80ef756683d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8869,9 +8869,20 @@ "dev": true }, "node_modules/fast-uri": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", - "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==" + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz", + "integrity": "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" }, "node_modules/fastest-levenshtein": { "version": "1.0.16", diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 5155682b2036..072ac4fe82b3 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,25 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Type ContentWarning was added
Field category was added to object type ContentWarning
Field customSubCategory was added to object type ContentWarning
Field subCategory was added to object type ContentWarning
Field subTitle was added to object type ContentWarning
Field title was added to object type ContentWarning
Field type was added to object type ContentWarning
Enum value 'MULTI_SELECTwas added to enumIssueFieldDataType'
Field viewerContentWarning was added to object type Repository
Adds a comment to a Discussion, possibly as a reply to another comment.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1171,6 +1172,7 @@ "id": "adddiscussionpollvote", "href": "/graphql/reference/mutations#adddiscussionpollvote", "description": "Vote for an option in a discussion poll.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1611,6 +1613,7 @@ "id": "addstar", "href": "/graphql/reference/mutations#addstar", "description": "Adds a star to a Starrable.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1678,6 +1681,7 @@ "id": "addupvote", "href": "/graphql/reference/mutations#addupvote", "description": "Add an upvote to a discussion or discussion comment.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1964,6 +1968,7 @@ "id": "cancelsponsorship", "href": "/graphql/reference/mutations#cancelsponsorship", "description": "Cancel an active sponsorship.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1994,6 +1999,7 @@ "id": "changeuserstatus", "href": "/graphql/reference/mutations#changeuserstatus", "description": "Update your status on GitHub.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -2156,6 +2162,7 @@ "id": "closediscussion", "href": "/graphql/reference/mutations#closediscussion", "description": "Close a discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -2610,6 +2617,7 @@ "id": "creatediscussion", "href": "/graphql/reference/mutations#creatediscussion", "description": "Create a discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3275,6 +3283,7 @@ "id": "createsponsorslisting", "href": "/graphql/reference/mutations#createsponsorslisting", "description": "Create a GitHub Sponsors profile to allow others to sponsor you or your organization.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3305,6 +3314,7 @@ "id": "createsponsorstier", "href": "/graphql/reference/mutations#createsponsorstier", "description": "Create a new payment tier for your GitHub Sponsors profile.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3335,6 +3345,7 @@ "id": "createsponsorship", "href": "/graphql/reference/mutations#createsponsorship", "description": "Start a new sponsorship of a maintainer in GitHub Sponsors, or reactivate a past sponsorship.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3365,6 +3376,7 @@ "id": "createsponsorships", "href": "/graphql/reference/mutations#createsponsorships", "description": "Make many sponsorships for different sponsorable users or organizations at\nonce. Can only sponsor those who have a public GitHub Sponsors profile.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3395,6 +3407,7 @@ "id": "createuserlist", "href": "/graphql/reference/mutations#createuserlist", "description": "Creates a new user list.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3511,6 +3524,7 @@ "id": "deletediscussion", "href": "/graphql/reference/mutations#deletediscussion", "description": "Delete a discussion and all of its replies.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3541,6 +3555,7 @@ "id": "deletediscussioncomment", "href": "/graphql/reference/mutations#deletediscussioncomment", "description": "Delete a discussion comment. If it has replies, wipe it instead.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -4287,6 +4302,7 @@ "id": "deleteuserlist", "href": "/graphql/reference/mutations#deleteuserlist", "description": "Deletes a user list.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -4541,6 +4557,7 @@ "id": "followorganization", "href": "/graphql/reference/mutations#followorganization", "description": "Follow an organization.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -4571,6 +4588,7 @@ "id": "followuser", "href": "/graphql/reference/mutations#followuser", "description": "Follow a user.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -4891,6 +4909,7 @@ "id": "markdiscussioncommentasanswer", "href": "/graphql/reference/mutations#markdiscussioncommentasanswer", "description": "Mark a discussion comment as the chosen answer for discussions in an answerable category.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5080,6 +5099,7 @@ "id": "minimizecomment", "href": "/graphql/reference/mutations#minimizecomment", "description": "Minimizes a comment on an Issue, Commit, Pull Request, or Gist.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5304,6 +5324,7 @@ "id": "publishsponsorstier", "href": "/graphql/reference/mutations#publishsponsorstier", "description": "Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5798,6 +5819,7 @@ "id": "removestar", "href": "/graphql/reference/mutations#removestar", "description": "Removes a star from a Starrable.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5865,6 +5887,7 @@ "id": "removeupvote", "href": "/graphql/reference/mutations#removeupvote", "description": "Remove an upvote to a discussion or discussion comment.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5895,6 +5918,7 @@ "id": "reopendiscussion", "href": "/graphql/reference/mutations#reopendiscussion", "description": "Reopen a discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6226,6 +6250,7 @@ "id": "retiresponsorstier", "href": "/graphql/reference/mutations#retiresponsorstier", "description": "Retire a published payment tier from your GitHub Sponsors profile so it cannot be used to start new sponsorships.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6421,6 +6446,7 @@ "id": "setorganizationinteractionlimit", "href": "/graphql/reference/mutations#setorganizationinteractionlimit", "description": "Set an organization level interaction limit for an organization's public repositories.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6482,6 +6508,7 @@ "id": "setrepositoryinteractionlimit", "href": "/graphql/reference/mutations#setrepositoryinteractionlimit", "description": "Sets an interaction limit setting for a repository.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6512,6 +6539,7 @@ "id": "setuserinteractionlimit", "href": "/graphql/reference/mutations#setuserinteractionlimit", "description": "Set a user level interaction limit for an user's public repositories.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6785,6 +6813,7 @@ "id": "unfolloworganization", "href": "/graphql/reference/mutations#unfolloworganization", "description": "Unfollow an organization.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6815,6 +6844,7 @@ "id": "unfollowuser", "href": "/graphql/reference/mutations#unfollowuser", "description": "Unfollow a user.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6983,6 +7013,7 @@ "id": "unmarkdiscussioncommentasanswer", "href": "/graphql/reference/mutations#unmarkdiscussioncommentasanswer", "description": "Unmark a discussion comment as the chosen answer for discussions in an answerable category.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -7105,6 +7136,7 @@ "id": "unminimizecomment", "href": "/graphql/reference/mutations#unminimizecomment", "description": "Unminimizes a comment on an Issue, Commit, Pull Request, or Gist.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -7324,6 +7356,7 @@ "id": "updatediscussion", "href": "/graphql/reference/mutations#updatediscussion", "description": "Update a discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -7354,6 +7387,7 @@ "id": "updatediscussioncomment", "href": "/graphql/reference/mutations#updatediscussioncomment", "description": "Update the contents of a comment on a Discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -7889,6 +7923,7 @@ "id": "updateenterpriseprofile", "href": "/graphql/reference/mutations#updateenterpriseprofile", "description": "Updates an enterprise's profile.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -8516,6 +8551,7 @@ "id": "updatepatreonsponsorability", "href": "/graphql/reference/mutations#updatepatreonsponsorability", "description": "Toggle the setting for your GitHub Sponsors profile that allows other GitHub\naccounts to sponsor you on GitHub while paying for the sponsorship on Patreon.\nOnly applicable when you have a GitHub Sponsors profile and have connected\nyour GitHub account with Patreon.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -9169,6 +9205,7 @@ "id": "updatesponsorshippreferences", "href": "/graphql/reference/mutations#updatesponsorshippreferences", "description": "Change visibility of your sponsorship and opt in or out of email updates from the maintainer.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -9334,6 +9371,7 @@ "id": "updateuserlist", "href": "/graphql/reference/mutations#updateuserlist", "description": "Updates an existing user list.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -9364,6 +9402,7 @@ "id": "updateuserlistsforitem", "href": "/graphql/reference/mutations#updateuserlistsforitem", "description": "Updates which of the viewer's lists an item belongs to.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -13057,6 +13096,7 @@ "id": "codeofconduct", "href": "/graphql/reference/objects#codeofconduct", "description": "The Code of Conduct for a repository.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -14554,6 +14594,7 @@ "id": "commitcontributionsbyrepository", "href": "/graphql/reference/objects#commitcontributionsbyrepository", "description": "This aggregates commits made by a user within one repository.
", + "isDeprecated": false, "fields": [ { "name": "contributions", @@ -14965,11 +15006,62 @@ } ] }, + { + "name": "ContentWarning", + "id": "contentwarning", + "href": "/graphql/reference/objects#contentwarning", + "description": "The content warning for a repository.
", + "fields": [ + { + "name": "category", + "description": "The content warning' category. E.g. 'mis_dis_information'.
", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "customSubCategory", + "description": "The content warning's custom sub category text. E.g. 'dangerous stuff.'.
", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "subCategory", + "description": "The content warning's sub category. E.g. 'medical_scientific'.
", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "subTitle", + "description": "The content warning's sub title. E.g. 'The information contained in this page has not been verified.'.
", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "title", + "description": "The content warning's title. E.g. 'This page may contain false or misleading information.'.
", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "type", + "description": "The type of content warning. E.g. 'interstitial'.
", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "ContributingGuidelines", "id": "contributingguidelines", "href": "/graphql/reference/objects#contributingguidelines", "description": "The Contributing Guidelines for a repository.
", + "isDeprecated": false, "fields": [ { "name": "body", @@ -14999,6 +15091,7 @@ "id": "contributioncalendar", "href": "/graphql/reference/objects#contributioncalendar", "description": "A calendar of contributions made on GitHub by a user.
", + "isDeprecated": false, "fields": [ { "name": "colors", @@ -15042,6 +15135,7 @@ "id": "contributioncalendarday", "href": "/graphql/reference/objects#contributioncalendarday", "description": "Represents a single day of contributions on GitHub by a user.
", + "isDeprecated": false, "fields": [ { "name": "color", @@ -15085,6 +15179,7 @@ "id": "contributioncalendarmonth", "href": "/graphql/reference/objects#contributioncalendarmonth", "description": "A month of contributions in a user's contribution graph.
", + "isDeprecated": false, "fields": [ { "name": "firstDay", @@ -15121,6 +15216,7 @@ "id": "contributioncalendarweek", "href": "/graphql/reference/objects#contributioncalendarweek", "description": "A week of contributions in a user's contribution graph.
", + "isDeprecated": false, "fields": [ { "name": "contributionDays", @@ -15143,6 +15239,7 @@ "id": "contributionscollection", "href": "/graphql/reference/objects#contributionscollection", "description": "A collection of contributions made by a user, including opened issues, commits, and pull requests.\nContributions in private and internal repositories are only included with the optional read:user scope.
", + "isDeprecated": false, "fields": [ { "name": "commitContributionsByRepository", @@ -16029,6 +16126,7 @@ "id": "convertedtodiscussionevent", "href": "/graphql/reference/objects#convertedtodiscussionevent", "description": "Represents aconverted_to_discussionevent on a given issue.
Represents the contribution a user made by committing to a repository.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -16252,6 +16351,7 @@ "id": "createdissuecontribution", "href": "/graphql/reference/objects#createdissuecontribution", "description": "Represents the contribution a user made on GitHub by opening an issue.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -16367,6 +16467,7 @@ "id": "createdpullrequestcontribution", "href": "/graphql/reference/objects#createdpullrequestcontribution", "description": "Represents the contribution a user made on GitHub by opening a pull request.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -16482,6 +16583,7 @@ "id": "createdpullrequestreviewcontribution", "href": "/graphql/reference/objects#createdpullrequestreviewcontribution", "description": "Represents the contribution a user made by leaving a review on a pull request.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -16611,6 +16713,7 @@ "id": "createdrepositorycontribution", "href": "/graphql/reference/objects#createdrepositorycontribution", "description": "Represents the contribution a user made on GitHub by creating a repository.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -18408,6 +18511,7 @@ "id": "discussion", "href": "/graphql/reference/objects#discussion", "description": "A discussion in a repository.
", + "isDeprecated": false, "implements": [ { "name": "Closable", @@ -18981,6 +19085,7 @@ "id": "discussioncategory", "href": "/graphql/reference/objects#discussioncategory", "description": "A category for discussions in a repository.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -19129,6 +19234,7 @@ "id": "discussioncomment", "href": "/graphql/reference/objects#discussioncomment", "description": "A comment on a discussion.
", + "isDeprecated": false, "implements": [ { "name": "Comment", @@ -19693,6 +19799,7 @@ "id": "discussionpoll", "href": "/graphql/reference/objects#discussionpoll", "description": "A poll for a discussion.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -19804,6 +19911,7 @@ "id": "discussionpolloption", "href": "/graphql/reference/objects#discussionpolloption", "description": "An option for a discussion poll.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -20880,10 +20988,12 @@ }, { "name": "assetPacks", - "description": "The number of data packs used by all organizations owned by the enterprise.
", + "description": "The number of data packs used by all organizations owned by the enterprise. Data packs are deprecated, always returns 0.
", "type": "Int!", "id": "int", - "href": "/graphql/reference/scalars#int" + "href": "/graphql/reference/scalars#int", + "isDeprecated": true, + "deprecationReason": "LFS data packs have been removed. Always returns 0.
" }, { "name": "bandwidthQuota", @@ -25111,6 +25221,7 @@ "id": "fundinglink", "href": "/graphql/reference/objects#fundinglink", "description": "A funding platform link for a repository.
", + "isDeprecated": false, "fields": [ { "name": "platform", @@ -25133,6 +25244,7 @@ "id": "generichovercardcontext", "href": "/graphql/reference/objects#generichovercardcontext", "description": "A generic hovercard context with a message and icon.
", + "isDeprecated": false, "implements": [ { "name": "HovercardContext", @@ -26318,6 +26430,7 @@ "id": "hovercard", "href": "/graphql/reference/objects#hovercard", "description": "Detail needed to display a hovercard for a user.
", + "isDeprecated": false, "fields": [ { "name": "contexts", @@ -30254,6 +30367,7 @@ "id": "joinedgithubcontribution", "href": "/graphql/reference/objects#joinedgithubcontribution", "description": "Represents a user signing up for a GitHub account.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -30779,6 +30893,7 @@ "id": "license", "href": "/graphql/reference/objects#license", "description": "A repository's open source license.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -30899,6 +31014,7 @@ "id": "licenserule", "href": "/graphql/reference/objects#licenserule", "description": "Describes a License's conditions, permissions, and limitations.
", + "isDeprecated": false, "fields": [ { "name": "description", @@ -44082,6 +44198,7 @@ "id": "permissionsource", "href": "/graphql/reference/objects#permissionsource", "description": "A level of permission and source for a user's access to a repository.
", + "isDeprecated": false, "fields": [ { "name": "organization", @@ -44176,6 +44293,7 @@ "id": "pinneddiscussion", "href": "/graphql/reference/objects#pinneddiscussion", "description": "A Pinned Discussion is a discussion pinned to a repository's index page.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -45153,6 +45271,7 @@ "id": "profileitemshowcase", "href": "/graphql/reference/objects#profileitemshowcase", "description": "A curatable list of repositories relating to a repository owner, which defaults\nto showing the most popular repositories they own.
", + "isDeprecated": false, "fields": [ { "name": "hasPinnedItems", @@ -63017,6 +63136,13 @@ "id": "boolean", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerContentWarning", + "description": "The content warning for this repository for the viewer.
", + "type": "ContentWarning", + "id": "contentwarning", + "href": "/graphql/reference/objects#contentwarning" + }, { "name": "viewerDefaultCommitEmail", "description": "The last commit email for the viewer.
", @@ -63701,6 +63827,7 @@ "id": "repositoryinteractionability", "href": "/graphql/reference/objects#repositoryinteractionability", "description": "Repository interaction limit that applies to this object.
", + "isDeprecated": false, "fields": [ { "name": "expiresAt", @@ -65517,6 +65644,7 @@ "id": "restrictedcontribution", "href": "/graphql/reference/objects#restrictedcontribution", "description": "Represents a private contribution a user made on GitHub.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -66009,6 +66137,7 @@ "id": "savedreply", "href": "/graphql/reference/objects#savedreply", "description": "A Saved Reply is text a user can use to reply quickly.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -66827,6 +66956,7 @@ "id": "socialaccount", "href": "/graphql/reference/objects#socialaccount", "description": "Social media profile associated with a user.
", + "isDeprecated": false, "fields": [ { "name": "displayName", @@ -66914,6 +67044,7 @@ "id": "sponsorandlifetimevalue", "href": "/graphql/reference/objects#sponsorandlifetimevalue", "description": "A GitHub account and the total amount in USD they've paid for sponsorships to a\nparticular maintainer. Does not include payments made via Patreon.
", + "isDeprecated": false, "fields": [ { "name": "amountInCents", @@ -67124,6 +67255,7 @@ "id": "sponsorsactivity", "href": "/graphql/reference/objects#sponsorsactivity", "description": "An event related to sponsorship activity.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -67267,6 +67399,7 @@ "id": "sponsorsgoal", "href": "/graphql/reference/objects#sponsorsgoal", "description": "A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain.
", + "isDeprecated": false, "fields": [ { "name": "description", @@ -67310,6 +67443,7 @@ "id": "sponsorslisting", "href": "/graphql/reference/objects#sponsorslisting", "description": "A GitHub Sponsors listing.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -67547,6 +67681,7 @@ "id": "sponsorslistingfeatureditem", "href": "/graphql/reference/objects#sponsorslistingfeatureditem", "description": "A record that is promoted on a GitHub Sponsors profile.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -67611,6 +67746,7 @@ "id": "sponsorstier", "href": "/graphql/reference/objects#sponsorstier", "description": "A GitHub Sponsors tier associated with a GitHub Sponsors listing.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -67717,6 +67853,7 @@ "id": "sponsorstieradmininfo", "href": "/graphql/reference/objects#sponsorstieradmininfo", "description": "SponsorsTier information only visible to users that can administer the associated Sponsors listing.
", + "isDeprecated": false, "fields": [ { "name": "isDraft", @@ -67868,6 +68005,7 @@ "id": "sponsorship", "href": "/graphql/reference/objects#sponsorship", "description": "A sponsorship relationship between a sponsor and a maintainer.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -68050,6 +68188,7 @@ "id": "sponsorshipnewsletter", "href": "/graphql/reference/objects#sponsorshipnewsletter", "description": "An update sent to sponsors of a user or organization on GitHub Sponsors.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -68835,6 +68974,7 @@ "id": "stripeconnectaccount", "href": "/graphql/reference/objects#stripeconnectaccount", "description": "A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors.
", + "isDeprecated": false, "fields": [ { "name": "accountId", @@ -72530,6 +72670,7 @@ "id": "user", "href": "/graphql/reference/objects#user", "description": "A user is an individual's account on GitHub that owns repositories and can make new content.
", + "isDeprecated": false, "implements": [ { "name": "Actor", @@ -75606,6 +75747,7 @@ "id": "usercontentedit", "href": "/graphql/reference/objects#usercontentedit", "description": "An edit on user content.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -75786,6 +75928,7 @@ "id": "userlist", "href": "/graphql/reference/objects#userlist", "description": "A user-curated list of repositories.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -76025,6 +76168,7 @@ "id": "userlistsuggestion", "href": "/graphql/reference/objects#userlistsuggestion", "description": "Represents a suggested user list.
", + "isDeprecated": false, "fields": [ { "name": "id", @@ -76148,6 +76292,7 @@ "id": "userstatus", "href": "/graphql/reference/objects#userstatus", "description": "The user's description of what they're currently doing.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -76469,6 +76614,7 @@ "id": "viewerhovercardcontext", "href": "/graphql/reference/objects#viewerhovercardcontext", "description": "A hovercard context with a message describing how the viewer is related.
", + "isDeprecated": false, "implements": [ { "name": "HovercardContext", @@ -77023,6 +77169,7 @@ "id": "actor", "href": "/graphql/reference/interfaces#actor", "description": "Represents an object which can take actions on GitHub. Typically a User or Bot.
", + "isDeprecated": false, "fields": [ { "name": "avatarUrl", @@ -77617,6 +77764,7 @@ "id": "deletable", "href": "/graphql/reference/interfaces#deletable", "description": "Entities that can be deleted.
", + "isDeprecated": false, "fields": [ { "name": "viewerCanDelete", @@ -77777,6 +77925,7 @@ "id": "hovercardcontext", "href": "/graphql/reference/interfaces#hovercardcontext", "description": "An individual line of a hovercard.
", + "isDeprecated": false, "fields": [ { "name": "message", @@ -77952,6 +78101,7 @@ "id": "memberstatusable", "href": "/graphql/reference/interfaces#memberstatusable", "description": "Entities that have members who can set status messages.
", + "isDeprecated": false, "fields": [ { "name": "memberStatuses", @@ -78099,6 +78249,7 @@ "id": "minimizable", "href": "/graphql/reference/interfaces#minimizable", "description": "Entities that can be minimized.
", + "isDeprecated": false, "fields": [ { "name": "isMinimized", @@ -78365,6 +78516,7 @@ "id": "profileowner", "href": "/graphql/reference/interfaces#profileowner", "description": "Represents any entity on GitHub that has a profile page.
", + "isDeprecated": false, "fields": [ { "name": "anyPinnableItems", @@ -79138,6 +79290,7 @@ "id": "repositorydiscussionauthor", "href": "/graphql/reference/interfaces#repositorydiscussionauthor", "description": "Represents an author of discussions in repositories.
", + "isDeprecated": false, "fields": [ { "name": "repositoryDiscussions", @@ -79227,6 +79380,7 @@ "id": "repositorydiscussioncommentauthor", "href": "/graphql/reference/interfaces#repositorydiscussioncommentauthor", "description": "Represents an author of discussion comments in repositories.
", + "isDeprecated": false, "fields": [ { "name": "repositoryDiscussionComments", @@ -79818,6 +79972,7 @@ "id": "sponsorable", "href": "/graphql/reference/interfaces#sponsorable", "description": "Entities that can sponsor or be sponsored through GitHub Sponsors.
", + "isDeprecated": false, "fields": [ { "name": "estimatedNextSponsorsPayoutInCents", @@ -80450,6 +80605,7 @@ "id": "starrable", "href": "/graphql/reference/interfaces#starrable", "description": "Things that can be starred.
", + "isDeprecated": false, "fields": [ { "name": "id", @@ -80733,6 +80889,7 @@ "id": "votable", "href": "/graphql/reference/interfaces#votable", "description": "A subject that may be upvoted.
", + "isDeprecated": false, "fields": [ { "name": "upvoteCount", @@ -80969,6 +81126,7 @@ "id": "collaboratoraffiliation", "href": "/graphql/reference/enums#collaboratoraffiliation", "description": "Collaborators affiliation level with a subject.
", + "isDeprecated": false, "values": [ { "name": "ALL", @@ -81067,6 +81225,7 @@ "id": "commitcontributionorderfield", "href": "/graphql/reference/enums#commitcontributionorderfield", "description": "Properties by which commit contribution connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "COMMIT_COUNT", @@ -81107,6 +81266,7 @@ "id": "contributionlevel", "href": "/graphql/reference/enums#contributionlevel", "description": "Varying levels of contributions from none to many.
", + "isDeprecated": false, "values": [ { "name": "FIRST_QUARTILE", @@ -81396,6 +81556,7 @@ "id": "discussionclosereason", "href": "/graphql/reference/enums#discussionclosereason", "description": "The possible reasons for closing a discussion.
", + "isDeprecated": false, "values": [ { "name": "DUPLICATE", @@ -81416,6 +81577,7 @@ "id": "discussionorderfield", "href": "/graphql/reference/enums#discussionorderfield", "description": "Properties by which discussion connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "CREATED_AT", @@ -81432,6 +81594,7 @@ "id": "discussionpolloptionorderfield", "href": "/graphql/reference/enums#discussionpolloptionorderfield", "description": "Properties by which discussion poll option connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "AUTHORED_ORDER", @@ -81448,6 +81611,7 @@ "id": "discussionstate", "href": "/graphql/reference/enums#discussionstate", "description": "The possible states of a discussion.
", + "isDeprecated": false, "values": [ { "name": "CLOSED", @@ -81464,6 +81628,7 @@ "id": "discussionstatereason", "href": "/graphql/reference/enums#discussionstatereason", "description": "The possible state reasons of a discussion.
", + "isDeprecated": false, "values": [ { "name": "DUPLICATE", @@ -81936,6 +82101,7 @@ "id": "fundingplatform", "href": "/graphql/reference/enums#fundingplatform", "description": "The possible funding platforms for repository funding links.
", + "isDeprecated": false, "values": [ { "name": "BUY_ME_A_COFFEE", @@ -82256,6 +82422,10 @@ "name": "DATE", "description": "Date.
" }, + { + "name": "MULTI_SELECT", + "description": "Multi Select.
" + }, { "name": "NUMBER", "description": "Number.
" @@ -83721,6 +83891,7 @@ "id": "pinnableitemtype", "href": "/graphql/reference/enums#pinnableitemtype", "description": "Represents items that can be pinned to a profile page or dashboard.
", + "isDeprecated": false, "values": [ { "name": "GIST", @@ -83761,6 +83932,7 @@ "id": "pinneddiscussiongradient", "href": "/graphql/reference/enums#pinneddiscussiongradient", "description": "Preconfigured gradients that may be used to style discussions pinned within a repository.
", + "isDeprecated": false, "values": [ { "name": "BLUE_MINT", @@ -83789,6 +83961,7 @@ "id": "pinneddiscussionpattern", "href": "/graphql/reference/enums#pinneddiscussionpattern", "description": "Preconfigured background patterns that may be used to style discussions pinned within a repository.
", + "isDeprecated": false, "values": [ { "name": "CHEVRON_UP", @@ -85165,6 +85338,7 @@ "id": "reportedcontentclassifiers", "href": "/graphql/reference/enums#reportedcontentclassifiers", "description": "The reasons a piece of content can be reported or minimized.
", + "isDeprecated": false, "values": [ { "name": "ABUSE", @@ -85264,6 +85438,7 @@ "id": "repositoryinteractionlimit", "href": "/graphql/reference/enums#repositoryinteractionlimit", "description": "A repository interaction limit.
", + "isDeprecated": false, "values": [ { "name": "COLLABORATORS_ONLY", @@ -85288,6 +85463,7 @@ "id": "repositoryinteractionlimitexpiry", "href": "/graphql/reference/enums#repositoryinteractionlimitexpiry", "description": "The length for a repository interaction limit to be enabled for.
", + "isDeprecated": false, "values": [ { "name": "ONE_DAY", @@ -85316,6 +85492,7 @@ "id": "repositoryinteractionlimitorigin", "href": "/graphql/reference/enums#repositoryinteractionlimitorigin", "description": "Indicates where an interaction limit is configured.
", + "isDeprecated": false, "values": [ { "name": "ORGANIZATION", @@ -85899,6 +86076,7 @@ "id": "savedreplyorderfield", "href": "/graphql/reference/enums#savedreplyorderfield", "description": "Properties by which saved reply connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "UPDATED_AT", @@ -86099,6 +86277,7 @@ "id": "socialaccountprovider", "href": "/graphql/reference/enums#socialaccountprovider", "description": "Software or company that hosts social media accounts.
", + "isDeprecated": false, "values": [ { "name": "BLUESKY", @@ -86155,6 +86334,7 @@ "id": "sponsorandlifetimevalueorderfield", "href": "/graphql/reference/enums#sponsorandlifetimevalueorderfield", "description": "Properties by which sponsor and lifetime value connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "LIFETIME_VALUE", @@ -86175,6 +86355,7 @@ "id": "sponsororderfield", "href": "/graphql/reference/enums#sponsororderfield", "description": "Properties by which sponsor connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "LOGIN", @@ -86191,6 +86372,7 @@ "id": "sponsorableorderfield", "href": "/graphql/reference/enums#sponsorableorderfield", "description": "Properties by which sponsorable connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "LOGIN", @@ -86203,6 +86385,7 @@ "id": "sponsorsactivityaction", "href": "/graphql/reference/enums#sponsorsactivityaction", "description": "The possible actions that GitHub Sponsors activities can represent.
", + "isDeprecated": false, "values": [ { "name": "CANCELLED_SPONSORSHIP", @@ -86235,6 +86418,7 @@ "id": "sponsorsactivityorderfield", "href": "/graphql/reference/enums#sponsorsactivityorderfield", "description": "Properties by which GitHub Sponsors activity connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "TIMESTAMP", @@ -86247,6 +86431,7 @@ "id": "sponsorsactivityperiod", "href": "/graphql/reference/enums#sponsorsactivityperiod", "description": "The possible time periods for which Sponsors activities can be requested.
", + "isDeprecated": false, "values": [ { "name": "ALL", @@ -86271,6 +86456,7 @@ "id": "sponsorscountryorregioncode", "href": "/graphql/reference/enums#sponsorscountryorregioncode", "description": "Represents countries or regions for billing and residence for a GitHub Sponsors profile.
", + "isDeprecated": false, "values": [ { "name": "AD", @@ -87267,6 +87453,7 @@ "id": "sponsorsgoalkind", "href": "/graphql/reference/enums#sponsorsgoalkind", "description": "The different kinds of goals a GitHub Sponsors member can have.
", + "isDeprecated": false, "values": [ { "name": "MONTHLY_SPONSORSHIP_AMOUNT", @@ -87283,6 +87470,7 @@ "id": "sponsorslistingfeatureditemfeatureabletype", "href": "/graphql/reference/enums#sponsorslistingfeatureditemfeatureabletype", "description": "The different kinds of records that can be featured on a GitHub Sponsors profile page.
", + "isDeprecated": false, "values": [ { "name": "REPOSITORY", @@ -87299,6 +87487,7 @@ "id": "sponsorstierorderfield", "href": "/graphql/reference/enums#sponsorstierorderfield", "description": "Properties by which Sponsors tiers connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "CREATED_AT", @@ -87315,6 +87504,7 @@ "id": "sponsorshipnewsletterorderfield", "href": "/graphql/reference/enums#sponsorshipnewsletterorderfield", "description": "Properties by which sponsorship update connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "CREATED_AT", @@ -87327,6 +87517,7 @@ "id": "sponsorshiporderfield", "href": "/graphql/reference/enums#sponsorshiporderfield", "description": "Properties by which sponsorship connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "CREATED_AT", @@ -87339,6 +87530,7 @@ "id": "sponsorshippaymentsource", "href": "/graphql/reference/enums#sponsorshippaymentsource", "description": "How payment was made for funding a GitHub Sponsors sponsorship.
", + "isDeprecated": false, "values": [ { "name": "GITHUB", @@ -87355,6 +87547,7 @@ "id": "sponsorshipprivacy", "href": "/graphql/reference/enums#sponsorshipprivacy", "description": "The privacy of a sponsorship.
", + "isDeprecated": false, "values": [ { "name": "PRIVATE", @@ -87407,6 +87600,7 @@ "id": "starorderfield", "href": "/graphql/reference/enums#starorderfield", "description": "Properties by which star connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "STARRED_AT", @@ -87754,6 +87948,7 @@ "id": "userblockduration", "href": "/graphql/reference/enums#userblockduration", "description": "The possible durations that a user can be blocked for.
", + "isDeprecated": false, "values": [ { "name": "ONE_DAY", @@ -87782,6 +87977,7 @@ "id": "userstatusorderfield", "href": "/graphql/reference/enums#userstatusorderfield", "description": "Properties by which user status connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "UPDATED_AT", @@ -87794,6 +87990,7 @@ "id": "userviewtype", "href": "/graphql/reference/enums#userviewtype", "description": "Whether a user being viewed contains public or private information.
", + "isDeprecated": false, "values": [ { "name": "PRIVATE", @@ -88008,6 +88205,7 @@ "id": "createdissueorrestrictedcontribution", "href": "/graphql/reference/unions#createdissueorrestrictedcontribution", "description": "Represents either a issue the viewer can access or a restricted contribution.
", + "isDeprecated": false, "possibleTypes": [ { "name": "CreatedIssueContribution", @@ -88026,6 +88224,7 @@ "id": "createdpullrequestorrestrictedcontribution", "href": "/graphql/reference/unions#createdpullrequestorrestrictedcontribution", "description": "Represents either a pull request the viewer can access or a restricted contribution.
", + "isDeprecated": false, "possibleTypes": [ { "name": "CreatedPullRequestContribution", @@ -88044,6 +88243,7 @@ "id": "createdrepositoryorrestrictedcontribution", "href": "/graphql/reference/unions#createdrepositoryorrestrictedcontribution", "description": "Represents either a repository the viewer can access or a restricted contribution.
", + "isDeprecated": false, "possibleTypes": [ { "name": "CreatedRepositoryContribution", @@ -88956,6 +89156,7 @@ "id": "permissiongranter", "href": "/graphql/reference/unions#permissiongranter", "description": "Types that can grant permissions on a repository to a user.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Organization", @@ -88979,6 +89180,7 @@ "id": "pinnableitem", "href": "/graphql/reference/unions#pinnableitem", "description": "Types that can be pinned to a profile page.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Gist", @@ -90055,6 +90257,7 @@ "id": "sponsor", "href": "/graphql/reference/unions#sponsor", "description": "Entities that can sponsor others via GitHub Sponsors.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Organization", @@ -90073,6 +90276,7 @@ "id": "sponsorableitem", "href": "/graphql/reference/unions#sponsorableitem", "description": "Entities that can be sponsored via GitHub Sponsors.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Organization", @@ -90091,6 +90295,7 @@ "id": "sponsorslistingfeatureableitem", "href": "/graphql/reference/unions#sponsorslistingfeatureableitem", "description": "A record that can be featured on a GitHub Sponsors profile.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Repository", @@ -90127,6 +90332,7 @@ "id": "userlistitems", "href": "/graphql/reference/unions#userlistitems", "description": "Types that can be added to a user list.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Repository", @@ -91350,6 +91556,7 @@ "id": "bulksponsorship", "href": "/graphql/reference/input-objects#bulksponsorship", "description": "Information about a sponsorship to make for a user or organization with a GitHub\nSponsors profile, as part of sponsoring many users or organizations at once.
", + "isDeprecated": false, "inputFields": [ { "name": "amount", @@ -92177,6 +92384,7 @@ "id": "commitcontributionorder", "href": "/graphql/reference/input-objects#commitcontributionorder", "description": "Ordering options for commit contribution connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -92324,6 +92532,7 @@ "id": "contributionorder", "href": "/graphql/reference/input-objects#contributionorder", "description": "Ordering options for contribution connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -95329,6 +95538,7 @@ "id": "discussionorder", "href": "/graphql/reference/input-objects#discussionorder", "description": "Ways in which lists of discussions can be ordered upon return.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -95351,6 +95561,7 @@ "id": "discussionpolloptionorder", "href": "/graphql/reference/input-objects#discussionpolloptionorder", "description": "Ordering options for discussion poll option connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99487,6 +99698,7 @@ "id": "savedreplyorder", "href": "/graphql/reference/input-objects#savedreplyorder", "description": "Ordering options for saved reply connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99804,6 +100016,7 @@ "id": "sponsorandlifetimevalueorder", "href": "/graphql/reference/input-objects#sponsorandlifetimevalueorder", "description": "Ordering options for connections to get sponsor entities and associated USD amounts for GitHub Sponsors.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99826,6 +100039,7 @@ "id": "sponsororder", "href": "/graphql/reference/input-objects#sponsororder", "description": "Ordering options for connections to get sponsor entities for GitHub Sponsors.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99848,6 +100062,7 @@ "id": "sponsorableorder", "href": "/graphql/reference/input-objects#sponsorableorder", "description": "Ordering options for connections to get sponsorable entities for GitHub Sponsors.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99870,6 +100085,7 @@ "id": "sponsorsactivityorder", "href": "/graphql/reference/input-objects#sponsorsactivityorder", "description": "Ordering options for GitHub Sponsors activity connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99892,6 +100108,7 @@ "id": "sponsorstierorder", "href": "/graphql/reference/input-objects#sponsorstierorder", "description": "Ordering options for Sponsors tiers connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99914,6 +100131,7 @@ "id": "sponsorshipnewsletterorder", "href": "/graphql/reference/input-objects#sponsorshipnewsletterorder", "description": "Ordering options for sponsorship newsletter connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99936,6 +100154,7 @@ "id": "sponsorshiporder", "href": "/graphql/reference/input-objects#sponsorshiporder", "description": "Ordering options for sponsorship connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99958,6 +100177,7 @@ "id": "starorder", "href": "/graphql/reference/input-objects#starorder", "description": "Ways in which star connections can be ordered.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -103738,6 +103958,7 @@ "id": "userstatusorder", "href": "/graphql/reference/input-objects#userstatusorder", "description": "Ordering options for user status connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index de09a4353460..7fc8536379b1 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -249,7 +249,7 @@ type AccessUserNamespaceRepositoryPayload { """ Represents an object which can take actions on GitHub. Typically a User or Bot. """ -interface Actor { +interface Actor @docsCategory(name: "users") { """ A URL pointing to the actor's public avatar. """ @@ -3135,7 +3135,7 @@ type BranchProtectionRuleEdge { Information about a sponsorship to make for a user or organization with a GitHub Sponsors profile, as part of sponsoring many users or organizations at once. """ -input BulkSponsorship { +input BulkSponsorship @docsCategory(name: "sponsors") { """ The amount to pay to the sponsorable in US dollars. Valid values: 1-12000. """ @@ -4931,7 +4931,7 @@ union Closer = Commit | ProjectV2 | PullRequest """ The Code of Conduct for a repository """ -type CodeOfConduct implements Node { +type CodeOfConduct implements Node @docsCategory(name: "meta") { """ The body of the Code of Conduct """ @@ -5036,7 +5036,7 @@ input CodeScanningToolInput { """ Collaborators affiliation level with a subject. """ -enum CollaboratorAffiliation { +enum CollaboratorAffiliation @docsCategory(name: "repos") { """ All collaborators the authenticated user can see. """ @@ -6129,7 +6129,7 @@ type CommitConnection { """ Ordering options for commit contribution connections. """ -input CommitContributionOrder { +input CommitContributionOrder @docsCategory(name: "commits") { """ The ordering direction. """ @@ -6144,7 +6144,7 @@ input CommitContributionOrder { """ Properties by which commit contribution connections can be ordered. """ -enum CommitContributionOrderField { +enum CommitContributionOrderField @docsCategory(name: "commits") { """ Order commit contributions by how many commits they represent. """ @@ -6159,7 +6159,7 @@ enum CommitContributionOrderField { """ This aggregates commits made by a user within one repository. """ -type CommitContributionsByRepository { +type CommitContributionsByRepository @docsCategory(name: "commits") { """ The commit contributions, each representing a day. """ @@ -6551,10 +6551,45 @@ type ConnectedEvent implements Node @docsCategory(name: "issues") { subject: ReferencedSubject! } +""" +The content warning for a repository +""" +type ContentWarning { + """ + The content warning' category. E.g. 'mis_dis_information' + """ + category: String! + + """ + The content warning's custom sub category text. E.g. 'dangerous stuff.' + """ + customSubCategory: String + + """ + The content warning's sub category. E.g. 'medical_scientific' + """ + subCategory: String + + """ + The content warning's sub title. E.g. 'The information contained in this page has not been verified.' + """ + subTitle: String + + """ + The content warning's title. E.g. 'This page may contain false or misleading information.' + """ + title: String! + + """ + The type of content warning. E.g. 'interstitial' + """ + type: String! +} + """ The Contributing Guidelines for a repository. """ -type ContributingGuidelines { +type ContributingGuidelines @docsCategory(name: "repos") { """ The body of the Contributing Guidelines. """ @@ -6606,7 +6641,7 @@ interface Contribution { """ A calendar of contributions made on GitHub by a user. """ -type ContributionCalendar { +type ContributionCalendar @docsCategory(name: "users") { """ A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. """ @@ -6636,7 +6671,7 @@ type ContributionCalendar { """ Represents a single day of contributions on GitHub by a user. """ -type ContributionCalendarDay { +type ContributionCalendarDay @docsCategory(name: "users") { """ The hex color code that represents how many contributions were made on this day compared to others in the calendar. """ @@ -6667,7 +6702,7 @@ type ContributionCalendarDay { """ A month of contributions in a user's contribution graph. """ -type ContributionCalendarMonth { +type ContributionCalendarMonth @docsCategory(name: "users") { """ The date of the first day of this month. """ @@ -6692,7 +6727,7 @@ type ContributionCalendarMonth { """ A week of contributions in a user's contribution graph. """ -type ContributionCalendarWeek { +type ContributionCalendarWeek @docsCategory(name: "users") { """ The days of contributions in this week. """ @@ -6707,7 +6742,7 @@ type ContributionCalendarWeek { """ Varying levels of contributions from none to many. """ -enum ContributionLevel { +enum ContributionLevel @docsCategory(name: "users") { """ Lowest 25% of days of contributions. """ @@ -6737,7 +6772,7 @@ enum ContributionLevel { """ Ordering options for contribution connections. """ -input ContributionOrder { +input ContributionOrder @docsCategory(name: "users") { """ The ordering direction. """ @@ -6748,7 +6783,7 @@ input ContributionOrder { A collection of contributions made by a user, including opened issues, commits, and pull requests. Contributions in private and internal repositories are only included with the optional read:user scope. """ -type ContributionsCollection { +type ContributionsCollection @docsCategory(name: "users") { """ Commit contributions made by the user, grouped by repository. """ @@ -7394,7 +7429,7 @@ type ConvertedNoteToIssueEvent implements Node { """ Represents a 'converted_to_discussion' event on a given issue. """ -type ConvertedToDiscussionEvent implements Node { +type ConvertedToDiscussionEvent implements Node @docsCategory(name: "issues") { """ Identifies the actor who performed the event. """ @@ -9492,7 +9527,7 @@ type CreateUserListPayload { """ Represents the contribution a user made by committing to a repository. """ -type CreatedCommitContribution implements Contribution { +type CreatedCommitContribution implements Contribution @docsCategory(name: "users") { """ How many commits were made on this day to this repository by the user. """ @@ -9574,7 +9609,7 @@ type CreatedCommitContributionEdge { """ Represents the contribution a user made on GitHub by opening an issue. """ -type CreatedIssueContribution implements Contribution { +type CreatedIssueContribution implements Contribution @docsCategory(name: "users") { """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no @@ -9651,12 +9686,14 @@ type CreatedIssueContributionEdge { """ Represents either a issue the viewer can access or a restricted contribution. """ -union CreatedIssueOrRestrictedContribution = CreatedIssueContribution | RestrictedContribution +union CreatedIssueOrRestrictedContribution @docsCategory(name: "users") = + | CreatedIssueContribution + | RestrictedContribution """ Represents the contribution a user made on GitHub by opening a pull request. """ -type CreatedPullRequestContribution implements Contribution { +type CreatedPullRequestContribution implements Contribution @docsCategory(name: "users") { """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no @@ -9733,12 +9770,14 @@ type CreatedPullRequestContributionEdge { """ Represents either a pull request the viewer can access or a restricted contribution. """ -union CreatedPullRequestOrRestrictedContribution = CreatedPullRequestContribution | RestrictedContribution +union CreatedPullRequestOrRestrictedContribution @docsCategory(name: "users") = + | CreatedPullRequestContribution + | RestrictedContribution """ Represents the contribution a user made by leaving a review on a pull request. """ -type CreatedPullRequestReviewContribution implements Contribution { +type CreatedPullRequestReviewContribution implements Contribution @docsCategory(name: "users") { """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no @@ -9825,7 +9864,7 @@ type CreatedPullRequestReviewContributionEdge { """ Represents the contribution a user made on GitHub by creating a repository. """ -type CreatedRepositoryContribution implements Contribution { +type CreatedRepositoryContribution implements Contribution @docsCategory(name: "users") { """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no @@ -9902,7 +9941,9 @@ type CreatedRepositoryContributionEdge { """ Represents either a repository the viewer can access or a restricted contribution. """ -union CreatedRepositoryOrRestrictedContribution = CreatedRepositoryContribution | RestrictedContribution +union CreatedRepositoryOrRestrictedContribution @docsCategory(name: "users") = + | CreatedRepositoryContribution + | RestrictedContribution """ Represents a mention made by one issue or pull request to another. @@ -10122,7 +10163,7 @@ enum DefaultRepositoryPermissionField { """ Entities that can be deleted. """ -interface Deletable { +interface Deletable @docsCategory(name: "issues") { """ Check if the current viewer can delete this object. """ @@ -12338,7 +12379,8 @@ type DisconnectedEvent implements Node @docsCategory(name: "issues") { """ A discussion in a repository. """ -type Discussion implements Closable & Comment & Deletable & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & Updatable & Votable { +type Discussion implements Closable & Comment & Deletable & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & Updatable & Votable + @docsCategory(name: "discussions") { """ Reason that the conversation was locked. """ @@ -12673,7 +12715,7 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable """ A category for discussions in a repository. """ -type DiscussionCategory implements Node & RepositoryNode { +type DiscussionCategory implements Node & RepositoryNode @docsCategory(name: "discussions") { """ Identifies the date and time when the object was created. """ @@ -12768,7 +12810,7 @@ type DiscussionCategoryEdge { """ The possible reasons for closing a discussion. """ -enum DiscussionCloseReason { +enum DiscussionCloseReason @docsCategory(name: "discussions") { """ The discussion is a duplicate of another """ @@ -12788,7 +12830,8 @@ enum DiscussionCloseReason { """ A comment on a discussion. """ -type DiscussionComment implements Comment & Deletable & Minimizable & Node & Reactable & Updatable & UpdatableComment & Votable { +type DiscussionComment implements Comment & Deletable & Minimizable & Node & Reactable & Updatable & UpdatableComment & Votable + @docsCategory(name: "discussions") { """ The actor who authored the comment. """ @@ -13136,7 +13179,7 @@ type DiscussionEdge { """ Ways in which lists of discussions can be ordered upon return. """ -input DiscussionOrder { +input DiscussionOrder @docsCategory(name: "discussions") { """ The direction in which to order discussions by the specified field. """ @@ -13151,7 +13194,7 @@ input DiscussionOrder { """ Properties by which discussion connections can be ordered. """ -enum DiscussionOrderField { +enum DiscussionOrderField @docsCategory(name: "discussions") { """ Order discussions by creation time. """ @@ -13166,7 +13209,7 @@ enum DiscussionOrderField { """ A poll for a discussion. """ -type DiscussionPoll implements Node { +type DiscussionPoll implements Node @docsCategory(name: "discussions") { """ The discussion that this poll belongs to. """ @@ -13231,7 +13274,7 @@ type DiscussionPoll implements Node { """ An option for a discussion poll. """ -type DiscussionPollOption implements Node { +type DiscussionPollOption implements Node @docsCategory(name: "discussions") { """ The Node ID of the DiscussionPollOption object """ @@ -13301,7 +13344,7 @@ type DiscussionPollOptionEdge { """ Ordering options for discussion poll option connections. """ -input DiscussionPollOptionOrder { +input DiscussionPollOptionOrder @docsCategory(name: "discussions") { """ The ordering direction. """ @@ -13316,7 +13359,7 @@ input DiscussionPollOptionOrder { """ Properties by which discussion poll option connections can be ordered. """ -enum DiscussionPollOptionOrderField { +enum DiscussionPollOptionOrderField @docsCategory(name: "discussions") { """ Order poll options by the order that the poll author specified when creating the poll. """ @@ -13331,7 +13374,7 @@ enum DiscussionPollOptionOrderField { """ The possible states of a discussion. """ -enum DiscussionState { +enum DiscussionState @docsCategory(name: "discussions") { """ A discussion that has been closed """ @@ -13346,7 +13389,7 @@ enum DiscussionState { """ The possible state reasons of a discussion. """ -enum DiscussionStateReason { +enum DiscussionStateReason @docsCategory(name: "discussions") { """ The discussion is a duplicate of another """ @@ -14328,9 +14371,9 @@ type EnterpriseBillingInfo { allLicensableUsersCount: Int! """ - The number of data packs used by all organizations owned by the enterprise. + The number of data packs used by all organizations owned by the enterprise. Data packs are deprecated, always returns 0. """ - assetPacks: Int! + assetPacks: Int! @deprecated(reason: "LFS data packs have been removed. Always returns 0.") """ The bandwidth quota in GB for all organizations owned by the enterprise. @@ -17641,7 +17684,7 @@ type FollowingConnection { """ A funding platform link for a repository. """ -type FundingLink { +type FundingLink @docsCategory(name: "repos") { """ The funding platform this link is for. """ @@ -17656,7 +17699,7 @@ type FundingLink { """ The possible funding platforms for repository funding links. """ -enum FundingPlatform { +enum FundingPlatform @docsCategory(name: "repos") { """ Buy Me a Coffee funding platform. """ @@ -17726,7 +17769,7 @@ enum FundingPlatform { """ A generic hovercard context with a message and icon """ -type GenericHovercardContext implements HovercardContext { +type GenericHovercardContext implements HovercardContext @docsCategory(name: "users") { """ A string describing this context """ @@ -18807,7 +18850,7 @@ type HeadRefRestoredEvent implements Node { """ Detail needed to display a hovercard for a user """ -type Hovercard { +type Hovercard @docsCategory(name: "users") { """ Each of the contexts for this hovercard """ @@ -18817,7 +18860,7 @@ type Hovercard { """ An individual line of a hovercard """ -interface HovercardContext { +interface HovercardContext @docsCategory(name: "users") { """ A string describing this context """ @@ -20742,6 +20785,11 @@ enum IssueFieldDataType @docsCategory(name: "issues") { """ DATE + """ + Multi Select + """ + MULTI_SELECT + """ Number """ @@ -22257,7 +22305,7 @@ type IssueTypeRemovedEvent implements Node @docsCategory(name: "issues") { """ Represents a user signing up for a GitHub account. """ -type JoinedGitHubContribution implements Contribution { +type JoinedGitHubContribution implements Contribution @docsCategory(name: "users") { """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no @@ -22712,7 +22760,7 @@ enum LexicalFallbackReason { """ A repository's open source license """ -type License implements Node { +type License implements Node @docsCategory(name: "licenses") { """ The full text of the license """ @@ -22792,7 +22840,7 @@ type License implements Node { """ Describes a License's conditions, permissions, and limitations """ -type LicenseRule { +type LicenseRule @docsCategory(name: "licenses") { """ A description of the rule """ @@ -23834,7 +23882,7 @@ type MemberFeatureRequestNotification implements Node { """ Entities that have members who can set status messages. """ -interface MemberStatusable { +interface MemberStatusable @docsCategory(name: "users") { """ Get the status messages members of this entity have set that are either public or visible only to the organization. """ @@ -25501,7 +25549,7 @@ type MilestonedEvent implements Node @docsCategory(name: "issues") { """ Entities that can be minimized. """ -interface Minimizable { +interface Minimizable @docsCategory(name: "issues") { """ Returns whether or not a comment has been minimized. """ @@ -25809,7 +25857,7 @@ type Mutation { Parameters for AddDiscussionComment """ input: AddDiscussionCommentInput! - ): AddDiscussionCommentPayload + ): AddDiscussionCommentPayload @docsCategory(name: "discussions") """ Vote for an option in a discussion poll. @@ -25819,7 +25867,7 @@ type Mutation { Parameters for AddDiscussionPollVote """ input: AddDiscussionPollVoteInput! - ): AddDiscussionPollVotePayload + ): AddDiscussionPollVotePayload @docsCategory(name: "discussions") """ Adds enterprise members to an organization within the enterprise. @@ -25957,7 +26005,7 @@ type Mutation { Parameters for AddStar """ input: AddStarInput! - ): AddStarPayload + ): AddStarPayload @docsCategory(name: "activity") """ Adds a sub-issue to a given issue @@ -25977,7 +26025,7 @@ type Mutation { Parameters for AddUpvote """ input: AddUpvoteInput! - ): AddUpvotePayload + ): AddUpvotePayload @docsCategory(name: "discussions") """ Adds a verifiable domain to an owning account. @@ -26068,7 +26116,7 @@ type Mutation { Parameters for CancelSponsorship """ input: CancelSponsorshipInput! - ): CancelSponsorshipPayload + ): CancelSponsorshipPayload @docsCategory(name: "sponsors") """ Update your status on GitHub. @@ -26078,7 +26126,7 @@ type Mutation { Parameters for ChangeUserStatus """ input: ChangeUserStatusInput! - ): ChangeUserStatusPayload + ): ChangeUserStatusPayload @docsCategory(name: "users") """ Clears all labels from a labelable object. @@ -26134,7 +26182,7 @@ type Mutation { Parameters for CloseDiscussion """ input: CloseDiscussionInput! - ): CloseDiscussionPayload + ): CloseDiscussionPayload @docsCategory(name: "discussions") """ Close an issue. @@ -26319,7 +26367,7 @@ type Mutation { Parameters for CreateDiscussion """ input: CreateDiscussionInput! - ): CreateDiscussionPayload + ): CreateDiscussionPayload @docsCategory(name: "discussions") """ Creates an organization as part of an enterprise account. A personal access @@ -26538,7 +26586,7 @@ type Mutation { Parameters for CreateSponsorsListing """ input: CreateSponsorsListingInput! - ): CreateSponsorsListingPayload + ): CreateSponsorsListingPayload @docsCategory(name: "sponsors") """ Create a new payment tier for your GitHub Sponsors profile. @@ -26548,7 +26596,7 @@ type Mutation { Parameters for CreateSponsorsTier """ input: CreateSponsorsTierInput! - ): CreateSponsorsTierPayload + ): CreateSponsorsTierPayload @docsCategory(name: "sponsors") """ Start a new sponsorship of a maintainer in GitHub Sponsors, or reactivate a past sponsorship. @@ -26558,7 +26606,7 @@ type Mutation { Parameters for CreateSponsorship """ input: CreateSponsorshipInput! - ): CreateSponsorshipPayload + ): CreateSponsorshipPayload @docsCategory(name: "sponsors") """ Make many sponsorships for different sponsorable users or organizations at @@ -26569,7 +26617,7 @@ type Mutation { Parameters for CreateSponsorships """ input: CreateSponsorshipsInput! - ): CreateSponsorshipsPayload + ): CreateSponsorshipsPayload @docsCategory(name: "sponsors") """ Creates a new user list. @@ -26579,7 +26627,7 @@ type Mutation { Parameters for CreateUserList """ input: CreateUserListInput! - ): CreateUserListPayload + ): CreateUserListPayload @docsCategory(name: "users") """ Rejects a suggested topic for the repository. @@ -26619,7 +26667,7 @@ type Mutation { Parameters for DeleteDiscussion """ input: DeleteDiscussionInput! - ): DeleteDiscussionPayload + ): DeleteDiscussionPayload @docsCategory(name: "discussions") """ Delete a discussion comment. If it has replies, wipe it instead. @@ -26629,7 +26677,7 @@ type Mutation { Parameters for DeleteDiscussionComment """ input: DeleteDiscussionCommentInput! - ): DeleteDiscussionCommentPayload + ): DeleteDiscussionCommentPayload @docsCategory(name: "discussions") """ Deletes an environment @@ -26881,7 +26929,7 @@ type Mutation { Parameters for DeleteUserList """ input: DeleteUserListInput! - ): DeleteUserListPayload + ): DeleteUserListPayload @docsCategory(name: "users") """ Deletes a verifiable domain. @@ -26961,7 +27009,7 @@ type Mutation { Parameters for FollowOrganization """ input: FollowOrganizationInput! - ): FollowOrganizationPayload + ): FollowOrganizationPayload @docsCategory(name: "orgs") """ Follow a user. @@ -26971,7 +27019,7 @@ type Mutation { Parameters for FollowUser """ input: FollowUserInput! - ): FollowUserPayload + ): FollowUserPayload @docsCategory(name: "users") """ Grant the migrator role to a user for all organizations under an enterprise account. @@ -27079,7 +27127,7 @@ type Mutation { Parameters for MarkDiscussionCommentAsAnswer """ input: MarkDiscussionCommentAsAnswerInput! - ): MarkDiscussionCommentAsAnswerPayload + ): MarkDiscussionCommentAsAnswerPayload @docsCategory(name: "discussions") """ Mark a pull request file as viewed @@ -27139,7 +27187,7 @@ type Mutation { Parameters for MinimizeComment """ input: MinimizeCommentInput! - ): MinimizeCommentPayload + ): MinimizeCommentPayload @docsCategory(name: "issues") """ Moves a project card to another place. @@ -27217,7 +27265,7 @@ type Mutation { Parameters for PublishSponsorsTier """ input: PublishSponsorsTierInput! - ): PublishSponsorsTierPayload + ): PublishSponsorsTierPayload @docsCategory(name: "sponsors") """ Regenerates the identity provider recovery codes for an enterprise @@ -27358,7 +27406,7 @@ type Mutation { Parameters for RemoveStar """ input: RemoveStarInput! - ): RemoveStarPayload + ): RemoveStarPayload @docsCategory(name: "activity") """ Removes a sub-issue from a given issue @@ -27378,7 +27426,7 @@ type Mutation { Parameters for RemoveUpvote """ input: RemoveUpvoteInput! - ): RemoveUpvotePayload + ): RemoveUpvotePayload @docsCategory(name: "discussions") """ Reopen a discussion. @@ -27388,7 +27436,7 @@ type Mutation { Parameters for ReopenDiscussion """ input: ReopenDiscussionInput! - ): ReopenDiscussionPayload + ): ReopenDiscussionPayload @docsCategory(name: "discussions") """ Reopen a issue. @@ -27488,7 +27536,7 @@ type Mutation { Parameters for RetireSponsorsTier """ input: RetireSponsorsTierInput! - ): RetireSponsorsTierPayload + ): RetireSponsorsTierPayload @docsCategory(name: "sponsors") """ Create a pull request that reverts the changes from a merged pull request. @@ -27548,7 +27596,7 @@ type Mutation { Parameters for SetOrganizationInteractionLimit """ input: SetOrganizationInteractionLimitInput! - ): SetOrganizationInteractionLimitPayload + ): SetOrganizationInteractionLimitPayload @docsCategory(name: "orgs") """ Set repository custom property values for a repository. @@ -27568,7 +27616,7 @@ type Mutation { Parameters for SetRepositoryInteractionLimit """ input: SetRepositoryInteractionLimitInput! - ): SetRepositoryInteractionLimitPayload + ): SetRepositoryInteractionLimitPayload @docsCategory(name: "repos") """ Set a user level interaction limit for an user's public repositories. @@ -27578,7 +27626,7 @@ type Mutation { Parameters for SetUserInteractionLimit """ input: SetUserInteractionLimitInput! - ): SetUserInteractionLimitPayload + ): SetUserInteractionLimitPayload @docsCategory(name: "users") """ Starts a GitHub Enterprise Importer organization migration. @@ -27670,7 +27718,7 @@ type Mutation { Parameters for UnfollowOrganization """ input: UnfollowOrganizationInput! - ): UnfollowOrganizationPayload + ): UnfollowOrganizationPayload @docsCategory(name: "orgs") """ Unfollow a user. @@ -27680,7 +27728,7 @@ type Mutation { Parameters for UnfollowUser """ input: UnfollowUserInput! - ): UnfollowUserPayload + ): UnfollowUserPayload @docsCategory(name: "users") """ Unlinks a project from a repository. @@ -27734,7 +27782,7 @@ type Mutation { Parameters for UnmarkDiscussionCommentAsAnswer """ input: UnmarkDiscussionCommentAsAnswerInput! - ): UnmarkDiscussionCommentAsAnswerPayload + ): UnmarkDiscussionCommentAsAnswerPayload @docsCategory(name: "discussions") """ Unmark a pull request file as viewed @@ -27774,7 +27822,7 @@ type Mutation { Parameters for UnminimizeComment """ input: UnminimizeCommentInput! - ): UnminimizeCommentPayload + ): UnminimizeCommentPayload @docsCategory(name: "issues") """ Unpin a pinned issue from a repository @@ -27844,7 +27892,7 @@ type Mutation { Parameters for UpdateDiscussion """ input: UpdateDiscussionInput! - ): UpdateDiscussionPayload + ): UpdateDiscussionPayload @docsCategory(name: "discussions") """ Update the contents of a comment on a Discussion @@ -27854,7 +27902,7 @@ type Mutation { Parameters for UpdateDiscussionComment """ input: UpdateDiscussionCommentInput! - ): UpdateDiscussionCommentPayload + ): UpdateDiscussionCommentPayload @docsCategory(name: "discussions") """ Updates the role of an enterprise administrator. @@ -28004,7 +28052,7 @@ type Mutation { Parameters for UpdateEnterpriseProfile """ input: UpdateEnterpriseProfileInput! - ): UpdateEnterpriseProfilePayload + ): UpdateEnterpriseProfilePayload @docsCategory(name: "enterprise-admin") """ Sets whether repository projects are enabled for a enterprise. @@ -28197,7 +28245,7 @@ type Mutation { Parameters for UpdatePatreonSponsorability """ input: UpdatePatreonSponsorabilityInput! - ): UpdatePatreonSponsorabilityPayload + ): UpdatePatreonSponsorabilityPayload @docsCategory(name: "sponsors") """ Updates an existing project. @@ -28437,7 +28485,7 @@ type Mutation { Parameters for UpdateSponsorshipPreferences """ input: UpdateSponsorshipPreferencesInput! - ): UpdateSponsorshipPreferencesPayload + ): UpdateSponsorshipPreferencesPayload @docsCategory(name: "sponsors") """ Updates the state for subscribable subjects. @@ -28487,7 +28535,7 @@ type Mutation { Parameters for UpdateUserList """ input: UpdateUserListInput! - ): UpdateUserListPayload + ): UpdateUserListPayload @docsCategory(name: "users") """ Updates which of the viewer's lists an item belongs to @@ -28497,7 +28545,7 @@ type Mutation { Parameters for UpdateUserListsForItem """ input: UpdateUserListsForItemInput! - ): UpdateUserListsForItemPayload + ): UpdateUserListsForItemPayload @docsCategory(name: "users") """ Verify that a verifiable domain has the expected DNS record. @@ -36862,12 +36910,12 @@ enum PatchStatus { """ Types that can grant permissions on a repository to a user """ -union PermissionGranter = Organization | Repository | Team +union PermissionGranter @docsCategory(name: "orgs") = Organization | Repository | Team """ A level of permission and source for a user's access to a repository. """ -type PermissionSource { +type PermissionSource @docsCategory(name: "repos") { """ The organization the repository belongs to. """ @@ -37022,7 +37070,7 @@ interface Pinnable @docsCategory(name: "users") { """ Types that can be pinned to a profile page. """ -union PinnableItem = Gist | Repository +union PinnableItem @docsCategory(name: "users") = Gist | Repository """ The connection type for PinnableItem. @@ -37067,7 +37115,7 @@ type PinnableItemEdge { """ Represents items that can be pinned to a profile page or dashboard. """ -enum PinnableItemType { +enum PinnableItemType @docsCategory(name: "users") { """ A gist. """ @@ -37112,7 +37160,7 @@ enum PinnableItemType { """ A Pinned Discussion is a discussion pinned to a repository's index page. """ -type PinnedDiscussion implements Node & RepositoryNode { +type PinnedDiscussion implements Node & RepositoryNode @docsCategory(name: "discussions") { """ Identifies the date and time when the object was created. """ @@ -37207,7 +37255,7 @@ type PinnedDiscussionEdge { """ Preconfigured gradients that may be used to style discussions pinned within a repository. """ -enum PinnedDiscussionGradient { +enum PinnedDiscussionGradient @docsCategory(name: "discussions") { """ A gradient of blue to mint """ @@ -37237,7 +37285,7 @@ enum PinnedDiscussionGradient { """ Preconfigured background patterns that may be used to style discussions pinned within a repository. """ -enum PinnedDiscussionPattern { +enum PinnedDiscussionPattern @docsCategory(name: "discussions") { """ An upward-facing chevron pattern """ @@ -37882,7 +37930,7 @@ type PrivateRepositoryForkingEnableAuditEntry implements AuditEntry & Enterprise A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own. """ -type ProfileItemShowcase { +type ProfileItemShowcase @docsCategory(name: "users") { """ Whether or not the owner has pinned any repositories or gists. """ @@ -37919,7 +37967,7 @@ type ProfileItemShowcase { """ Represents any entity on GitHub that has a profile page. """ -interface ProfileOwner { +interface ProfileOwner @docsCategory(name: "users") { """ Determine if this repository owner has any items that can be pinned to their profile. """ @@ -51696,7 +51744,7 @@ type RepoRemoveTopicAuditEntry implements AuditEntry & Node & OrganizationAuditE """ The reasons a piece of content can be reported or minimized. """ -enum ReportedContentClassifiers { +enum ReportedContentClassifiers @docsCategory(name: "meta") { """ An abusive or harassing piece of content """ @@ -53480,6 +53528,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ viewerCanUpdateTopics: Boolean! + """ + The content warning for this repository for the viewer. + """ + viewerContentWarning: ContentWarning + """ The last commit email for the viewer. """ @@ -53992,7 +54045,7 @@ enum RepositoryCustomPropertyValuesEditableBy @docsCategory(name: "repos") { """ Represents an author of discussions in repositories. """ -interface RepositoryDiscussionAuthor { +interface RepositoryDiscussionAuthor @docsCategory(name: "discussions") { """ Discussions this user has started. """ @@ -54043,7 +54096,7 @@ interface RepositoryDiscussionAuthor { """ Represents an author of discussion comments in repositories. """ -interface RepositoryDiscussionCommentAuthor { +interface RepositoryDiscussionCommentAuthor @docsCategory(name: "discussions") { """ Discussion comments this user has authored. """ @@ -54298,7 +54351,7 @@ interface RepositoryInfo @docsCategory(name: "repos") { """ Repository interaction limit that applies to this object. """ -type RepositoryInteractionAbility { +type RepositoryInteractionAbility @docsCategory(name: "repos") { """ The time the currently active limit expires. """ @@ -54318,7 +54371,7 @@ type RepositoryInteractionAbility { """ A repository interaction limit. """ -enum RepositoryInteractionLimit { +enum RepositoryInteractionLimit @docsCategory(name: "repos") { """ Users that are not collaborators will not be able to interact with the repository. """ @@ -54343,7 +54396,7 @@ enum RepositoryInteractionLimit { """ The length for a repository interaction limit to be enabled for. """ -enum RepositoryInteractionLimitExpiry { +enum RepositoryInteractionLimitExpiry @docsCategory(name: "repos") { """ The interaction limit will expire after 1 day. """ @@ -54373,7 +54426,7 @@ enum RepositoryInteractionLimitExpiry { """ Indicates where an interaction limit is configured. """ -enum RepositoryInteractionLimitOrigin { +enum RepositoryInteractionLimitOrigin @docsCategory(name: "repos") { """ A limit that is configured at the organization level. """ @@ -56773,7 +56826,7 @@ type ResolveReviewThreadPayload { """ Represents a private contribution a user made on GitHub. """ -type RestrictedContribution implements Contribution { +type RestrictedContribution implements Contribution @docsCategory(name: "users") { """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no @@ -57469,7 +57522,7 @@ enum SamlSignatureAlgorithm { """ A Saved Reply is text a user can use to reply quickly. """ -type SavedReply implements Node { +type SavedReply implements Node @docsCategory(name: "users") { """ The body of the saved reply. """ @@ -57544,7 +57597,7 @@ type SavedReplyEdge { """ Ordering options for saved reply connections. """ -input SavedReplyOrder { +input SavedReplyOrder @docsCategory(name: "users") { """ The ordering direction. """ @@ -57559,7 +57612,7 @@ input SavedReplyOrder { """ Properties by which saved reply connections can be ordered. """ -enum SavedReplyOrderField { +enum SavedReplyOrderField @docsCategory(name: "users") { """ Order saved reply by when they were updated. """ @@ -58551,7 +58604,7 @@ type SmimeSignature implements GitSignature { """ Social media profile associated with a user. """ -type SocialAccount { +type SocialAccount @docsCategory(name: "users") { """ Name of the social media account as it appears on the profile. """ @@ -58611,7 +58664,7 @@ type SocialAccountEdge { """ Software or company that hosts social media accounts. """ -enum SocialAccountProvider { +enum SocialAccountProvider @docsCategory(name: "users") { """ Decentralized microblogging social platform. """ @@ -58676,13 +58729,13 @@ enum SocialAccountProvider { """ Entities that can sponsor others via GitHub Sponsors """ -union Sponsor = Organization | User +union Sponsor @docsCategory(name: "sponsors") = Organization | User """ A GitHub account and the total amount in USD they've paid for sponsorships to a particular maintainer. Does not include payments made via Patreon. """ -type SponsorAndLifetimeValue { +type SponsorAndLifetimeValue @docsCategory(name: "sponsors") { """ The amount in cents. """ @@ -58747,7 +58800,7 @@ type SponsorAndLifetimeValueEdge { """ Ordering options for connections to get sponsor entities and associated USD amounts for GitHub Sponsors. """ -input SponsorAndLifetimeValueOrder { +input SponsorAndLifetimeValueOrder @docsCategory(name: "sponsors") { """ The ordering direction. """ @@ -58762,7 +58815,7 @@ input SponsorAndLifetimeValueOrder { """ Properties by which sponsor and lifetime value connections can be ordered. """ -enum SponsorAndLifetimeValueOrderField { +enum SponsorAndLifetimeValueOrderField @docsCategory(name: "sponsors") { """ Order results by how much money the sponsor has paid in total. """ @@ -58822,7 +58875,7 @@ type SponsorEdge { """ Ordering options for connections to get sponsor entities for GitHub Sponsors. """ -input SponsorOrder { +input SponsorOrder @docsCategory(name: "sponsors") { """ The ordering direction. """ @@ -58837,7 +58890,7 @@ input SponsorOrder { """ Properties by which sponsor connections can be ordered. """ -enum SponsorOrderField { +enum SponsorOrderField @docsCategory(name: "sponsors") { """ Order sponsorable entities by login (username). """ @@ -58852,7 +58905,7 @@ enum SponsorOrderField { """ Entities that can sponsor or be sponsored through GitHub Sponsors. """ -interface Sponsorable { +interface Sponsorable @docsCategory(name: "sponsors") { """ The estimated next GitHub Sponsors payout for this user/organization in cents (USD). """ @@ -59222,7 +59275,7 @@ interface Sponsorable { """ Entities that can be sponsored via GitHub Sponsors """ -union SponsorableItem = Organization | User +union SponsorableItem @docsCategory(name: "sponsors") = Organization | User """ The connection type for SponsorableItem. @@ -59267,7 +59320,7 @@ type SponsorableItemEdge { """ Ordering options for connections to get sponsorable entities for GitHub Sponsors. """ -input SponsorableOrder { +input SponsorableOrder @docsCategory(name: "sponsors") { """ The ordering direction. """ @@ -59282,7 +59335,7 @@ input SponsorableOrder { """ Properties by which sponsorable connections can be ordered. """ -enum SponsorableOrderField { +enum SponsorableOrderField @docsCategory(name: "sponsors") { """ Order sponsorable entities by login (username). """ @@ -59292,7 +59345,7 @@ enum SponsorableOrderField { """ An event related to sponsorship activity. """ -type SponsorsActivity implements Node { +type SponsorsActivity implements Node @docsCategory(name: "sponsors") { """ What action this activity indicates took place. """ @@ -59347,7 +59400,7 @@ type SponsorsActivity implements Node { """ The possible actions that GitHub Sponsors activities can represent. """ -enum SponsorsActivityAction { +enum SponsorsActivityAction @docsCategory(name: "sponsors") { """ The activity was cancelling a sponsorship. """ @@ -59422,7 +59475,7 @@ type SponsorsActivityEdge { """ Ordering options for GitHub Sponsors activity connections. """ -input SponsorsActivityOrder { +input SponsorsActivityOrder @docsCategory(name: "sponsors") { """ The ordering direction. """ @@ -59437,7 +59490,7 @@ input SponsorsActivityOrder { """ Properties by which GitHub Sponsors activity connections can be ordered. """ -enum SponsorsActivityOrderField { +enum SponsorsActivityOrderField @docsCategory(name: "sponsors") { """ Order activities by when they happened. """ @@ -59447,7 +59500,7 @@ enum SponsorsActivityOrderField { """ The possible time periods for which Sponsors activities can be requested. """ -enum SponsorsActivityPeriod { +enum SponsorsActivityPeriod @docsCategory(name: "sponsors") { """ Don't restrict the activity to any date range, include all activity. """ @@ -59472,7 +59525,7 @@ enum SponsorsActivityPeriod { """ Represents countries or regions for billing and residence for a GitHub Sponsors profile. """ -enum SponsorsCountryOrRegionCode { +enum SponsorsCountryOrRegionCode @docsCategory(name: "sponsors") { """ Andorra """ @@ -60712,7 +60765,7 @@ enum SponsorsCountryOrRegionCode { """ A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain. """ -type SponsorsGoal { +type SponsorsGoal @docsCategory(name: "sponsors") { """ A description of the goal from the maintainer. """ @@ -60743,7 +60796,7 @@ type SponsorsGoal { """ The different kinds of goals a GitHub Sponsors member can have. """ -enum SponsorsGoalKind { +enum SponsorsGoalKind @docsCategory(name: "sponsors") { """ The goal is about getting a certain amount in USD from sponsorships each month. """ @@ -60758,7 +60811,7 @@ enum SponsorsGoalKind { """ A GitHub Sponsors listing. """ -type SponsorsListing implements Node { +type SponsorsListing implements Node @docsCategory(name: "sponsors") { """ The current goal the maintainer is trying to reach with GitHub Sponsors, if any. """ @@ -60921,12 +60974,12 @@ type SponsorsListing implements Node { """ A record that can be featured on a GitHub Sponsors profile. """ -union SponsorsListingFeatureableItem = Repository | User +union SponsorsListingFeatureableItem @docsCategory(name: "sponsors") = Repository | User """ A record that is promoted on a GitHub Sponsors profile. """ -type SponsorsListingFeaturedItem implements Node { +type SponsorsListingFeaturedItem implements Node @docsCategory(name: "sponsors") { """ Identifies the date and time when the object was created. """ @@ -60969,7 +61022,7 @@ type SponsorsListingFeaturedItem implements Node { """ The different kinds of records that can be featured on a GitHub Sponsors profile page. """ -enum SponsorsListingFeaturedItemFeatureableType { +enum SponsorsListingFeaturedItemFeatureableType @docsCategory(name: "sponsors") { """ A repository owned by the user or organization with the GitHub Sponsors profile. """ @@ -60984,7 +61037,7 @@ enum SponsorsListingFeaturedItemFeatureableType { """ A GitHub Sponsors tier associated with a GitHub Sponsors listing. """ -type SponsorsTier implements Node { +type SponsorsTier implements Node @docsCategory(name: "sponsors") { """ SponsorsTier information only visible to users that can administer the associated Sponsors listing. """ @@ -61057,7 +61110,7 @@ type SponsorsTier implements Node { """ SponsorsTier information only visible to users that can administer the associated Sponsors listing. """ -type SponsorsTierAdminInfo { +type SponsorsTierAdminInfo @docsCategory(name: "sponsors") { """ Indicates whether this tier is still a work in progress by the sponsorable and not yet published to the associated GitHub Sponsors profile. Draft tiers @@ -61164,7 +61217,7 @@ type SponsorsTierEdge { """ Ordering options for Sponsors tiers connections. """ -input SponsorsTierOrder { +input SponsorsTierOrder @docsCategory(name: "sponsors") { """ The ordering direction. """ @@ -61179,7 +61232,7 @@ input SponsorsTierOrder { """ Properties by which Sponsors tiers connections can be ordered. """ -enum SponsorsTierOrderField { +enum SponsorsTierOrderField @docsCategory(name: "sponsors") { """ Order tiers by creation time. """ @@ -61194,7 +61247,7 @@ enum SponsorsTierOrderField { """ A sponsorship relationship between a sponsor and a maintainer """ -type Sponsorship implements Node { +type Sponsorship implements Node @docsCategory(name: "sponsors") { """ Identifies the date and time when the object was created. """ @@ -61324,7 +61377,7 @@ type SponsorshipEdge { """ An update sent to sponsors of a user or organization on GitHub Sponsors. """ -type SponsorshipNewsletter implements Node { +type SponsorshipNewsletter implements Node @docsCategory(name: "sponsors") { """ The author of the newsletter. """ @@ -61409,7 +61462,7 @@ type SponsorshipNewsletterEdge { """ Ordering options for sponsorship newsletter connections. """ -input SponsorshipNewsletterOrder { +input SponsorshipNewsletterOrder @docsCategory(name: "sponsors") { """ The ordering direction. """ @@ -61424,7 +61477,7 @@ input SponsorshipNewsletterOrder { """ Properties by which sponsorship update connections can be ordered. """ -enum SponsorshipNewsletterOrderField { +enum SponsorshipNewsletterOrderField @docsCategory(name: "sponsors") { """ Order sponsorship newsletters by when they were created. """ @@ -61434,7 +61487,7 @@ enum SponsorshipNewsletterOrderField { """ Ordering options for sponsorship connections. """ -input SponsorshipOrder { +input SponsorshipOrder @docsCategory(name: "sponsors") { """ The ordering direction. """ @@ -61449,7 +61502,7 @@ input SponsorshipOrder { """ Properties by which sponsorship connections can be ordered. """ -enum SponsorshipOrderField { +enum SponsorshipOrderField @docsCategory(name: "sponsors") { """ Order sponsorship by creation time. """ @@ -61459,7 +61512,7 @@ enum SponsorshipOrderField { """ How payment was made for funding a GitHub Sponsors sponsorship. """ -enum SponsorshipPaymentSource { +enum SponsorshipPaymentSource @docsCategory(name: "sponsors") { """ Payment was made through GitHub. """ @@ -61474,7 +61527,7 @@ enum SponsorshipPaymentSource { """ The privacy of a sponsorship """ -enum SponsorshipPrivacy { +enum SponsorshipPrivacy @docsCategory(name: "sponsors") { """ Private """ @@ -61575,7 +61628,7 @@ type SshSignature implements GitSignature { """ Ways in which star connections can be ordered. """ -input StarOrder { +input StarOrder @docsCategory(name: "activity") { """ The direction in which to order nodes. """ @@ -61590,7 +61643,7 @@ input StarOrder { """ Properties by which star connections can be ordered. """ -enum StarOrderField { +enum StarOrderField @docsCategory(name: "activity") { """ Allows ordering a list of stars by when they were created. """ @@ -61641,7 +61694,7 @@ type StargazerEdge { """ Things that can be starred. """ -interface Starrable { +interface Starrable @docsCategory(name: "activity") { """ The Node ID of the Starrable object """ @@ -62182,7 +62235,7 @@ enum StatusState @docsCategory(name: "commits") { """ A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors. """ -type StripeConnectAccount { +type StripeConnectAccount @docsCategory(name: "sponsors") { """ The account number used to identify this Stripe Connect account. """ @@ -69033,7 +69086,8 @@ type UpdateUserListsForItemPayload { """ A user is an individual's account on GitHub that owns repositories and can make new content. """ -type User implements Actor & Agentic & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type User implements Actor & Agentic & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable + @docsCategory(name: "users") { """ Determine if this repository owner has any items that can be pinned to their profile. """ @@ -70746,7 +70800,7 @@ type User implements Actor & Agentic & Node & PackageOwner & ProfileOwner & Proj """ The possible durations that a user can be blocked for. """ -enum UserBlockDuration { +enum UserBlockDuration @docsCategory(name: "users") { """ The user was blocked for 1 day """ @@ -70831,7 +70885,7 @@ type UserConnection { """ An edit on user content """ -type UserContentEdit implements Node { +type UserContentEdit implements Node @docsCategory(name: "users") { """ Identifies the date and time when the object was created. """ @@ -70951,7 +71005,7 @@ type UserEmailMetadata { """ A user-curated list of repositories """ -type UserList implements Node { +type UserList implements Node @docsCategory(name: "users") { """ Identifies the date and time when the object was created. """ @@ -71066,7 +71120,7 @@ type UserListEdge { """ Types that can be added to a user list. """ -union UserListItems = Repository +union UserListItems @docsCategory(name: "users") = Repository """ The connection type for UserListItems. @@ -71111,7 +71165,7 @@ type UserListItemsEdge { """ Represents a suggested user list. """ -type UserListSuggestion { +type UserListSuggestion @docsCategory(name: "users") { """ The ID of the suggested user list """ @@ -71191,7 +71245,7 @@ type UserNamespaceRepositoryEdge { """ The user's description of what they're currently doing. """ -type UserStatus implements Node { +type UserStatus implements Node @docsCategory(name: "users") { """ Identifies the date and time when the object was created. """ @@ -71286,7 +71340,7 @@ type UserStatusEdge { """ Ordering options for user status connections. """ -input UserStatusOrder { +input UserStatusOrder @docsCategory(name: "users") { """ The ordering direction. """ @@ -71301,7 +71355,7 @@ input UserStatusOrder { """ Properties by which user status connections can be ordered. """ -enum UserStatusOrderField { +enum UserStatusOrderField @docsCategory(name: "users") { """ Order user statuses by when they were updated. """ @@ -71311,7 +71365,7 @@ enum UserStatusOrderField { """ Whether a user being viewed contains public or private information. """ -enum UserViewType { +enum UserViewType @docsCategory(name: "users") { """ A user containing information only visible to the authenticated user. """ @@ -71511,7 +71565,7 @@ type VerifyVerifiableDomainPayload { """ A hovercard context with a message describing how the viewer is related. """ -type ViewerHovercardContext implements HovercardContext { +type ViewerHovercardContext implements HovercardContext @docsCategory(name: "users") { """ A string describing this context """ @@ -71531,7 +71585,7 @@ type ViewerHovercardContext implements HovercardContext { """ A subject that may be upvoted. """ -interface Votable { +interface Votable @docsCategory(name: "discussions") { """ Number of upvotes that this subject has received. """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 4e57270aa088..1c1943b3099e 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -1141,6 +1141,7 @@ "id": "adddiscussioncomment", "href": "/graphql/reference/mutations#adddiscussioncomment", "description": "Adds a comment to a Discussion, possibly as a reply to another comment.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1171,6 +1172,7 @@ "id": "adddiscussionpollvote", "href": "/graphql/reference/mutations#adddiscussionpollvote", "description": "Vote for an option in a discussion poll.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1611,6 +1613,7 @@ "id": "addstar", "href": "/graphql/reference/mutations#addstar", "description": "Adds a star to a Starrable.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1678,6 +1681,7 @@ "id": "addupvote", "href": "/graphql/reference/mutations#addupvote", "description": "Add an upvote to a discussion or discussion comment.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1964,6 +1968,7 @@ "id": "cancelsponsorship", "href": "/graphql/reference/mutations#cancelsponsorship", "description": "Cancel an active sponsorship.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -1994,6 +1999,7 @@ "id": "changeuserstatus", "href": "/graphql/reference/mutations#changeuserstatus", "description": "Update your status on GitHub.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -2156,6 +2162,7 @@ "id": "closediscussion", "href": "/graphql/reference/mutations#closediscussion", "description": "Close a discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -2610,6 +2617,7 @@ "id": "creatediscussion", "href": "/graphql/reference/mutations#creatediscussion", "description": "Create a discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3275,6 +3283,7 @@ "id": "createsponsorslisting", "href": "/graphql/reference/mutations#createsponsorslisting", "description": "Create a GitHub Sponsors profile to allow others to sponsor you or your organization.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3305,6 +3314,7 @@ "id": "createsponsorstier", "href": "/graphql/reference/mutations#createsponsorstier", "description": "Create a new payment tier for your GitHub Sponsors profile.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3335,6 +3345,7 @@ "id": "createsponsorship", "href": "/graphql/reference/mutations#createsponsorship", "description": "Start a new sponsorship of a maintainer in GitHub Sponsors, or reactivate a past sponsorship.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3365,6 +3376,7 @@ "id": "createsponsorships", "href": "/graphql/reference/mutations#createsponsorships", "description": "Make many sponsorships for different sponsorable users or organizations at\nonce. Can only sponsor those who have a public GitHub Sponsors profile.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3395,6 +3407,7 @@ "id": "createuserlist", "href": "/graphql/reference/mutations#createuserlist", "description": "Creates a new user list.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3511,6 +3524,7 @@ "id": "deletediscussion", "href": "/graphql/reference/mutations#deletediscussion", "description": "Delete a discussion and all of its replies.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -3541,6 +3555,7 @@ "id": "deletediscussioncomment", "href": "/graphql/reference/mutations#deletediscussioncomment", "description": "Delete a discussion comment. If it has replies, wipe it instead.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -4287,6 +4302,7 @@ "id": "deleteuserlist", "href": "/graphql/reference/mutations#deleteuserlist", "description": "Deletes a user list.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -4541,6 +4557,7 @@ "id": "followorganization", "href": "/graphql/reference/mutations#followorganization", "description": "Follow an organization.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -4571,6 +4588,7 @@ "id": "followuser", "href": "/graphql/reference/mutations#followuser", "description": "Follow a user.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -4891,6 +4909,7 @@ "id": "markdiscussioncommentasanswer", "href": "/graphql/reference/mutations#markdiscussioncommentasanswer", "description": "Mark a discussion comment as the chosen answer for discussions in an answerable category.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5080,6 +5099,7 @@ "id": "minimizecomment", "href": "/graphql/reference/mutations#minimizecomment", "description": "Minimizes a comment on an Issue, Commit, Pull Request, or Gist.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5304,6 +5324,7 @@ "id": "publishsponsorstier", "href": "/graphql/reference/mutations#publishsponsorstier", "description": "Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5798,6 +5819,7 @@ "id": "removestar", "href": "/graphql/reference/mutations#removestar", "description": "Removes a star from a Starrable.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5865,6 +5887,7 @@ "id": "removeupvote", "href": "/graphql/reference/mutations#removeupvote", "description": "Remove an upvote to a discussion or discussion comment.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -5895,6 +5918,7 @@ "id": "reopendiscussion", "href": "/graphql/reference/mutations#reopendiscussion", "description": "Reopen a discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6226,6 +6250,7 @@ "id": "retiresponsorstier", "href": "/graphql/reference/mutations#retiresponsorstier", "description": "Retire a published payment tier from your GitHub Sponsors profile so it cannot be used to start new sponsorships.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6421,6 +6446,7 @@ "id": "setorganizationinteractionlimit", "href": "/graphql/reference/mutations#setorganizationinteractionlimit", "description": "Set an organization level interaction limit for an organization's public repositories.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6482,6 +6508,7 @@ "id": "setrepositoryinteractionlimit", "href": "/graphql/reference/mutations#setrepositoryinteractionlimit", "description": "Sets an interaction limit setting for a repository.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6512,6 +6539,7 @@ "id": "setuserinteractionlimit", "href": "/graphql/reference/mutations#setuserinteractionlimit", "description": "Set a user level interaction limit for an user's public repositories.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6785,6 +6813,7 @@ "id": "unfolloworganization", "href": "/graphql/reference/mutations#unfolloworganization", "description": "Unfollow an organization.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6815,6 +6844,7 @@ "id": "unfollowuser", "href": "/graphql/reference/mutations#unfollowuser", "description": "Unfollow a user.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -6983,6 +7013,7 @@ "id": "unmarkdiscussioncommentasanswer", "href": "/graphql/reference/mutations#unmarkdiscussioncommentasanswer", "description": "Unmark a discussion comment as the chosen answer for discussions in an answerable category.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -7105,6 +7136,7 @@ "id": "unminimizecomment", "href": "/graphql/reference/mutations#unminimizecomment", "description": "Unminimizes a comment on an Issue, Commit, Pull Request, or Gist.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -7324,6 +7356,7 @@ "id": "updatediscussion", "href": "/graphql/reference/mutations#updatediscussion", "description": "Update a discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -7354,6 +7387,7 @@ "id": "updatediscussioncomment", "href": "/graphql/reference/mutations#updatediscussioncomment", "description": "Update the contents of a comment on a Discussion.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -7889,6 +7923,7 @@ "id": "updateenterpriseprofile", "href": "/graphql/reference/mutations#updateenterpriseprofile", "description": "Updates an enterprise's profile.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -8516,6 +8551,7 @@ "id": "updatepatreonsponsorability", "href": "/graphql/reference/mutations#updatepatreonsponsorability", "description": "Toggle the setting for your GitHub Sponsors profile that allows other GitHub\naccounts to sponsor you on GitHub while paying for the sponsorship on Patreon.\nOnly applicable when you have a GitHub Sponsors profile and have connected\nyour GitHub account with Patreon.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -9169,6 +9205,7 @@ "id": "updatesponsorshippreferences", "href": "/graphql/reference/mutations#updatesponsorshippreferences", "description": "Change visibility of your sponsorship and opt in or out of email updates from the maintainer.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -9334,6 +9371,7 @@ "id": "updateuserlist", "href": "/graphql/reference/mutations#updateuserlist", "description": "Updates an existing user list.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -9364,6 +9402,7 @@ "id": "updateuserlistsforitem", "href": "/graphql/reference/mutations#updateuserlistsforitem", "description": "Updates which of the viewer's lists an item belongs to.
", + "isDeprecated": false, "inputFields": [ { "name": "input", @@ -13057,6 +13096,7 @@ "id": "codeofconduct", "href": "/graphql/reference/objects#codeofconduct", "description": "The Code of Conduct for a repository.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -14554,6 +14594,7 @@ "id": "commitcontributionsbyrepository", "href": "/graphql/reference/objects#commitcontributionsbyrepository", "description": "This aggregates commits made by a user within one repository.
", + "isDeprecated": false, "fields": [ { "name": "contributions", @@ -14965,11 +15006,62 @@ } ] }, + { + "name": "ContentWarning", + "id": "contentwarning", + "href": "/graphql/reference/objects#contentwarning", + "description": "The content warning for a repository.
", + "fields": [ + { + "name": "category", + "description": "The content warning' category. E.g. 'mis_dis_information'.
", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "customSubCategory", + "description": "The content warning's custom sub category text. E.g. 'dangerous stuff.'.
", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "subCategory", + "description": "The content warning's sub category. E.g. 'medical_scientific'.
", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "subTitle", + "description": "The content warning's sub title. E.g. 'The information contained in this page has not been verified.'.
", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "title", + "description": "The content warning's title. E.g. 'This page may contain false or misleading information.'.
", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "type", + "description": "The type of content warning. E.g. 'interstitial'.
", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "ContributingGuidelines", "id": "contributingguidelines", "href": "/graphql/reference/objects#contributingguidelines", "description": "The Contributing Guidelines for a repository.
", + "isDeprecated": false, "fields": [ { "name": "body", @@ -14999,6 +15091,7 @@ "id": "contributioncalendar", "href": "/graphql/reference/objects#contributioncalendar", "description": "A calendar of contributions made on GitHub by a user.
", + "isDeprecated": false, "fields": [ { "name": "colors", @@ -15042,6 +15135,7 @@ "id": "contributioncalendarday", "href": "/graphql/reference/objects#contributioncalendarday", "description": "Represents a single day of contributions on GitHub by a user.
", + "isDeprecated": false, "fields": [ { "name": "color", @@ -15085,6 +15179,7 @@ "id": "contributioncalendarmonth", "href": "/graphql/reference/objects#contributioncalendarmonth", "description": "A month of contributions in a user's contribution graph.
", + "isDeprecated": false, "fields": [ { "name": "firstDay", @@ -15121,6 +15216,7 @@ "id": "contributioncalendarweek", "href": "/graphql/reference/objects#contributioncalendarweek", "description": "A week of contributions in a user's contribution graph.
", + "isDeprecated": false, "fields": [ { "name": "contributionDays", @@ -15143,6 +15239,7 @@ "id": "contributionscollection", "href": "/graphql/reference/objects#contributionscollection", "description": "A collection of contributions made by a user, including opened issues, commits, and pull requests.\nContributions in private and internal repositories are only included with the optional read:user scope.
", + "isDeprecated": false, "fields": [ { "name": "commitContributionsByRepository", @@ -16029,6 +16126,7 @@ "id": "convertedtodiscussionevent", "href": "/graphql/reference/objects#convertedtodiscussionevent", "description": "Represents aconverted_to_discussionevent on a given issue.
Represents the contribution a user made by committing to a repository.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -16252,6 +16351,7 @@ "id": "createdissuecontribution", "href": "/graphql/reference/objects#createdissuecontribution", "description": "Represents the contribution a user made on GitHub by opening an issue.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -16367,6 +16467,7 @@ "id": "createdpullrequestcontribution", "href": "/graphql/reference/objects#createdpullrequestcontribution", "description": "Represents the contribution a user made on GitHub by opening a pull request.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -16482,6 +16583,7 @@ "id": "createdpullrequestreviewcontribution", "href": "/graphql/reference/objects#createdpullrequestreviewcontribution", "description": "Represents the contribution a user made by leaving a review on a pull request.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -16611,6 +16713,7 @@ "id": "createdrepositorycontribution", "href": "/graphql/reference/objects#createdrepositorycontribution", "description": "Represents the contribution a user made on GitHub by creating a repository.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -18408,6 +18511,7 @@ "id": "discussion", "href": "/graphql/reference/objects#discussion", "description": "A discussion in a repository.
", + "isDeprecated": false, "implements": [ { "name": "Closable", @@ -18981,6 +19085,7 @@ "id": "discussioncategory", "href": "/graphql/reference/objects#discussioncategory", "description": "A category for discussions in a repository.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -19129,6 +19234,7 @@ "id": "discussioncomment", "href": "/graphql/reference/objects#discussioncomment", "description": "A comment on a discussion.
", + "isDeprecated": false, "implements": [ { "name": "Comment", @@ -19693,6 +19799,7 @@ "id": "discussionpoll", "href": "/graphql/reference/objects#discussionpoll", "description": "A poll for a discussion.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -19804,6 +19911,7 @@ "id": "discussionpolloption", "href": "/graphql/reference/objects#discussionpolloption", "description": "An option for a discussion poll.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -20880,10 +20988,12 @@ }, { "name": "assetPacks", - "description": "The number of data packs used by all organizations owned by the enterprise.
", + "description": "The number of data packs used by all organizations owned by the enterprise. Data packs are deprecated, always returns 0.
", "type": "Int!", "id": "int", - "href": "/graphql/reference/scalars#int" + "href": "/graphql/reference/scalars#int", + "isDeprecated": true, + "deprecationReason": "LFS data packs have been removed. Always returns 0.
" }, { "name": "bandwidthQuota", @@ -25111,6 +25221,7 @@ "id": "fundinglink", "href": "/graphql/reference/objects#fundinglink", "description": "A funding platform link for a repository.
", + "isDeprecated": false, "fields": [ { "name": "platform", @@ -25133,6 +25244,7 @@ "id": "generichovercardcontext", "href": "/graphql/reference/objects#generichovercardcontext", "description": "A generic hovercard context with a message and icon.
", + "isDeprecated": false, "implements": [ { "name": "HovercardContext", @@ -26318,6 +26430,7 @@ "id": "hovercard", "href": "/graphql/reference/objects#hovercard", "description": "Detail needed to display a hovercard for a user.
", + "isDeprecated": false, "fields": [ { "name": "contexts", @@ -30254,6 +30367,7 @@ "id": "joinedgithubcontribution", "href": "/graphql/reference/objects#joinedgithubcontribution", "description": "Represents a user signing up for a GitHub account.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -30779,6 +30893,7 @@ "id": "license", "href": "/graphql/reference/objects#license", "description": "A repository's open source license.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -30899,6 +31014,7 @@ "id": "licenserule", "href": "/graphql/reference/objects#licenserule", "description": "Describes a License's conditions, permissions, and limitations.
", + "isDeprecated": false, "fields": [ { "name": "description", @@ -44082,6 +44198,7 @@ "id": "permissionsource", "href": "/graphql/reference/objects#permissionsource", "description": "A level of permission and source for a user's access to a repository.
", + "isDeprecated": false, "fields": [ { "name": "organization", @@ -44176,6 +44293,7 @@ "id": "pinneddiscussion", "href": "/graphql/reference/objects#pinneddiscussion", "description": "A Pinned Discussion is a discussion pinned to a repository's index page.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -45153,6 +45271,7 @@ "id": "profileitemshowcase", "href": "/graphql/reference/objects#profileitemshowcase", "description": "A curatable list of repositories relating to a repository owner, which defaults\nto showing the most popular repositories they own.
", + "isDeprecated": false, "fields": [ { "name": "hasPinnedItems", @@ -63017,6 +63136,13 @@ "id": "boolean", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerContentWarning", + "description": "The content warning for this repository for the viewer.
", + "type": "ContentWarning", + "id": "contentwarning", + "href": "/graphql/reference/objects#contentwarning" + }, { "name": "viewerDefaultCommitEmail", "description": "The last commit email for the viewer.
", @@ -63701,6 +63827,7 @@ "id": "repositoryinteractionability", "href": "/graphql/reference/objects#repositoryinteractionability", "description": "Repository interaction limit that applies to this object.
", + "isDeprecated": false, "fields": [ { "name": "expiresAt", @@ -65517,6 +65644,7 @@ "id": "restrictedcontribution", "href": "/graphql/reference/objects#restrictedcontribution", "description": "Represents a private contribution a user made on GitHub.
", + "isDeprecated": false, "implements": [ { "name": "Contribution", @@ -66009,6 +66137,7 @@ "id": "savedreply", "href": "/graphql/reference/objects#savedreply", "description": "A Saved Reply is text a user can use to reply quickly.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -66827,6 +66956,7 @@ "id": "socialaccount", "href": "/graphql/reference/objects#socialaccount", "description": "Social media profile associated with a user.
", + "isDeprecated": false, "fields": [ { "name": "displayName", @@ -66914,6 +67044,7 @@ "id": "sponsorandlifetimevalue", "href": "/graphql/reference/objects#sponsorandlifetimevalue", "description": "A GitHub account and the total amount in USD they've paid for sponsorships to a\nparticular maintainer. Does not include payments made via Patreon.
", + "isDeprecated": false, "fields": [ { "name": "amountInCents", @@ -67124,6 +67255,7 @@ "id": "sponsorsactivity", "href": "/graphql/reference/objects#sponsorsactivity", "description": "An event related to sponsorship activity.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -67267,6 +67399,7 @@ "id": "sponsorsgoal", "href": "/graphql/reference/objects#sponsorsgoal", "description": "A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain.
", + "isDeprecated": false, "fields": [ { "name": "description", @@ -67310,6 +67443,7 @@ "id": "sponsorslisting", "href": "/graphql/reference/objects#sponsorslisting", "description": "A GitHub Sponsors listing.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -67547,6 +67681,7 @@ "id": "sponsorslistingfeatureditem", "href": "/graphql/reference/objects#sponsorslistingfeatureditem", "description": "A record that is promoted on a GitHub Sponsors profile.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -67611,6 +67746,7 @@ "id": "sponsorstier", "href": "/graphql/reference/objects#sponsorstier", "description": "A GitHub Sponsors tier associated with a GitHub Sponsors listing.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -67717,6 +67853,7 @@ "id": "sponsorstieradmininfo", "href": "/graphql/reference/objects#sponsorstieradmininfo", "description": "SponsorsTier information only visible to users that can administer the associated Sponsors listing.
", + "isDeprecated": false, "fields": [ { "name": "isDraft", @@ -67868,6 +68005,7 @@ "id": "sponsorship", "href": "/graphql/reference/objects#sponsorship", "description": "A sponsorship relationship between a sponsor and a maintainer.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -68050,6 +68188,7 @@ "id": "sponsorshipnewsletter", "href": "/graphql/reference/objects#sponsorshipnewsletter", "description": "An update sent to sponsors of a user or organization on GitHub Sponsors.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -68835,6 +68974,7 @@ "id": "stripeconnectaccount", "href": "/graphql/reference/objects#stripeconnectaccount", "description": "A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors.
", + "isDeprecated": false, "fields": [ { "name": "accountId", @@ -72530,6 +72670,7 @@ "id": "user", "href": "/graphql/reference/objects#user", "description": "A user is an individual's account on GitHub that owns repositories and can make new content.
", + "isDeprecated": false, "implements": [ { "name": "Actor", @@ -75606,6 +75747,7 @@ "id": "usercontentedit", "href": "/graphql/reference/objects#usercontentedit", "description": "An edit on user content.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -75786,6 +75928,7 @@ "id": "userlist", "href": "/graphql/reference/objects#userlist", "description": "A user-curated list of repositories.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -76025,6 +76168,7 @@ "id": "userlistsuggestion", "href": "/graphql/reference/objects#userlistsuggestion", "description": "Represents a suggested user list.
", + "isDeprecated": false, "fields": [ { "name": "id", @@ -76148,6 +76292,7 @@ "id": "userstatus", "href": "/graphql/reference/objects#userstatus", "description": "The user's description of what they're currently doing.
", + "isDeprecated": false, "implements": [ { "name": "Node", @@ -76469,6 +76614,7 @@ "id": "viewerhovercardcontext", "href": "/graphql/reference/objects#viewerhovercardcontext", "description": "A hovercard context with a message describing how the viewer is related.
", + "isDeprecated": false, "implements": [ { "name": "HovercardContext", @@ -77023,6 +77169,7 @@ "id": "actor", "href": "/graphql/reference/interfaces#actor", "description": "Represents an object which can take actions on GitHub. Typically a User or Bot.
", + "isDeprecated": false, "fields": [ { "name": "avatarUrl", @@ -77617,6 +77764,7 @@ "id": "deletable", "href": "/graphql/reference/interfaces#deletable", "description": "Entities that can be deleted.
", + "isDeprecated": false, "fields": [ { "name": "viewerCanDelete", @@ -77777,6 +77925,7 @@ "id": "hovercardcontext", "href": "/graphql/reference/interfaces#hovercardcontext", "description": "An individual line of a hovercard.
", + "isDeprecated": false, "fields": [ { "name": "message", @@ -77952,6 +78101,7 @@ "id": "memberstatusable", "href": "/graphql/reference/interfaces#memberstatusable", "description": "Entities that have members who can set status messages.
", + "isDeprecated": false, "fields": [ { "name": "memberStatuses", @@ -78099,6 +78249,7 @@ "id": "minimizable", "href": "/graphql/reference/interfaces#minimizable", "description": "Entities that can be minimized.
", + "isDeprecated": false, "fields": [ { "name": "isMinimized", @@ -78365,6 +78516,7 @@ "id": "profileowner", "href": "/graphql/reference/interfaces#profileowner", "description": "Represents any entity on GitHub that has a profile page.
", + "isDeprecated": false, "fields": [ { "name": "anyPinnableItems", @@ -79138,6 +79290,7 @@ "id": "repositorydiscussionauthor", "href": "/graphql/reference/interfaces#repositorydiscussionauthor", "description": "Represents an author of discussions in repositories.
", + "isDeprecated": false, "fields": [ { "name": "repositoryDiscussions", @@ -79227,6 +79380,7 @@ "id": "repositorydiscussioncommentauthor", "href": "/graphql/reference/interfaces#repositorydiscussioncommentauthor", "description": "Represents an author of discussion comments in repositories.
", + "isDeprecated": false, "fields": [ { "name": "repositoryDiscussionComments", @@ -79818,6 +79972,7 @@ "id": "sponsorable", "href": "/graphql/reference/interfaces#sponsorable", "description": "Entities that can sponsor or be sponsored through GitHub Sponsors.
", + "isDeprecated": false, "fields": [ { "name": "estimatedNextSponsorsPayoutInCents", @@ -80450,6 +80605,7 @@ "id": "starrable", "href": "/graphql/reference/interfaces#starrable", "description": "Things that can be starred.
", + "isDeprecated": false, "fields": [ { "name": "id", @@ -80733,6 +80889,7 @@ "id": "votable", "href": "/graphql/reference/interfaces#votable", "description": "A subject that may be upvoted.
", + "isDeprecated": false, "fields": [ { "name": "upvoteCount", @@ -80969,6 +81126,7 @@ "id": "collaboratoraffiliation", "href": "/graphql/reference/enums#collaboratoraffiliation", "description": "Collaborators affiliation level with a subject.
", + "isDeprecated": false, "values": [ { "name": "ALL", @@ -81067,6 +81225,7 @@ "id": "commitcontributionorderfield", "href": "/graphql/reference/enums#commitcontributionorderfield", "description": "Properties by which commit contribution connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "COMMIT_COUNT", @@ -81107,6 +81266,7 @@ "id": "contributionlevel", "href": "/graphql/reference/enums#contributionlevel", "description": "Varying levels of contributions from none to many.
", + "isDeprecated": false, "values": [ { "name": "FIRST_QUARTILE", @@ -81396,6 +81556,7 @@ "id": "discussionclosereason", "href": "/graphql/reference/enums#discussionclosereason", "description": "The possible reasons for closing a discussion.
", + "isDeprecated": false, "values": [ { "name": "DUPLICATE", @@ -81416,6 +81577,7 @@ "id": "discussionorderfield", "href": "/graphql/reference/enums#discussionorderfield", "description": "Properties by which discussion connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "CREATED_AT", @@ -81432,6 +81594,7 @@ "id": "discussionpolloptionorderfield", "href": "/graphql/reference/enums#discussionpolloptionorderfield", "description": "Properties by which discussion poll option connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "AUTHORED_ORDER", @@ -81448,6 +81611,7 @@ "id": "discussionstate", "href": "/graphql/reference/enums#discussionstate", "description": "The possible states of a discussion.
", + "isDeprecated": false, "values": [ { "name": "CLOSED", @@ -81464,6 +81628,7 @@ "id": "discussionstatereason", "href": "/graphql/reference/enums#discussionstatereason", "description": "The possible state reasons of a discussion.
", + "isDeprecated": false, "values": [ { "name": "DUPLICATE", @@ -81936,6 +82101,7 @@ "id": "fundingplatform", "href": "/graphql/reference/enums#fundingplatform", "description": "The possible funding platforms for repository funding links.
", + "isDeprecated": false, "values": [ { "name": "BUY_ME_A_COFFEE", @@ -82256,6 +82422,10 @@ "name": "DATE", "description": "Date.
" }, + { + "name": "MULTI_SELECT", + "description": "Multi Select.
" + }, { "name": "NUMBER", "description": "Number.
" @@ -83721,6 +83891,7 @@ "id": "pinnableitemtype", "href": "/graphql/reference/enums#pinnableitemtype", "description": "Represents items that can be pinned to a profile page or dashboard.
", + "isDeprecated": false, "values": [ { "name": "GIST", @@ -83761,6 +83932,7 @@ "id": "pinneddiscussiongradient", "href": "/graphql/reference/enums#pinneddiscussiongradient", "description": "Preconfigured gradients that may be used to style discussions pinned within a repository.
", + "isDeprecated": false, "values": [ { "name": "BLUE_MINT", @@ -83789,6 +83961,7 @@ "id": "pinneddiscussionpattern", "href": "/graphql/reference/enums#pinneddiscussionpattern", "description": "Preconfigured background patterns that may be used to style discussions pinned within a repository.
", + "isDeprecated": false, "values": [ { "name": "CHEVRON_UP", @@ -85165,6 +85338,7 @@ "id": "reportedcontentclassifiers", "href": "/graphql/reference/enums#reportedcontentclassifiers", "description": "The reasons a piece of content can be reported or minimized.
", + "isDeprecated": false, "values": [ { "name": "ABUSE", @@ -85264,6 +85438,7 @@ "id": "repositoryinteractionlimit", "href": "/graphql/reference/enums#repositoryinteractionlimit", "description": "A repository interaction limit.
", + "isDeprecated": false, "values": [ { "name": "COLLABORATORS_ONLY", @@ -85288,6 +85463,7 @@ "id": "repositoryinteractionlimitexpiry", "href": "/graphql/reference/enums#repositoryinteractionlimitexpiry", "description": "The length for a repository interaction limit to be enabled for.
", + "isDeprecated": false, "values": [ { "name": "ONE_DAY", @@ -85316,6 +85492,7 @@ "id": "repositoryinteractionlimitorigin", "href": "/graphql/reference/enums#repositoryinteractionlimitorigin", "description": "Indicates where an interaction limit is configured.
", + "isDeprecated": false, "values": [ { "name": "ORGANIZATION", @@ -85899,6 +86076,7 @@ "id": "savedreplyorderfield", "href": "/graphql/reference/enums#savedreplyorderfield", "description": "Properties by which saved reply connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "UPDATED_AT", @@ -86099,6 +86277,7 @@ "id": "socialaccountprovider", "href": "/graphql/reference/enums#socialaccountprovider", "description": "Software or company that hosts social media accounts.
", + "isDeprecated": false, "values": [ { "name": "BLUESKY", @@ -86155,6 +86334,7 @@ "id": "sponsorandlifetimevalueorderfield", "href": "/graphql/reference/enums#sponsorandlifetimevalueorderfield", "description": "Properties by which sponsor and lifetime value connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "LIFETIME_VALUE", @@ -86175,6 +86355,7 @@ "id": "sponsororderfield", "href": "/graphql/reference/enums#sponsororderfield", "description": "Properties by which sponsor connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "LOGIN", @@ -86191,6 +86372,7 @@ "id": "sponsorableorderfield", "href": "/graphql/reference/enums#sponsorableorderfield", "description": "Properties by which sponsorable connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "LOGIN", @@ -86203,6 +86385,7 @@ "id": "sponsorsactivityaction", "href": "/graphql/reference/enums#sponsorsactivityaction", "description": "The possible actions that GitHub Sponsors activities can represent.
", + "isDeprecated": false, "values": [ { "name": "CANCELLED_SPONSORSHIP", @@ -86235,6 +86418,7 @@ "id": "sponsorsactivityorderfield", "href": "/graphql/reference/enums#sponsorsactivityorderfield", "description": "Properties by which GitHub Sponsors activity connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "TIMESTAMP", @@ -86247,6 +86431,7 @@ "id": "sponsorsactivityperiod", "href": "/graphql/reference/enums#sponsorsactivityperiod", "description": "The possible time periods for which Sponsors activities can be requested.
", + "isDeprecated": false, "values": [ { "name": "ALL", @@ -86271,6 +86456,7 @@ "id": "sponsorscountryorregioncode", "href": "/graphql/reference/enums#sponsorscountryorregioncode", "description": "Represents countries or regions for billing and residence for a GitHub Sponsors profile.
", + "isDeprecated": false, "values": [ { "name": "AD", @@ -87267,6 +87453,7 @@ "id": "sponsorsgoalkind", "href": "/graphql/reference/enums#sponsorsgoalkind", "description": "The different kinds of goals a GitHub Sponsors member can have.
", + "isDeprecated": false, "values": [ { "name": "MONTHLY_SPONSORSHIP_AMOUNT", @@ -87283,6 +87470,7 @@ "id": "sponsorslistingfeatureditemfeatureabletype", "href": "/graphql/reference/enums#sponsorslistingfeatureditemfeatureabletype", "description": "The different kinds of records that can be featured on a GitHub Sponsors profile page.
", + "isDeprecated": false, "values": [ { "name": "REPOSITORY", @@ -87299,6 +87487,7 @@ "id": "sponsorstierorderfield", "href": "/graphql/reference/enums#sponsorstierorderfield", "description": "Properties by which Sponsors tiers connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "CREATED_AT", @@ -87315,6 +87504,7 @@ "id": "sponsorshipnewsletterorderfield", "href": "/graphql/reference/enums#sponsorshipnewsletterorderfield", "description": "Properties by which sponsorship update connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "CREATED_AT", @@ -87327,6 +87517,7 @@ "id": "sponsorshiporderfield", "href": "/graphql/reference/enums#sponsorshiporderfield", "description": "Properties by which sponsorship connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "CREATED_AT", @@ -87339,6 +87530,7 @@ "id": "sponsorshippaymentsource", "href": "/graphql/reference/enums#sponsorshippaymentsource", "description": "How payment was made for funding a GitHub Sponsors sponsorship.
", + "isDeprecated": false, "values": [ { "name": "GITHUB", @@ -87355,6 +87547,7 @@ "id": "sponsorshipprivacy", "href": "/graphql/reference/enums#sponsorshipprivacy", "description": "The privacy of a sponsorship.
", + "isDeprecated": false, "values": [ { "name": "PRIVATE", @@ -87407,6 +87600,7 @@ "id": "starorderfield", "href": "/graphql/reference/enums#starorderfield", "description": "Properties by which star connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "STARRED_AT", @@ -87754,6 +87948,7 @@ "id": "userblockduration", "href": "/graphql/reference/enums#userblockduration", "description": "The possible durations that a user can be blocked for.
", + "isDeprecated": false, "values": [ { "name": "ONE_DAY", @@ -87782,6 +87977,7 @@ "id": "userstatusorderfield", "href": "/graphql/reference/enums#userstatusorderfield", "description": "Properties by which user status connections can be ordered.
", + "isDeprecated": false, "values": [ { "name": "UPDATED_AT", @@ -87794,6 +87990,7 @@ "id": "userviewtype", "href": "/graphql/reference/enums#userviewtype", "description": "Whether a user being viewed contains public or private information.
", + "isDeprecated": false, "values": [ { "name": "PRIVATE", @@ -88008,6 +88205,7 @@ "id": "createdissueorrestrictedcontribution", "href": "/graphql/reference/unions#createdissueorrestrictedcontribution", "description": "Represents either a issue the viewer can access or a restricted contribution.
", + "isDeprecated": false, "possibleTypes": [ { "name": "CreatedIssueContribution", @@ -88026,6 +88224,7 @@ "id": "createdpullrequestorrestrictedcontribution", "href": "/graphql/reference/unions#createdpullrequestorrestrictedcontribution", "description": "Represents either a pull request the viewer can access or a restricted contribution.
", + "isDeprecated": false, "possibleTypes": [ { "name": "CreatedPullRequestContribution", @@ -88044,6 +88243,7 @@ "id": "createdrepositoryorrestrictedcontribution", "href": "/graphql/reference/unions#createdrepositoryorrestrictedcontribution", "description": "Represents either a repository the viewer can access or a restricted contribution.
", + "isDeprecated": false, "possibleTypes": [ { "name": "CreatedRepositoryContribution", @@ -88956,6 +89156,7 @@ "id": "permissiongranter", "href": "/graphql/reference/unions#permissiongranter", "description": "Types that can grant permissions on a repository to a user.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Organization", @@ -88979,6 +89180,7 @@ "id": "pinnableitem", "href": "/graphql/reference/unions#pinnableitem", "description": "Types that can be pinned to a profile page.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Gist", @@ -90055,6 +90257,7 @@ "id": "sponsor", "href": "/graphql/reference/unions#sponsor", "description": "Entities that can sponsor others via GitHub Sponsors.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Organization", @@ -90073,6 +90276,7 @@ "id": "sponsorableitem", "href": "/graphql/reference/unions#sponsorableitem", "description": "Entities that can be sponsored via GitHub Sponsors.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Organization", @@ -90091,6 +90295,7 @@ "id": "sponsorslistingfeatureableitem", "href": "/graphql/reference/unions#sponsorslistingfeatureableitem", "description": "A record that can be featured on a GitHub Sponsors profile.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Repository", @@ -90127,6 +90332,7 @@ "id": "userlistitems", "href": "/graphql/reference/unions#userlistitems", "description": "Types that can be added to a user list.
", + "isDeprecated": false, "possibleTypes": [ { "name": "Repository", @@ -91350,6 +91556,7 @@ "id": "bulksponsorship", "href": "/graphql/reference/input-objects#bulksponsorship", "description": "Information about a sponsorship to make for a user or organization with a GitHub\nSponsors profile, as part of sponsoring many users or organizations at once.
", + "isDeprecated": false, "inputFields": [ { "name": "amount", @@ -92177,6 +92384,7 @@ "id": "commitcontributionorder", "href": "/graphql/reference/input-objects#commitcontributionorder", "description": "Ordering options for commit contribution connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -92324,6 +92532,7 @@ "id": "contributionorder", "href": "/graphql/reference/input-objects#contributionorder", "description": "Ordering options for contribution connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -95329,6 +95538,7 @@ "id": "discussionorder", "href": "/graphql/reference/input-objects#discussionorder", "description": "Ways in which lists of discussions can be ordered upon return.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -95351,6 +95561,7 @@ "id": "discussionpolloptionorder", "href": "/graphql/reference/input-objects#discussionpolloptionorder", "description": "Ordering options for discussion poll option connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99487,6 +99698,7 @@ "id": "savedreplyorder", "href": "/graphql/reference/input-objects#savedreplyorder", "description": "Ordering options for saved reply connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99804,6 +100016,7 @@ "id": "sponsorandlifetimevalueorder", "href": "/graphql/reference/input-objects#sponsorandlifetimevalueorder", "description": "Ordering options for connections to get sponsor entities and associated USD amounts for GitHub Sponsors.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99826,6 +100039,7 @@ "id": "sponsororder", "href": "/graphql/reference/input-objects#sponsororder", "description": "Ordering options for connections to get sponsor entities for GitHub Sponsors.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99848,6 +100062,7 @@ "id": "sponsorableorder", "href": "/graphql/reference/input-objects#sponsorableorder", "description": "Ordering options for connections to get sponsorable entities for GitHub Sponsors.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99870,6 +100085,7 @@ "id": "sponsorsactivityorder", "href": "/graphql/reference/input-objects#sponsorsactivityorder", "description": "Ordering options for GitHub Sponsors activity connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99892,6 +100108,7 @@ "id": "sponsorstierorder", "href": "/graphql/reference/input-objects#sponsorstierorder", "description": "Ordering options for Sponsors tiers connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99914,6 +100131,7 @@ "id": "sponsorshipnewsletterorder", "href": "/graphql/reference/input-objects#sponsorshipnewsletterorder", "description": "Ordering options for sponsorship newsletter connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99936,6 +100154,7 @@ "id": "sponsorshiporder", "href": "/graphql/reference/input-objects#sponsorshiporder", "description": "Ordering options for sponsorship connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -99958,6 +100177,7 @@ "id": "starorder", "href": "/graphql/reference/input-objects#starorder", "description": "Ways in which star connections can be ordered.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", @@ -103738,6 +103958,7 @@ "id": "userstatusorder", "href": "/graphql/reference/input-objects#userstatusorder", "description": "Ordering options for user status connections.
", + "isDeprecated": false, "inputFields": [ { "name": "direction", diff --git a/src/languages/lib/correct-translation-content.ts b/src/languages/lib/correct-translation-content.ts index f90bba6b81c2..4cde007de77b 100644 --- a/src/languages/lib/correct-translation-content.ts +++ b/src/languages/lib/correct-translation-content.ts @@ -205,6 +205,18 @@ export function correctTranslatedContentStrings( '{%$1 %}', ) + // `{% de escritorio %}` — Spanish "de escritorio" = desktop (platform tab) + content = content.replaceAll('{% de escritorio %}', '{% desktop %}') + content = content.replaceAll('{%- de escritorio %}', '{%- desktop %}') + + // `{% variablesdatos.producto.` — translator fused "variables" + "datos" (data) + // without the `data` keyword and used "producto" (product) instead of "variables.product". + // e.g. `{% variablesdatos.producto.prodname_dotcom %}` → `{% data variables.product.prodname_dotcom %}` + content = content.replace( + /\{%(-?)\s*variablesdatos\.producto\.([A-Za-z0-9._-]+)(\s*-?%\})/g, + '{%$1 data variables.product.$2$3', + ) + // [SCRAPE-6548] Per-file fix for the Spanish reusable // `data/reusables/dependency-graph/deduplication.md`. The translation // dropped the `{% endif %}` after the Dependabot graph jobs item (the @@ -771,6 +783,12 @@ export function correctTranslatedContentStrings( // already opened on the previous line. Drop the inner duplicate so the // outer endif balances correctly. content = content.replaceAll('> * {% ifversion ghes %} 本文包含', '> * 本文包含') + + // `{% 捕获IDENTIFIER %}` — Chinese "捕获" = "to capture" = capture. + // Translator translated the tag name but kept the variable name in English. + // Pattern: `{% 捕获IDENTIFIER %}` (no space) or `{% 捕获 IDENTIFIER %}` (with space) + // → `{% capture IDENTIFIER %}` + content = content.replace(/\{%(-?)\s*捕获\s*(\w+)\s*(-?)%\}/g, '{%$1 capture $2 $3%}') } if (context.code === 'ru') { @@ -900,6 +918,23 @@ export function correctTranslatedContentStrings( content = content.replaceAll('{%- эндкёрл %}', '{%- endcurl %}') content = content.replaceAll('{% запроса %}', '{% endraw %}') content = content.replaceAll('{%- запроса %}', '{%- endraw %}') + // `{% API %}` — uppercase API used as platform/tool tab tag (correct: lowercase `{% api %}`) + content = content.replaceAll('{% API %}', '{% api %}') + content = content.replaceAll('{%- API %}', '{%- api %}') + + // `{% захватить VARNAME %}` — "захватить" = "to capture" = capture + // The translator translated the tag name but kept the variable name in English. + // Pattern: `{% захватить IDENTIFIER %}` → `{% capture IDENTIFIER %}` + content = content.replace(/\{%(-?)\s*захватить\s+(\w+)\s*(-?)%\}/g, '{%$1 capture $2 $3%}') + + // Comma-separated plan names in ifversion/elsif/if tags: + // `{% ifversion fpt, ghec %}` — translator used comma instead of `or` between plans. + // Only safe to fix when the comma appears between recognised plan-name tokens. + content = content.replace( + /\{%(-?\s+(?:ifversion|elsif|if)\s+[^%]*?),\s*((?:fpt|ghec|ghes|ghae|ghecom)[^%]*?-?%\})/g, + '{%$1 or $2', + ) + // `{% джетмозги %}` — Russian literal translation of "JetBrains" (джет=jet, мозги=brains) content = content.replaceAll('{% джетмозги %}', '{% jetbrains %}') content = content.replaceAll('{%- джетмозги %}', '{%- jetbrains %}') @@ -1059,6 +1094,15 @@ export function correctTranslatedContentStrings( 'Вы можете увидеть, кто внес{% endif %} коммиты в репозиторий{% ifversion fpt or ghec %} и его зависимости.', 'Вы можете увидеть, кто внес коммиты в репозиторий{% ifversion fpt or ghec %} и его зависимости{% endif %}.', ) + + // data/reusables/enterprise-licensing/unique-user-licensing-model.md: + // The translator garbled `{% ifversion enterprise-licensing-language %}licenses{% else %}licensed seats{% endif %}` + // into `{% ifversion enterprise-licensing-language %}license-language%else %}licenses{% license seats{% endif %}`. + // Restore the correct conditional. + content = content.replaceAll( + '{% ifversion enterprise-licensing-language %}license-language%else %}licenses{% license seats{% endif %}', + '{% ifversion enterprise-licensing-language %}licenses{% else %}licensed seats{% endif %}', + ) } if (context.code === 'fr') { @@ -1343,6 +1387,11 @@ export function correctTranslatedContentStrings( content = content.replaceAll('{% Variable.', '{% data variables.') content = content.replaceAll('{%- Variable.', '{%- data variables.') + // `{% 캡처 IDENTIFIER %}` — Korean "캡처" = "capture". + // Translator translated the tag name but kept the variable name in English. + // Pattern: `{% 캡처 IDENTIFIER %}` → `{% capture IDENTIFIER %}` + content = content.replace(/\{%(-?)\s*캡처\s+(\w+)\s*(-?)%\}/g, '{%$1 capture $2 $3%}') + // [SCRAPE-6548] Per-file fix: // account-and-profile/concepts/username-changes.md (intro): orphan // `{% endif %}` and `{% ifversion ghes %}` swapped — the conditional diff --git a/src/languages/tests/correct-translation-content.ts b/src/languages/tests/correct-translation-content.ts index bcf19ea12698..8cf46829143e 100644 --- a/src/languages/tests/correct-translation-content.ts +++ b/src/languages/tests/correct-translation-content.ts @@ -161,6 +161,23 @@ describe('correctTranslatedContentStrings', () => { expect(fix('{% siVersion productos-ghas %}', 'es')).toBe('{% ifversion productos-ghas %}') expect(fix('{%- siVersion productos-ghas %}', 'es')).toBe('{%- ifversion productos-ghas %}') }) + + test('fixes {% de escritorio %} → {% desktop %} (platform tab)', () => { + expect(fix('{% de escritorio %}', 'es')).toBe('{% desktop %}') + expect(fix('{%- de escritorio %}', 'es')).toBe('{%- desktop %}') + }) + + test('fixes fused {% variablesdatos.producto.X %} → {% data variables.product.X %}', () => { + expect(fix('{% variablesdatos.producto.prodname_dotcom %}', 'es')).toBe( + '{% data variables.product.prodname_dotcom %}', + ) + expect(fix('{%- variablesdatos.producto.github %}', 'es')).toBe( + '{%- data variables.product.github %}', + ) + expect(fix('{%variablesdatos.producto.github%}', 'es')).toBe( + '{% data variables.product.github%}', + ) + }) }) // ─── JAPANESE (ja) ────────────────────────────────────────────────── @@ -535,6 +552,16 @@ describe('correctTranslatedContentStrings', () => { '{%- data variables.product.github %}', ) }) + + test('fixes {% 捕获 X %} → {% capture X %} (translated capture tag)', () => { + // With space between 捕获 and identifier + expect(fix('{% 捕获 myvar %}', 'zh')).toBe('{% capture myvar %}') + // Without space + expect(fix('{% 捕获myvar %}', 'zh')).toBe('{% capture myvar %}') + // Whitespace-stripping forms + expect(fix('{%- 捕获 myvar -%}', 'zh')).toBe('{%- capture myvar -%}') + expect(fix('{%- 捕获myvar %}', 'zh')).toBe('{%- capture myvar %}') + }) }) // ─── RUSSIAN (ru) ────────────────────────────────────────────────── @@ -758,6 +785,42 @@ describe('correctTranslatedContentStrings', () => { expect(fix('{% джетмозги %}', 'ru')).toBe('{% jetbrains %}') expect(fix('{%- джетмозги %}', 'ru')).toBe('{%- jetbrains %}') }) + + test('fixes uppercase {% API %} → {% api %} (platform tab)', () => { + expect(fix('{% API %}', 'ru')).toBe('{% api %}') + expect(fix('{%- API %}', 'ru')).toBe('{%- api %}') + }) + + test('fixes {% захватить X %} → {% capture X %} (translated capture tag)', () => { + expect(fix('{% захватить myvar %}', 'ru')).toBe('{% capture myvar %}') + expect(fix('{%- захватить myvar -%}', 'ru')).toBe('{%- capture myvar -%}') + }) + + test('fixes comma between plan names in ifversion/elsif/if to `or`', () => { + expect(fix('{% ifversion fpt, ghec %}', 'ru')).toBe('{% ifversion fpt or ghec %}') + expect(fix('{% elsif fpt, ghec %}', 'ru')).toBe('{% elsif fpt or ghec %}') + expect(fix('{%- ifversion ghes, ghec %}', 'ru')).toBe('{%- ifversion ghes or ghec %}') + }) + + test('fixAt: enterprise-licensing-language reusable garbled conditional', () => { + function fixAt(content: string, code: string, relativePath: string) { + return correctTranslatedContentStrings(content, '', { + code, + relativePath, + skipOrphanStripping: true, + }) + } + const broken = + '{% ifversion enterprise-licensing-language %}license-language%else %}licenses{% license seats{% endif %}' + const out = fixAt( + broken, + 'ru', + 'data/reusables/enterprise-licensing/unique-user-licensing-model.md', + ) + expect(out).toBe( + '{% ifversion enterprise-licensing-language %}licenses{% else %}licensed seats{% endif %}', + ) + }) }) // ─── FRENCH (fr) ─────────────────────────────────────────────────── @@ -1016,6 +1079,11 @@ describe('correctTranslatedContentStrings', () => { '{%- data variables.product.github %}', ) }) + + test('fixes {% 캡처 X %} → {% capture X %} (translated capture tag)', () => { + expect(fix('{% 캡처 myvar %}', 'ko')).toBe('{% capture myvar %}') + expect(fix('{%- 캡처 myvar -%}', 'ko')).toBe('{%- capture myvar -%}') + }) }) // ─── GERMAN (de) ──────────────────────────────────────────────────