diff --git a/.github/workflows/sync-audit-logs.yml b/.github/workflows/sync-audit-logs.yml index 75b371cb2d18..8ae0705622e7 100644 --- a/.github/workflows/sync-audit-logs.yml +++ b/.github/workflows/sync-audit-logs.yml @@ -33,7 +33,7 @@ jobs: # need to use a token from a user with access to github/audit-log-allowlists for this step GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }} run: | - npm run audit-log-sync + npm run sync-audit-log - name: Get the audit-log-allowlists SHA being synced id: audit-log-allowlists diff --git a/.github/workflows/sync-graphql.yml b/.github/workflows/sync-graphql.yml index c8acb219c641..3b00847876bf 100644 --- a/.github/workflows/sync-graphql.yml +++ b/.github/workflows/sync-graphql.yml @@ -25,7 +25,7 @@ jobs: env: # need to use a token from a user with access to github/github for this step GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }} - run: npm run graphql-sync + run: npm run sync-graphql - name: Create pull request id: create-pull-request uses: peter-evans/create-pull-request@6cd32fd93684475c31847837f87bb135d40a2b79 # pin @v7.0.3 diff --git a/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/index.md b/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/index.md index 08a6da63ce2d..d5b30b53132e 100644 --- a/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/index.md +++ b/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/index.md @@ -17,5 +17,5 @@ children: - /managing-your-profile-readme - /pinning-items-to-your-profile - /setting-your-profile-to-private + - /using-your-github-profile-to-enhance-your-resume --- - diff --git a/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/using-your-github-profile-to-enhance-your-resume.md b/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/using-your-github-profile-to-enhance-your-resume.md new file mode 100644 index 000000000000..78342c0af42a --- /dev/null +++ b/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/using-your-github-profile-to-enhance-your-resume.md @@ -0,0 +1,107 @@ +--- +title: Using your GitHub profile to enhance your resume +intro: 'Demonstrate your skills to hiring managers with your {% data variables.product.github %} profile.' +versions: + fpt: '*' +topics: + - Profiles +shortTitle: Enhance your resume +--- + +## How can my {% data variables.product.github %} profile enhance my resume? + +When you include a link to your {% data variables.product.github %} profile in your resume, you showcase your skills and experience to potential employers. In this article, you'll find practical tips for preparing your {% data variables.product.github %} profile for a job search. + +After you complete these steps, you can be confident that hiring managers will have a good sense of your technical skills when they are reviewing your {% data variables.product.github %} profile. + +## Step 1: Create a professional bio + +Your bio is a sentence or two that appears under your profile picture. Use your bio to give potential employers a high-level overview of who you are and what kind of work you're looking for. + +Navigate to your [profile settings](https://github.com/settings/profile) to update your bio. Keep this description short and concise. Consider something like, "Hello! My name is Mona and I'm looking for work as a front end developer." + +> [!NOTE] While you're here, you can update the rest of your profile settings. Consider including a profile picture, a link to your personal website or portfolio, and links to your social profiles. + +## Step 2: Create a profile README + +Compared to your bio, your profile README is flexible and allows for more creativity. You can write more in your profile README to showcase your skills and interests. + +Things you may want to add to your profile README include: + +* **An introduction**: Write a brief introduction of yourself and your professional background. +* **Skills and experience**: List your technical skills, including any programming languages, frameworks, and tools you are proficient in. +* **Your professional experience**: Describe where you've worked before and what sort of professional skills you've built. These can even be non-technical skills, such as communication and empathy. +* **Some of your best projects**: Describe some projects you're proud of. You'll also pin these repositories later, but your README gives you a chance to provide more commentary. +* **Achievements or awards**: Show off any of your achievements, including certifications or awards you've received for your work. + +For instructions for creating a profile README, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme#adding-a-profile-readme). + +> [!NOTE] Updating and customizing your profile README also helps demonstrate fluency using Markdown and HTML, which are useful skills for technical jobs. To show off your skills for potential employers, look for ways to use more advanced Markdown or HTML elements in your profile README. + +## Step 3: Choose projects to showcase + +Pick your favorite 3-5 projects to highlight for your job application. For the best chances at an interview, pick projects that show your diverse skills and are relevant to your specific job search. + +These can be projects you created or projects that you contributed to: + +* Projects you own are fully under your control, so you can prepare the project using the rest of the steps below. +* Open source projects highlight your ability to collaborate with others. + +To take advantage of both, pin some of each to your profile. + +Repositories you pin will be prominently displayed on your profile, allowing you to direct hiring managers' attention to the projects you're most proud of. + +To get started, click **Customize your pins** in the "Popular repositories" section of your profile. + +## Step 4: Prepare the projects you want to showcase + +Hiring managers usually consider many applicants for each role. Expect that they will only look at your projects for a couple minutes. To give the best impression during this brief time, you should make your projects easy to understand and explore. + +Below, you'll find some practical suggestions for preparing your showcase projects, as well as some tips on using {% data variables.product.prodname_copilot_short %} to help. + +> [!NOTE] Always verify the answers that {% data variables.product.prodname_copilot_short %} provides. + +### Update the repository details + +On the main page of the repository, to the right of "About," click {% octicon "gear" aria-label="Edit repository metadata" %}. Here, you can provide information that helps hiring managers quickly understand the project: +* A brief description of your project +* A website where you can see the project in action +* Topic tags that categorize your project + +### Write a helpful README + +The README for your project's repository is a perfect space to give a concise project overview. Helpful project README details include: +* A list of key features of the project +* Details on how to set up and run the project +* An example or demo of the project +* Instructions on testing your code + +You can use [Copilot Chat](https://github.com/copilot) to help write your README. Use a prompt like this: +>Write a README for my `lottery-number-generator` repository. + +### Make the code easy to understand + +To give the best impression, you'll want to make sure that hiring managers can understand your project quickly. In general, a few best practices can help give any readers an understanding of your project and how you work with code: + +* Maintain a consistent coding style with descriptive file and directory names throughout the project +* Use helpful comments and documentation for any complex or important snippets +* Refine your code according to popular style guides +* Simplify complex functions, break down large classes, and remove redundant code +* Provide tests to validate that your code is working as expected + +You can use [{% data variables.product.prodname_copilot_extension_vsc %}](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) to interact with {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode_shortname %}. Here, {% data variables.product.prodname_copilot_short %} can help answer more specific questions about your project, make edits across multiple files, provide suggestions for simplifying your code, and write tests. For more information, see [AUTOTITLE](/copilot/using-github-copilot/guides-on-using-github-copilot/writing-tests-with-github-copilot). + +### Update your project's dependencies + +To showcase your understanding of security best practices, ensure your project is using the latest versions of any dependencies. You can use {% data variables.product.prodname_dependabot_alerts %} and security updates to view alerts about dependencies with known security vulnerabilities. For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-alerts/about-dependabot-alerts). + +## Looking forward: Maintaining your projects + +Your profile is now ready to be included on your resume! The changes you made today will have a big impact on your job search and will make your {% data variables.product.github %} profile stand out to hiring managers. + +If you want to improve your profile even more, incorporate these practices into your coding routines: + +* **Maintain a clean commit history**. To make your project history understandable, use descriptive commit messages and work in smaller batches. +* **Use issues, pull requests, and {% data variables.product.prodname_projects_v2 %}**. Showcase your task management and project planning skills by tracking bugs and feature requests with issues and using {% data variables.product.prodname_projects_v2 %} to organize them. +* **Keep dependencies updated**. Use {% data variables.product.prodname_dependabot_version_updates %} to automatically update your project's dependencies with the latest security features and bug fixes. +* **Contribute to open source**. Open source contributions showcase your collaboration skills and prove that you can work in complex code bases. For more information, see [AUTOTITLE](/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github). diff --git a/package.json b/package.json index 30ce006ff4ad..e784ca392a79 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "analyze-text": "tsx src/search/scripts/analyze-text.ts", "analyze-comment": "tsx src/events/scripts/analyze-comment-cli.ts", "archive-version": "tsx --max-old-space-size=16384 src/ghes-releases/scripts/archive-version.ts", - "audit-log-sync": "tsx src/audit-logs/scripts/sync.ts", "build": "next build", "check-canary-slots": "tsx src/workflows/check-canary-slots.ts", "check-content-type": "tsx src/workflows/check-content-type.ts", @@ -49,7 +48,6 @@ "general-search-scrape-server": "cross-env NODE_ENV=production PORT=4002 MINIMAL_RENDER=true CHANGELOG_DISABLED=true tsx src/frame/server.ts", "ghes-release-scrape-with-server": "cross-env GHES_RELEASE=1 start-server-and-test general-search-scrape-server 4002 general-search-scrape", "general-search-scrape-with-server": "cross-env NODE_OPTIONS='--max_old_space_size=8192' start-server-and-test general-search-scrape-server 4002 general-search-scrape", - "graphql-sync": "tsx src/graphql/scripts/sync.js", "index": "tsx src/search/scripts/index/index-cli autocomplete docs-internal-data", "index-ai-search-autocomplete": "tsx src/search/scripts/index/index-cli ai-search-autocomplete", "index-general-autocomplete": "tsx src/search/scripts/index/index-cli general-autocomplete", @@ -88,6 +86,8 @@ "start-all-languages": "cross-env NODE_ENV=development tsx src/frame/server.ts", "start-for-playwright": "cross-env ROOT=src/fixtures/fixtures TRANSLATIONS_FIXTURE_ROOT=src/fixtures/fixtures/translations ENABLED_LANGUAGES=en,ja NODE_ENV=test tsx src/frame/server.ts", "symlink-from-local-repo": "tsx src/early-access/scripts/symlink-from-local-repo.js", + "sync-audit-log": "tsx src/audit-logs/scripts/sync.ts", + "sync-graphql": "tsx src/graphql/scripts/sync.js", "sync-rest": "tsx src/rest/scripts/update-files.ts", "sync-secret-scanning": "tsx src/secret-scanning/scripts/sync.ts", "sync-webhooks": "npx tsx src/rest/scripts/update-files.ts -o webhooks", diff --git a/src/audit-logs/README.md b/src/audit-logs/README.md index 7fbe98ee9666..0f056fdde705 100644 --- a/src/audit-logs/README.md +++ b/src/audit-logs/README.md @@ -40,7 +40,7 @@ The workflow runs the `src/audit-logs/scripts/sync.ts` script. To run the audit log events pipeline locally: -1. Run `npm run audit-log-sync` +1. Run `npm run sync-audit-log` ## About this directory diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 6441d1ed004d..5c91b41196f6 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,137 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type AccessUserNamespaceRepositoryInput was added

", + "

Type AccessUserNamespaceRepositoryPayload was added

", + "

Type AnnouncementBanner was added

", + "

Type CopilotLimitedFeature was added

", + "

Type CopilotLimitedUser was added

", + "

Type CreateSavedNotificationThreadInput was added

", + "

Type CreateSavedNotificationThreadPayload was added

", + "

Type CvssSeverities was added

", + "

Type DeleteSavedNotificationThreadInput was added

", + "

Type DeleteSavedNotificationThreadPayload was added

", + "

Type DiscussionPubSubTopic was added

", + "

Type IssuePubSubTopic was added

", + "

Type MarkAllNotificationsInput was added

", + "

Type MarkAllNotificationsPayload was added

", + "

Type MarkNotificationAsReadInput was added

", + "

Type MarkNotificationAsReadPayload was added

", + "

Type MarkNotificationAsUndoneInput was added

", + "

Type MarkNotificationAsUndonePayload was added

", + "

Type MarkNotificationAsUnreadInput was added

", + "

Type MarkNotificationAsUnreadPayload was added

", + "

Type MarkNotificationSubjectAsReadInput was added

", + "

Type MarkNotificationSubjectAsReadPayload was added

", + "

Type MarkNotificationsAsDoneInput was added

", + "

Type MarkNotificationsAsDonePayload was added

", + "

Type MarkNotificationsAsReadInput was added

", + "

Type MarkNotificationsAsReadPayload was added

", + "

Type MarkNotificationsAsUndoneInput was added

", + "

Type MarkNotificationsAsUndonePayload was added

", + "

Type MarkNotificationsAsUnreadInput was added

", + "

Type MarkNotificationsAsUnreadPayload was added

", + "

Type NotificationReason was added

", + "

Type NotificationStatus was added

", + "

Type NotificationThread was added

", + "

Type NotificationThreadConnection was added

", + "

Type NotificationThreadEdge was added

", + "

Type NotificationThreadFilters was added

", + "

Type NotificationThreadSubscriptionState was added

", + "

Type NotificationsList was added

", + "

Type NotificationsSubject was added

", + "

Type ParentIssueAddedEvent was added

", + "

Type ParentIssueRemovedEvent was added

", + "

Type PullRequestPubSubTopic was added

", + "

Type RepositoryDependabotAlertsThread was added

", + "

Type SubIssueAddedEvent was added

", + "

Type SubIssueRemovedEvent was added

", + "

Type UserNamespaceRepository was added

", + "

Type UserNamespaceRepositoryConnection was added

", + "

Type UserNamespaceRepositoryEdge was added

", + "

Type UserPubSubTopic was added

", + "

Input field duplicateIssueId of type ID was added to input object type CloseIssueInput

", + "

Field updatesChannel was added to object type Commit

", + "

Field relationship was added to object type DependencyGraphDependency

", + "

Field comment was added to object type Discussion

", + "

Field updatesChannel was added to object type Discussion

", + "

Argument renderMobileTasklistBlocks: Boolean (with default value) added to field Discussion.bodyHTML

", + "

Field announcementBanner was added to object type Enterprise

", + "

Field ruleset was added to object type Enterprise

", + "

Field rulesets was added to object type Enterprise

", + "

Field userNamespaceRepositories was added to object type Enterprise

", + "

Field updatesChannel was added to object type Issue

", + "

Argument renderMobileTasklistBlocks: Boolean (with default value) added to field Issue.bodyHTML

", + "

Argument enableDuplicate: Boolean (with default value) added to field Issue.stateReason

", + "

Member ParentIssueAddedEvent was added to Union type IssueTimelineItems

", + "

Member ParentIssueRemovedEvent was added to Union type IssueTimelineItems

", + "

Member SubIssueAddedEvent was added to Union type IssueTimelineItems

", + "

Member SubIssueRemovedEvent was added to Union type IssueTimelineItems

", + "

Enum value 'PARENT_ISSUE_ADDED_EVENTwas added to enumIssueTimelineItemsItemType'

", + "

Enum value 'PARENT_ISSUE_REMOVED_EVENTwas added to enumIssueTimelineItemsItemType'

", + "

Enum value 'SUB_ISSUE_ADDED_EVENTwas added to enumIssueTimelineItemsItemType'

", + "

Enum value 'SUB_ISSUE_REMOVED_EVENTwas added to enumIssueTimelineItemsItemType'

", + "

Field accessUserNamespaceRepository was added to object type Mutation

", + "

Field createSavedNotificationThread was added to object type Mutation

", + "

Field deleteSavedNotificationThread was added to object type Mutation

", + "

Field markAllNotifications was added to object type Mutation

", + "

Field markNotificationAsRead was added to object type Mutation

", + "

Field markNotificationAsUndone was added to object type Mutation

", + "

Field markNotificationAsUnread was added to object type Mutation

", + "

Field markNotificationSubjectAsRead was added to object type Mutation

", + "

Field markNotificationsAsDone was added to object type Mutation

", + "

Field markNotificationsAsRead was added to object type Mutation

", + "

Field markNotificationsAsUndone was added to object type Mutation

", + "

Field markNotificationsAsUnread was added to object type Mutation

", + "

Field announcementBanner was added to object type Organization

", + "

Field updatesChannel was added to object type 'ProjectV2'

", + "

Field updatesChannel was added to object type PullRequest

", + "

Argument renderMobileTasklistBlocks: Boolean (with default value) added to field PullRequest.bodyHTML

", + "

Field allowedMergeMethods was added to object type PullRequestParameters

", + "

Input field allowedMergeMethods of type '[String!]was added to input object typePullRequestParametersInput'

", + "

Member ParentIssueAddedEvent was added to Union type PullRequestTimelineItems

", + "

Member ParentIssueRemovedEvent was added to Union type PullRequestTimelineItems

", + "

Member SubIssueAddedEvent was added to Union type PullRequestTimelineItems

", + "

Member SubIssueRemovedEvent was added to Union type PullRequestTimelineItems

", + "

Enum value 'PARENT_ISSUE_ADDED_EVENTwas added to enumPullRequestTimelineItemsItemType'

", + "

Enum value 'PARENT_ISSUE_REMOVED_EVENTwas added to enumPullRequestTimelineItemsItemType'

", + "

Enum value 'SUB_ISSUE_ADDED_EVENTwas added to enumPullRequestTimelineItemsItemType'

", + "

Enum value 'SUB_ISSUE_REMOVED_EVENTwas added to enumPullRequestTimelineItemsItemType'

", + "

Field mobileUpdatesUrl was added to object type Query

", + "

Field viewerUpdatesChannel was added to object type Query

", + "

Field updatesChannel was added to object type Ref

", + "

Enum value REPOSITORY was added to enum RepositoryRulesetTarget

", + "

Field cvssSeverities was added to object type SecurityAdvisory

", + "

Field copilotLimitedUser was added to object type User

", + "

Field notificationThreads was added to object type User

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [ + { + "title": "The following changes will be made to the schema:", + "changes": [ + "

On member AnnouncementBannerI.announcement:announcement will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member AnnouncementBannerI.announcementCreatedAt:announcementCreatedAt will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member AnnouncementBannerI.announcementExpiresAt:announcementExpiresAt will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member AnnouncementBannerI.announcementUserDismissible:announcementUserDismissible will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member Enterprise.announcement:announcement will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member Enterprise.announcementCreatedAt:announcementCreatedAt will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member Enterprise.announcementExpiresAt:announcementExpiresAt will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member Enterprise.announcementUserDismissible:announcementUserDismissible will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member Organization.announcement:announcement will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member Organization.announcementCreatedAt:announcementCreatedAt will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member Organization.announcementExpiresAt:announcementExpiresAt will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

", + "

On member Organization.announcementUserDismissible:announcementUserDismissible will be removed. Use the announcementBanner object instead. Effective 2025-04-01.

" + ] + } + ], + "date": "2025-01-10" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml index b3124eef7031..7849695f58f3 100644 --- a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml @@ -666,6 +666,86 @@ upcoming_changes: date: '2025-01-01T00:00:00+00:00' criticality: breaking owner: chriskirkland + - location: AnnouncementBannerI.announcement + description: + '`announcement` will be removed. Use the `announcementBanner` object + instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: AnnouncementBannerI.announcementCreatedAt + description: + '`announcementCreatedAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: AnnouncementBannerI.announcementExpiresAt + description: + '`announcementExpiresAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: AnnouncementBannerI.announcementUserDismissible + description: + '`announcementUserDismissible` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Enterprise.announcement + description: + '`announcement` will be removed. Use the `announcementBanner` object + instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Enterprise.announcementCreatedAt + description: + '`announcementCreatedAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Enterprise.announcementExpiresAt + description: + '`announcementExpiresAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Enterprise.announcementUserDismissible + description: + '`announcementUserDismissible` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil - location: Enterprise.members.hasTwoFactorEnabled description: '`hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` @@ -690,6 +770,46 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: authentication + - location: Organization.announcement + description: + '`announcement` will be removed. Use the `announcementBanner` object + instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Organization.announcementCreatedAt + description: + '`announcementCreatedAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Organization.announcementExpiresAt + description: + '`announcementExpiresAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Organization.announcementUserDismissible + description: + '`announcementUserDismissible` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil - location: ProjectV2.databaseId description: '`databaseId` will be removed. Use `fullDatabaseId` instead.' reason: diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index e731bdd599ce..67382fce723d 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -200,6 +200,46 @@ type AcceptTopicSuggestionPayload { topic: Topic @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") } +""" +Autogenerated input type of AccessUserNamespaceRepository +""" +input AccessUserNamespaceRepositoryInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise owning the user namespace repository. + """ + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) + + """ + The ID of the user namespace repository to access. + """ + repositoryId: ID! +} + +""" +Autogenerated return type of AccessUserNamespaceRepository. +""" +type AccessUserNamespaceRepositoryPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The time that repository access expires at + """ + expiresAt: DateTime + + """ + The repository that is temporarily accessible. + """ + repository: Repository +} + """ Represents an object which can take actions on GitHub. Typically a User or Bot. """ @@ -1258,6 +1298,31 @@ type AddedToProjectEvent implements Node { projectColumnName: String! } +""" +An announcement banner for an enterprise or organization. +""" +type AnnouncementBanner { + """ + The date the announcement was created + """ + createdAt: DateTime! + + """ + The expiration date of the announcement, if any + """ + expiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + isUserDismissible: Boolean! + + """ + The text of the announcement + """ + message: String +} + """ Represents an announcement banner. """ @@ -1266,21 +1331,33 @@ interface AnnouncementBannerI { The text of the announcement """ announcement: String + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ The date the announcement was created """ announcementCreatedAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ The expiration date of the announcement, if any """ announcementExpiresAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ Whether the announcement can be dismissed by the user """ announcementUserDismissible: Boolean + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) } """ @@ -4315,6 +4392,11 @@ input CloseIssueInput { """ clientMutationId: String + """ + ID of the issue that this is a duplicate of. + """ + duplicateIssueId: ID @possibleTypes(concreteTypes: ["Issue"]) + """ ID of the issue to be closed. """ @@ -5193,6 +5275,12 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl """ treeUrl: URI! + """ + Channel value for subscribing to live updates. + """ + updatesChannel: String + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ The HTTP URL for this commit """ @@ -6891,6 +6979,51 @@ type CopilotEndpoints { telemetry: String! } +""" +The type of the activity that was performed. +""" +enum CopilotLimitedFeature @requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"]) { + """ + Copilot Chat. + """ + CHAT + + """ + Copilot IDE completions. + """ + COMPLETIONS +} + +""" +Information about a limited Copilot Free user, such as quotas or feature availability. +""" +type CopilotLimitedUser @requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"]) { + """ + Whether or not the user has remaining usage for the given feature. + """ + hasUsageRemaining( + """ + The feature whose quotas are to be checked against. + """ + feature: CopilotLimitedFeature! + ): Boolean + + """ + The percentage of the quota remaining for the given feature. + """ + quotaPercentageRemaining( + """ + The feature whose quotas are to be checked against. + """ + feature: CopilotLimitedFeature! + ): Float + + """ + The date when the quota for the Copilot Free user will reset. + """ + resetDate: Date +} + """ Autogenerated input type of CopyProjectV2 """ @@ -8285,6 +8418,43 @@ type CreateRepositoryRulesetPayload { ruleset: RepositoryRuleset } +""" +Autogenerated input type of CreateSavedNotificationThread +""" +input CreateSavedNotificationThreadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The notification thread's id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of CreateSavedNotificationThread. +""" +type CreateSavedNotificationThreadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the saved notification belongs to. + """ + viewer: User +} + """ Autogenerated input type of CreateSponsorsListing """ @@ -9211,6 +9381,21 @@ type CrossReferencedEvent implements Node & UniformResourceLocatable { willCloseTarget: Boolean! } +""" +The Common Vulnerability Scoring System +""" +type CvssSeverities { + """ + The CVSS v3 severity associated with this advisory + """ + cvssV3: CVSS + + """ + The CVSS v4 severity associated with this advisory + """ + cvssV4: CVSS +} + """ An ISO-8601 encoded date string. """ @@ -9997,6 +10182,43 @@ type DeleteRepositoryRulesetPayload { clientMutationId: String } +""" +Autogenerated input type of DeleteSavedNotificationThread +""" +input DeleteSavedNotificationThreadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The saved notification thread's id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of DeleteSavedNotificationThread. +""" +type DeleteSavedNotificationThreadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that deleted the saved notification. + """ + viewer: User +} + """ Autogenerated input type of DeleteTeamDiscussionComment """ @@ -10204,6 +10426,11 @@ type DependencyGraphDependency { """ packageName: String! + """ + Public preview: The relationship of the dependency. Can be direct, transitive, or unknown + """ + relationship: String! + """ The repository containing the package """ @@ -11462,7 +11689,13 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable """ The body rendered to HTML. """ - bodyHTML: HTML! + bodyHTML( + """ + Whether or not to render tasklist blocks using Mobile-specific HTML + """ + renderMobileTasklistBlocks: Boolean = false + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "mobile_body_markup"]) + ): HTML! """ The body rendered to text. @@ -11484,6 +11717,17 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable """ closedAt: DateTime + """ + Get a comment from a url + """ + comment( + """ + The url to decode. + """ + url: String + ): DiscussionComment + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_graphql_discussion_comment_url"]) + """ The replies to the discussion. """ @@ -11664,6 +11908,16 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable """ updatedAt: DateTime! + """ + Channel value for subscribing to live updates. + """ + updatesChannel( + """ + The name of the channel to use. + """ + name: DiscussionPubSubTopic = UPDATED + ): String @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ Number of upvotes that this subject has received. """ @@ -12407,6 +12661,22 @@ enum DiscussionPollOptionOrderField { VOTE_COUNT } +""" +The possible PubSub channels for an discussion. +""" +enum DiscussionPubSubTopic + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) { + """ + The channel ID for updating items on the discussion timeline. + """ + TIMELINE + + """ + The channel ID for observing discussion updates. + """ + UPDATED +} + """ The possible states of a discussion. """ @@ -12850,21 +13120,38 @@ type Enterprise implements AnnouncementBannerI & Node { The text of the announcement """ announcement: String + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) + + """ + The announcement banner set on this enterprise, if any. Only visible to members of the enterprise. + """ + announcementBanner: AnnouncementBanner """ The date the announcement was created """ announcementCreatedAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ The expiration date of the announcement, if any """ announcementExpiresAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ Whether the announcement can be dismissed by the user """ announcementUserDismissible: Boolean + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ A URL pointing to the enterprise's public avatar. @@ -13048,6 +13335,41 @@ type Enterprise implements AnnouncementBannerI & Node { """ resourcePath: URI! + """ + Returns a single ruleset from the current enterprise by ID. + """ + ruleset( + """ + The ID of the ruleset to be returned. + """ + databaseId: Int! + ): RepositoryRuleset + + """ + A list of rulesets for this enterprise. + """ + rulesets( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): RepositoryRulesetConnection + """ The URL-friendly identifier for the enterprise. """ @@ -13058,6 +13380,41 @@ type Enterprise implements AnnouncementBannerI & Node { """ url: URI! + """ + A list of repositories that belong to users. Only available for enterprises with Enterprise Managed Users. + """ + userNamespaceRepositories( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for repositories returned from the connection. + """ + orderBy: RepositoryOrder = {field: NAME, direction: ASC} + + """ + The search string to look for. + """ + query: String + ): UserNamespaceRepositoryConnection! + """ Is the current viewer an admin of this enterprise? """ @@ -18170,7 +18527,13 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ The body rendered to HTML. """ - bodyHTML: HTML! + bodyHTML( + """ + Whether or not to render tasklist blocks using Mobile-specific HTML + """ + renderMobileTasklistBlocks: Boolean = false + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "mobile_body_markup"]) + ): HTML! """ The http path for this issue body @@ -18600,7 +18963,12 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ Identifies the reason for the issue state. """ - stateReason: IssueStateReason + stateReason( + """ + Whether or not to return state reason for duplicates + """ + enableDuplicate: Boolean = false + ): IssueStateReason """ A list of sub-issues associated with the Issue. @@ -18779,270 +19147,280 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & updatedAt: DateTime! """ - The HTTP URL for this issue + Channel value for subscribing to live updates. """ - url: URI! - - """ - A list of edits to this content. - """ - userContentEdits( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - + updatesChannel( """ - Returns the elements in the list that come before the specified cursor. + The name of the channel to use. """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserContentEditConnection - - """ - Indicates if the object can be closed by the viewer. - """ - viewerCanClose: Boolean! - - """ - Check if the current viewer can delete this object. - """ - viewerCanDelete: Boolean! - - """ - Indicates if the viewer can edit labels for this object. - """ - viewerCanLabel: Boolean! - - """ - Can user react to this subject - """ - viewerCanReact: Boolean! - - """ - Indicates if the object can be reopened by the viewer. - """ - viewerCanReopen: Boolean! - - """ - Check if the viewer is able to change their subscription status for the repository. - """ - viewerCanSubscribe: Boolean! - - """ - Check if the current viewer can update this object. - """ - viewerCanUpdate: Boolean! + name: IssuePubSubTopic = UPDATED + ): String @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) """ - Reasons why the current viewer can not update this comment. - """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - - """ - Did the viewer author this comment. - """ - viewerDidAuthor: Boolean! - - """ - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. - """ - viewerSubscription: SubscriptionState - - """ - Identifies the viewer's thread subscription form action. - """ - viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction - - """ - Identifies the viewer's thread subscription status. - """ - viewerThreadSubscriptionStatus: ThreadSubscriptionState -} - -""" -The possible state reasons of a closed issue. -""" -enum IssueClosedStateReason { - """ - An issue that has been closed as completed - """ - COMPLETED - - """ - An issue that has been closed as a duplicate - """ - DUPLICATE - - """ - An issue that has been closed as not planned - """ - NOT_PLANNED -} - -""" -Represents a comment on an Issue. -""" -type IssueComment implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { - """ - The actor who authored the comment. - """ - author: Actor - - """ - Author's association with the subject of the comment. - """ - authorAssociation: CommentAuthorAssociation! - - """ - The body as Markdown. - """ - body: String! - - """ - The body rendered to HTML. - """ - bodyHTML: HTML! - - """ - The body rendered to text. - """ - bodyText: String! - - """ - Identifies the date and time when the object was created. - """ - createdAt: DateTime! - - """ - Check if this comment was created via an email reply. - """ - createdViaEmail: Boolean! - - """ - Identifies the primary key from the database. - """ - databaseId: Int - - """ - The actor who edited the comment. - """ - editor: Actor - - """ - Identifies the primary key from the database as a BigInt. - """ - fullDatabaseId: BigInt - - """ - The Node ID of the IssueComment object - """ - id: ID! - - """ - Check if this comment was edited and includes an edit with the creation data - """ - includesCreatedEdit: Boolean! - - """ - Returns whether or not a comment has been minimized. - """ - isMinimized: Boolean! - - """ - Identifies the issue associated with the comment. - """ - issue: Issue! - - """ - The moment the editor made the last edit - """ - lastEditedAt: DateTime - - """ - Returns why the comment was minimized. One of `abuse`, `off-topic`, - `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and - formatting of these values differs from the inputs to the `MinimizeComment` mutation. - """ - minimizedReason: String - - """ - Identifies when the comment was published at. - """ - publishedAt: DateTime - - """ - Returns the pull request associated with the comment, if this comment was made on a - pull request. - """ - pullRequest: PullRequest - - """ - A list of reactions grouped by content left on the subject. - """ - reactionGroups: [ReactionGroup!] - - """ - A list of Reactions left on the Issue. - """ - reactions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! - - """ - The repository associated with this node. - """ - repository: Repository! - - """ - The HTTP path for this issue comment - """ - resourcePath: URI! - - """ - Identifies the date and time when the object was last updated. - """ - updatedAt: DateTime! - - """ - The HTTP URL for this issue comment + The HTTP URL for this issue + """ + url: URI! + + """ + A list of edits to this content. + """ + userContentEdits( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): UserContentEditConnection + + """ + Indicates if the object can be closed by the viewer. + """ + viewerCanClose: Boolean! + + """ + Check if the current viewer can delete this object. + """ + viewerCanDelete: Boolean! + + """ + Indicates if the viewer can edit labels for this object. + """ + viewerCanLabel: Boolean! + + """ + Can user react to this subject + """ + viewerCanReact: Boolean! + + """ + Indicates if the object can be reopened by the viewer. + """ + viewerCanReopen: Boolean! + + """ + Check if the viewer is able to change their subscription status for the repository. + """ + viewerCanSubscribe: Boolean! + + """ + Check if the current viewer can update this object. + """ + viewerCanUpdate: Boolean! + + """ + Reasons why the current viewer can not update this comment. + """ + viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + + """ + Did the viewer author this comment. + """ + viewerDidAuthor: Boolean! + + """ + Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + """ + viewerSubscription: SubscriptionState + + """ + Identifies the viewer's thread subscription form action. + """ + viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction + + """ + Identifies the viewer's thread subscription status. + """ + viewerThreadSubscriptionStatus: ThreadSubscriptionState +} + +""" +The possible state reasons of a closed issue. +""" +enum IssueClosedStateReason { + """ + An issue that has been closed as completed + """ + COMPLETED + + """ + An issue that has been closed as a duplicate + """ + DUPLICATE + + """ + An issue that has been closed as not planned + """ + NOT_PLANNED +} + +""" +Represents a comment on an Issue. +""" +type IssueComment implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { + """ + The actor who authored the comment. + """ + author: Actor + + """ + Author's association with the subject of the comment. + """ + authorAssociation: CommentAuthorAssociation! + + """ + The body as Markdown. + """ + body: String! + + """ + The body rendered to HTML. + """ + bodyHTML: HTML! + + """ + The body rendered to text. + """ + bodyText: String! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Check if this comment was created via an email reply. + """ + createdViaEmail: Boolean! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The actor who edited the comment. + """ + editor: Actor + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the IssueComment object + """ + id: ID! + + """ + Check if this comment was edited and includes an edit with the creation data + """ + includesCreatedEdit: Boolean! + + """ + Returns whether or not a comment has been minimized. + """ + isMinimized: Boolean! + + """ + Identifies the issue associated with the comment. + """ + issue: Issue! + + """ + The moment the editor made the last edit + """ + lastEditedAt: DateTime + + """ + Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. + """ + minimizedReason: String + + """ + Identifies when the comment was published at. + """ + publishedAt: DateTime + + """ + Returns the pull request associated with the comment, if this comment was made on a + pull request. + """ + pullRequest: PullRequest + + """ + A list of reactions grouped by content left on the subject. + """ + reactionGroups: [ReactionGroup!] + + """ + A list of Reactions left on the Issue. + """ + reactions( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Allows filtering Reactions by emoji. + """ + content: ReactionContent + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Allows specifying the order in which reactions are returned. + """ + orderBy: ReactionOrder + ): ReactionConnection! + + """ + The repository associated with this node. + """ + repository: Repository! + + """ + The HTTP path for this issue comment + """ + resourcePath: URI! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The HTTP URL for this issue comment """ url: URI! @@ -19342,6 +19720,32 @@ enum IssueOrderField { UPDATED_AT } +""" +The possible PubSub channels for an issue. +""" +enum IssuePubSubTopic + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) { + """ + The channel ID for observing issue close references. + """ + CLOSE_REFERENCES + + """ + The channel ID for observing issue state updates. + """ + STATE + + """ + The channel ID for updating items on the issue timeline. + """ + TIMELINE + + """ + The channel ID for observing issue updates. + """ + UPDATED +} + """ The possible states of an issue. """ @@ -19367,7 +19771,8 @@ enum IssueStateReason { COMPLETED """ - An issue that has been closed as a duplicate + An issue that has been closed as a duplicate. To retrieve this value, set + `(enableDuplicate: true)` when querying the stateReason field. """ DUPLICATE @@ -19552,11 +19957,15 @@ union IssueTimelineItems = | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent + | ParentIssueAddedEvent + | ParentIssueRemovedEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent + | SubIssueAddedEvent + | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent @@ -19711,6 +20120,16 @@ enum IssueTimelineItemsItemType { """ MOVED_COLUMNS_IN_PROJECT_EVENT + """ + Represents a 'parent_issue_added' event on a given issue. + """ + PARENT_ISSUE_ADDED_EVENT + + """ + Represents a 'parent_issue_removed' event on a given issue. + """ + PARENT_ISSUE_REMOVED_EVENT + """ Represents a 'pinned' event on a given issue or pull request. """ @@ -19741,6 +20160,16 @@ enum IssueTimelineItemsItemType { """ SUBSCRIBED_EVENT + """ + Represents a 'sub_issue_added' event on a given issue. + """ + SUB_ISSUE_ADDED_EVENT + + """ + Represents a 'sub_issue_removed' event on a given issue. + """ + SUB_ISSUE_REMOVED_EVENT + """ Represents a 'transferred' event on a given issue or pull request. """ @@ -20697,6 +21126,43 @@ enum MannequinOrderField { LOGIN } +""" +Autogenerated input type of MarkAllNotifications +""" +input MarkAllNotificationsInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Filter used to mark all specific notifications. + """ + query: String! + + """ + The new state for the notification. + """ + state: NotificationStatus! +} + +""" +Autogenerated return type of MarkAllNotifications. +""" +type MarkAllNotificationsPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + """ Autogenerated input type of MarkDiscussionCommentAsAnswer """ @@ -20766,7 +21232,7 @@ type MarkFileAsViewedPayload { Autogenerated input type of MarkNotificationAsDone """ input MarkNotificationAsDoneInput - @requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) { + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { """ A unique identifier for the client performing the mutation. """ @@ -20775,14 +21241,14 @@ input MarkNotificationAsDoneInput """ The NotificationThread id. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) } """ Autogenerated return type of MarkNotificationAsDone. """ type MarkNotificationAsDonePayload - @requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) { + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { """ A unique identifier for the client performing the mutation. """ @@ -20799,6 +21265,302 @@ type MarkNotificationAsDonePayload viewer: User } +""" +Autogenerated input type of MarkNotificationAsRead +""" +input MarkNotificationAsReadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationAsRead. +""" +type MarkNotificationAsReadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the notification belongs to. + """ + viewer: User +} + +""" +Autogenerated input type of MarkNotificationAsUndone +""" +input MarkNotificationAsUndoneInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationAsUndone. +""" +type MarkNotificationAsUndonePayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the notification belongs to. + """ + viewer: User +} + +""" +Autogenerated input type of MarkNotificationAsUnread +""" +input MarkNotificationAsUnreadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationAsUnread. +""" +type MarkNotificationAsUnreadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the notification belongs to. + """ + viewer: User +} + +""" +Autogenerated input type of MarkNotificationSubjectAsRead +""" +input MarkNotificationSubjectAsReadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the notification subject to mark as read. + """ + subjectId: ID! + @possibleTypes( + concreteTypes: [ + "CheckSuite" + "Commit" + "Discussion" + "Gist" + "Issue" + "MemberFeatureRequestNotification" + "ProjectV2" + "PullRequest" + "Release" + "RepositoryDependabotAlertsThread" + "RepositoryInvitation" + "RepositoryVulnerabilityAlert" + "SecurityAdvisory" + "TeamDiscussion" + "WorkflowRun" + ] + abstractType: "NotificationsSubject" + ) +} + +""" +Autogenerated return type of MarkNotificationSubjectAsRead. +""" +type MarkNotificationSubjectAsReadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the saved notification belongs to. + """ + viewer: User +} + +""" +Autogenerated input type of MarkNotificationsAsDone +""" +input MarkNotificationsAsDoneInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread IDs that will be marked as done. + """ + ids: [ID!]! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationsAsDone. +""" +type MarkNotificationsAsDonePayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + +""" +Autogenerated input type of MarkNotificationsAsRead +""" +input MarkNotificationsAsReadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread IDs that will be marked as read. + """ + ids: [ID!]! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationsAsRead. +""" +type MarkNotificationsAsReadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + +""" +Autogenerated input type of MarkNotificationsAsUndone +""" +input MarkNotificationsAsUndoneInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread IDs to be marked as undone. + """ + ids: [ID!]! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationsAsUndone. +""" +type MarkNotificationsAsUndonePayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + +""" +Autogenerated input type of MarkNotificationsAsUnread +""" +input MarkNotificationsAsUnreadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread IDs that will be marked as unread. + """ + ids: [ID!]! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationsAsUnread. +""" +type MarkNotificationsAsUnreadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + """ Autogenerated input type of MarkProjectV2AsTemplate """ @@ -23085,6 +23847,16 @@ type Mutation { input: AcceptTopicSuggestionInput! ): AcceptTopicSuggestionPayload + """ + Access user namespace repository for a temporary duration. + """ + accessUserNamespaceRepository( + """ + Parameters for AccessUserNamespaceRepository + """ + input: AccessUserNamespaceRepositoryInput! + ): AccessUserNamespaceRepositoryPayload + """ Adds assignees to an assignable object. """ @@ -23753,6 +24525,16 @@ type Mutation { input: CreateRepositoryRulesetInput! ): CreateRepositoryRulesetPayload + """ + Adds a saved notification thread. + """ + createSavedNotificationThread( + """ + Parameters for CreateSavedNotificationThread + """ + input: CreateSavedNotificationThreadInput! + ): CreateSavedNotificationThreadPayload + """ Create a GitHub Sponsors profile to allow others to sponsor you or your organization. """ @@ -24064,6 +24846,16 @@ type Mutation { input: DeleteRepositoryRulesetInput! ): DeleteRepositoryRulesetPayload + """ + Deletes a saved notification thread. + """ + deleteSavedNotificationThread( + """ + Parameters for DeleteSavedNotificationThread + """ + input: DeleteSavedNotificationThreadInput! + ): DeleteSavedNotificationThreadPayload + """ Deletes a team discussion. """ @@ -24274,6 +25066,16 @@ type Mutation { input: LockLockableInput! ): LockLockablePayload + """ + Mark all notifications as the state is passed + """ + markAllNotifications( + """ + Parameters for MarkAllNotifications + """ + input: MarkAllNotificationsInput! + ): MarkAllNotificationsPayload + """ Mark a discussion comment as the chosen answer for discussions in an answerable category. """ @@ -24304,6 +25106,86 @@ type Mutation { input: MarkNotificationAsDoneInput! ): MarkNotificationAsDonePayload + """ + Marks a notification as read + """ + markNotificationAsRead( + """ + Parameters for MarkNotificationAsRead + """ + input: MarkNotificationAsReadInput! + ): MarkNotificationAsReadPayload + + """ + Marks a notification as undone + """ + markNotificationAsUndone( + """ + Parameters for MarkNotificationAsUndone + """ + input: MarkNotificationAsUndoneInput! + ): MarkNotificationAsUndonePayload + + """ + Marks a notification as unread + """ + markNotificationAsUnread( + """ + Parameters for MarkNotificationAsUnread + """ + input: MarkNotificationAsUnreadInput! + ): MarkNotificationAsUnreadPayload + + """ + Marks a notification as read + """ + markNotificationSubjectAsRead( + """ + Parameters for MarkNotificationSubjectAsRead + """ + input: MarkNotificationSubjectAsReadInput! + ): MarkNotificationSubjectAsReadPayload + + """ + Marks a notification as done + """ + markNotificationsAsDone( + """ + Parameters for MarkNotificationsAsDone + """ + input: MarkNotificationsAsDoneInput! + ): MarkNotificationsAsDonePayload + + """ + Marks multiple notifications as read + """ + markNotificationsAsRead( + """ + Parameters for MarkNotificationsAsRead + """ + input: MarkNotificationsAsReadInput! + ): MarkNotificationsAsReadPayload + + """ + Marks a notification as undone + """ + markNotificationsAsUndone( + """ + Parameters for MarkNotificationsAsUndone + """ + input: MarkNotificationsAsUndoneInput! + ): MarkNotificationsAsUndonePayload + + """ + Marks notifications as unread + """ + markNotificationsAsUnread( + """ + Parameters for MarkNotificationsAsUnread + """ + input: MarkNotificationsAsUnreadInput! + ): MarkNotificationsAsUnreadPayload + """ Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template. """ @@ -25597,6 +26479,97 @@ interface Node { id: ID! } +""" +The reason you received a notification about a subject. +""" +enum NotificationReason + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + You were requested for review for deployment. + """ + APPROVAL_REQUESTED + + """ + You were assigned to the Issue/PR. + """ + ASSIGN + + """ + You created the thread. + """ + AUTHOR + + """ + You are subscribed to continuous integration activity. + """ + CI_ACTIVITY + + """ + You commented on the thread. + """ + COMMENT + + """ + You accepted an invitation to contribute to the repository. + """ + INVITATION + + """ + You subscribed to the thread (via an Issue or Pull Request). + """ + MANUAL + + """ + New requests from members. + """ + MEMBER_FEATURE_REQUESTED + + """ + You were specifically @mentioned in the content. + """ + MENTION + + """ + A pull request you're subscribed to was marked ready for review. + """ + READY_FOR_REVIEW + + """ + You were requested for review. + """ + REVIEW_REQUESTED + + """ + You saved this notification + """ + SAVED + + """ + You were given credit for contributing to a Security Advisory. + """ + SECURITY_ADVISORY_CREDIT + + """ + You have access to the notification subject's Dependabot alerts. + """ + SECURITY_ALERT + + """ + You changed the thread state (for example, closing an Issue or merging a Pull Request). + """ + STATE_CHANGE + + """ + You are watching the subject of the notification. + """ + SUBSCRIBED + + """ + You were on a team that was mentioned. + """ + TEAM_MENTION +} + """ The possible values for the notification restriction setting. """ @@ -25612,6 +26585,304 @@ enum NotificationRestrictionSettingValue { ENABLED } +""" +The possible states of a notification. +""" +enum NotificationStatus + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A notification is archived + """ + ARCHIVED + + """ + A notification is done + """ + DONE + + """ + A notification is read + """ + READ + + """ + A notification is unread + """ + UNREAD +} + +""" +Represents a notification thread for the viewer. +""" +type NotificationThread implements Node + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + The Node ID of the NotificationThread object + """ + id: ID! + + """ + Archived state of the notification. + """ + isArchived: Boolean! + + """ + Done state of the notification. + """ + isDone: Boolean! + + """ + Whether a notification has been saved + """ + isSaved: Boolean! + + """ + Whether a notification has been starred + """ + isStarred: Boolean! + + """ + Unread state of the notification. + """ + isUnread: Boolean! + + """ + The last time that notifications were read for this thread. + """ + lastReadAt: DateTime + + """ + The last time that notifications were updated for this thread. + """ + lastSummarizedAt: DateTime! + + """ + The last time that a notification was received on this thread for the current user + """ + lastUpdatedAt: DateTime! + + """ + The notification's list. + """ + list: NotificationsList! + + """ + The notification's list id + """ + listId: String! + + """ + The notification's list type + """ + listType: String! + + """ + The oldest unread author internal anchor + """ + oldestUnreadItemAnchor: String + + """ + The reason a notification was received. + """ + reason: NotificationReason + + """ + The last 3 recent participants. + """ + recentParticipants: [User!]! + + """ + The notification's subject. + """ + subject: NotificationsSubject! + + """ + Subscription status for the thread + """ + subscriptionStatus: NotificationThreadSubscriptionState! + + """ + The notification's rollup summary id + """ + summaryId: String! + + """ + The author of the item being used to summarize the thread. + """ + summaryItemAuthor: User + + """ + The body text of the item being used to summarize the thread. + """ + summaryItemBody: String + + """ + The notification's thread id + """ + threadId: String! + + """ + The notification's thread type + """ + threadType: String! + + """ + The notification's title + """ + title: String! + + """ + The number of unread items. + """ + unreadItemsCount: Int! + + """ + The HTTP URL for the notification thread's subject + """ + url: URI! +} + +""" +A list of notification threads. +""" +type NotificationThreadConnection + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A list of edges. + """ + edges: [NotificationThreadEdge] + + """ + A list of nodes. + """ + nodes: [NotificationThread] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type NotificationThreadEdge + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: NotificationThread +} + +""" +Ways in which to filter lists of notification threads. +""" +input NotificationThreadFilters + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + Only return notification threads where the list is in the given list + """ + listIds: [ID!] + + """ + Only return notification threads where the reason is in the list + """ + reasons: [NotificationReason!] + + """ + Only return saved notifications. All other filters will be ignored. + """ + savedOnly: Boolean = false + + """ + Only return starred notifications. All other filters will be ignored. + """ + starredOnly: Boolean = false + + """ + Only return notifications where the status is in the list. + """ + statuses: [NotificationStatus!] + + """ + Only return matching thread types + """ + threadTypes: [String!] +} + +""" +The possible subscription states of a notification thread. +""" +enum NotificationThreadSubscriptionState + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + The thread's list is ignored. + """ + LIST_IGNORED + + """ + The thread's list is subscribed to. + """ + LIST_SUBSCRIBED + + """ + The thread is subscribed to. + """ + THREAD_SUBSCRIBED + + """ + The thread's type is subscribed to. + """ + THREAD_TYPE_SUBSCRIBED + + """ + The thread is not subscribed to. + """ + UNSUBSCRIBED +} + +""" +The parent object that the notification thread's subject belongs to. +""" +union NotificationsList + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) = + Enterprise + | Organization + | Repository + | Team + | User + +""" +The notification's subject. +""" +union NotificationsSubject + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) = + CheckSuite + | Commit + | Discussion + | Gist + | Issue + | MemberFeatureRequestNotification + | ProjectV2 + | PullRequest + | Release + | RepositoryDependabotAlertsThread + | RepositoryInvitation + | RepositoryVulnerabilityAlert + | SecurityAdvisory + | TeamDiscussion + | WorkflowRun + """ An OIDC identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens @@ -29239,21 +30510,38 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No The text of the announcement """ announcement: String + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) + + """ + The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise. + """ + announcementBanner: AnnouncementBanner """ The date the announcement was created """ announcementCreatedAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ The expiration date of the announcement, if any """ announcementExpiresAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ Whether the announcement can be dismissed by the user """ announcementUserDismissible: Boolean + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ Determine if this repository owner has any items that can be pinned to their profile. @@ -32045,6 +33333,56 @@ type PageInfo { startCursor: String } +""" +Represents a 'parent_issue_added' event on a given issue. +""" +type ParentIssueAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the ParentIssueAddedEvent object + """ + id: ID! + + """ + The parent issue added. + """ + parent: Issue +} + +""" +Represents a 'parent_issue_removed' event on a given issue. +""" +type ParentIssueRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the ParentIssueRemovedEvent object + """ + id: ID! + + """ + The parent issue removed. + """ + parent: Issue +} + """ The possible types of patch statuses. """ @@ -34014,6 +35352,12 @@ type ProjectV2 implements Closable & Node & Updatable { """ updatedAt: DateTime! + """ + Channel value for subscribing to live updates. + """ + updatesChannel: String + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ The HTTP URL for this project """ @@ -36795,7 +38139,13 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ The body rendered to HTML. """ - bodyHTML: HTML! + bodyHTML( + """ + Whether or not to render tasklist blocks using Mobile-specific HTML + """ + renderMobileTasklistBlocks: Boolean = false + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "mobile_body_markup"]) + ): HTML! """ The body rendered to text. @@ -37609,6 +38959,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ updatedAt: DateTime! + """ + Channel value for subscribing to live updates. + """ + updatesChannel( + """ + The name of the channel to use. + """ + name: PullRequestPubSubTopic = UPDATED + ): String @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ The HTTP URL for this pull request. """ @@ -38100,6 +39460,12 @@ enum PullRequestOrderField { Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ type PullRequestParameters { + """ + When merging pull requests, you can allow any combination of merge commits, + squashing, or rebasing. At least one option must be enabled. + """ + allowedMergeMethods: [String!] + """ New, reviewable commits pushed will dismiss previous pull request review approvals. """ @@ -38130,6 +39496,12 @@ type PullRequestParameters { Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ input PullRequestParametersInput { + """ + When merging pull requests, you can allow any combination of merge commits, + squashing, or rebasing. At least one option must be enabled. + """ + allowedMergeMethods: [String!] + """ New, reviewable commits pushed will dismiss previous pull request review approvals. """ @@ -38156,6 +39528,77 @@ input PullRequestParametersInput { requiredReviewThreadResolution: Boolean! } +""" +The possible PubSub channels for a pull request. +""" +enum PullRequestPubSubTopic + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) { + """ + The channel ID for observing base ref updates. + """ + BASE_REF + + """ + The channel ID for observing head commit updates. + """ + COMMIT_HEAD_SHA + + """ + The channel ID for observing pull request deployed updates. + """ + DEPLOYED + + """ + The channel ID for observing pull request git merge state updates. + """ + GIT_MERGE_STATE + + """ + The channel ID for observing head ref updates. + """ + HEAD_REF + + """ + The channel ID for observing pull request mergeability with HEAD or base branch. + """ + MERGEABILITY + + """ + The channel ID for observing pull request merge queue entry updates. + """ + MERGE_QUEUE + + """ + The channel ID for observing pull request user presence updates. + """ + PRESENCE + + """ + The channel ID for observing pull request review state updates. + """ + REVIEW_STATE + + """ + The channel ID for observing pull request state updates. + """ + STATE + + """ + The channel ID for updating items on the pull request timeline. + """ + TIMELINE + + """ + The channel ID for observing pull request updates. + """ + UPDATED + + """ + The channel ID for observing pull request workflow run updates. + """ + WORKFLOWS +} + """ A review object for a given pull request. """ @@ -39411,6 +40854,8 @@ union PullRequestTimelineItems = | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent + | ParentIssueAddedEvent + | ParentIssueRemovedEvent | PinnedEvent | PullRequestCommit | PullRequestCommitCommentThread @@ -39426,6 +40871,8 @@ union PullRequestTimelineItems = | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent + | SubIssueAddedEvent + | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent @@ -39665,6 +41112,16 @@ enum PullRequestTimelineItemsItemType { """ MOVED_COLUMNS_IN_PROJECT_EVENT + """ + Represents a 'parent_issue_added' event on a given issue. + """ + PARENT_ISSUE_ADDED_EVENT + + """ + Represents a 'parent_issue_removed' event on a given issue. + """ + PARENT_ISSUE_REMOVED_EVENT + """ Represents a 'pinned' event on a given issue or pull request. """ @@ -39745,6 +41202,16 @@ enum PullRequestTimelineItemsItemType { """ SUBSCRIBED_EVENT + """ + Represents a 'sub_issue_added' event on a given issue. + """ + SUB_ISSUE_ADDED_EVENT + + """ + Represents a 'sub_issue_removed' event on a given issue. + """ + SUB_ISSUE_REMOVED_EVENT + """ Represents a 'transferred' event on a given issue or pull request. """ @@ -39945,12 +41412,12 @@ type Query implements Node { enterpriseSlug: String! """ - The role for the business member invitation. + The role for the enterprise member invitation. """ role: EnterpriseAdministratorRole! """ - The login of the user invited to join the business. + The login of the user invited to join the enterprise. """ userLogin: String! ): EnterpriseAdministratorInvitation @@ -39975,7 +41442,7 @@ type Query implements Node { enterpriseSlug: String! """ - The login of the user invited to join the business. + The login of the user invited to join the enterprise. """ userLogin: String! ): EnterpriseMemberInvitation @@ -40132,6 +41599,12 @@ type Query implements Node { """ meta: GitHubMetadata! + """ + A WebSocket URL for connecting to receive updates. + """ + mobileUpdatesUrl: URI + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ Fetches an object given its ID. """ @@ -40465,6 +41938,16 @@ type Query implements Node { The currently authenticated user. """ viewer: User! + + """ + Channel value for subscribing to live updates. + """ + viewerUpdatesChannel( + """ + The name of the channel to use. + """ + name: UserPubSubTopic! + ): String @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) } """ @@ -41044,6 +42527,12 @@ type Ref implements Node { The object the ref points to. Returns null when object does not exist. """ target: GitObject + + """ + Channel value for subscribing to live updates. + """ + updatesChannel: String + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) } """ @@ -42636,7 +44125,7 @@ The privacy of a repository """ enum RepoAccessAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -42776,7 +44265,7 @@ The privacy of a repository """ enum RepoAddMemberAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -43041,7 +44530,7 @@ The privacy of a repository """ enum RepoArchivedAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -44486,7 +45975,7 @@ The privacy of a repository """ enum RepoCreateAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -44626,7 +46115,7 @@ The privacy of a repository """ enum RepoDestroyAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -44766,7 +46255,7 @@ The privacy of a repository """ enum RepoRemoveMemberAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -46887,6 +48376,27 @@ enum RepositoryContributionType { REPOSITORY } +""" +A wrapper on Repository used for Dependabot Alerts notifications. +""" +type RepositoryDependabotAlertsThread implements Node & RepositoryNode + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + The Node ID of the RepositoryDependabotAlertsThread object + """ + id: ID! + + """ + The URL pointing to the repository's dependabot alerts page + """ + notificationsPermalink: URI + + """ + The repository associated with this node. + """ + repository: Repository! +} + """ Represents an author of discussions in repositories. """ @@ -48520,6 +50030,11 @@ enum RepositoryRulesetTarget { """ PUSH + """ + repository + """ + REPOSITORY + """ Tag """ @@ -48596,7 +50111,7 @@ The repository's visibility level. """ enum RepositoryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -50283,6 +51798,11 @@ type SecurityAdvisory implements Node { reason: "`cvss` will be removed. New `cvss_severities` field will now contain both `cvss_v3` and `cvss_v4` properties. Removal on 2025-10-01 UTC." ) + """ + The CVSS associated with this advisory + """ + cvssSeverities: CvssSeverities! + """ CWEs associated with this Advisory """ @@ -54692,6 +56212,56 @@ type StripeConnectAccount { stripeDashboardUrl: URI! } +""" +Represents a 'sub_issue_added' event on a given issue. +""" +type SubIssueAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the SubIssueAddedEvent object + """ + id: ID! + + """ + The sub-issue added. + """ + subIssue: Issue +} + +""" +Represents a 'sub_issue_removed' event on a given issue. +""" +type SubIssueRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the SubIssueRemovedEvent object + """ + id: ID! + + """ + The sub-issue removed. + """ + subIssue: Issue +} + """ Summary of the state of an issue's sub-issues """ @@ -61663,6 +63233,12 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ copilotEndpoints: CopilotEndpoints + """ + Properties of the current Copilot user, if limited by Copilot Free. + """ + copilotLimitedUser: CopilotLimitedUser + @requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"]) + """ Identifies the date and time when the object was created. """ @@ -62080,6 +63656,48 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ name: String + """ + A list of notification threads for the viewer. Returns an empty list for a user other than + the current viewer. + + Combining both filterBy and query arguments will result in an error. + Please favor using the query argument. + """ + notificationThreads( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Filtering options for notifications. Will soon be deprecated. + """ + filterBy: NotificationThreadFilters + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + The search string to look for. If no is:read, is:unread, or is:done + qualifiers are included in the query, results will include read and unread + notification threads by default. + """ + query: String + ): NotificationThreadConnection! + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) + """ Find an organization by its login that the user belongs to. """ @@ -63621,6 +65239,92 @@ type UserListSuggestion { name: String } +""" +A repository owned by an Enterprise Managed user. +""" +type UserNamespaceRepository implements Node { + """ + The Node ID of the UserNamespaceRepository object + """ + id: ID! + + """ + The name of the repository. + """ + name: String! + + """ + The repository's name with owner. + """ + nameWithOwner: String! + + """ + The user owner of the repository. + """ + owner: RepositoryOwner! + + """ + The repository owned by an enterprise managed user. + """ + repository: RepositoryInfo +} + +""" +A list of repositories owned by users in an enterprise with Enterprise Managed Users. +""" +type UserNamespaceRepositoryConnection { + """ + A list of edges. + """ + edges: [UserNamespaceRepositoryEdge] + + """ + A list of nodes. + """ + nodes: [UserNamespaceRepository] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type UserNamespaceRepositoryEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: UserNamespaceRepository +} + +""" +The possible PubSub channels for a user. +""" +enum UserPubSubTopic + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) { + """ + The channel ID for observing user marked as read updates. + """ + MARKED_READ + + """ + The channel ID for observing user notifications changed updates. + """ + NOTIFICATIONS_CHANGED +} + """ The user's description of what they're currently doing. """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 7fa147a833cf..37846aa85d10 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -75,7 +75,7 @@ "id": "enterpriseadministratorrole", "kind": "enums", "href": "/graphql/reference/enums#enterpriseadministratorrole", - "description": "

The role for the business member invitation.

" + "description": "

The role for the enterprise member invitation.

" }, { "name": "userLogin", @@ -83,7 +83,7 @@ "id": "string", "kind": "scalars", "href": "/graphql/reference/scalars#string", - "description": "

The login of the user invited to join the business.

" + "description": "

The login of the user invited to join the enterprise.

" } ] }, @@ -127,7 +127,7 @@ "id": "string", "kind": "scalars", "href": "/graphql/reference/scalars#string", - "description": "

The login of the user invited to join the business.

" + "description": "

The login of the user invited to join the enterprise.

" } ] }, @@ -388,6 +388,16 @@ "description": "

Return information about the GitHub instance.

", "args": [] }, + { + "name": "mobileUpdatesUrl", + "type": "URI", + "kind": "scalars", + "id": "uri", + "href": "/graphql/reference/scalars#uri", + "description": "

A WebSocket URL for connecting to receive updates.

", + "isDeprecated": false, + "args": [] + }, { "name": "node", "type": "Node", @@ -924,6 +934,25 @@ "href": "/graphql/reference/objects#user", "description": "

The currently authenticated user.

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

Channel value for subscribing to live updates.

", + "isDeprecated": false, + "args": [ + { + "name": "name", + "type": "UserPubSubTopic!", + "id": "userpubsubtopic", + "kind": "enums", + "href": "/graphql/reference/enums#userpubsubtopic", + "description": "

The name of the channel to use.

" + } + ] } ], "mutations": [ @@ -1115,6 +1144,48 @@ } ] }, + { + "name": "accessUserNamespaceRepository", + "kind": "mutations", + "id": "accessusernamespacerepository", + "href": "/graphql/reference/mutations#accessusernamespacerepository", + "description": "

Access user namespace repository for a temporary duration.

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

A unique identifier for the client performing the mutation.

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

The time that repository access expires at.

" + }, + { + "name": "repository", + "type": "Repository", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository", + "description": "

The repository that is temporarily accessible.

" + } + ] + }, { "name": "addAssigneesToAssignable", "kind": "mutations", @@ -3367,6 +3438,48 @@ } ] }, + { + "name": "createSavedNotificationThread", + "kind": "mutations", + "id": "createsavednotificationthread", + "href": "/graphql/reference/mutations#createsavednotificationthread", + "description": "

Adds a saved notification thread.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the saved notification belongs to.

" + } + ] + }, { "name": "createSponsorsListing", "kind": "mutations", @@ -4419,6 +4532,48 @@ } ] }, + { + "name": "deleteSavedNotificationThread", + "kind": "mutations", + "id": "deletesavednotificationthread", + "href": "/graphql/reference/mutations#deletesavednotificationthread", + "description": "

Deletes a saved notification thread.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that deleted the saved notification.

" + } + ] + }, { "name": "deleteTeamDiscussion", "kind": "mutations", @@ -5149,6 +5304,40 @@ } ] }, + { + "name": "markAllNotifications", + "kind": "mutations", + "id": "markallnotifications", + "href": "/graphql/reference/mutations#markallnotifications", + "description": "

Mark all notifications as the state is passed.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, { "name": "markDiscussionCommentAsAnswer", "kind": "mutations", @@ -5259,6 +5448,310 @@ } ] }, + { + "name": "markNotificationAsRead", + "kind": "mutations", + "id": "marknotificationasread", + "href": "/graphql/reference/mutations#marknotificationasread", + "description": "

Marks a notification as read.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the notification belongs to.

" + } + ] + }, + { + "name": "markNotificationAsUndone", + "kind": "mutations", + "id": "marknotificationasundone", + "href": "/graphql/reference/mutations#marknotificationasundone", + "description": "

Marks a notification as undone.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the notification belongs to.

" + } + ] + }, + { + "name": "markNotificationAsUnread", + "kind": "mutations", + "id": "marknotificationasunread", + "href": "/graphql/reference/mutations#marknotificationasunread", + "description": "

Marks a notification as unread.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the notification belongs to.

" + } + ] + }, + { + "name": "markNotificationSubjectAsRead", + "kind": "mutations", + "id": "marknotificationsubjectasread", + "href": "/graphql/reference/mutations#marknotificationsubjectasread", + "description": "

Marks a notification as read.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the saved notification belongs to.

" + } + ] + }, + { + "name": "markNotificationsAsDone", + "kind": "mutations", + "id": "marknotificationsasdone", + "href": "/graphql/reference/mutations#marknotificationsasdone", + "description": "

Marks a notification as done.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, + { + "name": "markNotificationsAsRead", + "kind": "mutations", + "id": "marknotificationsasread", + "href": "/graphql/reference/mutations#marknotificationsasread", + "description": "

Marks multiple notifications as read.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, + { + "name": "markNotificationsAsUndone", + "kind": "mutations", + "id": "marknotificationsasundone", + "href": "/graphql/reference/mutations#marknotificationsasundone", + "description": "

Marks a notification as undone.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, + { + "name": "markNotificationsAsUnread", + "kind": "mutations", + "id": "marknotificationsasunread", + "href": "/graphql/reference/mutations#marknotificationsasunread", + "description": "

Marks notifications as unread.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, { "name": "markProjectV2AsTemplate", "kind": "mutations", @@ -10066,6 +10559,47 @@ } ] }, + { + "name": "AnnouncementBanner", + "kind": "objects", + "id": "announcementbanner", + "href": "/graphql/reference/objects#announcementbanner", + "description": "

An announcement banner for an enterprise or organization.

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

The date the announcement was created.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

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

The text of the announcement.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "App", "kind": "objects", @@ -14456,6 +14990,15 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

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

The HTTP URL for this commit.

", @@ -16828,6 +17371,64 @@ } ] }, + { + "name": "CopilotLimitedUser", + "kind": "objects", + "id": "copilotlimiteduser", + "href": "/graphql/reference/objects#copilotlimiteduser", + "description": "

Information about a limited Copilot Free user, such as quotas or feature availability.

", + "isDeprecated": false, + "fields": [ + { + "name": "hasUsageRemaining", + "description": "

Whether or not the user has remaining usage for the given feature.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "arguments": [ + { + "name": "feature", + "description": "

The feature whose quotas are to be checked against.

", + "type": { + "name": "CopilotLimitedFeature!", + "id": "copilotlimitedfeature", + "kind": "enums", + "href": "/graphql/reference/enums#copilotlimitedfeature" + } + } + ] + }, + { + "name": "quotaPercentageRemaining", + "description": "

The percentage of the quota remaining for the given feature.

", + "type": "Float", + "id": "float", + "kind": "scalars", + "href": "/graphql/reference/scalars#float", + "arguments": [ + { + "name": "feature", + "description": "

The feature whose quotas are to be checked against.

", + "type": { + "name": "CopilotLimitedFeature!", + "id": "copilotlimitedfeature", + "kind": "enums", + "href": "/graphql/reference/enums#copilotlimitedfeature" + } + } + ] + }, + { + "name": "resetDate", + "description": "

The date when the quota for the Copilot Free user will reset.

", + "type": "Date", + "id": "date", + "kind": "scalars", + "href": "/graphql/reference/scalars#date" + } + ] + }, { "name": "CreatedCommitContribution", "kind": "objects", @@ -17603,6 +18204,31 @@ } ] }, + { + "name": "CvssSeverities", + "kind": "objects", + "id": "cvssseverities", + "href": "/graphql/reference/objects#cvssseverities", + "description": "

The Common Vulnerability Scoring System.

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

The CVSS v3 severity associated with this advisory.

", + "type": "CVSS", + "id": "cvss", + "kind": "objects", + "href": "/graphql/reference/objects#cvss" + }, + { + "name": "cvssV4", + "description": "

The CVSS v4 severity associated with this advisory.

", + "type": "CVSS", + "id": "cvss", + "kind": "objects", + "href": "/graphql/reference/objects#cvss" + } + ] + }, { "name": "DemilestonedEvent", "kind": "objects", @@ -17773,6 +18399,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "relationship", + "description": "

Public preview: The relationship of the dependency. Can be direct, transitive, or unknown.

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

The repository containing the package.

", @@ -19483,7 +20117,20 @@ "type": "HTML!", "id": "html", "kind": "scalars", - "href": "/graphql/reference/scalars#html" + "href": "/graphql/reference/scalars#html", + "arguments": [ + { + "name": "renderMobileTasklistBlocks", + "defaultValue": false, + "description": "

Whether or not to render tasklist blocks using Mobile-specific HTML.

", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] }, { "name": "bodyText", @@ -19517,6 +20164,27 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "comment", + "description": "

Get a comment from a url.

", + "type": "DiscussionComment", + "id": "discussioncomment", + "kind": "objects", + "href": "/graphql/reference/objects#discussioncomment", + "arguments": [ + { + "name": "url", + "description": "

The url to decode.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ], + "isDeprecated": false + }, { "name": "comments", "description": "

The replies to the discussion.

", @@ -19841,6 +20509,28 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "arguments": [ + { + "name": "name", + "defaultValue": "UPDATED", + "description": "

The name of the channel to use.

", + "type": { + "name": "DiscussionPubSubTopic", + "id": "discussionpubsubtopic", + "kind": "enums", + "href": "/graphql/reference/enums#discussionpubsubtopic" + } + } + ], + "isDeprecated": false + }, { "name": "upvoteCount", "description": "

Number of upvotes that this subject has received.

", @@ -21315,7 +22005,17 @@ "type": "String", "id": "string", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#string", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

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

The announcement banner set on this enterprise, if any. Only visible to members of the enterprise.

", + "type": "AnnouncementBanner", + "id": "announcementbanner", + "kind": "objects", + "href": "/graphql/reference/objects#announcementbanner" }, { "name": "announcementCreatedAt", @@ -21323,7 +22023,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementExpiresAt", @@ -21331,7 +22033,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementUserDismissible", @@ -21339,7 +22043,9 @@ "type": "Boolean", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "avatarUrl", @@ -21665,6 +22371,76 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "ruleset", + "description": "

Returns a single ruleset from the current enterprise by ID.

", + "type": "RepositoryRuleset", + "id": "repositoryruleset", + "kind": "objects", + "href": "/graphql/reference/objects#repositoryruleset", + "arguments": [ + { + "name": "databaseId", + "description": "

The ID of the ruleset to be returned.

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

A list of rulesets for this enterprise.

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

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

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

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

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

Returns the first n elements from the list.

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

Returns the last n elements from the list.

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

The URL-friendly identifier for the enterprise.

", @@ -21681,6 +22457,76 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "userNamespaceRepositories", + "description": "

A list of repositories that belong to users. Only available for enterprises with Enterprise Managed Users.

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

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

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

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

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

Returns the first n elements from the list.

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

Returns the last n elements from the list.

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

Ordering options for repositories returned from the connection.

", + "type": { + "name": "RepositoryOrder", + "id": "repositoryorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#repositoryorder" + } + }, + { + "name": "query", + "description": "

The search string to look for.

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

Is the current viewer an admin of this enterprise?.

", @@ -28401,7 +29247,20 @@ "type": "HTML!", "id": "html", "kind": "scalars", - "href": "/graphql/reference/scalars#html" + "href": "/graphql/reference/scalars#html", + "arguments": [ + { + "name": "renderMobileTasklistBlocks", + "defaultValue": false, + "description": "

Whether or not to render tasklist blocks using Mobile-specific HTML.

", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] }, { "name": "bodyResourcePath", @@ -29217,7 +30076,20 @@ "type": "IssueStateReason", "id": "issuestatereason", "kind": "enums", - "href": "/graphql/reference/enums#issuestatereason" + "href": "/graphql/reference/enums#issuestatereason", + "arguments": [ + { + "name": "enableDuplicate", + "defaultValue": false, + "description": "

Whether or not to return state reason for duplicates.

", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] }, { "name": "subIssues", @@ -29563,6 +30435,28 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "arguments": [ + { + "name": "name", + "defaultValue": "UPDATED", + "description": "

The name of the channel to use.

", + "type": { + "name": "IssuePubSubTopic", + "id": "issuepubsubtopic", + "kind": "enums", + "href": "/graphql/reference/enums#issuepubsubtopic" + } + } + ], + "isDeprecated": false + }, { "name": "url", "description": "

The HTTP URL for this issue.

", @@ -34278,6 +35172,291 @@ } ] }, + { + "name": "NotificationThread", + "kind": "objects", + "id": "notificationthread", + "href": "/graphql/reference/objects#notificationthread", + "description": "

Represents a notification thread for the viewer.

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

The Node ID of the NotificationThread object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "isArchived", + "description": "

Archived state of the notification.

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

Done state of the notification.

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

Whether a notification has been saved.

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

Whether a notification has been starred.

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

Unread state of the notification.

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

The last time that notifications were read for this thread.

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

The last time that notifications were updated for this thread.

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

The last time that a notification was received on this thread for the current user.

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

The notification's list.

", + "type": "NotificationsList!", + "id": "notificationslist", + "kind": "unions", + "href": "/graphql/reference/unions#notificationslist" + }, + { + "name": "listId", + "description": "

The notification's list id.

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

The notification's list type.

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

The oldest unread author internal anchor.

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

The reason a notification was received.

", + "type": "NotificationReason", + "id": "notificationreason", + "kind": "enums", + "href": "/graphql/reference/enums#notificationreason" + }, + { + "name": "recentParticipants", + "description": "

The last 3 recent participants.

", + "type": "[User!]!", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user" + }, + { + "name": "subject", + "description": "

The notification's subject.

", + "type": "NotificationsSubject!", + "id": "notificationssubject", + "kind": "unions", + "href": "/graphql/reference/unions#notificationssubject" + }, + { + "name": "subscriptionStatus", + "description": "

Subscription status for the thread.

", + "type": "NotificationThreadSubscriptionState!", + "id": "notificationthreadsubscriptionstate", + "kind": "enums", + "href": "/graphql/reference/enums#notificationthreadsubscriptionstate" + }, + { + "name": "summaryId", + "description": "

The notification's rollup summary id.

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

The author of the item being used to summarize the thread.

", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user" + }, + { + "name": "summaryItemBody", + "description": "

The body text of the item being used to summarize the thread.

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

The notification's thread id.

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

The notification's thread type.

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

The notification's title.

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

The number of unread items.

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

The HTTP URL for the notification thread's subject.

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

A list of notification threads.

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

A list of edges.

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

A list of nodes.

", + "type": "[NotificationThread]", + "id": "notificationthread", + "kind": "objects", + "href": "/graphql/reference/objects#notificationthread" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

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

Identifies the total count of items in the connection.

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

An edge in a connection.

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

A cursor for use in pagination.

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

The item at the end of the edge.

", + "type": "NotificationThread", + "id": "notificationthread", + "kind": "objects", + "href": "/graphql/reference/objects#notificationthread" + } + ] + }, { "name": "OIDCProvider", "kind": "objects", @@ -40120,7 +41299,17 @@ "type": "String", "id": "string", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#string", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

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

The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise.

", + "type": "AnnouncementBanner", + "id": "announcementbanner", + "kind": "objects", + "href": "/graphql/reference/objects#announcementbanner" }, { "name": "announcementCreatedAt", @@ -40128,7 +41317,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementExpiresAt", @@ -40136,7 +41327,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementUserDismissible", @@ -40144,7 +41337,9 @@ "type": "Boolean", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "anyPinnableItems", @@ -44447,6 +45642,102 @@ } ] }, + { + "name": "ParentIssueAddedEvent", + "kind": "objects", + "id": "parentissueaddedevent", + "href": "/graphql/reference/objects#parentissueaddedevent", + "description": "

Represents aparent_issue_addedevent on a given issue.

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

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

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

The Node ID of the ParentIssueAddedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "parent", + "description": "

The parent issue added.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + } + ] + }, + { + "name": "ParentIssueRemovedEvent", + "kind": "objects", + "id": "parentissueremovedevent", + "href": "/graphql/reference/objects#parentissueremovedevent", + "description": "

Represents aparent_issue_removedevent on a given issue.

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

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

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

The Node ID of the ParentIssueRemovedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "parent", + "description": "

The parent issue removed.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + } + ] + }, { "name": "PermissionSource", "kind": "objects", @@ -46861,6 +48152,15 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

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

The HTTP URL for this project.

", @@ -50391,7 +51691,20 @@ "type": "HTML!", "id": "html", "kind": "scalars", - "href": "/graphql/reference/scalars#html" + "href": "/graphql/reference/scalars#html", + "arguments": [ + { + "name": "renderMobileTasklistBlocks", + "defaultValue": false, + "description": "

Whether or not to render tasklist blocks using Mobile-specific HTML.

", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] }, { "name": "bodyText", @@ -51904,6 +53217,28 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "arguments": [ + { + "name": "name", + "defaultValue": "UPDATED", + "description": "

The name of the channel to use.

", + "type": { + "name": "PullRequestPubSubTopic", + "id": "pullrequestpubsubtopic", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestpubsubtopic" + } + } + ], + "isDeprecated": false + }, { "name": "url", "description": "

The HTTP URL for this pull request.

", @@ -52659,6 +53994,14 @@ "href": "/graphql/reference/objects#pullrequestparameters", "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

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

When merging pull requests, you can allow any combination of merge commits,\nsquashing, or rebasing. At least one option must be enabled.

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

New, reviewable commits pushed will dismiss previous pull request review approvals.

", @@ -55654,6 +56997,15 @@ "id": "gitobject", "kind": "interfaces", "href": "/graphql/reference/interfaces#gitobject" + }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "isDeprecated": false } ] }, @@ -64426,6 +65778,52 @@ } ] }, + { + "name": "RepositoryDependabotAlertsThread", + "kind": "objects", + "id": "repositorydependabotalertsthread", + "href": "/graphql/reference/objects#repositorydependabotalertsthread", + "description": "

A wrapper on Repository used for Dependabot Alerts notifications.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + }, + { + "name": "RepositoryNode", + "id": "repositorynode", + "href": "/graphql/reference/interfaces#repositorynode" + } + ], + "fields": [ + { + "name": "id", + "description": "

The Node ID of the RepositoryDependabotAlertsThread object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "notificationsPermalink", + "description": "

The URL pointing to the repository's dependabot alerts page.

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

The repository associated with this node.

", + "type": "Repository!", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository" + } + ] + }, { "name": "RepositoryEdge", "kind": "objects", @@ -67212,6 +68610,14 @@ "isDeprecated": true, "deprecationReason": "

cvss will be removed. New cvss_severities field will now contain both cvss_v3 and cvss_v4 properties. Removal on 2025-10-01 UTC.

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

The CVSS associated with this advisory.

", + "type": "CvssSeverities!", + "id": "cvssseverities", + "kind": "objects", + "href": "/graphql/reference/objects#cvssseverities" + }, { "name": "cwes", "description": "

CWEs associated with this Advisory.

", @@ -70160,6 +71566,102 @@ } ] }, + { + "name": "SubIssueAddedEvent", + "kind": "objects", + "id": "subissueaddedevent", + "href": "/graphql/reference/objects#subissueaddedevent", + "description": "

Represents asub_issue_addedevent on a given issue.

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

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

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

The Node ID of the SubIssueAddedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "subIssue", + "description": "

The sub-issue added.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + } + ] + }, + { + "name": "SubIssueRemovedEvent", + "kind": "objects", + "id": "subissueremovedevent", + "href": "/graphql/reference/objects#subissueremovedevent", + "description": "

Represents asub_issue_removedevent on a given issue.

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

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

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

The Node ID of the SubIssueRemovedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "subIssue", + "description": "

The sub-issue removed.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + } + ] + }, { "name": "SubIssuesSummary", "kind": "objects", @@ -75225,6 +76727,15 @@ "kind": "objects", "href": "/graphql/reference/objects#copilotendpoints" }, + { + "name": "copilotLimitedUser", + "description": "

Properties of the current Copilot user, if limited by Copilot Free.

", + "type": "CopilotLimitedUser", + "id": "copilotlimiteduser", + "kind": "objects", + "href": "/graphql/reference/objects#copilotlimiteduser", + "isDeprecated": false + }, { "name": "createdAt", "description": "

Identifies the date and time when the object was created.

", @@ -76012,6 +77523,77 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "notificationThreads", + "description": "

A list of notification threads for the viewer. Returns an empty list for a user other than\nthe current viewer.

\n

Combining both filterBy and query arguments will result in an error.\nPlease favor using the query argument.

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

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

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

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

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

Filtering options for notifications. Will soon be deprecated.

", + "type": { + "name": "NotificationThreadFilters", + "id": "notificationthreadfilters", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#notificationthreadfilters" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

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

Returns the last n elements from the list.

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

The search string to look for. If no is:read, is:unread, or is:done\nqualifiers are included in the query, results will include read and unread\nnotification threads by default.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ], + "isDeprecated": false + }, { "name": "organization", "description": "

Find an organization by its login that the user belongs to.

", @@ -78843,6 +80425,128 @@ } ] }, + { + "name": "UserNamespaceRepository", + "kind": "objects", + "id": "usernamespacerepository", + "href": "/graphql/reference/objects#usernamespacerepository", + "description": "

A repository owned by an Enterprise Managed user.

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

The Node ID of the UserNamespaceRepository object.

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

The name of the repository.

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

The repository's name with owner.

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

The user owner of the repository.

", + "type": "RepositoryOwner!", + "id": "repositoryowner", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#repositoryowner" + }, + { + "name": "repository", + "description": "

The repository owned by an enterprise managed user.

", + "type": "RepositoryInfo", + "id": "repositoryinfo", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#repositoryinfo" + } + ] + }, + { + "name": "UserNamespaceRepositoryConnection", + "kind": "objects", + "id": "usernamespacerepositoryconnection", + "href": "/graphql/reference/objects#usernamespacerepositoryconnection", + "description": "

A list of repositories owned by users in an enterprise with Enterprise Managed Users.

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

A list of edges.

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

A list of nodes.

", + "type": "[UserNamespaceRepository]", + "id": "usernamespacerepository", + "kind": "objects", + "href": "/graphql/reference/objects#usernamespacerepository" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

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

Identifies the total count of items in the connection.

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

An edge in a connection.

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

A cursor for use in pagination.

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

The item at the end of the edge.

", + "type": "UserNamespaceRepository", + "id": "usernamespacerepository", + "kind": "objects", + "href": "/graphql/reference/objects#usernamespacerepository" + } + ] + }, { "name": "UserStatus", "kind": "objects", @@ -79894,7 +81598,9 @@ "type": "String", "id": "string", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#string", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementCreatedAt", @@ -79902,7 +81608,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementExpiresAt", @@ -79910,7 +81618,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementUserDismissible", @@ -79918,7 +81628,9 @@ "type": "Boolean", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" } ] }, @@ -84028,6 +85740,24 @@ } ] }, + { + "name": "CopilotLimitedFeature", + "kind": "enums", + "id": "copilotlimitedfeature", + "href": "/graphql/reference/enums#copilotlimitedfeature", + "description": "

The type of the activity that was performed.

", + "isDeprecated": false, + "values": [ + { + "name": "CHAT", + "description": "

Copilot Chat.

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

Copilot IDE completions.

" + } + ] + }, { "name": "DefaultRepositoryPermissionField", "kind": "enums", @@ -84323,6 +86053,24 @@ } ] }, + { + "name": "DiscussionPubSubTopic", + "kind": "enums", + "id": "discussionpubsubtopic", + "href": "/graphql/reference/enums#discussionpubsubtopic", + "description": "

The possible PubSub channels for an discussion.

", + "isDeprecated": false, + "values": [ + { + "name": "TIMELINE", + "description": "

The channel ID for updating items on the discussion timeline.

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

The channel ID for observing discussion updates.

" + } + ] + }, { "name": "DiscussionState", "kind": "enums", @@ -85140,6 +86888,32 @@ } ] }, + { + "name": "IssuePubSubTopic", + "kind": "enums", + "id": "issuepubsubtopic", + "href": "/graphql/reference/enums#issuepubsubtopic", + "description": "

The possible PubSub channels for an issue.

", + "isDeprecated": false, + "values": [ + { + "name": "CLOSE_REFERENCES", + "description": "

The channel ID for observing issue close references.

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

The channel ID for observing issue state updates.

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

The channel ID for updating items on the issue timeline.

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

The channel ID for observing issue updates.

" + } + ] + }, { "name": "IssueState", "kind": "enums", @@ -85170,7 +86944,7 @@ }, { "name": "DUPLICATE", - "description": "

An issue that has been closed as a duplicate.

" + "description": "

An issue that has been closed as a duplicate. To retrieve this value, set\n(enableDuplicate: true) when querying the stateReason field.

" }, { "name": "NOT_PLANNED", @@ -85257,6 +87031,14 @@ "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

" @@ -85281,6 +87063,14 @@ "name": "SUBSCRIBED_EVENT", "description": "

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

" @@ -85671,6 +87461,84 @@ } ] }, + { + "name": "NotificationReason", + "kind": "enums", + "id": "notificationreason", + "href": "/graphql/reference/enums#notificationreason", + "description": "

The reason you received a notification about a subject.

", + "isDeprecated": false, + "values": [ + { + "name": "APPROVAL_REQUESTED", + "description": "

You were requested for review for deployment.

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

You were assigned to the Issue/PR.

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

You created the thread.

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

You are subscribed to continuous integration activity.

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

You commented on the thread.

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

You accepted an invitation to contribute to the repository.

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

You subscribed to the thread (via an Issue or Pull Request).

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

New requests from members.

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

You were specifically @mentioned in the content.

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

A pull request you're subscribed to was marked ready for review.

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

You were requested for review.

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

You saved this notification.

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

You were given credit for contributing to a Security Advisory.

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

You have access to the notification subject's Dependabot alerts.

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

You changed the thread state (for example, closing an Issue or merging a Pull Request).

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

You are watching the subject of the notification.

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

You were on a team that was mentioned.

" + } + ] + }, { "name": "NotificationRestrictionSettingValue", "kind": "enums", @@ -85688,6 +87556,62 @@ } ] }, + { + "name": "NotificationStatus", + "kind": "enums", + "id": "notificationstatus", + "href": "/graphql/reference/enums#notificationstatus", + "description": "

The possible states of a notification.

", + "isDeprecated": false, + "values": [ + { + "name": "ARCHIVED", + "description": "

A notification is archived.

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

A notification is done.

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

A notification is read.

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

A notification is unread.

" + } + ] + }, + { + "name": "NotificationThreadSubscriptionState", + "kind": "enums", + "id": "notificationthreadsubscriptionstate", + "href": "/graphql/reference/enums#notificationthreadsubscriptionstate", + "description": "

The possible subscription states of a notification thread.

", + "isDeprecated": false, + "values": [ + { + "name": "LIST_IGNORED", + "description": "

The thread's list is ignored.

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

The thread's list is subscribed to.

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

The thread is subscribed to.

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

The thread's type is subscribed to.

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

The thread is not subscribed to.

" + } + ] + }, { "name": "OIDCProviderType", "kind": "enums", @@ -87012,6 +88936,68 @@ } ] }, + { + "name": "PullRequestPubSubTopic", + "kind": "enums", + "id": "pullrequestpubsubtopic", + "href": "/graphql/reference/enums#pullrequestpubsubtopic", + "description": "

The possible PubSub channels for a pull request.

", + "isDeprecated": false, + "values": [ + { + "name": "BASE_REF", + "description": "

The channel ID for observing base ref updates.

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

The channel ID for observing head commit updates.

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

The channel ID for observing pull request deployed updates.

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

The channel ID for observing pull request git merge state updates.

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

The channel ID for observing head ref updates.

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

The channel ID for observing pull request mergeability with HEAD or base branch.

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

The channel ID for observing pull request merge queue entry updates.

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

The channel ID for observing pull request user presence updates.

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

The channel ID for observing pull request review state updates.

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

The channel ID for observing pull request state updates.

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

The channel ID for updating items on the pull request timeline.

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

The channel ID for observing pull request updates.

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

The channel ID for observing pull request workflow run updates.

" + } + ] + }, { "name": "PullRequestReviewCommentState", "kind": "enums", @@ -87285,6 +89271,14 @@ "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

" @@ -87349,6 +89343,14 @@ "name": "SUBSCRIBED_EVENT", "description": "

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

" @@ -87497,7 +89499,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87518,7 +89520,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87539,7 +89541,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87581,7 +89583,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87602,7 +89604,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87623,7 +89625,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -88126,6 +90128,10 @@ "name": "PUSH", "description": "

Push.

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

repository.

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

Tag.

" @@ -88141,7 +90147,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -90245,6 +92251,24 @@ } ] }, + { + "name": "UserPubSubTopic", + "kind": "enums", + "id": "userpubsubtopic", + "href": "/graphql/reference/enums#userpubsubtopic", + "description": "

The possible PubSub channels for a user.

", + "isDeprecated": false, + "values": [ + { + "name": "MARKED_READ", + "description": "

The channel ID for observing user marked as read updates.

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

The channel ID for observing user notifications changed updates.

" + } + ] + }, { "name": "UserStatusOrderField", "kind": "enums", @@ -90718,185 +92742,325 @@ ] }, { - "name": "IssueTimelineItems", + "name": "IssueTimelineItems", + "kind": "unions", + "id": "issuetimelineitems", + "href": "/graphql/reference/unions#issuetimelineitems", + "description": "

An item in an issue timeline.

", + "possibleTypes": [ + { + "name": "AddedToProjectEvent", + "id": "addedtoprojectevent", + "href": "/graphql/reference/objects#addedtoprojectevent" + }, + { + "name": "AssignedEvent", + "id": "assignedevent", + "href": "/graphql/reference/objects#assignedevent" + }, + { + "name": "ClosedEvent", + "id": "closedevent", + "href": "/graphql/reference/objects#closedevent" + }, + { + "name": "CommentDeletedEvent", + "id": "commentdeletedevent", + "href": "/graphql/reference/objects#commentdeletedevent" + }, + { + "name": "ConnectedEvent", + "id": "connectedevent", + "href": "/graphql/reference/objects#connectedevent" + }, + { + "name": "ConvertedNoteToIssueEvent", + "id": "convertednotetoissueevent", + "href": "/graphql/reference/objects#convertednotetoissueevent" + }, + { + "name": "ConvertedToDiscussionEvent", + "id": "convertedtodiscussionevent", + "href": "/graphql/reference/objects#convertedtodiscussionevent" + }, + { + "name": "CrossReferencedEvent", + "id": "crossreferencedevent", + "href": "/graphql/reference/objects#crossreferencedevent" + }, + { + "name": "DemilestonedEvent", + "id": "demilestonedevent", + "href": "/graphql/reference/objects#demilestonedevent" + }, + { + "name": "DisconnectedEvent", + "id": "disconnectedevent", + "href": "/graphql/reference/objects#disconnectedevent" + }, + { + "name": "IssueComment", + "id": "issuecomment", + "href": "/graphql/reference/objects#issuecomment" + }, + { + "name": "LabeledEvent", + "id": "labeledevent", + "href": "/graphql/reference/objects#labeledevent" + }, + { + "name": "LockedEvent", + "id": "lockedevent", + "href": "/graphql/reference/objects#lockedevent" + }, + { + "name": "MarkedAsDuplicateEvent", + "id": "markedasduplicateevent", + "href": "/graphql/reference/objects#markedasduplicateevent" + }, + { + "name": "MentionedEvent", + "id": "mentionedevent", + "href": "/graphql/reference/objects#mentionedevent" + }, + { + "name": "MilestonedEvent", + "id": "milestonedevent", + "href": "/graphql/reference/objects#milestonedevent" + }, + { + "name": "MovedColumnsInProjectEvent", + "id": "movedcolumnsinprojectevent", + "href": "/graphql/reference/objects#movedcolumnsinprojectevent" + }, + { + "name": "ParentIssueAddedEvent", + "id": "parentissueaddedevent", + "href": "/graphql/reference/objects#parentissueaddedevent" + }, + { + "name": "ParentIssueRemovedEvent", + "id": "parentissueremovedevent", + "href": "/graphql/reference/objects#parentissueremovedevent" + }, + { + "name": "PinnedEvent", + "id": "pinnedevent", + "href": "/graphql/reference/objects#pinnedevent" + }, + { + "name": "ReferencedEvent", + "id": "referencedevent", + "href": "/graphql/reference/objects#referencedevent" + }, + { + "name": "RemovedFromProjectEvent", + "id": "removedfromprojectevent", + "href": "/graphql/reference/objects#removedfromprojectevent" + }, + { + "name": "RenamedTitleEvent", + "id": "renamedtitleevent", + "href": "/graphql/reference/objects#renamedtitleevent" + }, + { + "name": "ReopenedEvent", + "id": "reopenedevent", + "href": "/graphql/reference/objects#reopenedevent" + }, + { + "name": "SubIssueAddedEvent", + "id": "subissueaddedevent", + "href": "/graphql/reference/objects#subissueaddedevent" + }, + { + "name": "SubIssueRemovedEvent", + "id": "subissueremovedevent", + "href": "/graphql/reference/objects#subissueremovedevent" + }, + { + "name": "SubscribedEvent", + "id": "subscribedevent", + "href": "/graphql/reference/objects#subscribedevent" + }, + { + "name": "TransferredEvent", + "id": "transferredevent", + "href": "/graphql/reference/objects#transferredevent" + }, + { + "name": "UnassignedEvent", + "id": "unassignedevent", + "href": "/graphql/reference/objects#unassignedevent" + }, + { + "name": "UnlabeledEvent", + "id": "unlabeledevent", + "href": "/graphql/reference/objects#unlabeledevent" + }, + { + "name": "UnlockedEvent", + "id": "unlockedevent", + "href": "/graphql/reference/objects#unlockedevent" + }, + { + "name": "UnmarkedAsDuplicateEvent", + "id": "unmarkedasduplicateevent", + "href": "/graphql/reference/objects#unmarkedasduplicateevent" + }, + { + "name": "UnpinnedEvent", + "id": "unpinnedevent", + "href": "/graphql/reference/objects#unpinnedevent" + }, + { + "name": "UnsubscribedEvent", + "id": "unsubscribedevent", + "href": "/graphql/reference/objects#unsubscribedevent" + }, + { + "name": "UserBlockedEvent", + "id": "userblockedevent", + "href": "/graphql/reference/objects#userblockedevent" + } + ] + }, + { + "name": "MilestoneItem", "kind": "unions", - "id": "issuetimelineitems", - "href": "/graphql/reference/unions#issuetimelineitems", - "description": "

An item in an issue timeline.

", + "id": "milestoneitem", + "href": "/graphql/reference/unions#milestoneitem", + "description": "

Types that can be inside a Milestone.

", "possibleTypes": [ { - "name": "AddedToProjectEvent", - "id": "addedtoprojectevent", - "href": "/graphql/reference/objects#addedtoprojectevent" - }, - { - "name": "AssignedEvent", - "id": "assignedevent", - "href": "/graphql/reference/objects#assignedevent" - }, - { - "name": "ClosedEvent", - "id": "closedevent", - "href": "/graphql/reference/objects#closedevent" - }, - { - "name": "CommentDeletedEvent", - "id": "commentdeletedevent", - "href": "/graphql/reference/objects#commentdeletedevent" - }, - { - "name": "ConnectedEvent", - "id": "connectedevent", - "href": "/graphql/reference/objects#connectedevent" - }, - { - "name": "ConvertedNoteToIssueEvent", - "id": "convertednotetoissueevent", - "href": "/graphql/reference/objects#convertednotetoissueevent" - }, - { - "name": "ConvertedToDiscussionEvent", - "id": "convertedtodiscussionevent", - "href": "/graphql/reference/objects#convertedtodiscussionevent" - }, - { - "name": "CrossReferencedEvent", - "id": "crossreferencedevent", - "href": "/graphql/reference/objects#crossreferencedevent" - }, - { - "name": "DemilestonedEvent", - "id": "demilestonedevent", - "href": "/graphql/reference/objects#demilestonedevent" - }, - { - "name": "DisconnectedEvent", - "id": "disconnectedevent", - "href": "/graphql/reference/objects#disconnectedevent" - }, - { - "name": "IssueComment", - "id": "issuecomment", - "href": "/graphql/reference/objects#issuecomment" + "name": "Issue", + "id": "issue", + "href": "/graphql/reference/objects#issue" }, { - "name": "LabeledEvent", - "id": "labeledevent", - "href": "/graphql/reference/objects#labeledevent" - }, + "name": "PullRequest", + "id": "pullrequest", + "href": "/graphql/reference/objects#pullrequest" + } + ] + }, + { + "name": "NotificationsList", + "kind": "unions", + "id": "notificationslist", + "href": "/graphql/reference/unions#notificationslist", + "description": "

The parent object that the notification thread's subject belongs to.

", + "isDeprecated": false, + "possibleTypes": [ { - "name": "LockedEvent", - "id": "lockedevent", - "href": "/graphql/reference/objects#lockedevent" + "name": "Enterprise", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise" }, { - "name": "MarkedAsDuplicateEvent", - "id": "markedasduplicateevent", - "href": "/graphql/reference/objects#markedasduplicateevent" + "name": "Organization", + "id": "organization", + "href": "/graphql/reference/objects#organization" }, { - "name": "MentionedEvent", - "id": "mentionedevent", - "href": "/graphql/reference/objects#mentionedevent" + "name": "Repository", + "id": "repository", + "href": "/graphql/reference/objects#repository" }, { - "name": "MilestonedEvent", - "id": "milestonedevent", - "href": "/graphql/reference/objects#milestonedevent" + "name": "Team", + "id": "team", + "href": "/graphql/reference/objects#team" }, { - "name": "MovedColumnsInProjectEvent", - "id": "movedcolumnsinprojectevent", - "href": "/graphql/reference/objects#movedcolumnsinprojectevent" - }, + "name": "User", + "id": "user", + "href": "/graphql/reference/objects#user" + } + ] + }, + { + "name": "NotificationsSubject", + "kind": "unions", + "id": "notificationssubject", + "href": "/graphql/reference/unions#notificationssubject", + "description": "

The notification's subject.

", + "isDeprecated": false, + "possibleTypes": [ { - "name": "PinnedEvent", - "id": "pinnedevent", - "href": "/graphql/reference/objects#pinnedevent" + "name": "CheckSuite", + "id": "checksuite", + "href": "/graphql/reference/objects#checksuite" }, { - "name": "ReferencedEvent", - "id": "referencedevent", - "href": "/graphql/reference/objects#referencedevent" + "name": "Commit", + "id": "commit", + "href": "/graphql/reference/objects#commit" }, { - "name": "RemovedFromProjectEvent", - "id": "removedfromprojectevent", - "href": "/graphql/reference/objects#removedfromprojectevent" + "name": "Discussion", + "id": "discussion", + "href": "/graphql/reference/objects#discussion" }, { - "name": "RenamedTitleEvent", - "id": "renamedtitleevent", - "href": "/graphql/reference/objects#renamedtitleevent" + "name": "Gist", + "id": "gist", + "href": "/graphql/reference/objects#gist" }, { - "name": "ReopenedEvent", - "id": "reopenedevent", - "href": "/graphql/reference/objects#reopenedevent" + "name": "Issue", + "id": "issue", + "href": "/graphql/reference/objects#issue" }, { - "name": "SubscribedEvent", - "id": "subscribedevent", - "href": "/graphql/reference/objects#subscribedevent" + "name": "MemberFeatureRequestNotification", + "id": "memberfeaturerequestnotification", + "href": "/graphql/reference/objects#memberfeaturerequestnotification" }, { - "name": "TransferredEvent", - "id": "transferredevent", - "href": "/graphql/reference/objects#transferredevent" + "name": "ProjectV2", + "id": "projectv2", + "href": "/graphql/reference/objects#projectv2" }, { - "name": "UnassignedEvent", - "id": "unassignedevent", - "href": "/graphql/reference/objects#unassignedevent" + "name": "PullRequest", + "id": "pullrequest", + "href": "/graphql/reference/objects#pullrequest" }, { - "name": "UnlabeledEvent", - "id": "unlabeledevent", - "href": "/graphql/reference/objects#unlabeledevent" + "name": "Release", + "id": "release", + "href": "/graphql/reference/objects#release" }, { - "name": "UnlockedEvent", - "id": "unlockedevent", - "href": "/graphql/reference/objects#unlockedevent" + "name": "RepositoryDependabotAlertsThread", + "id": "repositorydependabotalertsthread", + "href": "/graphql/reference/objects#repositorydependabotalertsthread" }, { - "name": "UnmarkedAsDuplicateEvent", - "id": "unmarkedasduplicateevent", - "href": "/graphql/reference/objects#unmarkedasduplicateevent" + "name": "RepositoryInvitation", + "id": "repositoryinvitation", + "href": "/graphql/reference/objects#repositoryinvitation" }, { - "name": "UnpinnedEvent", - "id": "unpinnedevent", - "href": "/graphql/reference/objects#unpinnedevent" + "name": "RepositoryVulnerabilityAlert", + "id": "repositoryvulnerabilityalert", + "href": "/graphql/reference/objects#repositoryvulnerabilityalert" }, { - "name": "UnsubscribedEvent", - "id": "unsubscribedevent", - "href": "/graphql/reference/objects#unsubscribedevent" + "name": "SecurityAdvisory", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory" }, { - "name": "UserBlockedEvent", - "id": "userblockedevent", - "href": "/graphql/reference/objects#userblockedevent" - } - ] - }, - { - "name": "MilestoneItem", - "kind": "unions", - "id": "milestoneitem", - "href": "/graphql/reference/unions#milestoneitem", - "description": "

Types that can be inside a Milestone.

", - "possibleTypes": [ - { - "name": "Issue", - "id": "issue", - "href": "/graphql/reference/objects#issue" + "name": "TeamDiscussion", + "id": "teamdiscussion", + "href": "/graphql/reference/objects#teamdiscussion" }, { - "name": "PullRequest", - "id": "pullrequest", - "href": "/graphql/reference/objects#pullrequest" + "name": "WorkflowRun", + "id": "workflowrun", + "href": "/graphql/reference/objects#workflowrun" } ] }, @@ -91796,6 +93960,16 @@ "id": "movedcolumnsinprojectevent", "href": "/graphql/reference/objects#movedcolumnsinprojectevent" }, + { + "name": "ParentIssueAddedEvent", + "id": "parentissueaddedevent", + "href": "/graphql/reference/objects#parentissueaddedevent" + }, + { + "name": "ParentIssueRemovedEvent", + "id": "parentissueremovedevent", + "href": "/graphql/reference/objects#parentissueremovedevent" + }, { "name": "PinnedEvent", "id": "pinnedevent", @@ -91871,6 +94045,16 @@ "id": "reviewrequestedevent", "href": "/graphql/reference/objects#reviewrequestedevent" }, + { + "name": "SubIssueAddedEvent", + "id": "subissueaddedevent", + "href": "/graphql/reference/objects#subissueaddedevent" + }, + { + "name": "SubIssueRemovedEvent", + "id": "subissueremovedevent", + "href": "/graphql/reference/objects#subissueremovedevent" + }, { "name": "SubscribedEvent", "id": "subscribedevent", @@ -92473,6 +94657,40 @@ } ] }, + { + "name": "AccessUserNamespaceRepositoryInput", + "kind": "inputObjects", + "id": "accessusernamespacerepositoryinput", + "href": "/graphql/reference/input-objects#accessusernamespacerepositoryinput", + "description": "

Autogenerated input type of AccessUserNamespaceRepository.

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

A unique identifier for the client performing the mutation.

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

The ID of the enterprise owning the user namespace repository.

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

The ID of the user namespace repository to access.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + ] + }, { "name": "AddAssigneesToAssignableInput", "kind": "inputObjects", @@ -94304,6 +96522,15 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "duplicateIssueId", + "description": "

ID of the issue that this is a duplicate of.

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

ID of the issue to be closed.

", @@ -96406,6 +98633,33 @@ } ] }, + { + "name": "CreateSavedNotificationThreadInput", + "kind": "inputObjects", + "id": "createsavednotificationthreadinput", + "href": "/graphql/reference/input-objects#createsavednotificationthreadinput", + "description": "

Autogenerated input type of CreateSavedNotificationThread.

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

A unique identifier for the client performing the mutation.

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

The notification thread's id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "CreateSponsorsListingInput", "kind": "inputObjects", @@ -97501,6 +99755,33 @@ } ] }, + { + "name": "DeleteSavedNotificationThreadInput", + "kind": "inputObjects", + "id": "deletesavednotificationthreadinput", + "href": "/graphql/reference/input-objects#deletesavednotificationthreadinput", + "description": "

Autogenerated input type of DeleteSavedNotificationThread.

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

A unique identifier for the client performing the mutation.

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

The saved notification thread's id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DeleteTeamDiscussionCommentInput", "kind": "inputObjects", @@ -98996,6 +101277,40 @@ } ] }, + { + "name": "MarkAllNotificationsInput", + "kind": "inputObjects", + "id": "markallnotificationsinput", + "href": "/graphql/reference/input-objects#markallnotificationsinput", + "description": "

Autogenerated input type of MarkAllNotifications.

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

A unique identifier for the client performing the mutation.

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

Filter used to mark all specific notifications.

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

The new state for the notification.

", + "type": "NotificationStatus!", + "id": "notificationstatus", + "kind": "enums", + "href": "/graphql/reference/enums#notificationstatus" + } + ] + }, { "name": "MarkDiscussionCommentAsAnswerInput", "kind": "inputObjects", @@ -99078,7 +101393,224 @@ "type": "ID!", "id": "id", "kind": "scalars", - "href": "/graphql/reference/scalars#id" + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationAsReadInput", + "kind": "inputObjects", + "id": "marknotificationasreadinput", + "href": "/graphql/reference/input-objects#marknotificationasreadinput", + "description": "

Autogenerated input type of MarkNotificationAsRead.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationAsUndoneInput", + "kind": "inputObjects", + "id": "marknotificationasundoneinput", + "href": "/graphql/reference/input-objects#marknotificationasundoneinput", + "description": "

Autogenerated input type of MarkNotificationAsUndone.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationAsUnreadInput", + "kind": "inputObjects", + "id": "marknotificationasunreadinput", + "href": "/graphql/reference/input-objects#marknotificationasunreadinput", + "description": "

Autogenerated input type of MarkNotificationAsUnread.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationSubjectAsReadInput", + "kind": "inputObjects", + "id": "marknotificationsubjectasreadinput", + "href": "/graphql/reference/input-objects#marknotificationsubjectasreadinput", + "description": "

Autogenerated input type of MarkNotificationSubjectAsRead.

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

A unique identifier for the client performing the mutation.

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

The id of the notification subject to mark as read.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationsAsDoneInput", + "kind": "inputObjects", + "id": "marknotificationsasdoneinput", + "href": "/graphql/reference/input-objects#marknotificationsasdoneinput", + "description": "

Autogenerated input type of MarkNotificationsAsDone.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread IDs that will be marked as done.

", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationsAsReadInput", + "kind": "inputObjects", + "id": "marknotificationsasreadinput", + "href": "/graphql/reference/input-objects#marknotificationsasreadinput", + "description": "

Autogenerated input type of MarkNotificationsAsRead.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread IDs that will be marked as read.

", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationsAsUndoneInput", + "kind": "inputObjects", + "id": "marknotificationsasundoneinput", + "href": "/graphql/reference/input-objects#marknotificationsasundoneinput", + "description": "

Autogenerated input type of MarkNotificationsAsUndone.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread IDs to be marked as undone.

", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationsAsUnreadInput", + "kind": "inputObjects", + "id": "marknotificationsasunreadinput", + "href": "/graphql/reference/input-objects#marknotificationsasunreadinput", + "description": "

Autogenerated input type of MarkNotificationsAsUnread.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread IDs that will be marked as unread.

", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false } ] }, @@ -99495,6 +102027,64 @@ } ] }, + { + "name": "NotificationThreadFilters", + "kind": "inputObjects", + "id": "notificationthreadfilters", + "href": "/graphql/reference/input-objects#notificationthreadfilters", + "description": "

Ways in which to filter lists of notification threads.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "listIds", + "description": "

Only return notification threads where the list is in the given list.

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

Only return notification threads where the reason is in the list.

", + "type": "[NotificationReason!]", + "id": "notificationreason", + "kind": "enums", + "href": "/graphql/reference/enums#notificationreason" + }, + { + "name": "savedOnly", + "description": "

Only return saved notifications. All other filters will be ignored.

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

Only return starred notifications. All other filters will be ignored.

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

Only return notifications where the status is in the list.

", + "type": "[NotificationStatus!]", + "id": "notificationstatus", + "kind": "enums", + "href": "/graphql/reference/enums#notificationstatus" + }, + { + "name": "threadTypes", + "description": "

Only return matching thread types.

", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "OrgEnterpriseOwnerOrder", "kind": "inputObjects", @@ -100188,6 +102778,14 @@ "href": "/graphql/reference/input-objects#pullrequestparametersinput", "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

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

When merging pull requests, you can allow any combination of merge commits,\nsquashing, or rebasing. At least one option must be enabled.

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

New, reviewable commits pushed will dismiss previous pull request review approvals.

", diff --git a/src/graphql/data/fpt/upcoming-changes.json b/src/graphql/data/fpt/upcoming-changes.json index 29b7742e051d..f3d101c3c25f 100644 --- a/src/graphql/data/fpt/upcoming-changes.json +++ b/src/graphql/data/fpt/upcoming-changes.json @@ -50,6 +50,38 @@ "criticality": "breaking", "owner": "dewski" }, + { + "location": "Organization.announcementUserDismissible", + "description": "

announcementUserDismissible will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Organization.announcementExpiresAt", + "description": "

announcementExpiresAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Organization.announcementCreatedAt", + "description": "

announcementCreatedAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Organization.announcement", + "description": "

announcement will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, { "location": "EnterpriseOwnerInfo.outsideCollaborators.hasTwoFactorEnabled", "description": "

hasTwoFactorEnabled will be removed. Use two_factor_method_security instead.

", @@ -73,6 +105,70 @@ "date": "2025-04-01", "criticality": "breaking", "owner": "authentication" + }, + { + "location": "Enterprise.announcementUserDismissible", + "description": "

announcementUserDismissible will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Enterprise.announcementExpiresAt", + "description": "

announcementExpiresAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Enterprise.announcementCreatedAt", + "description": "

announcementCreatedAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Enterprise.announcement", + "description": "

announcement will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "AnnouncementBannerI.announcementUserDismissible", + "description": "

announcementUserDismissible will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "AnnouncementBannerI.announcementExpiresAt", + "description": "

announcementExpiresAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "AnnouncementBannerI.announcementCreatedAt", + "description": "

announcementCreatedAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "AnnouncementBannerI.announcement", + "description": "

announcement will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" } ], "2025-01-01": [ diff --git a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml index b3124eef7031..7849695f58f3 100644 --- a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml @@ -666,6 +666,86 @@ upcoming_changes: date: '2025-01-01T00:00:00+00:00' criticality: breaking owner: chriskirkland + - location: AnnouncementBannerI.announcement + description: + '`announcement` will be removed. Use the `announcementBanner` object + instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: AnnouncementBannerI.announcementCreatedAt + description: + '`announcementCreatedAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: AnnouncementBannerI.announcementExpiresAt + description: + '`announcementExpiresAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: AnnouncementBannerI.announcementUserDismissible + description: + '`announcementUserDismissible` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Enterprise.announcement + description: + '`announcement` will be removed. Use the `announcementBanner` object + instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Enterprise.announcementCreatedAt + description: + '`announcementCreatedAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Enterprise.announcementExpiresAt + description: + '`announcementExpiresAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Enterprise.announcementUserDismissible + description: + '`announcementUserDismissible` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil - location: Enterprise.members.hasTwoFactorEnabled description: '`hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` @@ -690,6 +770,46 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: authentication + - location: Organization.announcement + description: + '`announcement` will be removed. Use the `announcementBanner` object + instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Organization.announcementCreatedAt + description: + '`announcementCreatedAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Organization.announcementExpiresAt + description: + '`announcementExpiresAt` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil + - location: Organization.announcementUserDismissible + description: + '`announcementUserDismissible` will be removed. Use the `announcementBanner` + object instead.' + reason: + The individual `announcementX` fields do not follow our standard GraphQL + patterns. + date: '2025-04-01T00:00:00+00:00' + criticality: breaking + owner: vaindil - location: ProjectV2.databaseId description: '`databaseId` will be removed. Use `fullDatabaseId` instead.' reason: diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index e731bdd599ce..67382fce723d 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -200,6 +200,46 @@ type AcceptTopicSuggestionPayload { topic: Topic @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") } +""" +Autogenerated input type of AccessUserNamespaceRepository +""" +input AccessUserNamespaceRepositoryInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise owning the user namespace repository. + """ + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) + + """ + The ID of the user namespace repository to access. + """ + repositoryId: ID! +} + +""" +Autogenerated return type of AccessUserNamespaceRepository. +""" +type AccessUserNamespaceRepositoryPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The time that repository access expires at + """ + expiresAt: DateTime + + """ + The repository that is temporarily accessible. + """ + repository: Repository +} + """ Represents an object which can take actions on GitHub. Typically a User or Bot. """ @@ -1258,6 +1298,31 @@ type AddedToProjectEvent implements Node { projectColumnName: String! } +""" +An announcement banner for an enterprise or organization. +""" +type AnnouncementBanner { + """ + The date the announcement was created + """ + createdAt: DateTime! + + """ + The expiration date of the announcement, if any + """ + expiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + isUserDismissible: Boolean! + + """ + The text of the announcement + """ + message: String +} + """ Represents an announcement banner. """ @@ -1266,21 +1331,33 @@ interface AnnouncementBannerI { The text of the announcement """ announcement: String + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ The date the announcement was created """ announcementCreatedAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ The expiration date of the announcement, if any """ announcementExpiresAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ Whether the announcement can be dismissed by the user """ announcementUserDismissible: Boolean + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) } """ @@ -4315,6 +4392,11 @@ input CloseIssueInput { """ clientMutationId: String + """ + ID of the issue that this is a duplicate of. + """ + duplicateIssueId: ID @possibleTypes(concreteTypes: ["Issue"]) + """ ID of the issue to be closed. """ @@ -5193,6 +5275,12 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl """ treeUrl: URI! + """ + Channel value for subscribing to live updates. + """ + updatesChannel: String + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ The HTTP URL for this commit """ @@ -6891,6 +6979,51 @@ type CopilotEndpoints { telemetry: String! } +""" +The type of the activity that was performed. +""" +enum CopilotLimitedFeature @requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"]) { + """ + Copilot Chat. + """ + CHAT + + """ + Copilot IDE completions. + """ + COMPLETIONS +} + +""" +Information about a limited Copilot Free user, such as quotas or feature availability. +""" +type CopilotLimitedUser @requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"]) { + """ + Whether or not the user has remaining usage for the given feature. + """ + hasUsageRemaining( + """ + The feature whose quotas are to be checked against. + """ + feature: CopilotLimitedFeature! + ): Boolean + + """ + The percentage of the quota remaining for the given feature. + """ + quotaPercentageRemaining( + """ + The feature whose quotas are to be checked against. + """ + feature: CopilotLimitedFeature! + ): Float + + """ + The date when the quota for the Copilot Free user will reset. + """ + resetDate: Date +} + """ Autogenerated input type of CopyProjectV2 """ @@ -8285,6 +8418,43 @@ type CreateRepositoryRulesetPayload { ruleset: RepositoryRuleset } +""" +Autogenerated input type of CreateSavedNotificationThread +""" +input CreateSavedNotificationThreadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The notification thread's id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of CreateSavedNotificationThread. +""" +type CreateSavedNotificationThreadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the saved notification belongs to. + """ + viewer: User +} + """ Autogenerated input type of CreateSponsorsListing """ @@ -9211,6 +9381,21 @@ type CrossReferencedEvent implements Node & UniformResourceLocatable { willCloseTarget: Boolean! } +""" +The Common Vulnerability Scoring System +""" +type CvssSeverities { + """ + The CVSS v3 severity associated with this advisory + """ + cvssV3: CVSS + + """ + The CVSS v4 severity associated with this advisory + """ + cvssV4: CVSS +} + """ An ISO-8601 encoded date string. """ @@ -9997,6 +10182,43 @@ type DeleteRepositoryRulesetPayload { clientMutationId: String } +""" +Autogenerated input type of DeleteSavedNotificationThread +""" +input DeleteSavedNotificationThreadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The saved notification thread's id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of DeleteSavedNotificationThread. +""" +type DeleteSavedNotificationThreadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that deleted the saved notification. + """ + viewer: User +} + """ Autogenerated input type of DeleteTeamDiscussionComment """ @@ -10204,6 +10426,11 @@ type DependencyGraphDependency { """ packageName: String! + """ + Public preview: The relationship of the dependency. Can be direct, transitive, or unknown + """ + relationship: String! + """ The repository containing the package """ @@ -11462,7 +11689,13 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable """ The body rendered to HTML. """ - bodyHTML: HTML! + bodyHTML( + """ + Whether or not to render tasklist blocks using Mobile-specific HTML + """ + renderMobileTasklistBlocks: Boolean = false + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "mobile_body_markup"]) + ): HTML! """ The body rendered to text. @@ -11484,6 +11717,17 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable """ closedAt: DateTime + """ + Get a comment from a url + """ + comment( + """ + The url to decode. + """ + url: String + ): DiscussionComment + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_graphql_discussion_comment_url"]) + """ The replies to the discussion. """ @@ -11664,6 +11908,16 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable """ updatedAt: DateTime! + """ + Channel value for subscribing to live updates. + """ + updatesChannel( + """ + The name of the channel to use. + """ + name: DiscussionPubSubTopic = UPDATED + ): String @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ Number of upvotes that this subject has received. """ @@ -12407,6 +12661,22 @@ enum DiscussionPollOptionOrderField { VOTE_COUNT } +""" +The possible PubSub channels for an discussion. +""" +enum DiscussionPubSubTopic + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) { + """ + The channel ID for updating items on the discussion timeline. + """ + TIMELINE + + """ + The channel ID for observing discussion updates. + """ + UPDATED +} + """ The possible states of a discussion. """ @@ -12850,21 +13120,38 @@ type Enterprise implements AnnouncementBannerI & Node { The text of the announcement """ announcement: String + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) + + """ + The announcement banner set on this enterprise, if any. Only visible to members of the enterprise. + """ + announcementBanner: AnnouncementBanner """ The date the announcement was created """ announcementCreatedAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ The expiration date of the announcement, if any """ announcementExpiresAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ Whether the announcement can be dismissed by the user """ announcementUserDismissible: Boolean + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ A URL pointing to the enterprise's public avatar. @@ -13048,6 +13335,41 @@ type Enterprise implements AnnouncementBannerI & Node { """ resourcePath: URI! + """ + Returns a single ruleset from the current enterprise by ID. + """ + ruleset( + """ + The ID of the ruleset to be returned. + """ + databaseId: Int! + ): RepositoryRuleset + + """ + A list of rulesets for this enterprise. + """ + rulesets( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): RepositoryRulesetConnection + """ The URL-friendly identifier for the enterprise. """ @@ -13058,6 +13380,41 @@ type Enterprise implements AnnouncementBannerI & Node { """ url: URI! + """ + A list of repositories that belong to users. Only available for enterprises with Enterprise Managed Users. + """ + userNamespaceRepositories( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for repositories returned from the connection. + """ + orderBy: RepositoryOrder = {field: NAME, direction: ASC} + + """ + The search string to look for. + """ + query: String + ): UserNamespaceRepositoryConnection! + """ Is the current viewer an admin of this enterprise? """ @@ -18170,7 +18527,13 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ The body rendered to HTML. """ - bodyHTML: HTML! + bodyHTML( + """ + Whether or not to render tasklist blocks using Mobile-specific HTML + """ + renderMobileTasklistBlocks: Boolean = false + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "mobile_body_markup"]) + ): HTML! """ The http path for this issue body @@ -18600,7 +18963,12 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ Identifies the reason for the issue state. """ - stateReason: IssueStateReason + stateReason( + """ + Whether or not to return state reason for duplicates + """ + enableDuplicate: Boolean = false + ): IssueStateReason """ A list of sub-issues associated with the Issue. @@ -18779,270 +19147,280 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & updatedAt: DateTime! """ - The HTTP URL for this issue + Channel value for subscribing to live updates. """ - url: URI! - - """ - A list of edits to this content. - """ - userContentEdits( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - + updatesChannel( """ - Returns the elements in the list that come before the specified cursor. + The name of the channel to use. """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserContentEditConnection - - """ - Indicates if the object can be closed by the viewer. - """ - viewerCanClose: Boolean! - - """ - Check if the current viewer can delete this object. - """ - viewerCanDelete: Boolean! - - """ - Indicates if the viewer can edit labels for this object. - """ - viewerCanLabel: Boolean! - - """ - Can user react to this subject - """ - viewerCanReact: Boolean! - - """ - Indicates if the object can be reopened by the viewer. - """ - viewerCanReopen: Boolean! - - """ - Check if the viewer is able to change their subscription status for the repository. - """ - viewerCanSubscribe: Boolean! - - """ - Check if the current viewer can update this object. - """ - viewerCanUpdate: Boolean! + name: IssuePubSubTopic = UPDATED + ): String @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) """ - Reasons why the current viewer can not update this comment. - """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - - """ - Did the viewer author this comment. - """ - viewerDidAuthor: Boolean! - - """ - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. - """ - viewerSubscription: SubscriptionState - - """ - Identifies the viewer's thread subscription form action. - """ - viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction - - """ - Identifies the viewer's thread subscription status. - """ - viewerThreadSubscriptionStatus: ThreadSubscriptionState -} - -""" -The possible state reasons of a closed issue. -""" -enum IssueClosedStateReason { - """ - An issue that has been closed as completed - """ - COMPLETED - - """ - An issue that has been closed as a duplicate - """ - DUPLICATE - - """ - An issue that has been closed as not planned - """ - NOT_PLANNED -} - -""" -Represents a comment on an Issue. -""" -type IssueComment implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { - """ - The actor who authored the comment. - """ - author: Actor - - """ - Author's association with the subject of the comment. - """ - authorAssociation: CommentAuthorAssociation! - - """ - The body as Markdown. - """ - body: String! - - """ - The body rendered to HTML. - """ - bodyHTML: HTML! - - """ - The body rendered to text. - """ - bodyText: String! - - """ - Identifies the date and time when the object was created. - """ - createdAt: DateTime! - - """ - Check if this comment was created via an email reply. - """ - createdViaEmail: Boolean! - - """ - Identifies the primary key from the database. - """ - databaseId: Int - - """ - The actor who edited the comment. - """ - editor: Actor - - """ - Identifies the primary key from the database as a BigInt. - """ - fullDatabaseId: BigInt - - """ - The Node ID of the IssueComment object - """ - id: ID! - - """ - Check if this comment was edited and includes an edit with the creation data - """ - includesCreatedEdit: Boolean! - - """ - Returns whether or not a comment has been minimized. - """ - isMinimized: Boolean! - - """ - Identifies the issue associated with the comment. - """ - issue: Issue! - - """ - The moment the editor made the last edit - """ - lastEditedAt: DateTime - - """ - Returns why the comment was minimized. One of `abuse`, `off-topic`, - `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and - formatting of these values differs from the inputs to the `MinimizeComment` mutation. - """ - minimizedReason: String - - """ - Identifies when the comment was published at. - """ - publishedAt: DateTime - - """ - Returns the pull request associated with the comment, if this comment was made on a - pull request. - """ - pullRequest: PullRequest - - """ - A list of reactions grouped by content left on the subject. - """ - reactionGroups: [ReactionGroup!] - - """ - A list of Reactions left on the Issue. - """ - reactions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! - - """ - The repository associated with this node. - """ - repository: Repository! - - """ - The HTTP path for this issue comment - """ - resourcePath: URI! - - """ - Identifies the date and time when the object was last updated. - """ - updatedAt: DateTime! - - """ - The HTTP URL for this issue comment + The HTTP URL for this issue + """ + url: URI! + + """ + A list of edits to this content. + """ + userContentEdits( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): UserContentEditConnection + + """ + Indicates if the object can be closed by the viewer. + """ + viewerCanClose: Boolean! + + """ + Check if the current viewer can delete this object. + """ + viewerCanDelete: Boolean! + + """ + Indicates if the viewer can edit labels for this object. + """ + viewerCanLabel: Boolean! + + """ + Can user react to this subject + """ + viewerCanReact: Boolean! + + """ + Indicates if the object can be reopened by the viewer. + """ + viewerCanReopen: Boolean! + + """ + Check if the viewer is able to change their subscription status for the repository. + """ + viewerCanSubscribe: Boolean! + + """ + Check if the current viewer can update this object. + """ + viewerCanUpdate: Boolean! + + """ + Reasons why the current viewer can not update this comment. + """ + viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + + """ + Did the viewer author this comment. + """ + viewerDidAuthor: Boolean! + + """ + Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + """ + viewerSubscription: SubscriptionState + + """ + Identifies the viewer's thread subscription form action. + """ + viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction + + """ + Identifies the viewer's thread subscription status. + """ + viewerThreadSubscriptionStatus: ThreadSubscriptionState +} + +""" +The possible state reasons of a closed issue. +""" +enum IssueClosedStateReason { + """ + An issue that has been closed as completed + """ + COMPLETED + + """ + An issue that has been closed as a duplicate + """ + DUPLICATE + + """ + An issue that has been closed as not planned + """ + NOT_PLANNED +} + +""" +Represents a comment on an Issue. +""" +type IssueComment implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { + """ + The actor who authored the comment. + """ + author: Actor + + """ + Author's association with the subject of the comment. + """ + authorAssociation: CommentAuthorAssociation! + + """ + The body as Markdown. + """ + body: String! + + """ + The body rendered to HTML. + """ + bodyHTML: HTML! + + """ + The body rendered to text. + """ + bodyText: String! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Check if this comment was created via an email reply. + """ + createdViaEmail: Boolean! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The actor who edited the comment. + """ + editor: Actor + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the IssueComment object + """ + id: ID! + + """ + Check if this comment was edited and includes an edit with the creation data + """ + includesCreatedEdit: Boolean! + + """ + Returns whether or not a comment has been minimized. + """ + isMinimized: Boolean! + + """ + Identifies the issue associated with the comment. + """ + issue: Issue! + + """ + The moment the editor made the last edit + """ + lastEditedAt: DateTime + + """ + Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. + """ + minimizedReason: String + + """ + Identifies when the comment was published at. + """ + publishedAt: DateTime + + """ + Returns the pull request associated with the comment, if this comment was made on a + pull request. + """ + pullRequest: PullRequest + + """ + A list of reactions grouped by content left on the subject. + """ + reactionGroups: [ReactionGroup!] + + """ + A list of Reactions left on the Issue. + """ + reactions( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Allows filtering Reactions by emoji. + """ + content: ReactionContent + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Allows specifying the order in which reactions are returned. + """ + orderBy: ReactionOrder + ): ReactionConnection! + + """ + The repository associated with this node. + """ + repository: Repository! + + """ + The HTTP path for this issue comment + """ + resourcePath: URI! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The HTTP URL for this issue comment """ url: URI! @@ -19342,6 +19720,32 @@ enum IssueOrderField { UPDATED_AT } +""" +The possible PubSub channels for an issue. +""" +enum IssuePubSubTopic + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) { + """ + The channel ID for observing issue close references. + """ + CLOSE_REFERENCES + + """ + The channel ID for observing issue state updates. + """ + STATE + + """ + The channel ID for updating items on the issue timeline. + """ + TIMELINE + + """ + The channel ID for observing issue updates. + """ + UPDATED +} + """ The possible states of an issue. """ @@ -19367,7 +19771,8 @@ enum IssueStateReason { COMPLETED """ - An issue that has been closed as a duplicate + An issue that has been closed as a duplicate. To retrieve this value, set + `(enableDuplicate: true)` when querying the stateReason field. """ DUPLICATE @@ -19552,11 +19957,15 @@ union IssueTimelineItems = | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent + | ParentIssueAddedEvent + | ParentIssueRemovedEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent + | SubIssueAddedEvent + | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent @@ -19711,6 +20120,16 @@ enum IssueTimelineItemsItemType { """ MOVED_COLUMNS_IN_PROJECT_EVENT + """ + Represents a 'parent_issue_added' event on a given issue. + """ + PARENT_ISSUE_ADDED_EVENT + + """ + Represents a 'parent_issue_removed' event on a given issue. + """ + PARENT_ISSUE_REMOVED_EVENT + """ Represents a 'pinned' event on a given issue or pull request. """ @@ -19741,6 +20160,16 @@ enum IssueTimelineItemsItemType { """ SUBSCRIBED_EVENT + """ + Represents a 'sub_issue_added' event on a given issue. + """ + SUB_ISSUE_ADDED_EVENT + + """ + Represents a 'sub_issue_removed' event on a given issue. + """ + SUB_ISSUE_REMOVED_EVENT + """ Represents a 'transferred' event on a given issue or pull request. """ @@ -20697,6 +21126,43 @@ enum MannequinOrderField { LOGIN } +""" +Autogenerated input type of MarkAllNotifications +""" +input MarkAllNotificationsInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Filter used to mark all specific notifications. + """ + query: String! + + """ + The new state for the notification. + """ + state: NotificationStatus! +} + +""" +Autogenerated return type of MarkAllNotifications. +""" +type MarkAllNotificationsPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + """ Autogenerated input type of MarkDiscussionCommentAsAnswer """ @@ -20766,7 +21232,7 @@ type MarkFileAsViewedPayload { Autogenerated input type of MarkNotificationAsDone """ input MarkNotificationAsDoneInput - @requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) { + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { """ A unique identifier for the client performing the mutation. """ @@ -20775,14 +21241,14 @@ input MarkNotificationAsDoneInput """ The NotificationThread id. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) } """ Autogenerated return type of MarkNotificationAsDone. """ type MarkNotificationAsDonePayload - @requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) { + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { """ A unique identifier for the client performing the mutation. """ @@ -20799,6 +21265,302 @@ type MarkNotificationAsDonePayload viewer: User } +""" +Autogenerated input type of MarkNotificationAsRead +""" +input MarkNotificationAsReadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationAsRead. +""" +type MarkNotificationAsReadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the notification belongs to. + """ + viewer: User +} + +""" +Autogenerated input type of MarkNotificationAsUndone +""" +input MarkNotificationAsUndoneInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationAsUndone. +""" +type MarkNotificationAsUndonePayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the notification belongs to. + """ + viewer: User +} + +""" +Autogenerated input type of MarkNotificationAsUnread +""" +input MarkNotificationAsUnreadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread id. + """ + id: ID! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationAsUnread. +""" +type MarkNotificationAsUnreadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the notification belongs to. + """ + viewer: User +} + +""" +Autogenerated input type of MarkNotificationSubjectAsRead +""" +input MarkNotificationSubjectAsReadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the notification subject to mark as read. + """ + subjectId: ID! + @possibleTypes( + concreteTypes: [ + "CheckSuite" + "Commit" + "Discussion" + "Gist" + "Issue" + "MemberFeatureRequestNotification" + "ProjectV2" + "PullRequest" + "Release" + "RepositoryDependabotAlertsThread" + "RepositoryInvitation" + "RepositoryVulnerabilityAlert" + "SecurityAdvisory" + "TeamDiscussion" + "WorkflowRun" + ] + abstractType: "NotificationsSubject" + ) +} + +""" +Autogenerated return type of MarkNotificationSubjectAsRead. +""" +type MarkNotificationSubjectAsReadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean + + """ + The user that the saved notification belongs to. + """ + viewer: User +} + +""" +Autogenerated input type of MarkNotificationsAsDone +""" +input MarkNotificationsAsDoneInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread IDs that will be marked as done. + """ + ids: [ID!]! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationsAsDone. +""" +type MarkNotificationsAsDonePayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + +""" +Autogenerated input type of MarkNotificationsAsRead +""" +input MarkNotificationsAsReadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread IDs that will be marked as read. + """ + ids: [ID!]! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationsAsRead. +""" +type MarkNotificationsAsReadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + +""" +Autogenerated input type of MarkNotificationsAsUndone +""" +input MarkNotificationsAsUndoneInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread IDs to be marked as undone. + """ + ids: [ID!]! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationsAsUndone. +""" +type MarkNotificationsAsUndonePayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + +""" +Autogenerated input type of MarkNotificationsAsUnread +""" +input MarkNotificationsAsUnreadInput + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread IDs that will be marked as unread. + """ + ids: [ID!]! @possibleTypes(concreteTypes: ["NotificationThread"]) +} + +""" +Autogenerated return type of MarkNotificationsAsUnread. +""" +type MarkNotificationsAsUnreadPayload + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + """ Autogenerated input type of MarkProjectV2AsTemplate """ @@ -23085,6 +23847,16 @@ type Mutation { input: AcceptTopicSuggestionInput! ): AcceptTopicSuggestionPayload + """ + Access user namespace repository for a temporary duration. + """ + accessUserNamespaceRepository( + """ + Parameters for AccessUserNamespaceRepository + """ + input: AccessUserNamespaceRepositoryInput! + ): AccessUserNamespaceRepositoryPayload + """ Adds assignees to an assignable object. """ @@ -23753,6 +24525,16 @@ type Mutation { input: CreateRepositoryRulesetInput! ): CreateRepositoryRulesetPayload + """ + Adds a saved notification thread. + """ + createSavedNotificationThread( + """ + Parameters for CreateSavedNotificationThread + """ + input: CreateSavedNotificationThreadInput! + ): CreateSavedNotificationThreadPayload + """ Create a GitHub Sponsors profile to allow others to sponsor you or your organization. """ @@ -24064,6 +24846,16 @@ type Mutation { input: DeleteRepositoryRulesetInput! ): DeleteRepositoryRulesetPayload + """ + Deletes a saved notification thread. + """ + deleteSavedNotificationThread( + """ + Parameters for DeleteSavedNotificationThread + """ + input: DeleteSavedNotificationThreadInput! + ): DeleteSavedNotificationThreadPayload + """ Deletes a team discussion. """ @@ -24274,6 +25066,16 @@ type Mutation { input: LockLockableInput! ): LockLockablePayload + """ + Mark all notifications as the state is passed + """ + markAllNotifications( + """ + Parameters for MarkAllNotifications + """ + input: MarkAllNotificationsInput! + ): MarkAllNotificationsPayload + """ Mark a discussion comment as the chosen answer for discussions in an answerable category. """ @@ -24304,6 +25106,86 @@ type Mutation { input: MarkNotificationAsDoneInput! ): MarkNotificationAsDonePayload + """ + Marks a notification as read + """ + markNotificationAsRead( + """ + Parameters for MarkNotificationAsRead + """ + input: MarkNotificationAsReadInput! + ): MarkNotificationAsReadPayload + + """ + Marks a notification as undone + """ + markNotificationAsUndone( + """ + Parameters for MarkNotificationAsUndone + """ + input: MarkNotificationAsUndoneInput! + ): MarkNotificationAsUndonePayload + + """ + Marks a notification as unread + """ + markNotificationAsUnread( + """ + Parameters for MarkNotificationAsUnread + """ + input: MarkNotificationAsUnreadInput! + ): MarkNotificationAsUnreadPayload + + """ + Marks a notification as read + """ + markNotificationSubjectAsRead( + """ + Parameters for MarkNotificationSubjectAsRead + """ + input: MarkNotificationSubjectAsReadInput! + ): MarkNotificationSubjectAsReadPayload + + """ + Marks a notification as done + """ + markNotificationsAsDone( + """ + Parameters for MarkNotificationsAsDone + """ + input: MarkNotificationsAsDoneInput! + ): MarkNotificationsAsDonePayload + + """ + Marks multiple notifications as read + """ + markNotificationsAsRead( + """ + Parameters for MarkNotificationsAsRead + """ + input: MarkNotificationsAsReadInput! + ): MarkNotificationsAsReadPayload + + """ + Marks a notification as undone + """ + markNotificationsAsUndone( + """ + Parameters for MarkNotificationsAsUndone + """ + input: MarkNotificationsAsUndoneInput! + ): MarkNotificationsAsUndonePayload + + """ + Marks notifications as unread + """ + markNotificationsAsUnread( + """ + Parameters for MarkNotificationsAsUnread + """ + input: MarkNotificationsAsUnreadInput! + ): MarkNotificationsAsUnreadPayload + """ Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template. """ @@ -25597,6 +26479,97 @@ interface Node { id: ID! } +""" +The reason you received a notification about a subject. +""" +enum NotificationReason + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + You were requested for review for deployment. + """ + APPROVAL_REQUESTED + + """ + You were assigned to the Issue/PR. + """ + ASSIGN + + """ + You created the thread. + """ + AUTHOR + + """ + You are subscribed to continuous integration activity. + """ + CI_ACTIVITY + + """ + You commented on the thread. + """ + COMMENT + + """ + You accepted an invitation to contribute to the repository. + """ + INVITATION + + """ + You subscribed to the thread (via an Issue or Pull Request). + """ + MANUAL + + """ + New requests from members. + """ + MEMBER_FEATURE_REQUESTED + + """ + You were specifically @mentioned in the content. + """ + MENTION + + """ + A pull request you're subscribed to was marked ready for review. + """ + READY_FOR_REVIEW + + """ + You were requested for review. + """ + REVIEW_REQUESTED + + """ + You saved this notification + """ + SAVED + + """ + You were given credit for contributing to a Security Advisory. + """ + SECURITY_ADVISORY_CREDIT + + """ + You have access to the notification subject's Dependabot alerts. + """ + SECURITY_ALERT + + """ + You changed the thread state (for example, closing an Issue or merging a Pull Request). + """ + STATE_CHANGE + + """ + You are watching the subject of the notification. + """ + SUBSCRIBED + + """ + You were on a team that was mentioned. + """ + TEAM_MENTION +} + """ The possible values for the notification restriction setting. """ @@ -25612,6 +26585,304 @@ enum NotificationRestrictionSettingValue { ENABLED } +""" +The possible states of a notification. +""" +enum NotificationStatus + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A notification is archived + """ + ARCHIVED + + """ + A notification is done + """ + DONE + + """ + A notification is read + """ + READ + + """ + A notification is unread + """ + UNREAD +} + +""" +Represents a notification thread for the viewer. +""" +type NotificationThread implements Node + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + The Node ID of the NotificationThread object + """ + id: ID! + + """ + Archived state of the notification. + """ + isArchived: Boolean! + + """ + Done state of the notification. + """ + isDone: Boolean! + + """ + Whether a notification has been saved + """ + isSaved: Boolean! + + """ + Whether a notification has been starred + """ + isStarred: Boolean! + + """ + Unread state of the notification. + """ + isUnread: Boolean! + + """ + The last time that notifications were read for this thread. + """ + lastReadAt: DateTime + + """ + The last time that notifications were updated for this thread. + """ + lastSummarizedAt: DateTime! + + """ + The last time that a notification was received on this thread for the current user + """ + lastUpdatedAt: DateTime! + + """ + The notification's list. + """ + list: NotificationsList! + + """ + The notification's list id + """ + listId: String! + + """ + The notification's list type + """ + listType: String! + + """ + The oldest unread author internal anchor + """ + oldestUnreadItemAnchor: String + + """ + The reason a notification was received. + """ + reason: NotificationReason + + """ + The last 3 recent participants. + """ + recentParticipants: [User!]! + + """ + The notification's subject. + """ + subject: NotificationsSubject! + + """ + Subscription status for the thread + """ + subscriptionStatus: NotificationThreadSubscriptionState! + + """ + The notification's rollup summary id + """ + summaryId: String! + + """ + The author of the item being used to summarize the thread. + """ + summaryItemAuthor: User + + """ + The body text of the item being used to summarize the thread. + """ + summaryItemBody: String + + """ + The notification's thread id + """ + threadId: String! + + """ + The notification's thread type + """ + threadType: String! + + """ + The notification's title + """ + title: String! + + """ + The number of unread items. + """ + unreadItemsCount: Int! + + """ + The HTTP URL for the notification thread's subject + """ + url: URI! +} + +""" +A list of notification threads. +""" +type NotificationThreadConnection + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A list of edges. + """ + edges: [NotificationThreadEdge] + + """ + A list of nodes. + """ + nodes: [NotificationThread] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type NotificationThreadEdge + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: NotificationThread +} + +""" +Ways in which to filter lists of notification threads. +""" +input NotificationThreadFilters + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + Only return notification threads where the list is in the given list + """ + listIds: [ID!] + + """ + Only return notification threads where the reason is in the list + """ + reasons: [NotificationReason!] + + """ + Only return saved notifications. All other filters will be ignored. + """ + savedOnly: Boolean = false + + """ + Only return starred notifications. All other filters will be ignored. + """ + starredOnly: Boolean = false + + """ + Only return notifications where the status is in the list. + """ + statuses: [NotificationStatus!] + + """ + Only return matching thread types + """ + threadTypes: [String!] +} + +""" +The possible subscription states of a notification thread. +""" +enum NotificationThreadSubscriptionState + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + The thread's list is ignored. + """ + LIST_IGNORED + + """ + The thread's list is subscribed to. + """ + LIST_SUBSCRIBED + + """ + The thread is subscribed to. + """ + THREAD_SUBSCRIBED + + """ + The thread's type is subscribed to. + """ + THREAD_TYPE_SUBSCRIBED + + """ + The thread is not subscribed to. + """ + UNSUBSCRIBED +} + +""" +The parent object that the notification thread's subject belongs to. +""" +union NotificationsList + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) = + Enterprise + | Organization + | Repository + | Team + | User + +""" +The notification's subject. +""" +union NotificationsSubject + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) = + CheckSuite + | Commit + | Discussion + | Gist + | Issue + | MemberFeatureRequestNotification + | ProjectV2 + | PullRequest + | Release + | RepositoryDependabotAlertsThread + | RepositoryInvitation + | RepositoryVulnerabilityAlert + | SecurityAdvisory + | TeamDiscussion + | WorkflowRun + """ An OIDC identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens @@ -29239,21 +30510,38 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No The text of the announcement """ announcement: String + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) + + """ + The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise. + """ + announcementBanner: AnnouncementBanner """ The date the announcement was created """ announcementCreatedAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ The expiration date of the announcement, if any """ announcementExpiresAt: DateTime + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ Whether the announcement can be dismissed by the user """ announcementUserDismissible: Boolean + @deprecated( + reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + ) """ Determine if this repository owner has any items that can be pinned to their profile. @@ -32045,6 +33333,56 @@ type PageInfo { startCursor: String } +""" +Represents a 'parent_issue_added' event on a given issue. +""" +type ParentIssueAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the ParentIssueAddedEvent object + """ + id: ID! + + """ + The parent issue added. + """ + parent: Issue +} + +""" +Represents a 'parent_issue_removed' event on a given issue. +""" +type ParentIssueRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the ParentIssueRemovedEvent object + """ + id: ID! + + """ + The parent issue removed. + """ + parent: Issue +} + """ The possible types of patch statuses. """ @@ -34014,6 +35352,12 @@ type ProjectV2 implements Closable & Node & Updatable { """ updatedAt: DateTime! + """ + Channel value for subscribing to live updates. + """ + updatesChannel: String + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ The HTTP URL for this project """ @@ -36795,7 +38139,13 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ The body rendered to HTML. """ - bodyHTML: HTML! + bodyHTML( + """ + Whether or not to render tasklist blocks using Mobile-specific HTML + """ + renderMobileTasklistBlocks: Boolean = false + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "mobile_body_markup"]) + ): HTML! """ The body rendered to text. @@ -37609,6 +38959,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ updatedAt: DateTime! + """ + Channel value for subscribing to live updates. + """ + updatesChannel( + """ + The name of the channel to use. + """ + name: PullRequestPubSubTopic = UPDATED + ): String @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ The HTTP URL for this pull request. """ @@ -38100,6 +39460,12 @@ enum PullRequestOrderField { Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ type PullRequestParameters { + """ + When merging pull requests, you can allow any combination of merge commits, + squashing, or rebasing. At least one option must be enabled. + """ + allowedMergeMethods: [String!] + """ New, reviewable commits pushed will dismiss previous pull request review approvals. """ @@ -38130,6 +39496,12 @@ type PullRequestParameters { Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ input PullRequestParametersInput { + """ + When merging pull requests, you can allow any combination of merge commits, + squashing, or rebasing. At least one option must be enabled. + """ + allowedMergeMethods: [String!] + """ New, reviewable commits pushed will dismiss previous pull request review approvals. """ @@ -38156,6 +39528,77 @@ input PullRequestParametersInput { requiredReviewThreadResolution: Boolean! } +""" +The possible PubSub channels for a pull request. +""" +enum PullRequestPubSubTopic + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) { + """ + The channel ID for observing base ref updates. + """ + BASE_REF + + """ + The channel ID for observing head commit updates. + """ + COMMIT_HEAD_SHA + + """ + The channel ID for observing pull request deployed updates. + """ + DEPLOYED + + """ + The channel ID for observing pull request git merge state updates. + """ + GIT_MERGE_STATE + + """ + The channel ID for observing head ref updates. + """ + HEAD_REF + + """ + The channel ID for observing pull request mergeability with HEAD or base branch. + """ + MERGEABILITY + + """ + The channel ID for observing pull request merge queue entry updates. + """ + MERGE_QUEUE + + """ + The channel ID for observing pull request user presence updates. + """ + PRESENCE + + """ + The channel ID for observing pull request review state updates. + """ + REVIEW_STATE + + """ + The channel ID for observing pull request state updates. + """ + STATE + + """ + The channel ID for updating items on the pull request timeline. + """ + TIMELINE + + """ + The channel ID for observing pull request updates. + """ + UPDATED + + """ + The channel ID for observing pull request workflow run updates. + """ + WORKFLOWS +} + """ A review object for a given pull request. """ @@ -39411,6 +40854,8 @@ union PullRequestTimelineItems = | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent + | ParentIssueAddedEvent + | ParentIssueRemovedEvent | PinnedEvent | PullRequestCommit | PullRequestCommitCommentThread @@ -39426,6 +40871,8 @@ union PullRequestTimelineItems = | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent + | SubIssueAddedEvent + | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent @@ -39665,6 +41112,16 @@ enum PullRequestTimelineItemsItemType { """ MOVED_COLUMNS_IN_PROJECT_EVENT + """ + Represents a 'parent_issue_added' event on a given issue. + """ + PARENT_ISSUE_ADDED_EVENT + + """ + Represents a 'parent_issue_removed' event on a given issue. + """ + PARENT_ISSUE_REMOVED_EVENT + """ Represents a 'pinned' event on a given issue or pull request. """ @@ -39745,6 +41202,16 @@ enum PullRequestTimelineItemsItemType { """ SUBSCRIBED_EVENT + """ + Represents a 'sub_issue_added' event on a given issue. + """ + SUB_ISSUE_ADDED_EVENT + + """ + Represents a 'sub_issue_removed' event on a given issue. + """ + SUB_ISSUE_REMOVED_EVENT + """ Represents a 'transferred' event on a given issue or pull request. """ @@ -39945,12 +41412,12 @@ type Query implements Node { enterpriseSlug: String! """ - The role for the business member invitation. + The role for the enterprise member invitation. """ role: EnterpriseAdministratorRole! """ - The login of the user invited to join the business. + The login of the user invited to join the enterprise. """ userLogin: String! ): EnterpriseAdministratorInvitation @@ -39975,7 +41442,7 @@ type Query implements Node { enterpriseSlug: String! """ - The login of the user invited to join the business. + The login of the user invited to join the enterprise. """ userLogin: String! ): EnterpriseMemberInvitation @@ -40132,6 +41599,12 @@ type Query implements Node { """ meta: GitHubMetadata! + """ + A WebSocket URL for connecting to receive updates. + """ + mobileUpdatesUrl: URI + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) + """ Fetches an object given its ID. """ @@ -40465,6 +41938,16 @@ type Query implements Node { The currently authenticated user. """ viewer: User! + + """ + Channel value for subscribing to live updates. + """ + viewerUpdatesChannel( + """ + The name of the channel to use. + """ + name: UserPubSubTopic! + ): String @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) } """ @@ -41044,6 +42527,12 @@ type Ref implements Node { The object the ref points to. Returns null when object does not exist. """ target: GitObject + + """ + Channel value for subscribing to live updates. + """ + updatesChannel: String + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) } """ @@ -42636,7 +44125,7 @@ The privacy of a repository """ enum RepoAccessAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -42776,7 +44265,7 @@ The privacy of a repository """ enum RepoAddMemberAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -43041,7 +44530,7 @@ The privacy of a repository """ enum RepoArchivedAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -44486,7 +45975,7 @@ The privacy of a repository """ enum RepoCreateAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -44626,7 +46115,7 @@ The privacy of a repository """ enum RepoDestroyAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -44766,7 +46255,7 @@ The privacy of a repository """ enum RepoRemoveMemberAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -46887,6 +48376,27 @@ enum RepositoryContributionType { REPOSITORY } +""" +A wrapper on Repository used for Dependabot Alerts notifications. +""" +type RepositoryDependabotAlertsThread implements Node & RepositoryNode + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) { + """ + The Node ID of the RepositoryDependabotAlertsThread object + """ + id: ID! + + """ + The URL pointing to the repository's dependabot alerts page + """ + notificationsPermalink: URI + + """ + The repository associated with this node. + """ + repository: Repository! +} + """ Represents an author of discussions in repositories. """ @@ -48520,6 +50030,11 @@ enum RepositoryRulesetTarget { """ PUSH + """ + repository + """ + REPOSITORY + """ Tag """ @@ -48596,7 +50111,7 @@ The repository's visibility level. """ enum RepositoryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -50283,6 +51798,11 @@ type SecurityAdvisory implements Node { reason: "`cvss` will be removed. New `cvss_severities` field will now contain both `cvss_v3` and `cvss_v4` properties. Removal on 2025-10-01 UTC." ) + """ + The CVSS associated with this advisory + """ + cvssSeverities: CvssSeverities! + """ CWEs associated with this Advisory """ @@ -54692,6 +56212,56 @@ type StripeConnectAccount { stripeDashboardUrl: URI! } +""" +Represents a 'sub_issue_added' event on a given issue. +""" +type SubIssueAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the SubIssueAddedEvent object + """ + id: ID! + + """ + The sub-issue added. + """ + subIssue: Issue +} + +""" +Represents a 'sub_issue_removed' event on a given issue. +""" +type SubIssueRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the SubIssueRemovedEvent object + """ + id: ID! + + """ + The sub-issue removed. + """ + subIssue: Issue +} + """ Summary of the state of an issue's sub-issues """ @@ -61663,6 +63233,12 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ copilotEndpoints: CopilotEndpoints + """ + Properties of the current Copilot user, if limited by Copilot Free. + """ + copilotLimitedUser: CopilotLimitedUser + @requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"]) + """ Identifies the date and time when the object was created. """ @@ -62080,6 +63656,48 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ name: String + """ + A list of notification threads for the viewer. Returns an empty list for a user other than + the current viewer. + + Combining both filterBy and query arguments will result in an error. + Please favor using the query argument. + """ + notificationThreads( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Filtering options for notifications. Will soon be deprecated. + """ + filterBy: NotificationThreadFilters + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + The search string to look for. If no is:read, is:unread, or is:done + qualifiers are included in the query, results will include read and unread + notification threads by default. + """ + query: String + ): NotificationThreadConnection! + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "access_internal_graphql_notifications"]) + """ Find an organization by its login that the user belongs to. """ @@ -63621,6 +65239,92 @@ type UserListSuggestion { name: String } +""" +A repository owned by an Enterprise Managed user. +""" +type UserNamespaceRepository implements Node { + """ + The Node ID of the UserNamespaceRepository object + """ + id: ID! + + """ + The name of the repository. + """ + name: String! + + """ + The repository's name with owner. + """ + nameWithOwner: String! + + """ + The user owner of the repository. + """ + owner: RepositoryOwner! + + """ + The repository owned by an enterprise managed user. + """ + repository: RepositoryInfo +} + +""" +A list of repositories owned by users in an enterprise with Enterprise Managed Users. +""" +type UserNamespaceRepositoryConnection { + """ + A list of edges. + """ + edges: [UserNamespaceRepositoryEdge] + + """ + A list of nodes. + """ + nodes: [UserNamespaceRepository] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type UserNamespaceRepositoryEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: UserNamespaceRepository +} + +""" +The possible PubSub channels for a user. +""" +enum UserPubSubTopic + @requiredCapabilities(requiredCapabilities: ["mobile_only_schema_mask", "subscribe_alive_events"]) { + """ + The channel ID for observing user marked as read updates. + """ + MARKED_READ + + """ + The channel ID for observing user notifications changed updates. + """ + NOTIFICATIONS_CHANGED +} + """ The user's description of what they're currently doing. """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 7fa147a833cf..37846aa85d10 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -75,7 +75,7 @@ "id": "enterpriseadministratorrole", "kind": "enums", "href": "/graphql/reference/enums#enterpriseadministratorrole", - "description": "

The role for the business member invitation.

" + "description": "

The role for the enterprise member invitation.

" }, { "name": "userLogin", @@ -83,7 +83,7 @@ "id": "string", "kind": "scalars", "href": "/graphql/reference/scalars#string", - "description": "

The login of the user invited to join the business.

" + "description": "

The login of the user invited to join the enterprise.

" } ] }, @@ -127,7 +127,7 @@ "id": "string", "kind": "scalars", "href": "/graphql/reference/scalars#string", - "description": "

The login of the user invited to join the business.

" + "description": "

The login of the user invited to join the enterprise.

" } ] }, @@ -388,6 +388,16 @@ "description": "

Return information about the GitHub instance.

", "args": [] }, + { + "name": "mobileUpdatesUrl", + "type": "URI", + "kind": "scalars", + "id": "uri", + "href": "/graphql/reference/scalars#uri", + "description": "

A WebSocket URL for connecting to receive updates.

", + "isDeprecated": false, + "args": [] + }, { "name": "node", "type": "Node", @@ -924,6 +934,25 @@ "href": "/graphql/reference/objects#user", "description": "

The currently authenticated user.

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

Channel value for subscribing to live updates.

", + "isDeprecated": false, + "args": [ + { + "name": "name", + "type": "UserPubSubTopic!", + "id": "userpubsubtopic", + "kind": "enums", + "href": "/graphql/reference/enums#userpubsubtopic", + "description": "

The name of the channel to use.

" + } + ] } ], "mutations": [ @@ -1115,6 +1144,48 @@ } ] }, + { + "name": "accessUserNamespaceRepository", + "kind": "mutations", + "id": "accessusernamespacerepository", + "href": "/graphql/reference/mutations#accessusernamespacerepository", + "description": "

Access user namespace repository for a temporary duration.

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

A unique identifier for the client performing the mutation.

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

The time that repository access expires at.

" + }, + { + "name": "repository", + "type": "Repository", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository", + "description": "

The repository that is temporarily accessible.

" + } + ] + }, { "name": "addAssigneesToAssignable", "kind": "mutations", @@ -3367,6 +3438,48 @@ } ] }, + { + "name": "createSavedNotificationThread", + "kind": "mutations", + "id": "createsavednotificationthread", + "href": "/graphql/reference/mutations#createsavednotificationthread", + "description": "

Adds a saved notification thread.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the saved notification belongs to.

" + } + ] + }, { "name": "createSponsorsListing", "kind": "mutations", @@ -4419,6 +4532,48 @@ } ] }, + { + "name": "deleteSavedNotificationThread", + "kind": "mutations", + "id": "deletesavednotificationthread", + "href": "/graphql/reference/mutations#deletesavednotificationthread", + "description": "

Deletes a saved notification thread.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that deleted the saved notification.

" + } + ] + }, { "name": "deleteTeamDiscussion", "kind": "mutations", @@ -5149,6 +5304,40 @@ } ] }, + { + "name": "markAllNotifications", + "kind": "mutations", + "id": "markallnotifications", + "href": "/graphql/reference/mutations#markallnotifications", + "description": "

Mark all notifications as the state is passed.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, { "name": "markDiscussionCommentAsAnswer", "kind": "mutations", @@ -5259,6 +5448,310 @@ } ] }, + { + "name": "markNotificationAsRead", + "kind": "mutations", + "id": "marknotificationasread", + "href": "/graphql/reference/mutations#marknotificationasread", + "description": "

Marks a notification as read.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the notification belongs to.

" + } + ] + }, + { + "name": "markNotificationAsUndone", + "kind": "mutations", + "id": "marknotificationasundone", + "href": "/graphql/reference/mutations#marknotificationasundone", + "description": "

Marks a notification as undone.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the notification belongs to.

" + } + ] + }, + { + "name": "markNotificationAsUnread", + "kind": "mutations", + "id": "marknotificationasunread", + "href": "/graphql/reference/mutations#marknotificationasunread", + "description": "

Marks a notification as unread.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the notification belongs to.

" + } + ] + }, + { + "name": "markNotificationSubjectAsRead", + "kind": "mutations", + "id": "marknotificationsubjectasread", + "href": "/graphql/reference/mutations#marknotificationsubjectasread", + "description": "

Marks a notification as read.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "

The user that the saved notification belongs to.

" + } + ] + }, + { + "name": "markNotificationsAsDone", + "kind": "mutations", + "id": "marknotificationsasdone", + "href": "/graphql/reference/mutations#marknotificationsasdone", + "description": "

Marks a notification as done.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, + { + "name": "markNotificationsAsRead", + "kind": "mutations", + "id": "marknotificationsasread", + "href": "/graphql/reference/mutations#marknotificationsasread", + "description": "

Marks multiple notifications as read.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, + { + "name": "markNotificationsAsUndone", + "kind": "mutations", + "id": "marknotificationsasundone", + "href": "/graphql/reference/mutations#marknotificationsasundone", + "description": "

Marks a notification as undone.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, + { + "name": "markNotificationsAsUnread", + "kind": "mutations", + "id": "marknotificationsasunread", + "href": "/graphql/reference/mutations#marknotificationsasunread", + "description": "

Marks notifications as unread.

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

A unique identifier for the client performing the mutation.

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

Did the operation succeed?.

" + } + ] + }, { "name": "markProjectV2AsTemplate", "kind": "mutations", @@ -10066,6 +10559,47 @@ } ] }, + { + "name": "AnnouncementBanner", + "kind": "objects", + "id": "announcementbanner", + "href": "/graphql/reference/objects#announcementbanner", + "description": "

An announcement banner for an enterprise or organization.

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

The date the announcement was created.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

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

The text of the announcement.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "App", "kind": "objects", @@ -14456,6 +14990,15 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

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

The HTTP URL for this commit.

", @@ -16828,6 +17371,64 @@ } ] }, + { + "name": "CopilotLimitedUser", + "kind": "objects", + "id": "copilotlimiteduser", + "href": "/graphql/reference/objects#copilotlimiteduser", + "description": "

Information about a limited Copilot Free user, such as quotas or feature availability.

", + "isDeprecated": false, + "fields": [ + { + "name": "hasUsageRemaining", + "description": "

Whether or not the user has remaining usage for the given feature.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "arguments": [ + { + "name": "feature", + "description": "

The feature whose quotas are to be checked against.

", + "type": { + "name": "CopilotLimitedFeature!", + "id": "copilotlimitedfeature", + "kind": "enums", + "href": "/graphql/reference/enums#copilotlimitedfeature" + } + } + ] + }, + { + "name": "quotaPercentageRemaining", + "description": "

The percentage of the quota remaining for the given feature.

", + "type": "Float", + "id": "float", + "kind": "scalars", + "href": "/graphql/reference/scalars#float", + "arguments": [ + { + "name": "feature", + "description": "

The feature whose quotas are to be checked against.

", + "type": { + "name": "CopilotLimitedFeature!", + "id": "copilotlimitedfeature", + "kind": "enums", + "href": "/graphql/reference/enums#copilotlimitedfeature" + } + } + ] + }, + { + "name": "resetDate", + "description": "

The date when the quota for the Copilot Free user will reset.

", + "type": "Date", + "id": "date", + "kind": "scalars", + "href": "/graphql/reference/scalars#date" + } + ] + }, { "name": "CreatedCommitContribution", "kind": "objects", @@ -17603,6 +18204,31 @@ } ] }, + { + "name": "CvssSeverities", + "kind": "objects", + "id": "cvssseverities", + "href": "/graphql/reference/objects#cvssseverities", + "description": "

The Common Vulnerability Scoring System.

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

The CVSS v3 severity associated with this advisory.

", + "type": "CVSS", + "id": "cvss", + "kind": "objects", + "href": "/graphql/reference/objects#cvss" + }, + { + "name": "cvssV4", + "description": "

The CVSS v4 severity associated with this advisory.

", + "type": "CVSS", + "id": "cvss", + "kind": "objects", + "href": "/graphql/reference/objects#cvss" + } + ] + }, { "name": "DemilestonedEvent", "kind": "objects", @@ -17773,6 +18399,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "relationship", + "description": "

Public preview: The relationship of the dependency. Can be direct, transitive, or unknown.

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

The repository containing the package.

", @@ -19483,7 +20117,20 @@ "type": "HTML!", "id": "html", "kind": "scalars", - "href": "/graphql/reference/scalars#html" + "href": "/graphql/reference/scalars#html", + "arguments": [ + { + "name": "renderMobileTasklistBlocks", + "defaultValue": false, + "description": "

Whether or not to render tasklist blocks using Mobile-specific HTML.

", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] }, { "name": "bodyText", @@ -19517,6 +20164,27 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "comment", + "description": "

Get a comment from a url.

", + "type": "DiscussionComment", + "id": "discussioncomment", + "kind": "objects", + "href": "/graphql/reference/objects#discussioncomment", + "arguments": [ + { + "name": "url", + "description": "

The url to decode.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ], + "isDeprecated": false + }, { "name": "comments", "description": "

The replies to the discussion.

", @@ -19841,6 +20509,28 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "arguments": [ + { + "name": "name", + "defaultValue": "UPDATED", + "description": "

The name of the channel to use.

", + "type": { + "name": "DiscussionPubSubTopic", + "id": "discussionpubsubtopic", + "kind": "enums", + "href": "/graphql/reference/enums#discussionpubsubtopic" + } + } + ], + "isDeprecated": false + }, { "name": "upvoteCount", "description": "

Number of upvotes that this subject has received.

", @@ -21315,7 +22005,17 @@ "type": "String", "id": "string", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#string", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

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

The announcement banner set on this enterprise, if any. Only visible to members of the enterprise.

", + "type": "AnnouncementBanner", + "id": "announcementbanner", + "kind": "objects", + "href": "/graphql/reference/objects#announcementbanner" }, { "name": "announcementCreatedAt", @@ -21323,7 +22023,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementExpiresAt", @@ -21331,7 +22033,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementUserDismissible", @@ -21339,7 +22043,9 @@ "type": "Boolean", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "avatarUrl", @@ -21665,6 +22371,76 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "ruleset", + "description": "

Returns a single ruleset from the current enterprise by ID.

", + "type": "RepositoryRuleset", + "id": "repositoryruleset", + "kind": "objects", + "href": "/graphql/reference/objects#repositoryruleset", + "arguments": [ + { + "name": "databaseId", + "description": "

The ID of the ruleset to be returned.

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

A list of rulesets for this enterprise.

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

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

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

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

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

Returns the first n elements from the list.

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

Returns the last n elements from the list.

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

The URL-friendly identifier for the enterprise.

", @@ -21681,6 +22457,76 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "userNamespaceRepositories", + "description": "

A list of repositories that belong to users. Only available for enterprises with Enterprise Managed Users.

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

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

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

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

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

Returns the first n elements from the list.

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

Returns the last n elements from the list.

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

Ordering options for repositories returned from the connection.

", + "type": { + "name": "RepositoryOrder", + "id": "repositoryorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#repositoryorder" + } + }, + { + "name": "query", + "description": "

The search string to look for.

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

Is the current viewer an admin of this enterprise?.

", @@ -28401,7 +29247,20 @@ "type": "HTML!", "id": "html", "kind": "scalars", - "href": "/graphql/reference/scalars#html" + "href": "/graphql/reference/scalars#html", + "arguments": [ + { + "name": "renderMobileTasklistBlocks", + "defaultValue": false, + "description": "

Whether or not to render tasklist blocks using Mobile-specific HTML.

", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] }, { "name": "bodyResourcePath", @@ -29217,7 +30076,20 @@ "type": "IssueStateReason", "id": "issuestatereason", "kind": "enums", - "href": "/graphql/reference/enums#issuestatereason" + "href": "/graphql/reference/enums#issuestatereason", + "arguments": [ + { + "name": "enableDuplicate", + "defaultValue": false, + "description": "

Whether or not to return state reason for duplicates.

", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] }, { "name": "subIssues", @@ -29563,6 +30435,28 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "arguments": [ + { + "name": "name", + "defaultValue": "UPDATED", + "description": "

The name of the channel to use.

", + "type": { + "name": "IssuePubSubTopic", + "id": "issuepubsubtopic", + "kind": "enums", + "href": "/graphql/reference/enums#issuepubsubtopic" + } + } + ], + "isDeprecated": false + }, { "name": "url", "description": "

The HTTP URL for this issue.

", @@ -34278,6 +35172,291 @@ } ] }, + { + "name": "NotificationThread", + "kind": "objects", + "id": "notificationthread", + "href": "/graphql/reference/objects#notificationthread", + "description": "

Represents a notification thread for the viewer.

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

The Node ID of the NotificationThread object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "isArchived", + "description": "

Archived state of the notification.

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

Done state of the notification.

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

Whether a notification has been saved.

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

Whether a notification has been starred.

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

Unread state of the notification.

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

The last time that notifications were read for this thread.

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

The last time that notifications were updated for this thread.

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

The last time that a notification was received on this thread for the current user.

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

The notification's list.

", + "type": "NotificationsList!", + "id": "notificationslist", + "kind": "unions", + "href": "/graphql/reference/unions#notificationslist" + }, + { + "name": "listId", + "description": "

The notification's list id.

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

The notification's list type.

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

The oldest unread author internal anchor.

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

The reason a notification was received.

", + "type": "NotificationReason", + "id": "notificationreason", + "kind": "enums", + "href": "/graphql/reference/enums#notificationreason" + }, + { + "name": "recentParticipants", + "description": "

The last 3 recent participants.

", + "type": "[User!]!", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user" + }, + { + "name": "subject", + "description": "

The notification's subject.

", + "type": "NotificationsSubject!", + "id": "notificationssubject", + "kind": "unions", + "href": "/graphql/reference/unions#notificationssubject" + }, + { + "name": "subscriptionStatus", + "description": "

Subscription status for the thread.

", + "type": "NotificationThreadSubscriptionState!", + "id": "notificationthreadsubscriptionstate", + "kind": "enums", + "href": "/graphql/reference/enums#notificationthreadsubscriptionstate" + }, + { + "name": "summaryId", + "description": "

The notification's rollup summary id.

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

The author of the item being used to summarize the thread.

", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user" + }, + { + "name": "summaryItemBody", + "description": "

The body text of the item being used to summarize the thread.

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

The notification's thread id.

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

The notification's thread type.

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

The notification's title.

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

The number of unread items.

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

The HTTP URL for the notification thread's subject.

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

A list of notification threads.

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

A list of edges.

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

A list of nodes.

", + "type": "[NotificationThread]", + "id": "notificationthread", + "kind": "objects", + "href": "/graphql/reference/objects#notificationthread" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

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

Identifies the total count of items in the connection.

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

An edge in a connection.

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

A cursor for use in pagination.

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

The item at the end of the edge.

", + "type": "NotificationThread", + "id": "notificationthread", + "kind": "objects", + "href": "/graphql/reference/objects#notificationthread" + } + ] + }, { "name": "OIDCProvider", "kind": "objects", @@ -40120,7 +41299,17 @@ "type": "String", "id": "string", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#string", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

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

The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise.

", + "type": "AnnouncementBanner", + "id": "announcementbanner", + "kind": "objects", + "href": "/graphql/reference/objects#announcementbanner" }, { "name": "announcementCreatedAt", @@ -40128,7 +41317,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementExpiresAt", @@ -40136,7 +41327,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementUserDismissible", @@ -40144,7 +41337,9 @@ "type": "Boolean", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "anyPinnableItems", @@ -44447,6 +45642,102 @@ } ] }, + { + "name": "ParentIssueAddedEvent", + "kind": "objects", + "id": "parentissueaddedevent", + "href": "/graphql/reference/objects#parentissueaddedevent", + "description": "

Represents aparent_issue_addedevent on a given issue.

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

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

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

The Node ID of the ParentIssueAddedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "parent", + "description": "

The parent issue added.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + } + ] + }, + { + "name": "ParentIssueRemovedEvent", + "kind": "objects", + "id": "parentissueremovedevent", + "href": "/graphql/reference/objects#parentissueremovedevent", + "description": "

Represents aparent_issue_removedevent on a given issue.

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

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

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

The Node ID of the ParentIssueRemovedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "parent", + "description": "

The parent issue removed.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + } + ] + }, { "name": "PermissionSource", "kind": "objects", @@ -46861,6 +48152,15 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

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

The HTTP URL for this project.

", @@ -50391,7 +51691,20 @@ "type": "HTML!", "id": "html", "kind": "scalars", - "href": "/graphql/reference/scalars#html" + "href": "/graphql/reference/scalars#html", + "arguments": [ + { + "name": "renderMobileTasklistBlocks", + "defaultValue": false, + "description": "

Whether or not to render tasklist blocks using Mobile-specific HTML.

", + "type": { + "name": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + } + ] }, { "name": "bodyText", @@ -51904,6 +53217,28 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "arguments": [ + { + "name": "name", + "defaultValue": "UPDATED", + "description": "

The name of the channel to use.

", + "type": { + "name": "PullRequestPubSubTopic", + "id": "pullrequestpubsubtopic", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestpubsubtopic" + } + } + ], + "isDeprecated": false + }, { "name": "url", "description": "

The HTTP URL for this pull request.

", @@ -52659,6 +53994,14 @@ "href": "/graphql/reference/objects#pullrequestparameters", "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

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

When merging pull requests, you can allow any combination of merge commits,\nsquashing, or rebasing. At least one option must be enabled.

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

New, reviewable commits pushed will dismiss previous pull request review approvals.

", @@ -55654,6 +56997,15 @@ "id": "gitobject", "kind": "interfaces", "href": "/graphql/reference/interfaces#gitobject" + }, + { + "name": "updatesChannel", + "description": "

Channel value for subscribing to live updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "isDeprecated": false } ] }, @@ -64426,6 +65778,52 @@ } ] }, + { + "name": "RepositoryDependabotAlertsThread", + "kind": "objects", + "id": "repositorydependabotalertsthread", + "href": "/graphql/reference/objects#repositorydependabotalertsthread", + "description": "

A wrapper on Repository used for Dependabot Alerts notifications.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + }, + { + "name": "RepositoryNode", + "id": "repositorynode", + "href": "/graphql/reference/interfaces#repositorynode" + } + ], + "fields": [ + { + "name": "id", + "description": "

The Node ID of the RepositoryDependabotAlertsThread object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "notificationsPermalink", + "description": "

The URL pointing to the repository's dependabot alerts page.

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

The repository associated with this node.

", + "type": "Repository!", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository" + } + ] + }, { "name": "RepositoryEdge", "kind": "objects", @@ -67212,6 +68610,14 @@ "isDeprecated": true, "deprecationReason": "

cvss will be removed. New cvss_severities field will now contain both cvss_v3 and cvss_v4 properties. Removal on 2025-10-01 UTC.

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

The CVSS associated with this advisory.

", + "type": "CvssSeverities!", + "id": "cvssseverities", + "kind": "objects", + "href": "/graphql/reference/objects#cvssseverities" + }, { "name": "cwes", "description": "

CWEs associated with this Advisory.

", @@ -70160,6 +71566,102 @@ } ] }, + { + "name": "SubIssueAddedEvent", + "kind": "objects", + "id": "subissueaddedevent", + "href": "/graphql/reference/objects#subissueaddedevent", + "description": "

Represents asub_issue_addedevent on a given issue.

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

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

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

The Node ID of the SubIssueAddedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "subIssue", + "description": "

The sub-issue added.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + } + ] + }, + { + "name": "SubIssueRemovedEvent", + "kind": "objects", + "id": "subissueremovedevent", + "href": "/graphql/reference/objects#subissueremovedevent", + "description": "

Represents asub_issue_removedevent on a given issue.

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

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

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

The Node ID of the SubIssueRemovedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "subIssue", + "description": "

The sub-issue removed.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + } + ] + }, { "name": "SubIssuesSummary", "kind": "objects", @@ -75225,6 +76727,15 @@ "kind": "objects", "href": "/graphql/reference/objects#copilotendpoints" }, + { + "name": "copilotLimitedUser", + "description": "

Properties of the current Copilot user, if limited by Copilot Free.

", + "type": "CopilotLimitedUser", + "id": "copilotlimiteduser", + "kind": "objects", + "href": "/graphql/reference/objects#copilotlimiteduser", + "isDeprecated": false + }, { "name": "createdAt", "description": "

Identifies the date and time when the object was created.

", @@ -76012,6 +77523,77 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "notificationThreads", + "description": "

A list of notification threads for the viewer. Returns an empty list for a user other than\nthe current viewer.

\n

Combining both filterBy and query arguments will result in an error.\nPlease favor using the query argument.

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

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

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

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

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

Filtering options for notifications. Will soon be deprecated.

", + "type": { + "name": "NotificationThreadFilters", + "id": "notificationthreadfilters", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#notificationthreadfilters" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

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

Returns the last n elements from the list.

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

The search string to look for. If no is:read, is:unread, or is:done\nqualifiers are included in the query, results will include read and unread\nnotification threads by default.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ], + "isDeprecated": false + }, { "name": "organization", "description": "

Find an organization by its login that the user belongs to.

", @@ -78843,6 +80425,128 @@ } ] }, + { + "name": "UserNamespaceRepository", + "kind": "objects", + "id": "usernamespacerepository", + "href": "/graphql/reference/objects#usernamespacerepository", + "description": "

A repository owned by an Enterprise Managed user.

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

The Node ID of the UserNamespaceRepository object.

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

The name of the repository.

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

The repository's name with owner.

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

The user owner of the repository.

", + "type": "RepositoryOwner!", + "id": "repositoryowner", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#repositoryowner" + }, + { + "name": "repository", + "description": "

The repository owned by an enterprise managed user.

", + "type": "RepositoryInfo", + "id": "repositoryinfo", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#repositoryinfo" + } + ] + }, + { + "name": "UserNamespaceRepositoryConnection", + "kind": "objects", + "id": "usernamespacerepositoryconnection", + "href": "/graphql/reference/objects#usernamespacerepositoryconnection", + "description": "

A list of repositories owned by users in an enterprise with Enterprise Managed Users.

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

A list of edges.

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

A list of nodes.

", + "type": "[UserNamespaceRepository]", + "id": "usernamespacerepository", + "kind": "objects", + "href": "/graphql/reference/objects#usernamespacerepository" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

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

Identifies the total count of items in the connection.

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

An edge in a connection.

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

A cursor for use in pagination.

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

The item at the end of the edge.

", + "type": "UserNamespaceRepository", + "id": "usernamespacerepository", + "kind": "objects", + "href": "/graphql/reference/objects#usernamespacerepository" + } + ] + }, { "name": "UserStatus", "kind": "objects", @@ -79894,7 +81598,9 @@ "type": "String", "id": "string", "kind": "scalars", - "href": "/graphql/reference/scalars#string" + "href": "/graphql/reference/scalars#string", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementCreatedAt", @@ -79902,7 +81608,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementExpiresAt", @@ -79910,7 +81618,9 @@ "type": "DateTime", "id": "datetime", "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" + "href": "/graphql/reference/scalars#datetime", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" }, { "name": "announcementUserDismissible", @@ -79918,7 +81628,9 @@ "type": "Boolean", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

The individual announcementX fields do not follow our standard GraphQL patterns. Use the announcementBanner object instead. Removal on 2025-04-01 UTC.

" } ] }, @@ -84028,6 +85740,24 @@ } ] }, + { + "name": "CopilotLimitedFeature", + "kind": "enums", + "id": "copilotlimitedfeature", + "href": "/graphql/reference/enums#copilotlimitedfeature", + "description": "

The type of the activity that was performed.

", + "isDeprecated": false, + "values": [ + { + "name": "CHAT", + "description": "

Copilot Chat.

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

Copilot IDE completions.

" + } + ] + }, { "name": "DefaultRepositoryPermissionField", "kind": "enums", @@ -84323,6 +86053,24 @@ } ] }, + { + "name": "DiscussionPubSubTopic", + "kind": "enums", + "id": "discussionpubsubtopic", + "href": "/graphql/reference/enums#discussionpubsubtopic", + "description": "

The possible PubSub channels for an discussion.

", + "isDeprecated": false, + "values": [ + { + "name": "TIMELINE", + "description": "

The channel ID for updating items on the discussion timeline.

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

The channel ID for observing discussion updates.

" + } + ] + }, { "name": "DiscussionState", "kind": "enums", @@ -85140,6 +86888,32 @@ } ] }, + { + "name": "IssuePubSubTopic", + "kind": "enums", + "id": "issuepubsubtopic", + "href": "/graphql/reference/enums#issuepubsubtopic", + "description": "

The possible PubSub channels for an issue.

", + "isDeprecated": false, + "values": [ + { + "name": "CLOSE_REFERENCES", + "description": "

The channel ID for observing issue close references.

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

The channel ID for observing issue state updates.

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

The channel ID for updating items on the issue timeline.

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

The channel ID for observing issue updates.

" + } + ] + }, { "name": "IssueState", "kind": "enums", @@ -85170,7 +86944,7 @@ }, { "name": "DUPLICATE", - "description": "

An issue that has been closed as a duplicate.

" + "description": "

An issue that has been closed as a duplicate. To retrieve this value, set\n(enableDuplicate: true) when querying the stateReason field.

" }, { "name": "NOT_PLANNED", @@ -85257,6 +87031,14 @@ "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

" @@ -85281,6 +87063,14 @@ "name": "SUBSCRIBED_EVENT", "description": "

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

" @@ -85671,6 +87461,84 @@ } ] }, + { + "name": "NotificationReason", + "kind": "enums", + "id": "notificationreason", + "href": "/graphql/reference/enums#notificationreason", + "description": "

The reason you received a notification about a subject.

", + "isDeprecated": false, + "values": [ + { + "name": "APPROVAL_REQUESTED", + "description": "

You were requested for review for deployment.

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

You were assigned to the Issue/PR.

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

You created the thread.

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

You are subscribed to continuous integration activity.

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

You commented on the thread.

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

You accepted an invitation to contribute to the repository.

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

You subscribed to the thread (via an Issue or Pull Request).

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

New requests from members.

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

You were specifically @mentioned in the content.

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

A pull request you're subscribed to was marked ready for review.

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

You were requested for review.

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

You saved this notification.

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

You were given credit for contributing to a Security Advisory.

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

You have access to the notification subject's Dependabot alerts.

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

You changed the thread state (for example, closing an Issue or merging a Pull Request).

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

You are watching the subject of the notification.

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

You were on a team that was mentioned.

" + } + ] + }, { "name": "NotificationRestrictionSettingValue", "kind": "enums", @@ -85688,6 +87556,62 @@ } ] }, + { + "name": "NotificationStatus", + "kind": "enums", + "id": "notificationstatus", + "href": "/graphql/reference/enums#notificationstatus", + "description": "

The possible states of a notification.

", + "isDeprecated": false, + "values": [ + { + "name": "ARCHIVED", + "description": "

A notification is archived.

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

A notification is done.

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

A notification is read.

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

A notification is unread.

" + } + ] + }, + { + "name": "NotificationThreadSubscriptionState", + "kind": "enums", + "id": "notificationthreadsubscriptionstate", + "href": "/graphql/reference/enums#notificationthreadsubscriptionstate", + "description": "

The possible subscription states of a notification thread.

", + "isDeprecated": false, + "values": [ + { + "name": "LIST_IGNORED", + "description": "

The thread's list is ignored.

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

The thread's list is subscribed to.

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

The thread is subscribed to.

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

The thread's type is subscribed to.

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

The thread is not subscribed to.

" + } + ] + }, { "name": "OIDCProviderType", "kind": "enums", @@ -87012,6 +88936,68 @@ } ] }, + { + "name": "PullRequestPubSubTopic", + "kind": "enums", + "id": "pullrequestpubsubtopic", + "href": "/graphql/reference/enums#pullrequestpubsubtopic", + "description": "

The possible PubSub channels for a pull request.

", + "isDeprecated": false, + "values": [ + { + "name": "BASE_REF", + "description": "

The channel ID for observing base ref updates.

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

The channel ID for observing head commit updates.

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

The channel ID for observing pull request deployed updates.

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

The channel ID for observing pull request git merge state updates.

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

The channel ID for observing head ref updates.

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

The channel ID for observing pull request mergeability with HEAD or base branch.

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

The channel ID for observing pull request merge queue entry updates.

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

The channel ID for observing pull request user presence updates.

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

The channel ID for observing pull request review state updates.

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

The channel ID for observing pull request state updates.

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

The channel ID for updating items on the pull request timeline.

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

The channel ID for observing pull request updates.

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

The channel ID for observing pull request workflow run updates.

" + } + ] + }, { "name": "PullRequestReviewCommentState", "kind": "enums", @@ -87285,6 +89271,14 @@ "name": "MOVED_COLUMNS_IN_PROJECT_EVENT", "description": "

Represents amoved_columns_in_projectevent on a given issue or pull request.

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

Represents aparent_issue_addedevent on a given issue.

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

Represents aparent_issue_removedevent on a given issue.

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

Represents apinnedevent on a given issue or pull request.

" @@ -87349,6 +89343,14 @@ "name": "SUBSCRIBED_EVENT", "description": "

Represents asubscribedevent on a given Subscribable.

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

Represents asub_issue_addedevent on a given issue.

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

Represents asub_issue_removedevent on a given issue.

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

Represents atransferredevent on a given issue or pull request.

" @@ -87497,7 +89499,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87518,7 +89520,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87539,7 +89541,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87581,7 +89583,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87602,7 +89604,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -87623,7 +89625,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -88126,6 +90128,10 @@ "name": "PUSH", "description": "

Push.

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

repository.

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

Tag.

" @@ -88141,7 +90147,7 @@ "values": [ { "name": "INTERNAL", - "description": "

The repository is visible only to users in the same business.

" + "description": "

The repository is visible only to users in the same enterprise.

" }, { "name": "PRIVATE", @@ -90245,6 +92251,24 @@ } ] }, + { + "name": "UserPubSubTopic", + "kind": "enums", + "id": "userpubsubtopic", + "href": "/graphql/reference/enums#userpubsubtopic", + "description": "

The possible PubSub channels for a user.

", + "isDeprecated": false, + "values": [ + { + "name": "MARKED_READ", + "description": "

The channel ID for observing user marked as read updates.

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

The channel ID for observing user notifications changed updates.

" + } + ] + }, { "name": "UserStatusOrderField", "kind": "enums", @@ -90718,185 +92742,325 @@ ] }, { - "name": "IssueTimelineItems", + "name": "IssueTimelineItems", + "kind": "unions", + "id": "issuetimelineitems", + "href": "/graphql/reference/unions#issuetimelineitems", + "description": "

An item in an issue timeline.

", + "possibleTypes": [ + { + "name": "AddedToProjectEvent", + "id": "addedtoprojectevent", + "href": "/graphql/reference/objects#addedtoprojectevent" + }, + { + "name": "AssignedEvent", + "id": "assignedevent", + "href": "/graphql/reference/objects#assignedevent" + }, + { + "name": "ClosedEvent", + "id": "closedevent", + "href": "/graphql/reference/objects#closedevent" + }, + { + "name": "CommentDeletedEvent", + "id": "commentdeletedevent", + "href": "/graphql/reference/objects#commentdeletedevent" + }, + { + "name": "ConnectedEvent", + "id": "connectedevent", + "href": "/graphql/reference/objects#connectedevent" + }, + { + "name": "ConvertedNoteToIssueEvent", + "id": "convertednotetoissueevent", + "href": "/graphql/reference/objects#convertednotetoissueevent" + }, + { + "name": "ConvertedToDiscussionEvent", + "id": "convertedtodiscussionevent", + "href": "/graphql/reference/objects#convertedtodiscussionevent" + }, + { + "name": "CrossReferencedEvent", + "id": "crossreferencedevent", + "href": "/graphql/reference/objects#crossreferencedevent" + }, + { + "name": "DemilestonedEvent", + "id": "demilestonedevent", + "href": "/graphql/reference/objects#demilestonedevent" + }, + { + "name": "DisconnectedEvent", + "id": "disconnectedevent", + "href": "/graphql/reference/objects#disconnectedevent" + }, + { + "name": "IssueComment", + "id": "issuecomment", + "href": "/graphql/reference/objects#issuecomment" + }, + { + "name": "LabeledEvent", + "id": "labeledevent", + "href": "/graphql/reference/objects#labeledevent" + }, + { + "name": "LockedEvent", + "id": "lockedevent", + "href": "/graphql/reference/objects#lockedevent" + }, + { + "name": "MarkedAsDuplicateEvent", + "id": "markedasduplicateevent", + "href": "/graphql/reference/objects#markedasduplicateevent" + }, + { + "name": "MentionedEvent", + "id": "mentionedevent", + "href": "/graphql/reference/objects#mentionedevent" + }, + { + "name": "MilestonedEvent", + "id": "milestonedevent", + "href": "/graphql/reference/objects#milestonedevent" + }, + { + "name": "MovedColumnsInProjectEvent", + "id": "movedcolumnsinprojectevent", + "href": "/graphql/reference/objects#movedcolumnsinprojectevent" + }, + { + "name": "ParentIssueAddedEvent", + "id": "parentissueaddedevent", + "href": "/graphql/reference/objects#parentissueaddedevent" + }, + { + "name": "ParentIssueRemovedEvent", + "id": "parentissueremovedevent", + "href": "/graphql/reference/objects#parentissueremovedevent" + }, + { + "name": "PinnedEvent", + "id": "pinnedevent", + "href": "/graphql/reference/objects#pinnedevent" + }, + { + "name": "ReferencedEvent", + "id": "referencedevent", + "href": "/graphql/reference/objects#referencedevent" + }, + { + "name": "RemovedFromProjectEvent", + "id": "removedfromprojectevent", + "href": "/graphql/reference/objects#removedfromprojectevent" + }, + { + "name": "RenamedTitleEvent", + "id": "renamedtitleevent", + "href": "/graphql/reference/objects#renamedtitleevent" + }, + { + "name": "ReopenedEvent", + "id": "reopenedevent", + "href": "/graphql/reference/objects#reopenedevent" + }, + { + "name": "SubIssueAddedEvent", + "id": "subissueaddedevent", + "href": "/graphql/reference/objects#subissueaddedevent" + }, + { + "name": "SubIssueRemovedEvent", + "id": "subissueremovedevent", + "href": "/graphql/reference/objects#subissueremovedevent" + }, + { + "name": "SubscribedEvent", + "id": "subscribedevent", + "href": "/graphql/reference/objects#subscribedevent" + }, + { + "name": "TransferredEvent", + "id": "transferredevent", + "href": "/graphql/reference/objects#transferredevent" + }, + { + "name": "UnassignedEvent", + "id": "unassignedevent", + "href": "/graphql/reference/objects#unassignedevent" + }, + { + "name": "UnlabeledEvent", + "id": "unlabeledevent", + "href": "/graphql/reference/objects#unlabeledevent" + }, + { + "name": "UnlockedEvent", + "id": "unlockedevent", + "href": "/graphql/reference/objects#unlockedevent" + }, + { + "name": "UnmarkedAsDuplicateEvent", + "id": "unmarkedasduplicateevent", + "href": "/graphql/reference/objects#unmarkedasduplicateevent" + }, + { + "name": "UnpinnedEvent", + "id": "unpinnedevent", + "href": "/graphql/reference/objects#unpinnedevent" + }, + { + "name": "UnsubscribedEvent", + "id": "unsubscribedevent", + "href": "/graphql/reference/objects#unsubscribedevent" + }, + { + "name": "UserBlockedEvent", + "id": "userblockedevent", + "href": "/graphql/reference/objects#userblockedevent" + } + ] + }, + { + "name": "MilestoneItem", "kind": "unions", - "id": "issuetimelineitems", - "href": "/graphql/reference/unions#issuetimelineitems", - "description": "

An item in an issue timeline.

", + "id": "milestoneitem", + "href": "/graphql/reference/unions#milestoneitem", + "description": "

Types that can be inside a Milestone.

", "possibleTypes": [ { - "name": "AddedToProjectEvent", - "id": "addedtoprojectevent", - "href": "/graphql/reference/objects#addedtoprojectevent" - }, - { - "name": "AssignedEvent", - "id": "assignedevent", - "href": "/graphql/reference/objects#assignedevent" - }, - { - "name": "ClosedEvent", - "id": "closedevent", - "href": "/graphql/reference/objects#closedevent" - }, - { - "name": "CommentDeletedEvent", - "id": "commentdeletedevent", - "href": "/graphql/reference/objects#commentdeletedevent" - }, - { - "name": "ConnectedEvent", - "id": "connectedevent", - "href": "/graphql/reference/objects#connectedevent" - }, - { - "name": "ConvertedNoteToIssueEvent", - "id": "convertednotetoissueevent", - "href": "/graphql/reference/objects#convertednotetoissueevent" - }, - { - "name": "ConvertedToDiscussionEvent", - "id": "convertedtodiscussionevent", - "href": "/graphql/reference/objects#convertedtodiscussionevent" - }, - { - "name": "CrossReferencedEvent", - "id": "crossreferencedevent", - "href": "/graphql/reference/objects#crossreferencedevent" - }, - { - "name": "DemilestonedEvent", - "id": "demilestonedevent", - "href": "/graphql/reference/objects#demilestonedevent" - }, - { - "name": "DisconnectedEvent", - "id": "disconnectedevent", - "href": "/graphql/reference/objects#disconnectedevent" - }, - { - "name": "IssueComment", - "id": "issuecomment", - "href": "/graphql/reference/objects#issuecomment" + "name": "Issue", + "id": "issue", + "href": "/graphql/reference/objects#issue" }, { - "name": "LabeledEvent", - "id": "labeledevent", - "href": "/graphql/reference/objects#labeledevent" - }, + "name": "PullRequest", + "id": "pullrequest", + "href": "/graphql/reference/objects#pullrequest" + } + ] + }, + { + "name": "NotificationsList", + "kind": "unions", + "id": "notificationslist", + "href": "/graphql/reference/unions#notificationslist", + "description": "

The parent object that the notification thread's subject belongs to.

", + "isDeprecated": false, + "possibleTypes": [ { - "name": "LockedEvent", - "id": "lockedevent", - "href": "/graphql/reference/objects#lockedevent" + "name": "Enterprise", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise" }, { - "name": "MarkedAsDuplicateEvent", - "id": "markedasduplicateevent", - "href": "/graphql/reference/objects#markedasduplicateevent" + "name": "Organization", + "id": "organization", + "href": "/graphql/reference/objects#organization" }, { - "name": "MentionedEvent", - "id": "mentionedevent", - "href": "/graphql/reference/objects#mentionedevent" + "name": "Repository", + "id": "repository", + "href": "/graphql/reference/objects#repository" }, { - "name": "MilestonedEvent", - "id": "milestonedevent", - "href": "/graphql/reference/objects#milestonedevent" + "name": "Team", + "id": "team", + "href": "/graphql/reference/objects#team" }, { - "name": "MovedColumnsInProjectEvent", - "id": "movedcolumnsinprojectevent", - "href": "/graphql/reference/objects#movedcolumnsinprojectevent" - }, + "name": "User", + "id": "user", + "href": "/graphql/reference/objects#user" + } + ] + }, + { + "name": "NotificationsSubject", + "kind": "unions", + "id": "notificationssubject", + "href": "/graphql/reference/unions#notificationssubject", + "description": "

The notification's subject.

", + "isDeprecated": false, + "possibleTypes": [ { - "name": "PinnedEvent", - "id": "pinnedevent", - "href": "/graphql/reference/objects#pinnedevent" + "name": "CheckSuite", + "id": "checksuite", + "href": "/graphql/reference/objects#checksuite" }, { - "name": "ReferencedEvent", - "id": "referencedevent", - "href": "/graphql/reference/objects#referencedevent" + "name": "Commit", + "id": "commit", + "href": "/graphql/reference/objects#commit" }, { - "name": "RemovedFromProjectEvent", - "id": "removedfromprojectevent", - "href": "/graphql/reference/objects#removedfromprojectevent" + "name": "Discussion", + "id": "discussion", + "href": "/graphql/reference/objects#discussion" }, { - "name": "RenamedTitleEvent", - "id": "renamedtitleevent", - "href": "/graphql/reference/objects#renamedtitleevent" + "name": "Gist", + "id": "gist", + "href": "/graphql/reference/objects#gist" }, { - "name": "ReopenedEvent", - "id": "reopenedevent", - "href": "/graphql/reference/objects#reopenedevent" + "name": "Issue", + "id": "issue", + "href": "/graphql/reference/objects#issue" }, { - "name": "SubscribedEvent", - "id": "subscribedevent", - "href": "/graphql/reference/objects#subscribedevent" + "name": "MemberFeatureRequestNotification", + "id": "memberfeaturerequestnotification", + "href": "/graphql/reference/objects#memberfeaturerequestnotification" }, { - "name": "TransferredEvent", - "id": "transferredevent", - "href": "/graphql/reference/objects#transferredevent" + "name": "ProjectV2", + "id": "projectv2", + "href": "/graphql/reference/objects#projectv2" }, { - "name": "UnassignedEvent", - "id": "unassignedevent", - "href": "/graphql/reference/objects#unassignedevent" + "name": "PullRequest", + "id": "pullrequest", + "href": "/graphql/reference/objects#pullrequest" }, { - "name": "UnlabeledEvent", - "id": "unlabeledevent", - "href": "/graphql/reference/objects#unlabeledevent" + "name": "Release", + "id": "release", + "href": "/graphql/reference/objects#release" }, { - "name": "UnlockedEvent", - "id": "unlockedevent", - "href": "/graphql/reference/objects#unlockedevent" + "name": "RepositoryDependabotAlertsThread", + "id": "repositorydependabotalertsthread", + "href": "/graphql/reference/objects#repositorydependabotalertsthread" }, { - "name": "UnmarkedAsDuplicateEvent", - "id": "unmarkedasduplicateevent", - "href": "/graphql/reference/objects#unmarkedasduplicateevent" + "name": "RepositoryInvitation", + "id": "repositoryinvitation", + "href": "/graphql/reference/objects#repositoryinvitation" }, { - "name": "UnpinnedEvent", - "id": "unpinnedevent", - "href": "/graphql/reference/objects#unpinnedevent" + "name": "RepositoryVulnerabilityAlert", + "id": "repositoryvulnerabilityalert", + "href": "/graphql/reference/objects#repositoryvulnerabilityalert" }, { - "name": "UnsubscribedEvent", - "id": "unsubscribedevent", - "href": "/graphql/reference/objects#unsubscribedevent" + "name": "SecurityAdvisory", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory" }, { - "name": "UserBlockedEvent", - "id": "userblockedevent", - "href": "/graphql/reference/objects#userblockedevent" - } - ] - }, - { - "name": "MilestoneItem", - "kind": "unions", - "id": "milestoneitem", - "href": "/graphql/reference/unions#milestoneitem", - "description": "

Types that can be inside a Milestone.

", - "possibleTypes": [ - { - "name": "Issue", - "id": "issue", - "href": "/graphql/reference/objects#issue" + "name": "TeamDiscussion", + "id": "teamdiscussion", + "href": "/graphql/reference/objects#teamdiscussion" }, { - "name": "PullRequest", - "id": "pullrequest", - "href": "/graphql/reference/objects#pullrequest" + "name": "WorkflowRun", + "id": "workflowrun", + "href": "/graphql/reference/objects#workflowrun" } ] }, @@ -91796,6 +93960,16 @@ "id": "movedcolumnsinprojectevent", "href": "/graphql/reference/objects#movedcolumnsinprojectevent" }, + { + "name": "ParentIssueAddedEvent", + "id": "parentissueaddedevent", + "href": "/graphql/reference/objects#parentissueaddedevent" + }, + { + "name": "ParentIssueRemovedEvent", + "id": "parentissueremovedevent", + "href": "/graphql/reference/objects#parentissueremovedevent" + }, { "name": "PinnedEvent", "id": "pinnedevent", @@ -91871,6 +94045,16 @@ "id": "reviewrequestedevent", "href": "/graphql/reference/objects#reviewrequestedevent" }, + { + "name": "SubIssueAddedEvent", + "id": "subissueaddedevent", + "href": "/graphql/reference/objects#subissueaddedevent" + }, + { + "name": "SubIssueRemovedEvent", + "id": "subissueremovedevent", + "href": "/graphql/reference/objects#subissueremovedevent" + }, { "name": "SubscribedEvent", "id": "subscribedevent", @@ -92473,6 +94657,40 @@ } ] }, + { + "name": "AccessUserNamespaceRepositoryInput", + "kind": "inputObjects", + "id": "accessusernamespacerepositoryinput", + "href": "/graphql/reference/input-objects#accessusernamespacerepositoryinput", + "description": "

Autogenerated input type of AccessUserNamespaceRepository.

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

A unique identifier for the client performing the mutation.

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

The ID of the enterprise owning the user namespace repository.

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

The ID of the user namespace repository to access.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + ] + }, { "name": "AddAssigneesToAssignableInput", "kind": "inputObjects", @@ -94304,6 +96522,15 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "duplicateIssueId", + "description": "

ID of the issue that this is a duplicate of.

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

ID of the issue to be closed.

", @@ -96406,6 +98633,33 @@ } ] }, + { + "name": "CreateSavedNotificationThreadInput", + "kind": "inputObjects", + "id": "createsavednotificationthreadinput", + "href": "/graphql/reference/input-objects#createsavednotificationthreadinput", + "description": "

Autogenerated input type of CreateSavedNotificationThread.

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

A unique identifier for the client performing the mutation.

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

The notification thread's id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "CreateSponsorsListingInput", "kind": "inputObjects", @@ -97501,6 +99755,33 @@ } ] }, + { + "name": "DeleteSavedNotificationThreadInput", + "kind": "inputObjects", + "id": "deletesavednotificationthreadinput", + "href": "/graphql/reference/input-objects#deletesavednotificationthreadinput", + "description": "

Autogenerated input type of DeleteSavedNotificationThread.

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

A unique identifier for the client performing the mutation.

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

The saved notification thread's id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DeleteTeamDiscussionCommentInput", "kind": "inputObjects", @@ -98996,6 +101277,40 @@ } ] }, + { + "name": "MarkAllNotificationsInput", + "kind": "inputObjects", + "id": "markallnotificationsinput", + "href": "/graphql/reference/input-objects#markallnotificationsinput", + "description": "

Autogenerated input type of MarkAllNotifications.

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

A unique identifier for the client performing the mutation.

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

Filter used to mark all specific notifications.

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

The new state for the notification.

", + "type": "NotificationStatus!", + "id": "notificationstatus", + "kind": "enums", + "href": "/graphql/reference/enums#notificationstatus" + } + ] + }, { "name": "MarkDiscussionCommentAsAnswerInput", "kind": "inputObjects", @@ -99078,7 +101393,224 @@ "type": "ID!", "id": "id", "kind": "scalars", - "href": "/graphql/reference/scalars#id" + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationAsReadInput", + "kind": "inputObjects", + "id": "marknotificationasreadinput", + "href": "/graphql/reference/input-objects#marknotificationasreadinput", + "description": "

Autogenerated input type of MarkNotificationAsRead.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationAsUndoneInput", + "kind": "inputObjects", + "id": "marknotificationasundoneinput", + "href": "/graphql/reference/input-objects#marknotificationasundoneinput", + "description": "

Autogenerated input type of MarkNotificationAsUndone.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationAsUnreadInput", + "kind": "inputObjects", + "id": "marknotificationasunreadinput", + "href": "/graphql/reference/input-objects#marknotificationasunreadinput", + "description": "

Autogenerated input type of MarkNotificationAsUnread.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread id.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationSubjectAsReadInput", + "kind": "inputObjects", + "id": "marknotificationsubjectasreadinput", + "href": "/graphql/reference/input-objects#marknotificationsubjectasreadinput", + "description": "

Autogenerated input type of MarkNotificationSubjectAsRead.

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

A unique identifier for the client performing the mutation.

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

The id of the notification subject to mark as read.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationsAsDoneInput", + "kind": "inputObjects", + "id": "marknotificationsasdoneinput", + "href": "/graphql/reference/input-objects#marknotificationsasdoneinput", + "description": "

Autogenerated input type of MarkNotificationsAsDone.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread IDs that will be marked as done.

", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationsAsReadInput", + "kind": "inputObjects", + "id": "marknotificationsasreadinput", + "href": "/graphql/reference/input-objects#marknotificationsasreadinput", + "description": "

Autogenerated input type of MarkNotificationsAsRead.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread IDs that will be marked as read.

", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationsAsUndoneInput", + "kind": "inputObjects", + "id": "marknotificationsasundoneinput", + "href": "/graphql/reference/input-objects#marknotificationsasundoneinput", + "description": "

Autogenerated input type of MarkNotificationsAsUndone.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread IDs to be marked as undone.

", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, + { + "name": "MarkNotificationsAsUnreadInput", + "kind": "inputObjects", + "id": "marknotificationsasunreadinput", + "href": "/graphql/reference/input-objects#marknotificationsasunreadinput", + "description": "

Autogenerated input type of MarkNotificationsAsUnread.

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

A unique identifier for the client performing the mutation.

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

The NotificationThread IDs that will be marked as unread.

", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false } ] }, @@ -99495,6 +102027,64 @@ } ] }, + { + "name": "NotificationThreadFilters", + "kind": "inputObjects", + "id": "notificationthreadfilters", + "href": "/graphql/reference/input-objects#notificationthreadfilters", + "description": "

Ways in which to filter lists of notification threads.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "listIds", + "description": "

Only return notification threads where the list is in the given list.

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

Only return notification threads where the reason is in the list.

", + "type": "[NotificationReason!]", + "id": "notificationreason", + "kind": "enums", + "href": "/graphql/reference/enums#notificationreason" + }, + { + "name": "savedOnly", + "description": "

Only return saved notifications. All other filters will be ignored.

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

Only return starred notifications. All other filters will be ignored.

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

Only return notifications where the status is in the list.

", + "type": "[NotificationStatus!]", + "id": "notificationstatus", + "kind": "enums", + "href": "/graphql/reference/enums#notificationstatus" + }, + { + "name": "threadTypes", + "description": "

Only return matching thread types.

", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "OrgEnterpriseOwnerOrder", "kind": "inputObjects", @@ -100188,6 +102778,14 @@ "href": "/graphql/reference/input-objects#pullrequestparametersinput", "description": "

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

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

When merging pull requests, you can allow any combination of merge commits,\nsquashing, or rebasing. At least one option must be enabled.

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

New, reviewable commits pushed will dismiss previous pull request review approvals.

", diff --git a/src/graphql/data/ghec/upcoming-changes.json b/src/graphql/data/ghec/upcoming-changes.json index 29b7742e051d..f3d101c3c25f 100644 --- a/src/graphql/data/ghec/upcoming-changes.json +++ b/src/graphql/data/ghec/upcoming-changes.json @@ -50,6 +50,38 @@ "criticality": "breaking", "owner": "dewski" }, + { + "location": "Organization.announcementUserDismissible", + "description": "

announcementUserDismissible will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Organization.announcementExpiresAt", + "description": "

announcementExpiresAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Organization.announcementCreatedAt", + "description": "

announcementCreatedAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Organization.announcement", + "description": "

announcement will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, { "location": "EnterpriseOwnerInfo.outsideCollaborators.hasTwoFactorEnabled", "description": "

hasTwoFactorEnabled will be removed. Use two_factor_method_security instead.

", @@ -73,6 +105,70 @@ "date": "2025-04-01", "criticality": "breaking", "owner": "authentication" + }, + { + "location": "Enterprise.announcementUserDismissible", + "description": "

announcementUserDismissible will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Enterprise.announcementExpiresAt", + "description": "

announcementExpiresAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Enterprise.announcementCreatedAt", + "description": "

announcementCreatedAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "Enterprise.announcement", + "description": "

announcement will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "AnnouncementBannerI.announcementUserDismissible", + "description": "

announcementUserDismissible will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "AnnouncementBannerI.announcementExpiresAt", + "description": "

announcementExpiresAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "AnnouncementBannerI.announcementCreatedAt", + "description": "

announcementCreatedAt will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" + }, + { + "location": "AnnouncementBannerI.announcement", + "description": "

announcement will be removed. Use the announcementBanner object instead.

", + "reason": "

The individual announcementX fields do not follow our standard GraphQL patterns.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "vaindil" } ], "2025-01-01": [ diff --git a/src/graphql/scripts/build-changelog.js b/src/graphql/scripts/build-changelog.js index d08e9d18ce7c..9ef9dfcd2a72 100644 --- a/src/graphql/scripts/build-changelog.js +++ b/src/graphql/scripts/build-changelog.js @@ -307,6 +307,7 @@ const CHANGES_TO_IGNORE = [ ChangeType.TypeDescriptionRemoved, ChangeType.TypeDescriptionAdded, ChangeType.DirectiveUsageFieldDefinitionAdded, + ChangeType.DirectiveUsageArgumentDefinitionAdded, ] export default { createChangelogEntry, cleanPreviewTitle, previewAnchor, prependDatedEntry }