From a53c5950b87b4d54de4daf9e8e1e5c5ed0a40c64 Mon Sep 17 00:00:00 2001 From: Evan Bonsignori Date: Thu, 8 Jan 2026 08:00:43 -0800 Subject: [PATCH 1/5] Fix content linter crash when processing `case` statements with `else` tags (#59050) --- src/content-linter/lib/helpers/liquid-utils.ts | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/content-linter/lib/helpers/liquid-utils.ts b/src/content-linter/lib/helpers/liquid-utils.ts index f8c3b2204789..79744a18346c 100644 --- a/src/content-linter/lib/helpers/liquid-utils.ts +++ b/src/content-linter/lib/helpers/liquid-utils.ts @@ -34,7 +34,6 @@ export const TAG_OPEN = '{{' export const TAG_CLOSE = '}}' export const conditionalTags = ['if', 'elseif', 'unless', 'case', 'ifversion'] -const CONDITIONAL_TAG_NAMES = ['if', 'ifversion', 'elsif', 'else', 'endif'] // Token parameter uses TopLevelToken which has begin and end properties export function getPositionData( @@ -120,13 +119,17 @@ export function getContentDeleteData( // `ifversion` tag is used. // Returns TagToken array since we filter to only Tag tokens export function getLiquidIfVersionTokens(content: string): TagToken[] { + // Include 'case' and 'endcase' so we can filter out `else` tags that belong to case statements + const IFVERSION_TAG_NAMES = ['if', 'ifversion', 'elsif', 'else', 'endif', 'case', 'endcase'] const tokens = getLiquidTokens(content) .filter((token): token is TagToken => token.kind === TokenKind.Tag) - .filter((token) => CONDITIONAL_TAG_NAMES.includes(token.name)) + .filter((token) => IFVERSION_TAG_NAMES.includes(token.name)) let inIfStatement = false + let inCaseStatement = false const ifVersionTokens: TagToken[] = [] for (const token of tokens) { + // Filter out `if` statements and their related tags if (token.name === 'if') { inIfStatement = true continue @@ -136,6 +139,16 @@ export function getLiquidIfVersionTokens(content: string): TagToken[] { inIfStatement = false continue } + // Filter out `case` statements and their related tags (including `else`) + if (token.name === 'case') { + inCaseStatement = true + continue + } + if (inCaseStatement && token.name !== 'endcase') continue + if (inCaseStatement && token.name === 'endcase') { + inCaseStatement = false + continue + } ifVersionTokens.push(token) } return ifVersionTokens From 2706f417a6afec24c57482d62f70035ee35c10fb Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Thu, 8 Jan 2026 08:41:43 -0800 Subject: [PATCH 2/5] GraphQL schema update (#59062) Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com> --- src/graphql/data/fpt/changelog.json | 30 + .../fpt/graphql_upcoming_changes.public.yml | 136 -- src/graphql/data/fpt/schema.docs.graphql | 570 +------ src/graphql/data/fpt/schema.json | 1449 ++++------------- src/graphql/data/fpt/upcoming-changes.json | 136 -- .../ghec/graphql_upcoming_changes.public.yml | 136 -- src/graphql/data/ghec/schema.docs.graphql | 570 +------ src/graphql/data/ghec/schema.json | 1449 ++++------------- src/graphql/data/ghec/upcoming-changes.json | 136 -- 9 files changed, 582 insertions(+), 4030 deletions(-) diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 0ffe2952c52f..ebb874c49507 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,34 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type CreateTeamDiscussionInput was removed

", + "

Type CreateTeamDiscussionPayload was removed

", + "

Type DeleteTeamDiscussionInput was removed

", + "

Type DeleteTeamDiscussionPayload was removed

", + "

Type TeamDiscussion was removed

", + "

Type TeamDiscussionConnection was removed

", + "

Type TeamDiscussionEdge was removed

", + "

Type TeamDiscussionOrder was removed

", + "

Type TeamDiscussionOrderField was removed

", + "

Type UpdateTeamDiscussionInput was removed

", + "

Type UpdateTeamDiscussionPayload was removed

", + "

Field createTeamDiscussion was removed from object type Mutation

", + "

Field deleteTeamDiscussion was removed from object type Mutation

", + "

Field updateTeamDiscussion was removed from object type Mutation

", + "

Field discussion was removed from object type Team

", + "

Field discussions was removed from object type Team

", + "

Field discussionsResourcePath was removed from object type Team

", + "

Field discussionsUrl was removed from object type Team

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2026-01-08" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml index 0f59bb0649a9..63fed0b0ea09 100644 --- a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml @@ -402,46 +402,6 @@ upcoming_changes: date: '2024-04-01T00:00:00+00:00' criticality: breaking owner: calvinchilds - - location: CreateTeamDiscussionInput.body - description: - '`body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionInput.private - description: - '`private` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionInput.teamId - description: - '`teamId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionInput.title - description: - '`title` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionPayload.teamDiscussion - description: - '`teamDiscussion` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: OrganizationInvitation.inviter description: '`inviter` will be removed. `inviter` will be replaced by `inviterActor`.' reason: '`inviter` will be removed.' @@ -472,102 +432,6 @@ upcoming_changes: date: '2024-07-01T00:00:00+00:00' criticality: breaking owner: JanKoszewski - - location: TeamDiscussion.authorAssociation - description: - '`authorAssociation` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.bodyVersion - description: - '`bodyVersion` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.commentsResourcePath - description: - '`commentsResourcePath` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.commentsUrl - description: - '`commentsUrl` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.isPinned - description: - '`isPinned` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.isPrivate - description: - '`isPrivate` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.number - description: - '`number` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.resourcePath - description: - '`resourcePath` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.team - description: - '`team` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.title - description: - '`title` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.url - description: - '`url` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.viewerCanPin - description: - '`viewerCanPin` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: Workflow.hasWorkflowDispatchTrigger description: '`hasWorkflowDispatchTrigger` will be removed. Use `has_workflow_dispatch_trigger_for_branch(branch_ref)` diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 431070437bba..f63217359c64 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -1126,7 +1126,6 @@ input AddReactionInput { "PullRequestReview" "PullRequestReviewComment" "Release" - "TeamDiscussion" ] abstractType: "Reactable" ) @@ -9212,80 +9211,6 @@ type CreateSponsorshipsPayload { sponsorables: [Sponsorable!] } -""" -Autogenerated input type of CreateTeamDiscussion -""" -input CreateTeamDiscussionInput { - """ - The content of the discussion. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `body` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - body: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - If true, restricts the visibility of this discussion to team members and - organization owners. If false or not specified, allows any organization member - to view this discussion. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `private` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - private: Boolean - - """ - The ID of the team to which the discussion belongs. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `teamId` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - teamId: ID @possibleTypes(concreteTypes: ["Team"]) - - """ - The title of the discussion. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `title` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - title: String -} - -""" -Autogenerated return type of CreateTeamDiscussion. -""" -type CreateTeamDiscussionPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The new discussion. - """ - teamDiscussion: TeamDiscussion - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) -} - """ Autogenerated input type of CreateUserList """ @@ -10720,31 +10645,6 @@ type DeleteRepositoryRulesetPayload { clientMutationId: String } -""" -Autogenerated input type of DeleteTeamDiscussion -""" -input DeleteTeamDiscussionInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The discussion ID to delete. - """ - id: ID! @possibleTypes(concreteTypes: ["TeamDiscussion"]) -} - -""" -Autogenerated return type of DeleteTeamDiscussion. -""" -type DeleteTeamDiscussionPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - """ Autogenerated input type of DeleteUserList """ @@ -25441,16 +25341,6 @@ type Mutation { input: CreateSponsorshipsInput! ): CreateSponsorshipsPayload - """ - Creates a new team discussion. - """ - createTeamDiscussion( - """ - Parameters for CreateTeamDiscussion - """ - input: CreateTeamDiscussionInput! - ): CreateTeamDiscussionPayload - """ Creates a new user list. """ @@ -25730,16 +25620,6 @@ type Mutation { input: DeleteRepositoryRulesetInput! ): DeleteRepositoryRulesetPayload - """ - Deletes a team discussion. - """ - deleteTeamDiscussion( - """ - Parameters for DeleteTeamDiscussion - """ - input: DeleteTeamDiscussionInput! - ): DeleteTeamDiscussionPayload - """ Deletes a user list. """ @@ -27236,16 +27116,6 @@ type Mutation { input: UpdateSubscriptionInput! ): UpdateSubscriptionPayload - """ - Updates a team discussion. - """ - updateTeamDiscussion( - """ - Parameters for UpdateTeamDiscussion - """ - input: UpdateTeamDiscussionInput! - ): UpdateTeamDiscussionPayload - """ Updates team review assignment. """ @@ -46343,7 +46213,6 @@ input RemoveReactionInput { "PullRequestReview" "PullRequestReviewComment" "Release" - "TeamDiscussion" ] abstractType: "Reactable" ) @@ -61145,61 +61014,6 @@ type Team implements MemberStatusable & Node & Subscribable { """ description: String - """ - Find a team discussion by its number. - """ - discussion( - """ - The sequence number of the discussion to find. - """ - number: Int! - ): TeamDiscussion - - """ - A list of team discussions. - """ - discussions( - """ - 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 - - """ - If provided, filters discussions according to whether or not they are pinned. - """ - isPinned: Boolean - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Order for connection - """ - orderBy: TeamDiscussionOrder - ): TeamDiscussionConnection! - - """ - The HTTP path for team discussions - """ - discussionsResourcePath: URI! - - """ - The HTTP URL for team discussions - """ - discussionsUrl: URI! - """ The HTTP path for editing this team """ @@ -62182,337 +61996,6 @@ type TeamConnection { totalCount: Int! } -""" -A team discussion. -""" -type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment { - """ - The actor who authored the comment. - """ - author: Actor - - """ - Author's association with the discussion's team. - """ - authorAssociation: CommentAuthorAssociation! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The body as Markdown. - """ - body: String! - - """ - The body rendered to HTML. - """ - bodyHTML: HTML! - - """ - The body rendered to text. - """ - bodyText: String! - - """ - Identifies the discussion body hash. - """ - bodyVersion: String! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The HTTP path for discussion comments - """ - commentsResourcePath: URI! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The HTTP URL for discussion comments - """ - commentsUrl: URI! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - 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 - - """ - The Node ID of the TeamDiscussion object - """ - id: ID! - - """ - Check if this comment was edited and includes an edit with the creation data - """ - includesCreatedEdit: Boolean! - - """ - Whether or not the discussion is pinned. - """ - isPinned: Boolean! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - Whether or not the discussion is only visible to team members and organization owners. - """ - isPrivate: Boolean! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The moment the editor made the last edit - """ - lastEditedAt: DateTime - - """ - Identifies the discussion within its team. - """ - number: Int! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - Identifies when the comment was published at. - """ - publishedAt: DateTime - - """ - 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 HTTP path for this discussion - """ - resourcePath: URI! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The team that defines the context of this discussion. - """ - team: Team! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The title of the discussion - """ - title: String! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - Identifies the date and time when the object was last updated. - """ - updatedAt: DateTime! - - """ - The HTTP URL for this discussion - """ - url: URI! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - 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 - - """ - Check if the current viewer can delete this object. - """ - viewerCanDelete: Boolean! - - """ - Whether or not the current viewer can pin this discussion. - """ - viewerCanPin: Boolean! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - Can user react to this subject - """ - viewerCanReact: 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 -} - -""" -The connection type for TeamDiscussion. -""" -type TeamDiscussionConnection { - """ - A list of edges. - """ - edges: [TeamDiscussionEdge] - - """ - A list of nodes. - """ - nodes: [TeamDiscussion] - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! - - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} - -""" -An edge in a connection. -""" -type TeamDiscussionEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of the edge. - """ - node: TeamDiscussion -} - -""" -Ways in which team discussion connections can be ordered. -""" -input TeamDiscussionOrder { - """ - The direction in which to order nodes. - """ - direction: OrderDirection! - - """ - The field by which to order nodes. - """ - field: TeamDiscussionOrderField! -} - -""" -Properties by which team discussion connections can be ordered. -""" -enum TeamDiscussionOrderField { - """ - Allows chronological ordering of team discussions. - """ - CREATED_AT -} - """ An edge in a connection. """ @@ -67308,7 +66791,7 @@ input UpdateSubscriptionInput { """ subscribableId: ID! @possibleTypes( - concreteTypes: ["Commit", "Discussion", "Issue", "PullRequest", "Repository", "Team", "TeamDiscussion"] + concreteTypes: ["Commit", "Discussion", "Issue", "PullRequest", "Repository", "Team"] abstractType: "Subscribable" ) } @@ -67328,57 +66811,6 @@ type UpdateSubscriptionPayload { subscribable: Subscribable } -""" -Autogenerated input type of UpdateTeamDiscussion -""" -input UpdateTeamDiscussionInput { - """ - The updated text of the discussion. - """ - body: String - - """ - The current version of the body content. If provided, this update operation - will be rejected if the given version does not match the latest version on the server. - """ - bodyVersion: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The Node ID of the discussion to modify. - """ - id: ID! @possibleTypes(concreteTypes: ["TeamDiscussion"]) - - """ - If provided, sets the pinned state of the updated discussion. - """ - pinned: Boolean - - """ - The updated title of the discussion. - """ - title: String -} - -""" -Autogenerated return type of UpdateTeamDiscussion. -""" -type UpdateTeamDiscussionPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The updated discussion. - """ - teamDiscussion: TeamDiscussion -} - """ Autogenerated input type of UpdateTeamReviewAssignment """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 2df3f25336bf..b406a568ef5a 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -3665,42 +3665,6 @@ } ] }, - { - "name": "createTeamDiscussion", - "kind": "mutations", - "id": "createteamdiscussion", - "href": "/graphql/reference/mutations#createteamdiscussion", - "description": "

Creates a new team discussion.

", - "inputFields": [ - { - "name": "input", - "type": "CreateTeamDiscussionInput!", - "id": "createteamdiscussioninput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#createteamdiscussioninput" - } - ], - "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": "teamDiscussion", - "type": "TeamDiscussion", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion", - "description": "

The new discussion.

", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

" - } - ] - }, { "name": "createUserList", "kind": "mutations", @@ -4619,32 +4583,6 @@ } ] }, - { - "name": "deleteTeamDiscussion", - "kind": "mutations", - "id": "deleteteamdiscussion", - "href": "/graphql/reference/mutations#deleteteamdiscussion", - "description": "

Deletes a team discussion.

", - "inputFields": [ - { - "name": "input", - "type": "DeleteTeamDiscussionInput!", - "id": "deleteteamdiscussioninput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#deleteteamdiscussioninput" - } - ], - "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": "deleteUserList", "kind": "mutations", @@ -9935,40 +9873,6 @@ } ] }, - { - "name": "updateTeamDiscussion", - "kind": "mutations", - "id": "updateteamdiscussion", - "href": "/graphql/reference/mutations#updateteamdiscussion", - "description": "

Updates a team discussion.

", - "inputFields": [ - { - "name": "input", - "type": "UpdateTeamDiscussionInput!", - "id": "updateteamdiscussioninput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#updateteamdiscussioninput" - } - ], - "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": "teamDiscussion", - "type": "TeamDiscussion", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion", - "description": "

The updated discussion.

" - } - ] - }, { "name": "updateTeamReviewAssignment", "kind": "mutations", @@ -76083,18 +75987,72 @@ "href": "/graphql/reference/scalars#string" }, { - "name": "discussion", - "description": "

Find a team discussion by its number.

", - "type": "TeamDiscussion", - "id": "teamdiscussion", + "name": "editTeamResourcePath", + "description": "

The HTTP path for editing this team.

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

The HTTP URL for editing this team.

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

The Node ID of the Team object.

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

A list of pending invitations for users to this team.

", + "type": "OrganizationInvitationConnection", + "id": "organizationinvitationconnection", "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion", + "href": "/graphql/reference/objects#organizationinvitationconnection", "arguments": [ { - "name": "number", - "description": "

The sequence number of the discussion to find.

", + "name": "after", + "description": "

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

", "type": { - "name": "Int!", + "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" @@ -76103,12 +76061,12 @@ ] }, { - "name": "discussions", - "description": "

A list of team discussions.

", - "type": "TeamDiscussionConnection!", - "id": "teamdiscussionconnection", + "name": "memberStatuses", + "description": "

Get the status messages members of this entity have set that are either public or visible only to the organization.

", + "type": "UserStatusConnection!", + "id": "userstatusconnection", "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussionconnection", + "href": "/graphql/reference/objects#userstatusconnection", "arguments": [ { "name": "after", @@ -76141,13 +76099,63 @@ } }, { - "name": "isPinned", - "description": "

If provided, filters discussions according to whether or not they are pinned.

", + "name": "last", + "description": "

Returns the last n elements from the list.

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

Ordering options for user statuses returned from the connection.

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

A list of users who are members of this team.

", + "type": "TeamMemberConnection!", + "id": "teammemberconnection", + "kind": "objects", + "href": "/graphql/reference/objects#teammemberconnection", + "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" } }, { @@ -76160,65 +76168,148 @@ "href": "/graphql/reference/scalars#int" } }, + { + "name": "membership", + "defaultValue": "ALL", + "description": "

Filter by membership type.

", + "type": { + "name": "TeamMembershipType", + "id": "teammembershiptype", + "kind": "enums", + "href": "/graphql/reference/enums#teammembershiptype" + } + }, { "name": "orderBy", - "description": "

Order for connection.

", + "description": "

Order for the connection.

", "type": { - "name": "TeamDiscussionOrder", - "id": "teamdiscussionorder", + "name": "TeamMemberOrder", + "id": "teammemberorder", "kind": "input-objects", - "href": "/graphql/reference/input-objects#teamdiscussionorder" + "href": "/graphql/reference/input-objects#teammemberorder" + } + }, + { + "name": "query", + "description": "

The search string to look for.

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

Filter by team member role.

", + "type": { + "name": "TeamMemberRole", + "id": "teammemberrole", + "kind": "enums", + "href": "/graphql/reference/enums#teammemberrole" } } ] }, { - "name": "discussionsResourcePath", - "description": "

The HTTP path for team discussions.

", + "name": "membersResourcePath", + "description": "

The HTTP path for the team' members.

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

The HTTP URL for team discussions.

", + "name": "membersUrl", + "description": "

The HTTP URL for the team' members.

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

The HTTP path for editing this team.

", + "name": "name", + "description": "

The name of the team.

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

The HTTP path creating a new team.

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

The HTTP URL for editing this team.

", + "name": "newTeamUrl", + "description": "

The HTTP URL creating a new team.

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

The Node ID of the Team object.

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

The notification setting that the team has set.

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

A list of pending invitations for users to this team.

", - "type": "OrganizationInvitationConnection", - "id": "organizationinvitationconnection", + "name": "organization", + "description": "

The organization that owns this team.

", + "type": "Organization!", + "id": "organization", "kind": "objects", - "href": "/graphql/reference/objects#organizationinvitationconnection", + "href": "/graphql/reference/objects#organization" + }, + { + "name": "parentTeam", + "description": "

The parent team of the team.

", + "type": "Team", + "id": "team", + "kind": "objects", + "href": "/graphql/reference/objects#team" + }, + { + "name": "privacy", + "description": "

The level of privacy the team has.

", + "type": "TeamPrivacy!", + "id": "teamprivacy", + "kind": "enums", + "href": "/graphql/reference/enums#teamprivacy" + }, + { + "name": "projectV2", + "description": "

Finds and returns the project according to the provided project number.

", + "type": "ProjectV2", + "id": "projectv2", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2", + "arguments": [ + { + "name": "number", + "description": "

The Project number.

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

List of projects this team has collaborator access to.

", + "type": "ProjectV2Connection!", + "id": "projectv2connection", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2connection", "arguments": [ { "name": "after", @@ -76240,6 +76331,16 @@ "href": "/graphql/reference/scalars#string" } }, + { + "name": "filterBy", + "description": "

Filtering options for projects returned from this connection.

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

Returns the first n elements from the list.

", @@ -76259,351 +76360,48 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "minPermissionLevel", + "defaultValue": "READ", + "description": "

Filter projects based on user role.

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

How to order the returned projects.

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

The query to search projects by.

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

Get the status messages members of this entity have set that are either public or visible only to the organization.

", - "type": "UserStatusConnection!", - "id": "userstatusconnection", + "name": "repositories", + "description": "

A list of repositories this team has access to.

", + "type": "TeamRepositoryConnection!", + "id": "teamrepositoryconnection", "kind": "objects", - "href": "/graphql/reference/objects#userstatusconnection", - "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 user statuses returned from the connection.

", - "type": { - "name": "UserStatusOrder", - "id": "userstatusorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#userstatusorder" - } - } - ] - }, - { - "name": "members", - "description": "

A list of users who are members of this team.

", - "type": "TeamMemberConnection!", - "id": "teammemberconnection", - "kind": "objects", - "href": "/graphql/reference/objects#teammemberconnection", - "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": "membership", - "defaultValue": "ALL", - "description": "

Filter by membership type.

", - "type": { - "name": "TeamMembershipType", - "id": "teammembershiptype", - "kind": "enums", - "href": "/graphql/reference/enums#teammembershiptype" - } - }, - { - "name": "orderBy", - "description": "

Order for the connection.

", - "type": { - "name": "TeamMemberOrder", - "id": "teammemberorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#teammemberorder" - } - }, - { - "name": "query", - "description": "

The search string to look for.

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

Filter by team member role.

", - "type": { - "name": "TeamMemberRole", - "id": "teammemberrole", - "kind": "enums", - "href": "/graphql/reference/enums#teammemberrole" - } - } - ] - }, - { - "name": "membersResourcePath", - "description": "

The HTTP path for the team' members.

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

The HTTP URL for the team' members.

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

The name of the team.

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

The HTTP path creating a new team.

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

The HTTP URL creating a new team.

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

The notification setting that the team has set.

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

The organization that owns this team.

", - "type": "Organization!", - "id": "organization", - "kind": "objects", - "href": "/graphql/reference/objects#organization" - }, - { - "name": "parentTeam", - "description": "

The parent team of the team.

", - "type": "Team", - "id": "team", - "kind": "objects", - "href": "/graphql/reference/objects#team" - }, - { - "name": "privacy", - "description": "

The level of privacy the team has.

", - "type": "TeamPrivacy!", - "id": "teamprivacy", - "kind": "enums", - "href": "/graphql/reference/enums#teamprivacy" - }, - { - "name": "projectV2", - "description": "

Finds and returns the project according to the provided project number.

", - "type": "ProjectV2", - "id": "projectv2", - "kind": "objects", - "href": "/graphql/reference/objects#projectv2", - "arguments": [ - { - "name": "number", - "description": "

The Project number.

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

List of projects this team has collaborator access to.

", - "type": "ProjectV2Connection!", - "id": "projectv2connection", - "kind": "objects", - "href": "/graphql/reference/objects#projectv2connection", - "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 projects returned from this connection.

", - "type": { - "name": "ProjectV2Filters", - "id": "projectv2filters", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#projectv2filters" - } - }, - { - "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": "minPermissionLevel", - "defaultValue": "READ", - "description": "

Filter projects based on user role.

", - "type": { - "name": "ProjectV2PermissionLevel", - "id": "projectv2permissionlevel", - "kind": "enums", - "href": "/graphql/reference/enums#projectv2permissionlevel" - } - }, - { - "name": "orderBy", - "description": "

How to order the returned projects.

", - "type": { - "name": "ProjectV2Order", - "id": "projectv2order", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#projectv2order" - } - }, - { - "name": "query", - "defaultValue": "", - "description": "

The query to search projects by.

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

A list of repositories this team has access to.

", - "type": "TeamRepositoryConnection!", - "id": "teamrepositoryconnection", - "kind": "objects", - "href": "/graphql/reference/objects#teamrepositoryconnection", + "href": "/graphql/reference/objects#teamrepositoryconnection", "arguments": [ { "name": "after", @@ -77700,531 +77498,6 @@ } ] }, - { - "name": "TeamDiscussion", - "kind": "objects", - "id": "teamdiscussion", - "href": "/graphql/reference/objects#teamdiscussion", - "description": "

A team discussion.

", - "implements": [ - { - "name": "Comment", - "id": "comment", - "href": "/graphql/reference/interfaces#comment" - }, - { - "name": "Deletable", - "id": "deletable", - "href": "/graphql/reference/interfaces#deletable" - }, - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/interfaces#node" - }, - { - "name": "Reactable", - "id": "reactable", - "href": "/graphql/reference/interfaces#reactable" - }, - { - "name": "Subscribable", - "id": "subscribable", - "href": "/graphql/reference/interfaces#subscribable" - }, - { - "name": "UniformResourceLocatable", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable" - }, - { - "name": "Updatable", - "id": "updatable", - "href": "/graphql/reference/interfaces#updatable" - }, - { - "name": "UpdatableComment", - "id": "updatablecomment", - "href": "/graphql/reference/interfaces#updatablecomment" - } - ], - "fields": [ - { - "name": "author", - "description": "

The actor who authored the comment.

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

Author's association with the discussion's team.

", - "type": "CommentAuthorAssociation!", - "id": "commentauthorassociation", - "kind": "enums", - "href": "/graphql/reference/enums#commentauthorassociation", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The body as Markdown.

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

The body rendered to HTML.

", - "type": "HTML!", - "id": "html", - "kind": "scalars", - "href": "/graphql/reference/scalars#html" - }, - { - "name": "bodyText", - "description": "

The body rendered to text.

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

Identifies the discussion body hash.

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

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The HTTP path for discussion comments.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The HTTP URL for discussion comments.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

" - }, - { - "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": "createdViaEmail", - "description": "

Check if this comment was created via an email reply.

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

Identifies the primary key from the database.

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

The actor who edited the comment.

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

The Node ID of the TeamDiscussion object.

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

Check if this comment was edited and includes an edit with the creation data.

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

Whether or not the discussion is pinned.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

Whether or not the discussion is only visible to team members and organization owners.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The moment the editor made the last edit.

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

Identifies the discussion within its team.

", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

Identifies when the comment was published at.

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

A list of reactions grouped by content left on the subject.

", - "type": "[ReactionGroup!]", - "id": "reactiongroup", - "kind": "objects", - "href": "/graphql/reference/objects#reactiongroup" - }, - { - "name": "reactions", - "description": "

A list of Reactions left on the Issue.

", - "type": "ReactionConnection!", - "id": "reactionconnection", - "kind": "objects", - "href": "/graphql/reference/objects#reactionconnection", - "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": "content", - "description": "

Allows filtering Reactions by emoji.

", - "type": { - "name": "ReactionContent", - "id": "reactioncontent", - "kind": "enums", - "href": "/graphql/reference/enums#reactioncontent" - } - }, - { - "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": "

Allows specifying the order in which reactions are returned.

", - "type": { - "name": "ReactionOrder", - "id": "reactionorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#reactionorder" - } - } - ] - }, - { - "name": "resourcePath", - "description": "

The HTTP path for this discussion.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The team that defines the context of this discussion.

", - "type": "Team!", - "id": "team", - "kind": "objects", - "href": "/graphql/reference/objects#team", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The title of the discussion.

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

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

Identifies the date and time when the object was last updated.

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

The HTTP URL for this discussion.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

A list of edits to this content.

", - "type": "UserContentEditConnection", - "id": "usercontenteditconnection", - "kind": "objects", - "href": "/graphql/reference/objects#usercontenteditconnection", - "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": "viewerCanDelete", - "description": "

Check if the current viewer can delete this object.

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

Whether or not the current viewer can pin this discussion.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

Can user react to this subject.

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

Check if the viewer is able to change their subscription status for the repository.

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

Check if the current viewer can update this object.

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

Reasons why the current viewer can not update this comment.

", - "type": "[CommentCannotUpdateReason!]!", - "id": "commentcannotupdatereason", - "kind": "enums", - "href": "/graphql/reference/enums#commentcannotupdatereason" - }, - { - "name": "viewerDidAuthor", - "description": "

Did the viewer author this comment.

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

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

", - "type": "SubscriptionState", - "id": "subscriptionstate", - "kind": "enums", - "href": "/graphql/reference/enums#subscriptionstate" - } - ] - }, - { - "name": "TeamDiscussionConnection", - "kind": "objects", - "id": "teamdiscussionconnection", - "href": "/graphql/reference/objects#teamdiscussionconnection", - "description": "

The connection type for TeamDiscussion.

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

A list of edges.

", - "type": "[TeamDiscussionEdge]", - "id": "teamdiscussionedge", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussionedge" - }, - { - "name": "nodes", - "description": "

A list of nodes.

", - "type": "[TeamDiscussion]", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion" - }, - { - "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": "TeamDiscussionEdge", - "kind": "objects", - "id": "teamdiscussionedge", - "href": "/graphql/reference/objects#teamdiscussionedge", - "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": "TeamDiscussion", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion" - } - ] - }, { "name": "TeamEdge", "kind": "objects", @@ -95601,19 +94874,6 @@ } ] }, - { - "name": "TeamDiscussionOrderField", - "kind": "enums", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/enums#teamdiscussionorderfield", - "description": "

Properties by which team discussion connections can be ordered.

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

Allows chronological ordering of team discussions.

" - } - ] - }, { "name": "TeamMemberOrderField", "kind": "enums", @@ -102873,56 +102133,6 @@ } ] }, - { - "name": "CreateTeamDiscussionInput", - "kind": "inputObjects", - "id": "createteamdiscussioninput", - "href": "/graphql/reference/input-objects#createteamdiscussioninput", - "description": "

Autogenerated input type of CreateTeamDiscussion.

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

The content of the discussion. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: body will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

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

A unique identifier for the client performing the mutation.

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

If true, restricts the visibility of this discussion to team members and\norganization owners. If false or not specified, allows any organization member\nto view this discussion.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: private will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

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

The ID of the team to which the discussion belongs. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: teamId will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

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

The title of the discussion. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: title will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "CreateUserListInput", "kind": "inputObjects", @@ -103690,32 +102900,6 @@ } ] }, - { - "name": "DeleteTeamDiscussionInput", - "kind": "inputObjects", - "id": "deleteteamdiscussioninput", - "href": "/graphql/reference/input-objects#deleteteamdiscussioninput", - "description": "

Autogenerated input type of DeleteTeamDiscussion.

", - "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 discussion ID to delete.

", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - } - ] - }, { "name": "DeleteUserListInput", "kind": "inputObjects", @@ -109093,31 +108277,6 @@ } ] }, - { - "name": "TeamDiscussionOrder", - "kind": "inputObjects", - "id": "teamdiscussionorder", - "href": "/graphql/reference/input-objects#teamdiscussionorder", - "description": "

Ways in which team discussion connections can be ordered.

", - "inputFields": [ - { - "name": "direction", - "description": "

The direction in which to order nodes.

", - "type": "OrderDirection!", - "id": "orderdirection", - "kind": "enums", - "href": "/graphql/reference/enums#orderdirection" - }, - { - "name": "field", - "description": "

The field by which to order nodes.

", - "type": "TeamDiscussionOrderField!", - "id": "teamdiscussionorderfield", - "kind": "enums", - "href": "/graphql/reference/enums#teamdiscussionorderfield" - } - ] - }, { "name": "TeamMemberOrder", "kind": "inputObjects", @@ -112663,64 +111822,6 @@ } ] }, - { - "name": "UpdateTeamDiscussionInput", - "kind": "inputObjects", - "id": "updateteamdiscussioninput", - "href": "/graphql/reference/input-objects#updateteamdiscussioninput", - "description": "

Autogenerated input type of UpdateTeamDiscussion.

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

The updated text of the discussion.

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

The current version of the body content. If provided, this update operation\nwill be rejected if the given version does not match the latest version on the server.

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

A unique identifier for the client performing the mutation.

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

The Node ID of the discussion to modify.

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

If provided, sets the pinned state of the updated discussion.

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

The updated title of the discussion.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "UpdateTeamReviewAssignmentInput", "kind": "inputObjects", diff --git a/src/graphql/data/fpt/upcoming-changes.json b/src/graphql/data/fpt/upcoming-changes.json index b502f6798ad3..0ad394994fe8 100644 --- a/src/graphql/data/fpt/upcoming-changes.json +++ b/src/graphql/data/fpt/upcoming-changes.json @@ -9780,102 +9780,6 @@ } ], "2024-07-01": [ - { - "location": "TeamDiscussion.viewerCanPin", - "description": "

viewerCanPin will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.url", - "description": "

url will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.title", - "description": "

title will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.team", - "description": "

team will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.resourcePath", - "description": "

resourcePath will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.number", - "description": "

number will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.isPrivate", - "description": "

isPrivate will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.isPinned", - "description": "

isPinned will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.commentsUrl", - "description": "

commentsUrl will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.commentsResourcePath", - "description": "

commentsResourcePath will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.bodyVersion", - "description": "

bodyVersion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.authorAssociation", - "description": "

authorAssociation will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, { "location": "PullRequestReviewComment.databaseId", "description": "

databaseId will be removed. Use fullDatabaseId instead.

", @@ -9907,46 +9811,6 @@ "date": "2024-07-01", "criticality": "breaking", "owner": "jdennes" - }, - { - "location": "CreateTeamDiscussionPayload.teamDiscussion", - "description": "

teamDiscussion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionInput.title", - "description": "

title will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionInput.teamId", - "description": "

teamId will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionInput.private", - "description": "

private will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionInput.body", - "description": "

body will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" } ], "2024-04-01": [ diff --git a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml index 0f59bb0649a9..63fed0b0ea09 100644 --- a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml @@ -402,46 +402,6 @@ upcoming_changes: date: '2024-04-01T00:00:00+00:00' criticality: breaking owner: calvinchilds - - location: CreateTeamDiscussionInput.body - description: - '`body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionInput.private - description: - '`private` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionInput.teamId - description: - '`teamId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionInput.title - description: - '`title` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionPayload.teamDiscussion - description: - '`teamDiscussion` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: OrganizationInvitation.inviter description: '`inviter` will be removed. `inviter` will be replaced by `inviterActor`.' reason: '`inviter` will be removed.' @@ -472,102 +432,6 @@ upcoming_changes: date: '2024-07-01T00:00:00+00:00' criticality: breaking owner: JanKoszewski - - location: TeamDiscussion.authorAssociation - description: - '`authorAssociation` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.bodyVersion - description: - '`bodyVersion` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.commentsResourcePath - description: - '`commentsResourcePath` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.commentsUrl - description: - '`commentsUrl` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.isPinned - description: - '`isPinned` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.isPrivate - description: - '`isPrivate` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.number - description: - '`number` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.resourcePath - description: - '`resourcePath` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.team - description: - '`team` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.title - description: - '`title` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.url - description: - '`url` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussion.viewerCanPin - description: - '`viewerCanPin` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: Workflow.hasWorkflowDispatchTrigger description: '`hasWorkflowDispatchTrigger` will be removed. Use `has_workflow_dispatch_trigger_for_branch(branch_ref)` diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 431070437bba..f63217359c64 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -1126,7 +1126,6 @@ input AddReactionInput { "PullRequestReview" "PullRequestReviewComment" "Release" - "TeamDiscussion" ] abstractType: "Reactable" ) @@ -9212,80 +9211,6 @@ type CreateSponsorshipsPayload { sponsorables: [Sponsorable!] } -""" -Autogenerated input type of CreateTeamDiscussion -""" -input CreateTeamDiscussionInput { - """ - The content of the discussion. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `body` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - body: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - If true, restricts the visibility of this discussion to team members and - organization owners. If false or not specified, allows any organization member - to view this discussion. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `private` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - private: Boolean - - """ - The ID of the team to which the discussion belongs. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `teamId` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - teamId: ID @possibleTypes(concreteTypes: ["Team"]) - - """ - The title of the discussion. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `title` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - title: String -} - -""" -Autogenerated return type of CreateTeamDiscussion. -""" -type CreateTeamDiscussionPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The new discussion. - """ - teamDiscussion: TeamDiscussion - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) -} - """ Autogenerated input type of CreateUserList """ @@ -10720,31 +10645,6 @@ type DeleteRepositoryRulesetPayload { clientMutationId: String } -""" -Autogenerated input type of DeleteTeamDiscussion -""" -input DeleteTeamDiscussionInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The discussion ID to delete. - """ - id: ID! @possibleTypes(concreteTypes: ["TeamDiscussion"]) -} - -""" -Autogenerated return type of DeleteTeamDiscussion. -""" -type DeleteTeamDiscussionPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - """ Autogenerated input type of DeleteUserList """ @@ -25441,16 +25341,6 @@ type Mutation { input: CreateSponsorshipsInput! ): CreateSponsorshipsPayload - """ - Creates a new team discussion. - """ - createTeamDiscussion( - """ - Parameters for CreateTeamDiscussion - """ - input: CreateTeamDiscussionInput! - ): CreateTeamDiscussionPayload - """ Creates a new user list. """ @@ -25730,16 +25620,6 @@ type Mutation { input: DeleteRepositoryRulesetInput! ): DeleteRepositoryRulesetPayload - """ - Deletes a team discussion. - """ - deleteTeamDiscussion( - """ - Parameters for DeleteTeamDiscussion - """ - input: DeleteTeamDiscussionInput! - ): DeleteTeamDiscussionPayload - """ Deletes a user list. """ @@ -27236,16 +27116,6 @@ type Mutation { input: UpdateSubscriptionInput! ): UpdateSubscriptionPayload - """ - Updates a team discussion. - """ - updateTeamDiscussion( - """ - Parameters for UpdateTeamDiscussion - """ - input: UpdateTeamDiscussionInput! - ): UpdateTeamDiscussionPayload - """ Updates team review assignment. """ @@ -46343,7 +46213,6 @@ input RemoveReactionInput { "PullRequestReview" "PullRequestReviewComment" "Release" - "TeamDiscussion" ] abstractType: "Reactable" ) @@ -61145,61 +61014,6 @@ type Team implements MemberStatusable & Node & Subscribable { """ description: String - """ - Find a team discussion by its number. - """ - discussion( - """ - The sequence number of the discussion to find. - """ - number: Int! - ): TeamDiscussion - - """ - A list of team discussions. - """ - discussions( - """ - 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 - - """ - If provided, filters discussions according to whether or not they are pinned. - """ - isPinned: Boolean - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Order for connection - """ - orderBy: TeamDiscussionOrder - ): TeamDiscussionConnection! - - """ - The HTTP path for team discussions - """ - discussionsResourcePath: URI! - - """ - The HTTP URL for team discussions - """ - discussionsUrl: URI! - """ The HTTP path for editing this team """ @@ -62182,337 +61996,6 @@ type TeamConnection { totalCount: Int! } -""" -A team discussion. -""" -type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment { - """ - The actor who authored the comment. - """ - author: Actor - - """ - Author's association with the discussion's team. - """ - authorAssociation: CommentAuthorAssociation! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The body as Markdown. - """ - body: String! - - """ - The body rendered to HTML. - """ - bodyHTML: HTML! - - """ - The body rendered to text. - """ - bodyText: String! - - """ - Identifies the discussion body hash. - """ - bodyVersion: String! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The HTTP path for discussion comments - """ - commentsResourcePath: URI! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The HTTP URL for discussion comments - """ - commentsUrl: URI! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - 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 - - """ - The Node ID of the TeamDiscussion object - """ - id: ID! - - """ - Check if this comment was edited and includes an edit with the creation data - """ - includesCreatedEdit: Boolean! - - """ - Whether or not the discussion is pinned. - """ - isPinned: Boolean! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - Whether or not the discussion is only visible to team members and organization owners. - """ - isPrivate: Boolean! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The moment the editor made the last edit - """ - lastEditedAt: DateTime - - """ - Identifies the discussion within its team. - """ - number: Int! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - Identifies when the comment was published at. - """ - publishedAt: DateTime - - """ - 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 HTTP path for this discussion - """ - resourcePath: URI! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The team that defines the context of this discussion. - """ - team: Team! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - The title of the discussion - """ - title: String! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - Identifies the date and time when the object was last updated. - """ - updatedAt: DateTime! - - """ - The HTTP URL for this discussion - """ - url: URI! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - 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 - - """ - Check if the current viewer can delete this object. - """ - viewerCanDelete: Boolean! - - """ - Whether or not the current viewer can pin this discussion. - """ - viewerCanPin: Boolean! - @deprecated( - reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC." - ) - - """ - Can user react to this subject - """ - viewerCanReact: 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 -} - -""" -The connection type for TeamDiscussion. -""" -type TeamDiscussionConnection { - """ - A list of edges. - """ - edges: [TeamDiscussionEdge] - - """ - A list of nodes. - """ - nodes: [TeamDiscussion] - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! - - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} - -""" -An edge in a connection. -""" -type TeamDiscussionEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of the edge. - """ - node: TeamDiscussion -} - -""" -Ways in which team discussion connections can be ordered. -""" -input TeamDiscussionOrder { - """ - The direction in which to order nodes. - """ - direction: OrderDirection! - - """ - The field by which to order nodes. - """ - field: TeamDiscussionOrderField! -} - -""" -Properties by which team discussion connections can be ordered. -""" -enum TeamDiscussionOrderField { - """ - Allows chronological ordering of team discussions. - """ - CREATED_AT -} - """ An edge in a connection. """ @@ -67308,7 +66791,7 @@ input UpdateSubscriptionInput { """ subscribableId: ID! @possibleTypes( - concreteTypes: ["Commit", "Discussion", "Issue", "PullRequest", "Repository", "Team", "TeamDiscussion"] + concreteTypes: ["Commit", "Discussion", "Issue", "PullRequest", "Repository", "Team"] abstractType: "Subscribable" ) } @@ -67328,57 +66811,6 @@ type UpdateSubscriptionPayload { subscribable: Subscribable } -""" -Autogenerated input type of UpdateTeamDiscussion -""" -input UpdateTeamDiscussionInput { - """ - The updated text of the discussion. - """ - body: String - - """ - The current version of the body content. If provided, this update operation - will be rejected if the given version does not match the latest version on the server. - """ - bodyVersion: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The Node ID of the discussion to modify. - """ - id: ID! @possibleTypes(concreteTypes: ["TeamDiscussion"]) - - """ - If provided, sets the pinned state of the updated discussion. - """ - pinned: Boolean - - """ - The updated title of the discussion. - """ - title: String -} - -""" -Autogenerated return type of UpdateTeamDiscussion. -""" -type UpdateTeamDiscussionPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The updated discussion. - """ - teamDiscussion: TeamDiscussion -} - """ Autogenerated input type of UpdateTeamReviewAssignment """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 2df3f25336bf..b406a568ef5a 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -3665,42 +3665,6 @@ } ] }, - { - "name": "createTeamDiscussion", - "kind": "mutations", - "id": "createteamdiscussion", - "href": "/graphql/reference/mutations#createteamdiscussion", - "description": "

Creates a new team discussion.

", - "inputFields": [ - { - "name": "input", - "type": "CreateTeamDiscussionInput!", - "id": "createteamdiscussioninput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#createteamdiscussioninput" - } - ], - "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": "teamDiscussion", - "type": "TeamDiscussion", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion", - "description": "

The new discussion.

", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

" - } - ] - }, { "name": "createUserList", "kind": "mutations", @@ -4619,32 +4583,6 @@ } ] }, - { - "name": "deleteTeamDiscussion", - "kind": "mutations", - "id": "deleteteamdiscussion", - "href": "/graphql/reference/mutations#deleteteamdiscussion", - "description": "

Deletes a team discussion.

", - "inputFields": [ - { - "name": "input", - "type": "DeleteTeamDiscussionInput!", - "id": "deleteteamdiscussioninput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#deleteteamdiscussioninput" - } - ], - "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": "deleteUserList", "kind": "mutations", @@ -9935,40 +9873,6 @@ } ] }, - { - "name": "updateTeamDiscussion", - "kind": "mutations", - "id": "updateteamdiscussion", - "href": "/graphql/reference/mutations#updateteamdiscussion", - "description": "

Updates a team discussion.

", - "inputFields": [ - { - "name": "input", - "type": "UpdateTeamDiscussionInput!", - "id": "updateteamdiscussioninput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#updateteamdiscussioninput" - } - ], - "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": "teamDiscussion", - "type": "TeamDiscussion", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion", - "description": "

The updated discussion.

" - } - ] - }, { "name": "updateTeamReviewAssignment", "kind": "mutations", @@ -76083,18 +75987,72 @@ "href": "/graphql/reference/scalars#string" }, { - "name": "discussion", - "description": "

Find a team discussion by its number.

", - "type": "TeamDiscussion", - "id": "teamdiscussion", + "name": "editTeamResourcePath", + "description": "

The HTTP path for editing this team.

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

The HTTP URL for editing this team.

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

The Node ID of the Team object.

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

A list of pending invitations for users to this team.

", + "type": "OrganizationInvitationConnection", + "id": "organizationinvitationconnection", "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion", + "href": "/graphql/reference/objects#organizationinvitationconnection", "arguments": [ { - "name": "number", - "description": "

The sequence number of the discussion to find.

", + "name": "after", + "description": "

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

", "type": { - "name": "Int!", + "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" @@ -76103,12 +76061,12 @@ ] }, { - "name": "discussions", - "description": "

A list of team discussions.

", - "type": "TeamDiscussionConnection!", - "id": "teamdiscussionconnection", + "name": "memberStatuses", + "description": "

Get the status messages members of this entity have set that are either public or visible only to the organization.

", + "type": "UserStatusConnection!", + "id": "userstatusconnection", "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussionconnection", + "href": "/graphql/reference/objects#userstatusconnection", "arguments": [ { "name": "after", @@ -76141,13 +76099,63 @@ } }, { - "name": "isPinned", - "description": "

If provided, filters discussions according to whether or not they are pinned.

", + "name": "last", + "description": "

Returns the last n elements from the list.

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

Ordering options for user statuses returned from the connection.

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

A list of users who are members of this team.

", + "type": "TeamMemberConnection!", + "id": "teammemberconnection", + "kind": "objects", + "href": "/graphql/reference/objects#teammemberconnection", + "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" } }, { @@ -76160,65 +76168,148 @@ "href": "/graphql/reference/scalars#int" } }, + { + "name": "membership", + "defaultValue": "ALL", + "description": "

Filter by membership type.

", + "type": { + "name": "TeamMembershipType", + "id": "teammembershiptype", + "kind": "enums", + "href": "/graphql/reference/enums#teammembershiptype" + } + }, { "name": "orderBy", - "description": "

Order for connection.

", + "description": "

Order for the connection.

", "type": { - "name": "TeamDiscussionOrder", - "id": "teamdiscussionorder", + "name": "TeamMemberOrder", + "id": "teammemberorder", "kind": "input-objects", - "href": "/graphql/reference/input-objects#teamdiscussionorder" + "href": "/graphql/reference/input-objects#teammemberorder" + } + }, + { + "name": "query", + "description": "

The search string to look for.

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

Filter by team member role.

", + "type": { + "name": "TeamMemberRole", + "id": "teammemberrole", + "kind": "enums", + "href": "/graphql/reference/enums#teammemberrole" } } ] }, { - "name": "discussionsResourcePath", - "description": "

The HTTP path for team discussions.

", + "name": "membersResourcePath", + "description": "

The HTTP path for the team' members.

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

The HTTP URL for team discussions.

", + "name": "membersUrl", + "description": "

The HTTP URL for the team' members.

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

The HTTP path for editing this team.

", + "name": "name", + "description": "

The name of the team.

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

The HTTP path creating a new team.

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

The HTTP URL for editing this team.

", + "name": "newTeamUrl", + "description": "

The HTTP URL creating a new team.

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

The Node ID of the Team object.

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

The notification setting that the team has set.

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

A list of pending invitations for users to this team.

", - "type": "OrganizationInvitationConnection", - "id": "organizationinvitationconnection", + "name": "organization", + "description": "

The organization that owns this team.

", + "type": "Organization!", + "id": "organization", "kind": "objects", - "href": "/graphql/reference/objects#organizationinvitationconnection", + "href": "/graphql/reference/objects#organization" + }, + { + "name": "parentTeam", + "description": "

The parent team of the team.

", + "type": "Team", + "id": "team", + "kind": "objects", + "href": "/graphql/reference/objects#team" + }, + { + "name": "privacy", + "description": "

The level of privacy the team has.

", + "type": "TeamPrivacy!", + "id": "teamprivacy", + "kind": "enums", + "href": "/graphql/reference/enums#teamprivacy" + }, + { + "name": "projectV2", + "description": "

Finds and returns the project according to the provided project number.

", + "type": "ProjectV2", + "id": "projectv2", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2", + "arguments": [ + { + "name": "number", + "description": "

The Project number.

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

List of projects this team has collaborator access to.

", + "type": "ProjectV2Connection!", + "id": "projectv2connection", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2connection", "arguments": [ { "name": "after", @@ -76240,6 +76331,16 @@ "href": "/graphql/reference/scalars#string" } }, + { + "name": "filterBy", + "description": "

Filtering options for projects returned from this connection.

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

Returns the first n elements from the list.

", @@ -76259,351 +76360,48 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "minPermissionLevel", + "defaultValue": "READ", + "description": "

Filter projects based on user role.

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

How to order the returned projects.

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

The query to search projects by.

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

Get the status messages members of this entity have set that are either public or visible only to the organization.

", - "type": "UserStatusConnection!", - "id": "userstatusconnection", + "name": "repositories", + "description": "

A list of repositories this team has access to.

", + "type": "TeamRepositoryConnection!", + "id": "teamrepositoryconnection", "kind": "objects", - "href": "/graphql/reference/objects#userstatusconnection", - "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 user statuses returned from the connection.

", - "type": { - "name": "UserStatusOrder", - "id": "userstatusorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#userstatusorder" - } - } - ] - }, - { - "name": "members", - "description": "

A list of users who are members of this team.

", - "type": "TeamMemberConnection!", - "id": "teammemberconnection", - "kind": "objects", - "href": "/graphql/reference/objects#teammemberconnection", - "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": "membership", - "defaultValue": "ALL", - "description": "

Filter by membership type.

", - "type": { - "name": "TeamMembershipType", - "id": "teammembershiptype", - "kind": "enums", - "href": "/graphql/reference/enums#teammembershiptype" - } - }, - { - "name": "orderBy", - "description": "

Order for the connection.

", - "type": { - "name": "TeamMemberOrder", - "id": "teammemberorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#teammemberorder" - } - }, - { - "name": "query", - "description": "

The search string to look for.

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

Filter by team member role.

", - "type": { - "name": "TeamMemberRole", - "id": "teammemberrole", - "kind": "enums", - "href": "/graphql/reference/enums#teammemberrole" - } - } - ] - }, - { - "name": "membersResourcePath", - "description": "

The HTTP path for the team' members.

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

The HTTP URL for the team' members.

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

The name of the team.

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

The HTTP path creating a new team.

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

The HTTP URL creating a new team.

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

The notification setting that the team has set.

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

The organization that owns this team.

", - "type": "Organization!", - "id": "organization", - "kind": "objects", - "href": "/graphql/reference/objects#organization" - }, - { - "name": "parentTeam", - "description": "

The parent team of the team.

", - "type": "Team", - "id": "team", - "kind": "objects", - "href": "/graphql/reference/objects#team" - }, - { - "name": "privacy", - "description": "

The level of privacy the team has.

", - "type": "TeamPrivacy!", - "id": "teamprivacy", - "kind": "enums", - "href": "/graphql/reference/enums#teamprivacy" - }, - { - "name": "projectV2", - "description": "

Finds and returns the project according to the provided project number.

", - "type": "ProjectV2", - "id": "projectv2", - "kind": "objects", - "href": "/graphql/reference/objects#projectv2", - "arguments": [ - { - "name": "number", - "description": "

The Project number.

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

List of projects this team has collaborator access to.

", - "type": "ProjectV2Connection!", - "id": "projectv2connection", - "kind": "objects", - "href": "/graphql/reference/objects#projectv2connection", - "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 projects returned from this connection.

", - "type": { - "name": "ProjectV2Filters", - "id": "projectv2filters", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#projectv2filters" - } - }, - { - "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": "minPermissionLevel", - "defaultValue": "READ", - "description": "

Filter projects based on user role.

", - "type": { - "name": "ProjectV2PermissionLevel", - "id": "projectv2permissionlevel", - "kind": "enums", - "href": "/graphql/reference/enums#projectv2permissionlevel" - } - }, - { - "name": "orderBy", - "description": "

How to order the returned projects.

", - "type": { - "name": "ProjectV2Order", - "id": "projectv2order", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#projectv2order" - } - }, - { - "name": "query", - "defaultValue": "", - "description": "

The query to search projects by.

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

A list of repositories this team has access to.

", - "type": "TeamRepositoryConnection!", - "id": "teamrepositoryconnection", - "kind": "objects", - "href": "/graphql/reference/objects#teamrepositoryconnection", + "href": "/graphql/reference/objects#teamrepositoryconnection", "arguments": [ { "name": "after", @@ -77700,531 +77498,6 @@ } ] }, - { - "name": "TeamDiscussion", - "kind": "objects", - "id": "teamdiscussion", - "href": "/graphql/reference/objects#teamdiscussion", - "description": "

A team discussion.

", - "implements": [ - { - "name": "Comment", - "id": "comment", - "href": "/graphql/reference/interfaces#comment" - }, - { - "name": "Deletable", - "id": "deletable", - "href": "/graphql/reference/interfaces#deletable" - }, - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/interfaces#node" - }, - { - "name": "Reactable", - "id": "reactable", - "href": "/graphql/reference/interfaces#reactable" - }, - { - "name": "Subscribable", - "id": "subscribable", - "href": "/graphql/reference/interfaces#subscribable" - }, - { - "name": "UniformResourceLocatable", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable" - }, - { - "name": "Updatable", - "id": "updatable", - "href": "/graphql/reference/interfaces#updatable" - }, - { - "name": "UpdatableComment", - "id": "updatablecomment", - "href": "/graphql/reference/interfaces#updatablecomment" - } - ], - "fields": [ - { - "name": "author", - "description": "

The actor who authored the comment.

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

Author's association with the discussion's team.

", - "type": "CommentAuthorAssociation!", - "id": "commentauthorassociation", - "kind": "enums", - "href": "/graphql/reference/enums#commentauthorassociation", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The body as Markdown.

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

The body rendered to HTML.

", - "type": "HTML!", - "id": "html", - "kind": "scalars", - "href": "/graphql/reference/scalars#html" - }, - { - "name": "bodyText", - "description": "

The body rendered to text.

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

Identifies the discussion body hash.

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

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The HTTP path for discussion comments.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The HTTP URL for discussion comments.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

" - }, - { - "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": "createdViaEmail", - "description": "

Check if this comment was created via an email reply.

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

Identifies the primary key from the database.

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

The actor who edited the comment.

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

The Node ID of the TeamDiscussion object.

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

Check if this comment was edited and includes an edit with the creation data.

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

Whether or not the discussion is pinned.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

Whether or not the discussion is only visible to team members and organization owners.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The moment the editor made the last edit.

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

Identifies the discussion within its team.

", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

Identifies when the comment was published at.

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

A list of reactions grouped by content left on the subject.

", - "type": "[ReactionGroup!]", - "id": "reactiongroup", - "kind": "objects", - "href": "/graphql/reference/objects#reactiongroup" - }, - { - "name": "reactions", - "description": "

A list of Reactions left on the Issue.

", - "type": "ReactionConnection!", - "id": "reactionconnection", - "kind": "objects", - "href": "/graphql/reference/objects#reactionconnection", - "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": "content", - "description": "

Allows filtering Reactions by emoji.

", - "type": { - "name": "ReactionContent", - "id": "reactioncontent", - "kind": "enums", - "href": "/graphql/reference/enums#reactioncontent" - } - }, - { - "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": "

Allows specifying the order in which reactions are returned.

", - "type": { - "name": "ReactionOrder", - "id": "reactionorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#reactionorder" - } - } - ] - }, - { - "name": "resourcePath", - "description": "

The HTTP path for this discussion.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The team that defines the context of this discussion.

", - "type": "Team!", - "id": "team", - "kind": "objects", - "href": "/graphql/reference/objects#team", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

The title of the discussion.

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

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

Identifies the date and time when the object was last updated.

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

The HTTP URL for this discussion.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

A list of edits to this content.

", - "type": "UserContentEditConnection", - "id": "usercontenteditconnection", - "kind": "objects", - "href": "/graphql/reference/objects#usercontenteditconnection", - "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": "viewerCanDelete", - "description": "

Check if the current viewer can delete this object.

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

Whether or not the current viewer can pin this discussion.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

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

Can user react to this subject.

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

Check if the viewer is able to change their subscription status for the repository.

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

Check if the current viewer can update this object.

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

Reasons why the current viewer can not update this comment.

", - "type": "[CommentCannotUpdateReason!]!", - "id": "commentcannotupdatereason", - "kind": "enums", - "href": "/graphql/reference/enums#commentcannotupdatereason" - }, - { - "name": "viewerDidAuthor", - "description": "

Did the viewer author this comment.

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

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

", - "type": "SubscriptionState", - "id": "subscriptionstate", - "kind": "enums", - "href": "/graphql/reference/enums#subscriptionstate" - } - ] - }, - { - "name": "TeamDiscussionConnection", - "kind": "objects", - "id": "teamdiscussionconnection", - "href": "/graphql/reference/objects#teamdiscussionconnection", - "description": "

The connection type for TeamDiscussion.

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

A list of edges.

", - "type": "[TeamDiscussionEdge]", - "id": "teamdiscussionedge", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussionedge" - }, - { - "name": "nodes", - "description": "

A list of nodes.

", - "type": "[TeamDiscussion]", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion" - }, - { - "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": "TeamDiscussionEdge", - "kind": "objects", - "id": "teamdiscussionedge", - "href": "/graphql/reference/objects#teamdiscussionedge", - "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": "TeamDiscussion", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion" - } - ] - }, { "name": "TeamEdge", "kind": "objects", @@ -95601,19 +94874,6 @@ } ] }, - { - "name": "TeamDiscussionOrderField", - "kind": "enums", - "id": "teamdiscussionorderfield", - "href": "/graphql/reference/enums#teamdiscussionorderfield", - "description": "

Properties by which team discussion connections can be ordered.

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

Allows chronological ordering of team discussions.

" - } - ] - }, { "name": "TeamMemberOrderField", "kind": "enums", @@ -102873,56 +102133,6 @@ } ] }, - { - "name": "CreateTeamDiscussionInput", - "kind": "inputObjects", - "id": "createteamdiscussioninput", - "href": "/graphql/reference/input-objects#createteamdiscussioninput", - "description": "

Autogenerated input type of CreateTeamDiscussion.

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

The content of the discussion. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: body will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

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

A unique identifier for the client performing the mutation.

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

If true, restricts the visibility of this discussion to team members and\norganization owners. If false or not specified, allows any organization member\nto view this discussion.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: private will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

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

The ID of the team to which the discussion belongs. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: teamId will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

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

The title of the discussion. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: title will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "CreateUserListInput", "kind": "inputObjects", @@ -103690,32 +102900,6 @@ } ] }, - { - "name": "DeleteTeamDiscussionInput", - "kind": "inputObjects", - "id": "deleteteamdiscussioninput", - "href": "/graphql/reference/input-objects#deleteteamdiscussioninput", - "description": "

Autogenerated input type of DeleteTeamDiscussion.

", - "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 discussion ID to delete.

", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - } - ] - }, { "name": "DeleteUserListInput", "kind": "inputObjects", @@ -109093,31 +108277,6 @@ } ] }, - { - "name": "TeamDiscussionOrder", - "kind": "inputObjects", - "id": "teamdiscussionorder", - "href": "/graphql/reference/input-objects#teamdiscussionorder", - "description": "

Ways in which team discussion connections can be ordered.

", - "inputFields": [ - { - "name": "direction", - "description": "

The direction in which to order nodes.

", - "type": "OrderDirection!", - "id": "orderdirection", - "kind": "enums", - "href": "/graphql/reference/enums#orderdirection" - }, - { - "name": "field", - "description": "

The field by which to order nodes.

", - "type": "TeamDiscussionOrderField!", - "id": "teamdiscussionorderfield", - "kind": "enums", - "href": "/graphql/reference/enums#teamdiscussionorderfield" - } - ] - }, { "name": "TeamMemberOrder", "kind": "inputObjects", @@ -112663,64 +111822,6 @@ } ] }, - { - "name": "UpdateTeamDiscussionInput", - "kind": "inputObjects", - "id": "updateteamdiscussioninput", - "href": "/graphql/reference/input-objects#updateteamdiscussioninput", - "description": "

Autogenerated input type of UpdateTeamDiscussion.

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

The updated text of the discussion.

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

The current version of the body content. If provided, this update operation\nwill be rejected if the given version does not match the latest version on the server.

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

A unique identifier for the client performing the mutation.

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

The Node ID of the discussion to modify.

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

If provided, sets the pinned state of the updated discussion.

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

The updated title of the discussion.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "UpdateTeamReviewAssignmentInput", "kind": "inputObjects", diff --git a/src/graphql/data/ghec/upcoming-changes.json b/src/graphql/data/ghec/upcoming-changes.json index b502f6798ad3..0ad394994fe8 100644 --- a/src/graphql/data/ghec/upcoming-changes.json +++ b/src/graphql/data/ghec/upcoming-changes.json @@ -9780,102 +9780,6 @@ } ], "2024-07-01": [ - { - "location": "TeamDiscussion.viewerCanPin", - "description": "

viewerCanPin will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.url", - "description": "

url will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.title", - "description": "

title will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.team", - "description": "

team will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.resourcePath", - "description": "

resourcePath will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.number", - "description": "

number will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.isPrivate", - "description": "

isPrivate will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.isPinned", - "description": "

isPinned will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.commentsUrl", - "description": "

commentsUrl will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.commentsResourcePath", - "description": "

commentsResourcePath will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.bodyVersion", - "description": "

bodyVersion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussion.authorAssociation", - "description": "

authorAssociation will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, { "location": "PullRequestReviewComment.databaseId", "description": "

databaseId will be removed. Use fullDatabaseId instead.

", @@ -9907,46 +9811,6 @@ "date": "2024-07-01", "criticality": "breaking", "owner": "jdennes" - }, - { - "location": "CreateTeamDiscussionPayload.teamDiscussion", - "description": "

teamDiscussion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionInput.title", - "description": "

title will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionInput.teamId", - "description": "

teamId will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionInput.private", - "description": "

private will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionInput.body", - "description": "

body will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" } ], "2024-04-01": [ From ada0789e10ef2f285543027af445931c7600e242 Mon Sep 17 00:00:00 2001 From: Joe Clark <31087804+jc-clark@users.noreply.github.com> Date: Thu, 8 Jan 2026 09:05:58 -0800 Subject: [PATCH 3/5] Improve `About Dependabot alerts` for user value (#58990) Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Nish Sinha Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Co-authored-by: isaacmbrown --- .../about-dependabot-alerts.md | 82 +++++++------------ .../configuring-dependabot-alerts.md | 6 +- .../dependabot-alert-actions-semver.md | 2 +- .../gated-features/dependabot-alerts.md | 4 +- 4 files changed, 32 insertions(+), 62 deletions(-) diff --git a/content/code-security/concepts/supply-chain-security/about-dependabot-alerts.md b/content/code-security/concepts/supply-chain-security/about-dependabot-alerts.md index 2c01fdc18da7..551742e7f249 100644 --- a/content/code-security/concepts/supply-chain-security/about-dependabot-alerts.md +++ b/content/code-security/concepts/supply-chain-security/about-dependabot-alerts.md @@ -1,6 +1,6 @@ --- title: About Dependabot alerts -intro: '{% data variables.product.github %} sends {% data variables.product.prodname_dependabot_alerts %} when we detect that your repository uses a vulnerable dependency.' +intro: '{% data variables.product.prodname_dependabot_alerts %} help you find and fix vulnerable dependencies before they become security risks.' product: '{% data reusables.gated-features.dependabot-alerts %}' redirect_from: - /articles/about-security-alerts-for-vulnerable-dependencies @@ -23,87 +23,61 @@ topics: shortTitle: Dependabot alerts contentType: concepts --- - -{% data variables.product.prodname_dependabot_alerts %} tell you when your code depends on a package that is insecure. Often, software is built using open-source code packages from a large variety of sources. The complex relationships between these dependencies, and the ease with which malicious actors can insert malware into upstream code, mean that you may unknowingly be using dependencies that have security flaws, also known as vulnerabilities. +Software often relies on packages from various sources, creating dependency relationships that can unknowingly introduce security vulnerabilities. When your code depends on packages with known security vulnerabilities, you become a target for attackers seeking to exploit your system—potentially gaining access to your code, data, customers, or contributors. {% data variables.product.prodname_dependabot_alerts %} notify you about vulnerable dependencies so you can upgrade to secure versions and protect your project. -If your code depends on a package with a security vulnerability, this can cause a range of problems for your project or the people who use it. Using a vulnerable package makes you a soft target for malicious users looking to exploit your system. For example, they may seek to get access to your code and data from your customers or contributors. You should upgrade to a secure version of the package as soon as possible. If your code uses malware, you need to replace the package with a secure alternative. +## When {% data variables.product.prodname_dependabot %} sends alerts -{% data reusables.dependabot.no-dependabot-alerts-for-malware %} - -{% data reusables.dependabot.quickstart-link %} - -## Detection of insecure dependencies - -{% data variables.product.prodname_dependabot %} performs a scan of the default branch of your repository to detect insecure dependencies, and sends {% data variables.product.prodname_dependabot_alerts %} when: +{% data variables.product.prodname_dependabot %} scans your repository's default branch and sends alerts when: {% ifversion fpt or ghec %} -* A new advisory is added to the {% data variables.product.prodname_advisory_database %}. For more information, see [AUTOTITLE](/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/browsing-security-advisories-in-the-github-advisory-database).{% else %} - +* A new vulnerability is added to the {% data variables.product.prodname_advisory_database %}{% else %} * New advisory data is synchronized to {% data variables.product.prodname_dotcom %} each hour from {% data variables.product.prodname_dotcom_the_website %}. {% data reusables.security-advisory.link-browsing-advisory-db %}{% endif %} +* Your dependency graph changes—for example, when you push commits that update packages or versions - > [!NOTE] - > Only advisories that have been reviewed by {% data variables.product.company_short %} will trigger {% data variables.product.prodname_dependabot_alerts %}. - -* The dependency graph for a repository changes. For example, when a contributor pushes a commit to change the packages or versions it depends on{% ifversion fpt or ghec %}, or when the code of one of the dependencies changes{% endif %}. For more information, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph). +For supported ecosystems, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/dependency-graph-supported-package-ecosystems#supported-package-ecosystems). -> [!NOTE] -> {% data variables.product.prodname_dependabot %} doesn't scan archived repositories. +## Understanding alerts -{% data reusables.repositories.dependency-review %} +When {% data variables.product.github %} detects a vulnerable dependency, a {% data variables.product.prodname_dependabot %} alert appears on the repository's **Security** tab and dependency graph. Each alert includes: -As {% data variables.product.prodname_dependabot_alerts %} rely on the dependency graph, the ecosystems that are supported by {% data variables.product.prodname_dependabot_alerts %} are the same as those supported by the dependency graph. For a list of these ecosystems, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/dependency-graph-supported-package-ecosystems#supported-package-ecosystems). +* A link to the affected file +* Details about the vulnerability and its severity +* Information about a fixed version (when available) -> [!NOTE] -> It is important to keep your manifest and lock files up to date. If the dependency graph doesn't accurately reflect your current dependencies and versions, then you could miss alerts for insecure dependencies that you use. You may also get alerts for dependencies that you no longer use. +For information about notifications, viewing, and managing alerts, see [AUTOTITLE](/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts). -{% data reusables.dependabot.dependabot-alert-actions-semver %} +## Enabling alerts -## Configuration of {% data variables.product.prodname_dependabot_alerts %} +Repository administrators and organization owners can enable {% data variables.product.prodname_dependabot_alerts %} for their repositories{% ifversion fpt or ghec %} and organizations{% endif %}. When enabled, {% data variables.product.github %} immediately generates the dependency graph and creates alerts for any vulnerable dependencies it identifies. By default, people with write, maintain, or admin permissions receive notifications.{% ifversion fpt or ghec %} Repository administrators can grant access to additional people or teams.{% endif %} {% data reusables.repositories.enable-security-alerts %} -{% ifversion fpt or ghec %}Repository owners or people with admin access can enable {% data variables.product.prodname_dependabot_alerts %} for their repositories. You can also enable or disable {% data variables.product.prodname_dependabot_alerts %} for all repositories owned by your user account or organization. For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts). - -For information about access requirements for actions related to {% data variables.product.prodname_dependabot_alerts %}, see [AUTOTITLE](/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#access-requirements-for-security-features). - -{% data variables.product.github %} starts generating the dependency graph immediately and generates alerts for any insecure dependencies as soon as they are identified. The graph is usually populated within minutes but this may take longer for repositories with many dependencies. For more information, see [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#enabling-or-disabling-security-and-analysis-features-for-private-repositories). -{% endif %} - -When {% data variables.product.github %} identifies a vulnerable dependency, we generate a {% data variables.product.prodname_dependabot %} alert and display it on the **Security** tab for the repository and in the repository's dependency graph. The alert includes a link to the affected file in the project, and information about a fixed version. +See [AUTOTITLE](/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts). -{% data variables.product.github %} may also notify the maintainers of affected repositories about new alerts according to their notification preferences. When {% data variables.product.prodname_dependabot %} is first enabled, {% data variables.product.github %} does not send notifications for all vulnerable dependencies found in your repository, only for new vulnerable dependencies identified after {% data variables.product.prodname_dependabot %} is enabled. For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-alerts/configuring-notifications-for-dependabot-alerts). +## Limitations -{% data reusables.dependabot.dependabot-alert-create-PR %} +{% data variables.product.prodname_dependabot_alerts %} have some limitations: -{% data reusables.dependabot.dependabot-alert-rules %} +* Alerts can't catch every security issue. Always review your dependencies and keep manifest and lock files up to date for accurate detection. +* New vulnerabilities may take time to appear in the {% data variables.product.prodname_advisory_database %} and trigger alerts. +* Only advisories reviewed by {% data variables.product.github %} trigger alerts. +* {% data variables.product.prodname_dependabot %} doesn't scan archived repositories. +* {% data variables.product.prodname_dependabot %} doesn't generate alerts for malware. +* {% data reusables.dependabot.dependabot-alert-actions-semver %} -> [!WARNING] -> {% data variables.product.github %}'s security features do not claim to catch all vulnerabilities. We actively maintain {% data variables.product.prodname_advisory_database %} and generate alerts with the most up-to-date information. However, we cannot catch everything or tell you about known vulnerabilities within a guaranteed time frame. These features are not substitutes for human review of each dependency for potential vulnerabilities or any other issues, and we recommend consulting with a security service or conducting a thorough dependency review when necessary. - -## Access to {% data variables.product.prodname_dependabot_alerts %} - -You can see all of the alerts that affect a particular project{% ifversion fpt or ghec %} on the repository's **Security** tab or{% endif %} in the repository's dependency graph. For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts). - -By default, we notify people with write, maintain, or admin permissions in the affected repositories about new {% data variables.product.prodname_dependabot_alerts %}. {% ifversion fpt or ghec %}{% data variables.product.github %} never publicly discloses insecure dependencies for any repository. You can also make {% data variables.product.prodname_dependabot_alerts %} visible to additional people or teams working with repositories that you own or have admin permissions for. For more information, see [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts). -{% endif %} - -{% data reusables.notifications.vulnerable-dependency-notification-enable %} -{% data reusables.notifications.vulnerable-dependency-notification-delivery-method-customization2 %} For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-alerts/configuring-notifications-for-dependabot-alerts). - -You can also see all the {% data variables.product.prodname_dependabot_alerts %} that correspond to a particular advisory in the {% data variables.product.prodname_advisory_database %}. {% data reusables.security-advisory.link-browsing-advisory-db %} +{% ifversion fpt or ghec %}{% data variables.product.github %} never publicly discloses vulnerabilities for any repository. {% endif %} {% ifversion copilot-chat-ghas-alerts %} -## Asking {% data variables.copilot.copilot_chat %} about {% data variables.product.prodname_dependabot_alerts %} +## Asking {% data variables.copilot.copilot_chat %} about alerts -With a {% data variables.copilot.copilot_enterprise %} license, you can ask {% data variables.copilot.copilot_chat_short %} for help to better understand security alerts, including {% data variables.product.prodname_dependabot_alerts %}, in repositories in your organization. For more information, see [AUTOTITLE](/copilot/using-github-copilot/asking-github-copilot-questions-in-githubcom#asking-questions-about-alerts-from-github-advanced-security-features). +With a {% data variables.copilot.copilot_enterprise %} license, you can ask {% data variables.copilot.copilot_chat_short %} questions about {% data variables.product.prodname_dependabot_alerts %} in your organization's repositories. For more information, see [AUTOTITLE](/copilot/using-github-copilot/asking-github-copilot-questions-in-githubcom#asking-questions-about-alerts-from-github-advanced-security-features). {% endif %} ## Further reading -* [AUTOTITLE](/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) * [AUTOTITLE](/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts) +* [AUTOTITLE](/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) * [AUTOTITLE](/code-security/getting-started/auditing-security-alerts) -{% ifversion fpt or ghec %}- [AUTOTITLE](/get-started/privacy-on-github){% endif %} diff --git a/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md b/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md index 9e30476fcd54..de4c136ca7d0 100644 --- a/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md +++ b/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md @@ -43,10 +43,10 @@ You can enable or disable {% data variables.product.prodname_dependabot_alerts % You can enable or disable {% data variables.product.prodname_dependabot_alerts %} for all repositories owned by your personal account. +Go to your security settings {% octicon "link-external" height:16 aria-label="link-external" %} + ### Enabling or disabling {% data variables.product.prodname_dependabot_alerts %} for existing repositories -{% data reusables.user-settings.access_settings %} -{% data reusables.user-settings.security-analysis %} 1. Under "{% data variables.product.UI_advanced_security %}", to the right of {% data variables.product.prodname_dependabot_alerts %}, click **Disable all** or **Enable all**. 1. Optionally, to enable {% data variables.product.prodname_dependabot_alerts %} by default for new repositories that you create, in the dialog box, select "Enable by default for new repositories". 1. Click **Disable {% data variables.product.prodname_dependabot_alerts %}** or **Enable {% data variables.product.prodname_dependabot_alerts %}** to disable or enable {% data variables.product.prodname_dependabot_alerts %} for all the repositories you own. @@ -55,8 +55,6 @@ When you enable {% data variables.product.prodname_dependabot_alerts %} for exis ### Enabling or disabling {% data variables.product.prodname_dependabot_alerts %} for new repositories -{% data reusables.user-settings.access_settings %} -{% data reusables.user-settings.security-analysis %} 1. Under "{% data variables.product.UI_advanced_security %}", to the right of {% data variables.product.prodname_dependabot_alerts %}, select **Automatically enable for new repositories**. {% else %} diff --git a/data/reusables/dependabot/dependabot-alert-actions-semver.md b/data/reusables/dependabot/dependabot-alert-actions-semver.md index c178039bb022..3c799ff350e2 100644 --- a/data/reusables/dependabot/dependabot-alert-actions-semver.md +++ b/data/reusables/dependabot/dependabot-alert-actions-semver.md @@ -1 +1 @@ -{% data variables.product.prodname_dependabot %} will only create {% data variables.product.prodname_dependabot_alerts %} for vulnerable {% data variables.product.prodname_actions %} that use semantic versioning. You will not receive alerts for a vulnerable action that uses SHA versioning. If you use {% data variables.product.prodname_actions %} with SHA versioning, we recommend enabling {% data variables.product.prodname_dependabot_version_updates %} for your repository or organization to keep the actions you use updated to the latest versions. +For {% data variables.product.prodname_actions %}, {% data variables.product.prodname_dependabot_alerts %} are only generated for actions that use semantic versioning, not SHA versioning. diff --git a/data/reusables/gated-features/dependabot-alerts.md b/data/reusables/gated-features/dependabot-alerts.md index 459882ca5361..240fbe452198 100644 --- a/data/reusables/gated-features/dependabot-alerts.md +++ b/data/reusables/gated-features/dependabot-alerts.md @@ -1,3 +1 @@ -{% data variables.product.prodname_dependabot_alerts %} is available for the following repositories: - - * Organization-owned and user-owned repositories +{% data variables.product.prodname_dependabot_alerts %} are available for organization-owned and user-owned repositories. From ea90c61a1748fa005b8a51536bfc4f9fcba335c6 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Thu, 8 Jan 2026 09:18:25 -0800 Subject: [PATCH 4/5] Sync secret scanning data (#59061) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- .../data/pattern-docs/fpt/public-docs.yml | 18 ++++++++++++++++++ .../data/pattern-docs/ghec/public-docs.yml | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/src/secret-scanning/data/pattern-docs/fpt/public-docs.yml b/src/secret-scanning/data/pattern-docs/fpt/public-docs.yml index cd45f5ff0361..d2a0b625d8a5 100644 --- a/src/secret-scanning/data/pattern-docs/fpt/public-docs.yml +++ b/src/secret-scanning/data/pattern-docs/fpt/public-docs.yml @@ -3822,6 +3822,24 @@ hasValidityCheck: false base64Supported: false isduplicate: false +- provider: Snowflake + supportedSecret: SFPG Connection String + secretType: snowflake_postgres_connection_string + isPublic: true + isPrivateWithGhas: true + hasPushProtection: false + hasValidityCheck: false + base64Supported: false + isduplicate: false +- provider: Snowflake + supportedSecret: SFPG Host + secretType: snowflake_postgres_host,
snowflake_postgres_password + isPublic: true + isPrivateWithGhas: true + hasPushProtection: false + hasValidityCheck: false + base64Supported: false + isduplicate: false - provider: Snowflake supportedSecret: Snowflake Programmatic Access Token secretType: snowflake_programmatic_access_token diff --git a/src/secret-scanning/data/pattern-docs/ghec/public-docs.yml b/src/secret-scanning/data/pattern-docs/ghec/public-docs.yml index cd45f5ff0361..d2a0b625d8a5 100644 --- a/src/secret-scanning/data/pattern-docs/ghec/public-docs.yml +++ b/src/secret-scanning/data/pattern-docs/ghec/public-docs.yml @@ -3822,6 +3822,24 @@ hasValidityCheck: false base64Supported: false isduplicate: false +- provider: Snowflake + supportedSecret: SFPG Connection String + secretType: snowflake_postgres_connection_string + isPublic: true + isPrivateWithGhas: true + hasPushProtection: false + hasValidityCheck: false + base64Supported: false + isduplicate: false +- provider: Snowflake + supportedSecret: SFPG Host + secretType: snowflake_postgres_host,
snowflake_postgres_password + isPublic: true + isPrivateWithGhas: true + hasPushProtection: false + hasValidityCheck: false + base64Supported: false + isduplicate: false - provider: Snowflake supportedSecret: Snowflake Programmatic Access Token secretType: snowflake_programmatic_access_token From 36915a1b789c0de36fbedbd908e05fa2217efb73 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Thu, 8 Jan 2026 09:38:14 -0800 Subject: [PATCH 5/5] Update audit log event data (#59063) Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> --- src/audit-logs/data/fpt/organization.json | 12 ++++++------ src/audit-logs/data/fpt/user.json | 8 ++++---- src/audit-logs/data/ghec/enterprise.json | 12 ++++++------ src/audit-logs/data/ghec/organization.json | 12 ++++++------ src/audit-logs/data/ghec/user.json | 8 ++++---- src/audit-logs/data/ghes-3.14/organization.json | 4 ++-- src/audit-logs/data/ghes-3.15/organization.json | 4 ++-- src/audit-logs/data/ghes-3.16/enterprise.json | 2 +- src/audit-logs/data/ghes-3.16/organization.json | 4 ++-- src/audit-logs/data/ghes-3.17/enterprise.json | 2 +- src/audit-logs/data/ghes-3.17/organization.json | 4 ++-- src/audit-logs/data/ghes-3.18/enterprise.json | 2 +- src/audit-logs/data/ghes-3.18/organization.json | 4 ++-- src/audit-logs/data/ghes-3.19/enterprise.json | 2 +- src/audit-logs/data/ghes-3.19/organization.json | 4 ++-- src/audit-logs/data/ghes-3.20/enterprise.json | 2 +- src/audit-logs/data/ghes-3.20/organization.json | 4 ++-- 17 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/audit-logs/data/fpt/organization.json b/src/audit-logs/data/fpt/organization.json index 5d33f8dbefb1..ee828e6f534f 100644 --- a/src/audit-logs/data/fpt/organization.json +++ b/src/audit-logs/data/fpt/organization.json @@ -1786,7 +1786,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.cancel", @@ -1814,7 +1814,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.create", @@ -1842,7 +1842,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.deny", @@ -1870,7 +1870,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_repository_access.default_access_level_updated", @@ -13288,7 +13288,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -14745,7 +14745,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/fpt/user.json b/src/audit-logs/data/fpt/user.json index 57b331f0cc3a..d12883c8b51a 100644 --- a/src/audit-logs/data/fpt/user.json +++ b/src/audit-logs/data/fpt/user.json @@ -1322,7 +1322,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.cancel", @@ -1350,7 +1350,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.create", @@ -1378,7 +1378,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.deny", @@ -1406,7 +1406,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_repository_access.repositories_updated", diff --git a/src/audit-logs/data/ghec/enterprise.json b/src/audit-logs/data/ghec/enterprise.json index 6e877de7ba21..72992d10e527 100644 --- a/src/audit-logs/data/ghec/enterprise.json +++ b/src/audit-logs/data/ghec/enterprise.json @@ -4610,7 +4610,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.cancel", @@ -4638,7 +4638,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.create", @@ -4666,7 +4666,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.deny", @@ -4694,7 +4694,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_repository_access.default_access_level_updated", @@ -16730,7 +16730,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -18145,7 +18145,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghec/organization.json b/src/audit-logs/data/ghec/organization.json index 5d33f8dbefb1..ee828e6f534f 100644 --- a/src/audit-logs/data/ghec/organization.json +++ b/src/audit-logs/data/ghec/organization.json @@ -1786,7 +1786,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.cancel", @@ -1814,7 +1814,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.create", @@ -1842,7 +1842,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.deny", @@ -1870,7 +1870,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_repository_access.default_access_level_updated", @@ -13288,7 +13288,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -14745,7 +14745,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghec/user.json b/src/audit-logs/data/ghec/user.json index 57b331f0cc3a..d12883c8b51a 100644 --- a/src/audit-logs/data/ghec/user.json +++ b/src/audit-logs/data/ghec/user.json @@ -1322,7 +1322,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.cancel", @@ -1350,7 +1350,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.create", @@ -1378,7 +1378,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_closure_request.deny", @@ -1406,7 +1406,7 @@ "business_id", "actor_is_bot" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "dependabot_repository_access.repositories_updated", diff --git a/src/audit-logs/data/ghes-3.14/organization.json b/src/audit-logs/data/ghes-3.14/organization.json index 0953311696bc..c7e40ac64586 100644 --- a/src/audit-logs/data/ghes-3.14/organization.json +++ b/src/audit-logs/data/ghes-3.14/organization.json @@ -11595,7 +11595,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -12841,7 +12841,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.15/organization.json b/src/audit-logs/data/ghes-3.15/organization.json index 074fb69fb72e..4a563b9bc0b5 100644 --- a/src/audit-logs/data/ghes-3.15/organization.json +++ b/src/audit-logs/data/ghes-3.15/organization.json @@ -11837,7 +11837,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -13198,7 +13198,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.16/enterprise.json b/src/audit-logs/data/ghes-3.16/enterprise.json index 9c9bbd9c6938..2beff6991a09 100644 --- a/src/audit-logs/data/ghes-3.16/enterprise.json +++ b/src/audit-logs/data/ghes-3.16/enterprise.json @@ -13492,7 +13492,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.16/organization.json b/src/audit-logs/data/ghes-3.16/organization.json index 07d003abcca6..d0b633b4f75d 100644 --- a/src/audit-logs/data/ghes-3.16/organization.json +++ b/src/audit-logs/data/ghes-3.16/organization.json @@ -12255,7 +12255,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -13616,7 +13616,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.17/enterprise.json b/src/audit-logs/data/ghes-3.17/enterprise.json index 2ca4154c2c61..ab5e3df047a0 100644 --- a/src/audit-logs/data/ghes-3.17/enterprise.json +++ b/src/audit-logs/data/ghes-3.17/enterprise.json @@ -13910,7 +13910,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.17/organization.json b/src/audit-logs/data/ghes-3.17/organization.json index 7e3d865a0377..7e6de3fa98ad 100644 --- a/src/audit-logs/data/ghes-3.17/organization.json +++ b/src/audit-logs/data/ghes-3.17/organization.json @@ -12485,7 +12485,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -13888,7 +13888,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.18/enterprise.json b/src/audit-logs/data/ghes-3.18/enterprise.json index 986a4639c9cb..6bb39c8a3c09 100644 --- a/src/audit-logs/data/ghes-3.18/enterprise.json +++ b/src/audit-logs/data/ghes-3.18/enterprise.json @@ -14013,7 +14013,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.18/organization.json b/src/audit-logs/data/ghes-3.18/organization.json index 1ad3456438a9..1c643c7916f2 100644 --- a/src/audit-logs/data/ghes-3.18/organization.json +++ b/src/audit-logs/data/ghes-3.18/organization.json @@ -12676,7 +12676,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -14133,7 +14133,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.19/enterprise.json b/src/audit-logs/data/ghes-3.19/enterprise.json index 5aea603cbf7d..7cf7f4596e51 100644 --- a/src/audit-logs/data/ghes-3.19/enterprise.json +++ b/src/audit-logs/data/ghes-3.19/enterprise.json @@ -14696,7 +14696,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.19/organization.json b/src/audit-logs/data/ghes-3.19/organization.json index a31da6d7186a..ed79b5549c70 100644 --- a/src/audit-logs/data/ghes-3.19/organization.json +++ b/src/audit-logs/data/ghes-3.19/organization.json @@ -13221,7 +13221,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -14678,7 +14678,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.20/enterprise.json b/src/audit-logs/data/ghes-3.20/enterprise.json index e4461b274a4e..7f56840c0eba 100644 --- a/src/audit-logs/data/ghes-3.20/enterprise.json +++ b/src/audit-logs/data/ghes-3.20/enterprise.json @@ -14717,7 +14717,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss", diff --git a/src/audit-logs/data/ghes-3.20/organization.json b/src/audit-logs/data/ghes-3.20/organization.json index 0cfb9444bd75..dccacc4cd85f 100644 --- a/src/audit-logs/data/ghes-3.20/organization.json +++ b/src/audit-logs/data/ghes-3.20/organization.json @@ -13176,7 +13176,7 @@ "org_id", "request_access_security_header" ], - "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories" + "docs_reference_titles": "About repository security advisories" }, { "action": "repository_advisory.cve_request", @@ -14633,7 +14633,7 @@ "alert_number", "programmatic_access_type" ], - "docs_reference_titles": "/code-security/dependabot/dependabot-alerts/about-dependabot-alerts" + "docs_reference_titles": "About Dependabot alerts" }, { "action": "repository_vulnerability_alert.dismiss",