diff --git a/content/issues/tracking-your-work-with-issues/using-issues/filtering-and-searching-issues-and-pull-requests.md b/content/issues/tracking-your-work-with-issues/using-issues/filtering-and-searching-issues-and-pull-requests.md index c2eac25c87c6..763586b0e1cd 100644 --- a/content/issues/tracking-your-work-with-issues/using-issues/filtering-and-searching-issues-and-pull-requests.md +++ b/content/issues/tracking-your-work-with-issues/using-issues/filtering-and-searching-issues-and-pull-requests.md @@ -77,10 +77,10 @@ You can build advanced filters using boolean and nested queries on your reposito You can use `AND` and `OR` operators to refine your filters. -Use `AND` when you need results where both statements are true. In the example filter below, the results will be comprised of issues with the "Bug fix" label that are assigned to the @octocat user. +Use `AND` when you need results where both statements are true. In the example filter below, the results will be comprised of issues with the "question" label that are assigned to the @octocat user. ```text -label:"Bug fix" AND assignee:octocat +label:"question" AND assignee:octocat ``` To return results where either statement is true, use `OR`. In the example below, the results will contain issues assigned to either @octocat or @hubot. @@ -93,10 +93,10 @@ If you choose not to use `AND` and `OR` operators, {% data variables.product.git ### Using parentheses for more complicated filters -You can also use parentheses to nest filters and group qualifiers. In the example below, the results will contain issues that are either assigned to @octocat with the "bug" issue type or assigned to @hubot with the "Enhancement" issue type. +You can also use parentheses to nest filters and group qualifiers. In the example below, the results will contain issues that are either assigned to @octocat with the "bug" issue type or assigned to @hubot with the "Feature" issue type. ```text -(type:"Bug" AND assignee:octocat) OR (type:"Enhancement" AND assignee:hubot) +(type:"Bug" AND assignee:octocat) OR (type:"Feature" AND assignee:hubot) ``` You can nest filters using parentheses up to five levels deep.{% ifversion ghes < 3.18 %} It's not currently possible to include the `repo`, `org`, or `user` qualifiers within parentheses.{% endif %} @@ -224,7 +224,8 @@ For issues, you can also use search to: * Filter for issues that are linked to a pull request by a closing reference: `linked:pr` * Filter issues by the reason they were closed: `is:closed reason:completed` or `is:closed reason:"not planned"` -{% ifversion issue-types %}* Filter for issues with a particular type: `is:open type:"Bug"`{% endif %} +{% ifversion issue-types %}* Filter for issues with a particular type: `is:open type:"Bug"`{% endif %}{% ifversion issues-advanced-search %} +* Filter for issues from repositories [**owned**](/search-github/searching-on-github/searching-issues-and-pull-requests#search-within-a-users-or-organizations-repositories) by a certain user or organization, limited to up to 16 `user` and `org` qualifiers with no limit on `repo` qualifiers: `state:open type:issue org:github OR user:octocat`{% endif %} For pull requests, you can also use search to: diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index d6c3cd61364d..cddb7d965784 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,30 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type ActorConnection was added

", + "

Type ActorEdge was added

", + "

Type AssigneeConnection was added

", + "

Type AssigneeEdge was added

", + "

Type ReplaceActorsForAssignableInput was added

", + "

Type ReplaceActorsForAssignablePayload was added

", + "

Field assignedActors was added to interface Assignable

", + "

Field suggestedActors was added to interface Assignable

", + "

Field assignedActors was added to object type Issue

", + "

Field suggestedActors was added to object type Issue

", + "

Field replaceActorsForAssignable was added to object type Mutation

", + "

Field assignedActors was added to object type PullRequest

", + "

Field suggestedActors was added to object type PullRequest

", + "

Field suggestedActors was added to object type Repository

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2025-04-15" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 22b3ab53401d..c955b6cdff76 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -266,6 +266,46 @@ interface Actor { url: URI! } +""" +The connection type for Actor. +""" +type ActorConnection { + """ + A list of edges. + """ + edges: [ActorEdge] + + """ + A list of nodes. + """ + nodes: [Actor] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ActorEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Actor +} + """ Location information for an actor """ @@ -1565,6 +1605,31 @@ type ArchiveRepositoryPayload { An object that can have users assigned to it. """ interface Assignable { + """ + A list of actors assigned to this object. + """ + assignedActors( + """ + 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 + ): AssigneeConnection! + """ A list of Users assigned to this object. """ @@ -1589,6 +1654,36 @@ interface Assignable { """ last: Int ): UserConnection! + + """ + A list of suggested actors to assign to this object + """ + suggestedActors( + """ + 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 + + """ + If provided, searches users by login or profile name + """ + query: String + ): AssigneeConnection! } """ @@ -1632,6 +1727,46 @@ Types that can be assigned to issues. """ union Assignee = Bot | Mannequin | Organization | User +""" +The connection type for Assignee. +""" +type AssigneeConnection { + """ + A list of edges. + """ + edges: [AssigneeEdge] + + """ + A list of nodes. + """ + nodes: [Assignee] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type AssigneeEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Assignee +} + """ An entry in the audit log. """ @@ -18411,6 +18546,31 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ activeLockReason: LockReason + """ + A list of actors assigned to this object. + """ + assignedActors( + """ + 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 + ): AssigneeConnection! + """ A list of Users assigned to this object. """ @@ -18929,6 +19089,36 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ subIssuesSummary: SubIssuesSummary! + """ + A list of suggested actors to assign to this object + """ + suggestedActors( + """ + 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 + + """ + If provided, searches users by login or profile name + """ + query: String + ): AssigneeConnection! + """ A list of events, comments, commits, etc. associated with the issue. """ @@ -25420,6 +25610,16 @@ type Mutation { input: ReorderEnvironmentInput! ): ReorderEnvironmentPayload + """ + Replaces all actors for assignable object. + """ + replaceActorsForAssignable( + """ + Parameters for ReplaceActorsForAssignable + """ + input: ReplaceActorsForAssignableInput! + ): ReplaceActorsForAssignablePayload + """ Reprioritizes a sub-issue to a different position in the parent list. """ @@ -39610,6 +39810,31 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ additions: Int! + """ + A list of actors assigned to this object. + """ + assignedActors( + """ + 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 + ): AssigneeConnection! + """ A list of Users assigned to this object. """ @@ -40399,6 +40624,36 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ statusCheckRollup: StatusCheckRollup + """ + A list of suggested actors to assign to this object + """ + suggestedActors( + """ + 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 + + """ + If provided, searches users by login or profile name + """ + query: String + ): AssigneeConnection! + """ A list of reviewer suggestions based on commit history and past review comments. """ @@ -45490,6 +45745,45 @@ type ReorderEnvironmentPayload { environment: Environment } +""" +Autogenerated input type of ReplaceActorsForAssignable +""" +input ReplaceActorsForAssignableInput { + """ + The ids of the actors to replace the existing assignees. + """ + actorIds: [ID!]! + @possibleTypes( + concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"] + abstractType: "Actor" + ) + + """ + The id of the assignable object to replace the assignees for. + """ + assignableId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "Assignable") + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + +""" +Autogenerated return type of ReplaceActorsForAssignable. +""" +type ReplaceActorsForAssignablePayload { + """ + The item that was assigned. + """ + assignable: Assignable + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + """ Audit log entry for a repo.access event. """ @@ -50532,6 +50826,41 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent last: Int ): SubmoduleConnection! + """ + A list of suggested actors that can be attributed to content in this repository. + """ + suggestedActors( + """ + 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 + + """ + A comma separated list of login names to filter actors by. Only the first 10 logins will be used. + """ + loginNames: String + + """ + Search actors with query on user name and login. + """ + query: String + ): ActorConnection! + """ Temporary authentication token for cloning this repository. """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 11cb3af8e675..de01471a1166 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -6433,6 +6433,40 @@ } ] }, + { + "name": "replaceActorsForAssignable", + "kind": "mutations", + "id": "replaceactorsforassignable", + "href": "/graphql/reference/mutations#replaceactorsforassignable", + "description": "

Replaces all actors for assignable object.

", + "inputFields": [ + { + "name": "input", + "type": "ReplaceActorsForAssignableInput!", + "id": "replaceactorsforassignableinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#replaceactorsforassignableinput" + } + ], + "returnFields": [ + { + "name": "assignable", + "type": "Assignable", + "id": "assignable", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#assignable", + "description": "

The item that was assigned.

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

A unique identifier for the client performing the mutation.

" + } + ] + }, { "name": "reprioritizeSubIssue", "kind": "mutations", @@ -10015,6 +10049,72 @@ } ], "objects": [ + { + "name": "ActorConnection", + "kind": "objects", + "id": "actorconnection", + "href": "/graphql/reference/objects#actorconnection", + "description": "

The connection type for Actor.

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

A list of edges.

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

A list of nodes.

", + "type": "[Actor]", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "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": "ActorEdge", + "kind": "objects", + "id": "actoredge", + "href": "/graphql/reference/objects#actoredge", + "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": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + } + ] + }, { "name": "ActorLocation", "kind": "objects", @@ -10491,6 +10591,72 @@ } ] }, + { + "name": "AssigneeConnection", + "kind": "objects", + "id": "assigneeconnection", + "href": "/graphql/reference/objects#assigneeconnection", + "description": "

The connection type for Assignee.

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

A list of edges.

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

A list of nodes.

", + "type": "[Assignee]", + "id": "assignee", + "kind": "unions", + "href": "/graphql/reference/unions#assignee" + }, + { + "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": "AssigneeEdge", + "kind": "objects", + "id": "assigneeedge", + "href": "/graphql/reference/objects#assigneeedge", + "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": "Assignee", + "id": "assignee", + "kind": "unions", + "href": "/graphql/reference/unions#assignee" + } + ] + }, { "name": "AutoMergeDisabledEvent", "kind": "objects", @@ -28668,6 +28834,56 @@ "kind": "enums", "href": "/graphql/reference/enums#lockreason" }, + { + "name": "assignedActors", + "description": "

A list of actors assigned to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "assignees", "description": "

A list of Users assigned to this object.

", @@ -29647,6 +29863,66 @@ "kind": "objects", "href": "/graphql/reference/objects#subissuessummary" }, + { + "name": "suggestedActors", + "description": "

A list of suggested actors to assign to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "query", + "description": "

If provided, searches users by login or profile name.

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

A list of events, comments, commits, etc. associated with the issue.

", @@ -52530,6 +52806,56 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "assignedActors", + "description": "

A list of actors assigned to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "assignees", "description": "

A list of Users assigned to this object.

", @@ -53898,12 +54224,98 @@ ] }, { - "name": "reviews", - "description": "

A list of reviews associated with the pull request.

", - "type": "PullRequestReviewConnection", - "id": "pullrequestreviewconnection", + "name": "reviews", + "description": "

A list of reviews associated with the pull request.

", + "type": "PullRequestReviewConnection", + "id": "pullrequestreviewconnection", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequestreviewconnection", + "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": "author", + "description": "

Filter by author of the review.

", + "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": "states", + "description": "

A list of states to filter the reviews.

", + "type": { + "name": "[PullRequestReviewState!]", + "id": "pullrequestreviewstate", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestreviewstate" + } + } + ] + }, + { + "name": "state", + "description": "

Identifies the state of the pull request.

", + "type": "PullRequestState!", + "id": "pullrequeststate", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequeststate" + }, + { + "name": "statusCheckRollup", + "description": "

Check and Status rollup information for the PR's head ref.

", + "type": "StatusCheckRollup", + "id": "statuscheckrollup", "kind": "objects", - "href": "/graphql/reference/objects#pullrequestreviewconnection", + "href": "/graphql/reference/objects#statuscheckrollup" + }, + { + "name": "suggestedActors", + "description": "

A list of suggested actors to assign to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", "arguments": [ { "name": "after", @@ -53915,16 +54327,6 @@ "href": "/graphql/reference/scalars#string" } }, - { - "name": "author", - "description": "

Filter by author of the review.

", - "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.

", @@ -53956,33 +54358,17 @@ } }, { - "name": "states", - "description": "

A list of states to filter the reviews.

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

If provided, searches users by login or profile name.

", "type": { - "name": "[PullRequestReviewState!]", - "id": "pullrequestreviewstate", - "kind": "enums", - "href": "/graphql/reference/enums#pullrequestreviewstate" + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" } } ] }, - { - "name": "state", - "description": "

Identifies the state of the pull request.

", - "type": "PullRequestState!", - "id": "pullrequeststate", - "kind": "enums", - "href": "/graphql/reference/enums#pullrequeststate" - }, - { - "name": "statusCheckRollup", - "description": "

Check and Status rollup information for the PR's head ref.

", - "type": "StatusCheckRollup", - "id": "statuscheckrollup", - "kind": "objects", - "href": "/graphql/reference/objects#statuscheckrollup" - }, { "name": "suggestedReviewers", "description": "

A list of reviewer suggestions based on commit history and past review comments.

", @@ -66935,6 +67321,76 @@ } ] }, + { + "name": "suggestedActors", + "description": "

A list of suggested actors that can be attributed to content in this repository.

", + "type": "ActorConnection!", + "id": "actorconnection", + "kind": "objects", + "href": "/graphql/reference/objects#actorconnection", + "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": "loginNames", + "description": "

A comma separated list of login names to filter actors by. Only the first 10 logins will be used.

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

Search actors with query on user name and login.

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

Temporary authentication token for cloning this repository.

", @@ -83419,6 +83875,56 @@ "href": "/graphql/reference/interfaces#assignable", "description": "

An object that can have users assigned to it.

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

A list of actors assigned to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "assignees", "description": "

A list of Users assigned to this object.

", @@ -83468,6 +83974,66 @@ } } ] + }, + { + "name": "suggestedActors", + "description": "

A list of suggested actors to assign to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "query", + "description": "

If provided, searches users by login or profile name.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] } ] }, @@ -104990,6 +105556,41 @@ } ] }, + { + "name": "ReplaceActorsForAssignableInput", + "kind": "inputObjects", + "id": "replaceactorsforassignableinput", + "href": "/graphql/reference/input-objects#replaceactorsforassignableinput", + "description": "

Autogenerated input type of ReplaceActorsForAssignable.

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

The ids of the actors to replace the existing assignees.

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

The id of the assignable object to replace the assignees for.

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

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "RepositoryIdConditionTargetInput", "kind": "inputObjects", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 22b3ab53401d..c955b6cdff76 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -266,6 +266,46 @@ interface Actor { url: URI! } +""" +The connection type for Actor. +""" +type ActorConnection { + """ + A list of edges. + """ + edges: [ActorEdge] + + """ + A list of nodes. + """ + nodes: [Actor] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ActorEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Actor +} + """ Location information for an actor """ @@ -1565,6 +1605,31 @@ type ArchiveRepositoryPayload { An object that can have users assigned to it. """ interface Assignable { + """ + A list of actors assigned to this object. + """ + assignedActors( + """ + 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 + ): AssigneeConnection! + """ A list of Users assigned to this object. """ @@ -1589,6 +1654,36 @@ interface Assignable { """ last: Int ): UserConnection! + + """ + A list of suggested actors to assign to this object + """ + suggestedActors( + """ + 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 + + """ + If provided, searches users by login or profile name + """ + query: String + ): AssigneeConnection! } """ @@ -1632,6 +1727,46 @@ Types that can be assigned to issues. """ union Assignee = Bot | Mannequin | Organization | User +""" +The connection type for Assignee. +""" +type AssigneeConnection { + """ + A list of edges. + """ + edges: [AssigneeEdge] + + """ + A list of nodes. + """ + nodes: [Assignee] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type AssigneeEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Assignee +} + """ An entry in the audit log. """ @@ -18411,6 +18546,31 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ activeLockReason: LockReason + """ + A list of actors assigned to this object. + """ + assignedActors( + """ + 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 + ): AssigneeConnection! + """ A list of Users assigned to this object. """ @@ -18929,6 +19089,36 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ subIssuesSummary: SubIssuesSummary! + """ + A list of suggested actors to assign to this object + """ + suggestedActors( + """ + 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 + + """ + If provided, searches users by login or profile name + """ + query: String + ): AssigneeConnection! + """ A list of events, comments, commits, etc. associated with the issue. """ @@ -25420,6 +25610,16 @@ type Mutation { input: ReorderEnvironmentInput! ): ReorderEnvironmentPayload + """ + Replaces all actors for assignable object. + """ + replaceActorsForAssignable( + """ + Parameters for ReplaceActorsForAssignable + """ + input: ReplaceActorsForAssignableInput! + ): ReplaceActorsForAssignablePayload + """ Reprioritizes a sub-issue to a different position in the parent list. """ @@ -39610,6 +39810,31 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ additions: Int! + """ + A list of actors assigned to this object. + """ + assignedActors( + """ + 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 + ): AssigneeConnection! + """ A list of Users assigned to this object. """ @@ -40399,6 +40624,36 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ statusCheckRollup: StatusCheckRollup + """ + A list of suggested actors to assign to this object + """ + suggestedActors( + """ + 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 + + """ + If provided, searches users by login or profile name + """ + query: String + ): AssigneeConnection! + """ A list of reviewer suggestions based on commit history and past review comments. """ @@ -45490,6 +45745,45 @@ type ReorderEnvironmentPayload { environment: Environment } +""" +Autogenerated input type of ReplaceActorsForAssignable +""" +input ReplaceActorsForAssignableInput { + """ + The ids of the actors to replace the existing assignees. + """ + actorIds: [ID!]! + @possibleTypes( + concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"] + abstractType: "Actor" + ) + + """ + The id of the assignable object to replace the assignees for. + """ + assignableId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "Assignable") + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + +""" +Autogenerated return type of ReplaceActorsForAssignable. +""" +type ReplaceActorsForAssignablePayload { + """ + The item that was assigned. + """ + assignable: Assignable + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + """ Audit log entry for a repo.access event. """ @@ -50532,6 +50826,41 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent last: Int ): SubmoduleConnection! + """ + A list of suggested actors that can be attributed to content in this repository. + """ + suggestedActors( + """ + 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 + + """ + A comma separated list of login names to filter actors by. Only the first 10 logins will be used. + """ + loginNames: String + + """ + Search actors with query on user name and login. + """ + query: String + ): ActorConnection! + """ Temporary authentication token for cloning this repository. """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 11cb3af8e675..de01471a1166 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -6433,6 +6433,40 @@ } ] }, + { + "name": "replaceActorsForAssignable", + "kind": "mutations", + "id": "replaceactorsforassignable", + "href": "/graphql/reference/mutations#replaceactorsforassignable", + "description": "

Replaces all actors for assignable object.

", + "inputFields": [ + { + "name": "input", + "type": "ReplaceActorsForAssignableInput!", + "id": "replaceactorsforassignableinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#replaceactorsforassignableinput" + } + ], + "returnFields": [ + { + "name": "assignable", + "type": "Assignable", + "id": "assignable", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#assignable", + "description": "

The item that was assigned.

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

A unique identifier for the client performing the mutation.

" + } + ] + }, { "name": "reprioritizeSubIssue", "kind": "mutations", @@ -10015,6 +10049,72 @@ } ], "objects": [ + { + "name": "ActorConnection", + "kind": "objects", + "id": "actorconnection", + "href": "/graphql/reference/objects#actorconnection", + "description": "

The connection type for Actor.

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

A list of edges.

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

A list of nodes.

", + "type": "[Actor]", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "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": "ActorEdge", + "kind": "objects", + "id": "actoredge", + "href": "/graphql/reference/objects#actoredge", + "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": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + } + ] + }, { "name": "ActorLocation", "kind": "objects", @@ -10491,6 +10591,72 @@ } ] }, + { + "name": "AssigneeConnection", + "kind": "objects", + "id": "assigneeconnection", + "href": "/graphql/reference/objects#assigneeconnection", + "description": "

The connection type for Assignee.

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

A list of edges.

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

A list of nodes.

", + "type": "[Assignee]", + "id": "assignee", + "kind": "unions", + "href": "/graphql/reference/unions#assignee" + }, + { + "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": "AssigneeEdge", + "kind": "objects", + "id": "assigneeedge", + "href": "/graphql/reference/objects#assigneeedge", + "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": "Assignee", + "id": "assignee", + "kind": "unions", + "href": "/graphql/reference/unions#assignee" + } + ] + }, { "name": "AutoMergeDisabledEvent", "kind": "objects", @@ -28668,6 +28834,56 @@ "kind": "enums", "href": "/graphql/reference/enums#lockreason" }, + { + "name": "assignedActors", + "description": "

A list of actors assigned to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "assignees", "description": "

A list of Users assigned to this object.

", @@ -29647,6 +29863,66 @@ "kind": "objects", "href": "/graphql/reference/objects#subissuessummary" }, + { + "name": "suggestedActors", + "description": "

A list of suggested actors to assign to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "query", + "description": "

If provided, searches users by login or profile name.

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

A list of events, comments, commits, etc. associated with the issue.

", @@ -52530,6 +52806,56 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "assignedActors", + "description": "

A list of actors assigned to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "assignees", "description": "

A list of Users assigned to this object.

", @@ -53898,12 +54224,98 @@ ] }, { - "name": "reviews", - "description": "

A list of reviews associated with the pull request.

", - "type": "PullRequestReviewConnection", - "id": "pullrequestreviewconnection", + "name": "reviews", + "description": "

A list of reviews associated with the pull request.

", + "type": "PullRequestReviewConnection", + "id": "pullrequestreviewconnection", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequestreviewconnection", + "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": "author", + "description": "

Filter by author of the review.

", + "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": "states", + "description": "

A list of states to filter the reviews.

", + "type": { + "name": "[PullRequestReviewState!]", + "id": "pullrequestreviewstate", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestreviewstate" + } + } + ] + }, + { + "name": "state", + "description": "

Identifies the state of the pull request.

", + "type": "PullRequestState!", + "id": "pullrequeststate", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequeststate" + }, + { + "name": "statusCheckRollup", + "description": "

Check and Status rollup information for the PR's head ref.

", + "type": "StatusCheckRollup", + "id": "statuscheckrollup", "kind": "objects", - "href": "/graphql/reference/objects#pullrequestreviewconnection", + "href": "/graphql/reference/objects#statuscheckrollup" + }, + { + "name": "suggestedActors", + "description": "

A list of suggested actors to assign to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", "arguments": [ { "name": "after", @@ -53915,16 +54327,6 @@ "href": "/graphql/reference/scalars#string" } }, - { - "name": "author", - "description": "

Filter by author of the review.

", - "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.

", @@ -53956,33 +54358,17 @@ } }, { - "name": "states", - "description": "

A list of states to filter the reviews.

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

If provided, searches users by login or profile name.

", "type": { - "name": "[PullRequestReviewState!]", - "id": "pullrequestreviewstate", - "kind": "enums", - "href": "/graphql/reference/enums#pullrequestreviewstate" + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" } } ] }, - { - "name": "state", - "description": "

Identifies the state of the pull request.

", - "type": "PullRequestState!", - "id": "pullrequeststate", - "kind": "enums", - "href": "/graphql/reference/enums#pullrequeststate" - }, - { - "name": "statusCheckRollup", - "description": "

Check and Status rollup information for the PR's head ref.

", - "type": "StatusCheckRollup", - "id": "statuscheckrollup", - "kind": "objects", - "href": "/graphql/reference/objects#statuscheckrollup" - }, { "name": "suggestedReviewers", "description": "

A list of reviewer suggestions based on commit history and past review comments.

", @@ -66935,6 +67321,76 @@ } ] }, + { + "name": "suggestedActors", + "description": "

A list of suggested actors that can be attributed to content in this repository.

", + "type": "ActorConnection!", + "id": "actorconnection", + "kind": "objects", + "href": "/graphql/reference/objects#actorconnection", + "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": "loginNames", + "description": "

A comma separated list of login names to filter actors by. Only the first 10 logins will be used.

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

Search actors with query on user name and login.

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

Temporary authentication token for cloning this repository.

", @@ -83419,6 +83875,56 @@ "href": "/graphql/reference/interfaces#assignable", "description": "

An object that can have users assigned to it.

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

A list of actors assigned to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "assignees", "description": "

A list of Users assigned to this object.

", @@ -83468,6 +83974,66 @@ } } ] + }, + { + "name": "suggestedActors", + "description": "

A list of suggested actors to assign to this object.

", + "type": "AssigneeConnection!", + "id": "assigneeconnection", + "kind": "objects", + "href": "/graphql/reference/objects#assigneeconnection", + "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": "query", + "description": "

If provided, searches users by login or profile name.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] } ] }, @@ -104990,6 +105556,41 @@ } ] }, + { + "name": "ReplaceActorsForAssignableInput", + "kind": "inputObjects", + "id": "replaceactorsforassignableinput", + "href": "/graphql/reference/input-objects#replaceactorsforassignableinput", + "description": "

Autogenerated input type of ReplaceActorsForAssignable.

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

The ids of the actors to replace the existing assignees.

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

The id of the assignable object to replace the assignees for.

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

A unique identifier for the client performing the mutation.

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