Skip to content

Commit 8093e4c

Browse files
docs-botheiskr
andauthored
GraphQL schema update (#56910)
Co-authored-by: heiskr <[email protected]>
1 parent b92e53d commit 8093e4c

File tree

5 files changed

+1180
-0
lines changed

5 files changed

+1180
-0
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>AddBlockedByInput</code> was added</p>",
8+
"<p>Type <code>AddBlockedByPayload</code> was added</p>",
9+
"<p>Type <code>IssueDependenciesSummary</code> was added</p>",
10+
"<p>Type <code>IssueDependencyOrder</code> was added</p>",
11+
"<p>Type <code>IssueDependencyOrderField</code> was added</p>",
12+
"<p>Type <code>RemoveBlockedByInput</code> was added</p>",
13+
"<p>Type <code>RemoveBlockedByPayload</code> was added</p>",
14+
"<p>Field <code>blockedBy</code> was added to object type <code>Issue</code></p>",
15+
"<p>Field <code>blocking</code> was added to object type <code>Issue</code></p>",
16+
"<p>Field <code>issueDependenciesSummary</code> was added to object type <code>Issue</code></p>",
17+
"<p>Enum value 'BLOCKED_BY_ADDED_EVENT<code>was added to enum</code>IssueTimelineItemsItemType'</p>",
18+
"<p>Field <code>addBlockedBy</code> was added to object type <code>Mutation</code></p>",
19+
"<p>Field <code>removeBlockedBy</code> was added to object type <code>Mutation</code></p>",
20+
"<p>Enum value 'BLOCKED_BY_ADDED_EVENT<code>was added to enum</code>PullRequestTimelineItemsItemType'</p>"
21+
]
22+
}
23+
],
24+
"previewChanges": [],
25+
"upcomingChanges": [],
26+
"date": "2025-07-30"
27+
},
228
{
329
"schemaChanges": [
430
{

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,46 @@ type AddAssigneesToAssignablePayload {
386386
clientMutationId: String
387387
}
388388

389+
"""
390+
Autogenerated input type of AddBlockedBy
391+
"""
392+
input AddBlockedByInput {
393+
"""
394+
The ID of the issue that blocks the given issue.
395+
"""
396+
blockingIssueId: ID! @possibleTypes(concreteTypes: ["Issue"])
397+
398+
"""
399+
A unique identifier for the client performing the mutation.
400+
"""
401+
clientMutationId: String
402+
403+
"""
404+
The ID of the issue to be blocked.
405+
"""
406+
issueId: ID! @possibleTypes(concreteTypes: ["Issue"])
407+
}
408+
409+
"""
410+
Autogenerated return type of AddBlockedBy.
411+
"""
412+
type AddBlockedByPayload {
413+
"""
414+
The issue that is blocking the given issue.
415+
"""
416+
blockingIssue: Issue
417+
418+
"""
419+
A unique identifier for the client performing the mutation.
420+
"""
421+
clientMutationId: String
422+
423+
"""
424+
The issue that is blocked.
425+
"""
426+
issue: Issue
427+
}
428+
389429
"""
390430
Autogenerated input type of AddComment
391431
"""
@@ -18613,6 +18653,66 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
1861318653
"""
1861418654
authorAssociation: CommentAuthorAssociation!
1861518655

18656+
"""
18657+
A list of issues that are blocking this issue.
18658+
"""
18659+
blockedBy(
18660+
"""
18661+
Returns the elements in the list that come after the specified cursor.
18662+
"""
18663+
after: String
18664+
18665+
"""
18666+
Returns the elements in the list that come before the specified cursor.
18667+
"""
18668+
before: String
18669+
18670+
"""
18671+
Returns the first _n_ elements from the list.
18672+
"""
18673+
first: Int
18674+
18675+
"""
18676+
Returns the last _n_ elements from the list.
18677+
"""
18678+
last: Int
18679+
18680+
"""
18681+
Ordering options for dependencies
18682+
"""
18683+
orderBy: IssueDependencyOrder = {field: DEPENDENCY_ADDED_AT, direction: DESC}
18684+
): IssueConnection!
18685+
18686+
"""
18687+
A list of issues that this issue is blocking.
18688+
"""
18689+
blocking(
18690+
"""
18691+
Returns the elements in the list that come after the specified cursor.
18692+
"""
18693+
after: String
18694+
18695+
"""
18696+
Returns the elements in the list that come before the specified cursor.
18697+
"""
18698+
before: String
18699+
18700+
"""
18701+
Returns the first _n_ elements from the list.
18702+
"""
18703+
first: Int
18704+
18705+
"""
18706+
Returns the last _n_ elements from the list.
18707+
"""
18708+
last: Int
18709+
18710+
"""
18711+
Ordering options for dependencies
18712+
"""
18713+
orderBy: IssueDependencyOrder = {field: DEPENDENCY_ADDED_AT, direction: DESC}
18714+
): IssueConnection!
18715+
1861618716
"""
1861718717
Identifies the body of the issue.
1861818718
"""
@@ -18778,6 +18878,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
1877818878
"""
1877918879
isReadByViewer: Boolean
1878018880

18881+
"""
18882+
Summary of the state of an issue's dependencies
18883+
"""
18884+
issueDependenciesSummary: IssueDependenciesSummary!
18885+
1878118886
"""
1878218887
The issue type for this Issue
1878318888
"""
@@ -19735,6 +19840,51 @@ type IssueContributionsByRepository {
1973519840
repository: Repository!
1973619841
}
1973719842

19843+
"""
19844+
Summary of the state of an issue's dependencies
19845+
"""
19846+
type IssueDependenciesSummary {
19847+
"""
19848+
Count of issues this issue is blocked by
19849+
"""
19850+
blockedBy: Int!
19851+
19852+
"""
19853+
Count of issues this issue is blocking
19854+
"""
19855+
blocking: Int!
19856+
}
19857+
19858+
"""
19859+
Ordering options issue dependencies
19860+
"""
19861+
input IssueDependencyOrder {
19862+
"""
19863+
The ordering direction.
19864+
"""
19865+
direction: OrderDirection!
19866+
19867+
"""
19868+
The field to order issue dependencies by.
19869+
"""
19870+
field: IssueDependencyOrderField!
19871+
}
19872+
19873+
"""
19874+
Properties by which issue dependencies can be ordered.
19875+
"""
19876+
enum IssueDependencyOrderField {
19877+
"""
19878+
Order issue dependencies by the creation time of the dependent issue
19879+
"""
19880+
CREATED_AT
19881+
19882+
"""
19883+
Order issue dependencies by time of when the dependency relationship was added
19884+
"""
19885+
DEPENDENCY_ADDED_AT
19886+
}
19887+
1973819888
"""
1973919889
An edge in a connection.
1974019890
"""
@@ -20156,6 +20306,11 @@ enum IssueTimelineItemsItemType {
2015620306
"""
2015720307
ASSIGNED_EVENT
2015820308

20309+
"""
20310+
Represents a 'blocked_by_added' event on a given issue.
20311+
"""
20312+
BLOCKED_BY_ADDED_EVENT
20313+
2015920314
"""
2016020315
Represents a 'closed' event on any `Closable`.
2016120316
"""
@@ -24099,6 +24254,16 @@ type Mutation {
2409924254
input: AddAssigneesToAssignableInput!
2410024255
): AddAssigneesToAssignablePayload
2410124256

24257+
"""
24258+
Adds a 'blocked by' relationship to an issue.
24259+
"""
24260+
addBlockedBy(
24261+
"""
24262+
Parameters for AddBlockedBy
24263+
"""
24264+
input: AddBlockedByInput!
24265+
): AddBlockedByPayload
24266+
2410224267
"""
2410324268
Adds a comment to an Issue or Pull Request.
2410424269
"""
@@ -25494,6 +25659,16 @@ type Mutation {
2549425659
input: RemoveAssigneesFromAssignableInput!
2549525660
): RemoveAssigneesFromAssignablePayload
2549625661

25662+
"""
25663+
Removes a 'blocked by' relationship from an issue.
25664+
"""
25665+
removeBlockedBy(
25666+
"""
25667+
Parameters for RemoveBlockedBy
25668+
"""
25669+
input: RemoveBlockedByInput!
25670+
): RemoveBlockedByPayload
25671+
2549725672
"""
2549825673
Removes an administrator from the enterprise.
2549925674
"""
@@ -42780,6 +42955,11 @@ enum PullRequestTimelineItemsItemType {
4278042955
"""
4278142956
BASE_REF_FORCE_PUSHED_EVENT
4278242957

42958+
"""
42959+
Represents a 'blocked_by_added' event on a given issue.
42960+
"""
42961+
BLOCKED_BY_ADDED_EVENT
42962+
4278342963
"""
4278442964
Represents a 'closed' event on any `Closable`.
4278542965
"""
@@ -45070,6 +45250,46 @@ type RemoveAssigneesFromAssignablePayload {
4507045250
clientMutationId: String
4507145251
}
4507245252

45253+
"""
45254+
Autogenerated input type of RemoveBlockedBy
45255+
"""
45256+
input RemoveBlockedByInput {
45257+
"""
45258+
The ID of the blocking issue.
45259+
"""
45260+
blockingIssueId: ID! @possibleTypes(concreteTypes: ["Issue"])
45261+
45262+
"""
45263+
A unique identifier for the client performing the mutation.
45264+
"""
45265+
clientMutationId: String
45266+
45267+
"""
45268+
The ID of the blocked issue.
45269+
"""
45270+
issueId: ID! @possibleTypes(concreteTypes: ["Issue"])
45271+
}
45272+
45273+
"""
45274+
Autogenerated return type of RemoveBlockedBy.
45275+
"""
45276+
type RemoveBlockedByPayload {
45277+
"""
45278+
The previously blocking issue.
45279+
"""
45280+
blockingIssue: Issue
45281+
45282+
"""
45283+
A unique identifier for the client performing the mutation.
45284+
"""
45285+
clientMutationId: String
45286+
45287+
"""
45288+
The previously blocked issue.
45289+
"""
45290+
issue: Issue
45291+
}
45292+
4507345293
"""
4507445294
Autogenerated input type of RemoveEnterpriseAdmin
4507545295
"""

0 commit comments

Comments
 (0)