github-schema 1.20.0 → 1.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -363,6 +363,46 @@ type AddAssigneesToAssignablePayload {
363
363
  clientMutationId: String
364
364
  }
365
365
 
366
+ """
367
+ Autogenerated input type of AddBlockedBy
368
+ """
369
+ input AddBlockedByInput {
370
+ """
371
+ The ID of the issue that blocks the given issue.
372
+ """
373
+ blockingIssueId: ID!
374
+
375
+ """
376
+ A unique identifier for the client performing the mutation.
377
+ """
378
+ clientMutationId: String
379
+
380
+ """
381
+ The ID of the issue to be blocked.
382
+ """
383
+ issueId: ID!
384
+ }
385
+
386
+ """
387
+ Autogenerated return type of AddBlockedBy.
388
+ """
389
+ type AddBlockedByPayload {
390
+ """
391
+ The issue that is blocking the given issue.
392
+ """
393
+ blockingIssue: Issue
394
+
395
+ """
396
+ A unique identifier for the client performing the mutation.
397
+ """
398
+ clientMutationId: String
399
+
400
+ """
401
+ The issue that is blocked.
402
+ """
403
+ issue: Issue
404
+ }
405
+
366
406
  """
367
407
  Autogenerated input type of AddComment
368
408
  """
@@ -4544,7 +4584,7 @@ type ClosedEvent implements Node & UniformResourceLocatable {
4544
4584
  """
4545
4585
  The reason the issue state was changed to closed.
4546
4586
  """
4547
- stateReason: IssueStateReason @deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")
4587
+ stateReason: IssueStateReason
4548
4588
 
4549
4589
  """
4550
4590
  The HTTP URL for this closed event.
@@ -18488,6 +18528,66 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18488
18528
  """
18489
18529
  authorAssociation: CommentAuthorAssociation!
18490
18530
 
18531
+ """
18532
+ A list of issues that are blocking this issue.
18533
+ """
18534
+ blockedBy(
18535
+ """
18536
+ Returns the elements in the list that come after the specified cursor.
18537
+ """
18538
+ after: String
18539
+
18540
+ """
18541
+ Returns the elements in the list that come before the specified cursor.
18542
+ """
18543
+ before: String
18544
+
18545
+ """
18546
+ Returns the first _n_ elements from the list.
18547
+ """
18548
+ first: Int
18549
+
18550
+ """
18551
+ Returns the last _n_ elements from the list.
18552
+ """
18553
+ last: Int
18554
+
18555
+ """
18556
+ Ordering options for dependencies
18557
+ """
18558
+ orderBy: IssueDependencyOrder = {field: DEPENDENCY_ADDED_AT, direction: DESC}
18559
+ ): IssueConnection!
18560
+
18561
+ """
18562
+ A list of issues that this issue is blocking.
18563
+ """
18564
+ blocking(
18565
+ """
18566
+ Returns the elements in the list that come after the specified cursor.
18567
+ """
18568
+ after: String
18569
+
18570
+ """
18571
+ Returns the elements in the list that come before the specified cursor.
18572
+ """
18573
+ before: String
18574
+
18575
+ """
18576
+ Returns the first _n_ elements from the list.
18577
+ """
18578
+ first: Int
18579
+
18580
+ """
18581
+ Returns the last _n_ elements from the list.
18582
+ """
18583
+ last: Int
18584
+
18585
+ """
18586
+ Ordering options for dependencies
18587
+ """
18588
+ orderBy: IssueDependencyOrder = {field: DEPENDENCY_ADDED_AT, direction: DESC}
18589
+ ): IssueConnection!
18590
+
18491
18591
  """
18492
18592
  Identifies the body of the issue.
18493
18593
  """
@@ -18653,6 +18753,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18653
18753
  """
18654
18754
  isReadByViewer: Boolean
18655
18755
 
18756
+ """
18757
+ Summary of the state of an issue's dependencies
18758
+ """
18759
+ issueDependenciesSummary: IssueDependenciesSummary!
18760
+
18656
18761
  """
18657
18762
  The issue type for this Issue
18658
18763
  """
@@ -18939,9 +19044,13 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18939
19044
  stateReason(
18940
19045
  """
18941
19046
  Whether or not to return state reason for duplicates
19047
+
19048
+ **Upcoming Change on 2025-10-01 UTC**
19049
+ **Description:** `enableDuplicate` will be removed.
19050
+ **Reason:** The state reason for duplicate issue is now returned by default.
18942
19051
  """
18943
19052
  enableDuplicate: Boolean = false
18944
- ): IssueStateReason @deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")
19053
+ ): IssueStateReason
18945
19054
 
18946
19055
  """
18947
19056
  A list of sub-issues associated with the Issue.
@@ -19602,6 +19711,51 @@ type IssueContributionsByRepository {
19602
19711
  repository: Repository!
19603
19712
  }
19604
19713
 
19714
+ """
19715
+ Summary of the state of an issue's dependencies
19716
+ """
19717
+ type IssueDependenciesSummary {
19718
+ """
19719
+ Count of issues this issue is blocked by
19720
+ """
19721
+ blockedBy: Int!
19722
+
19723
+ """
19724
+ Count of issues this issue is blocking
19725
+ """
19726
+ blocking: Int!
19727
+ }
19728
+
19729
+ """
19730
+ Ordering options issue dependencies
19731
+ """
19732
+ input IssueDependencyOrder {
19733
+ """
19734
+ The ordering direction.
19735
+ """
19736
+ direction: OrderDirection!
19737
+
19738
+ """
19739
+ The field to order issue dependencies by.
19740
+ """
19741
+ field: IssueDependencyOrderField!
19742
+ }
19743
+
19744
+ """
19745
+ Properties by which issue dependencies can be ordered.
19746
+ """
19747
+ enum IssueDependencyOrderField {
19748
+ """
19749
+ Order issue dependencies by the creation time of the dependent issue
19750
+ """
19751
+ CREATED_AT
19752
+
19753
+ """
19754
+ Order issue dependencies by time of when the dependency relationship was added
19755
+ """
19756
+ DEPENDENCY_ADDED_AT
19757
+ }
19758
+
19605
19759
  """
19606
19760
  An edge in a connection.
19607
19761
  """
@@ -19966,6 +20120,11 @@ enum IssueTimelineItemsItemType {
19966
20120
  """
19967
20121
  ASSIGNED_EVENT
19968
20122
 
20123
+ """
20124
+ Represents a 'blocked_by_added' event on a given issue.
20125
+ """
20126
+ BLOCKED_BY_ADDED_EVENT
20127
+
19969
20128
  """
19970
20129
  Represents a 'closed' event on any `Closable`.
19971
20130
  """
@@ -23724,6 +23883,16 @@ type Mutation {
23724
23883
  input: AddAssigneesToAssignableInput!
23725
23884
  ): AddAssigneesToAssignablePayload
23726
23885
 
23886
+ """
23887
+ Adds a 'blocked by' relationship to an issue.
23888
+ """
23889
+ addBlockedBy(
23890
+ """
23891
+ Parameters for AddBlockedBy
23892
+ """
23893
+ input: AddBlockedByInput!
23894
+ ): AddBlockedByPayload
23895
+
23727
23896
  """
23728
23897
  Adds a comment to an Issue or Pull Request.
23729
23898
  """
@@ -25083,6 +25252,16 @@ type Mutation {
25083
25252
  input: RemoveAssigneesFromAssignableInput!
25084
25253
  ): RemoveAssigneesFromAssignablePayload
25085
25254
 
25255
+ """
25256
+ Removes a 'blocked by' relationship from an issue.
25257
+ """
25258
+ removeBlockedBy(
25259
+ """
25260
+ Parameters for RemoveBlockedBy
25261
+ """
25262
+ input: RemoveBlockedByInput!
25263
+ ): RemoveBlockedByPayload
25264
+
25086
25265
  """
25087
25266
  Removes an administrator from the enterprise.
25088
25267
  """
@@ -38843,7 +39022,7 @@ type PullRequestParameters {
38843
39022
  allowedMergeMethods: [PullRequestAllowedMergeMethods!]
38844
39023
 
38845
39024
  """
38846
- Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.
39025
+ Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
38847
39026
  """
38848
39027
  automaticCopilotCodeReviewEnabled: Boolean!
38849
39028
 
@@ -38884,7 +39063,7 @@ input PullRequestParametersInput {
38884
39063
  allowedMergeMethods: [PullRequestAllowedMergeMethods!]
38885
39064
 
38886
39065
  """
38887
- Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.
39066
+ Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
38888
39067
  """
38889
39068
  automaticCopilotCodeReviewEnabled: Boolean
38890
39069
 
@@ -40212,6 +40391,11 @@ enum PullRequestTimelineItemsItemType {
40212
40391
  """
40213
40392
  BASE_REF_FORCE_PUSHED_EVENT
40214
40393
 
40394
+ """
40395
+ Represents a 'blocked_by_added' event on a given issue.
40396
+ """
40397
+ BLOCKED_BY_ADDED_EVENT
40398
+
40215
40399
  """
40216
40400
  Represents a 'closed' event on any `Closable`.
40217
40401
  """
@@ -42499,6 +42683,46 @@ type RemoveAssigneesFromAssignablePayload {
42499
42683
  clientMutationId: String
42500
42684
  }
42501
42685
 
42686
+ """
42687
+ Autogenerated input type of RemoveBlockedBy
42688
+ """
42689
+ input RemoveBlockedByInput {
42690
+ """
42691
+ The ID of the blocking issue.
42692
+ """
42693
+ blockingIssueId: ID!
42694
+
42695
+ """
42696
+ A unique identifier for the client performing the mutation.
42697
+ """
42698
+ clientMutationId: String
42699
+
42700
+ """
42701
+ The ID of the blocked issue.
42702
+ """
42703
+ issueId: ID!
42704
+ }
42705
+
42706
+ """
42707
+ Autogenerated return type of RemoveBlockedBy.
42708
+ """
42709
+ type RemoveBlockedByPayload {
42710
+ """
42711
+ The previously blocking issue.
42712
+ """
42713
+ blockingIssue: Issue
42714
+
42715
+ """
42716
+ A unique identifier for the client performing the mutation.
42717
+ """
42718
+ clientMutationId: String
42719
+
42720
+ """
42721
+ The previously blocked issue.
42722
+ """
42723
+ issue: Issue
42724
+ }
42725
+
42502
42726
  """
42503
42727
  Autogenerated input type of RemoveEnterpriseAdmin
42504
42728
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.20.0",
3
+ "version": "1.20.2",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "type": "module",
6
6
  "author": {
@@ -8,7 +8,7 @@
8
8
  "email": "lucasnrgaard@gmail.com",
9
9
  "url": "https://luxass.dev"
10
10
  },
11
- "packageManager": "pnpm@10.12.4",
11
+ "packageManager": "pnpm@10.13.1",
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/luxass/github-schema",
14
14
  "repository": {
@@ -54,7 +54,6 @@
54
54
  "build": "tsdown",
55
55
  "schema:download": "pnpx tsx --env-file=.env ./scripts/download.ts",
56
56
  "schema:codegen": "graphql-codegen",
57
- "prepublishOnly": "pnpm run schema:download && pnpm run schema:codegen && pnpm run build",
58
57
  "lint": "eslint .",
59
58
  "typecheck": "tsc --noEmit"
60
59
  },