github-schema 1.17.0 → 1.18.0

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.
@@ -243,6 +243,46 @@ interface Actor {
243
243
  url: URI!
244
244
  }
245
245
 
246
+ """
247
+ The connection type for Actor.
248
+ """
249
+ type ActorConnection {
250
+ """
251
+ A list of edges.
252
+ """
253
+ edges: [ActorEdge]
254
+
255
+ """
256
+ A list of nodes.
257
+ """
258
+ nodes: [Actor]
259
+
260
+ """
261
+ Information to aid in pagination.
262
+ """
263
+ pageInfo: PageInfo!
264
+
265
+ """
266
+ Identifies the total count of items in the connection.
267
+ """
268
+ totalCount: Int!
269
+ }
270
+
271
+ """
272
+ An edge in a connection.
273
+ """
274
+ type ActorEdge {
275
+ """
276
+ A cursor for use in pagination.
277
+ """
278
+ cursor: String!
279
+
280
+ """
281
+ The item at the end of the edge.
282
+ """
283
+ node: Actor
284
+ }
285
+
246
286
  """
247
287
  Location information for an actor
248
288
  """
@@ -901,7 +941,7 @@ input AddPullRequestReviewThreadInput {
901
941
  """
902
942
  Path to the file being commented on.
903
943
  """
904
- path: String!
944
+ path: String
905
945
 
906
946
  """
907
947
  The node ID of the pull request reviewing
@@ -1513,6 +1553,31 @@ type ArchiveRepositoryPayload {
1513
1553
  An object that can have users assigned to it.
1514
1554
  """
1515
1555
  interface Assignable {
1556
+ """
1557
+ A list of actors assigned to this object.
1558
+ """
1559
+ assignedActors(
1560
+ """
1561
+ Returns the elements in the list that come after the specified cursor.
1562
+ """
1563
+ after: String
1564
+
1565
+ """
1566
+ Returns the elements in the list that come before the specified cursor.
1567
+ """
1568
+ before: String
1569
+
1570
+ """
1571
+ Returns the first _n_ elements from the list.
1572
+ """
1573
+ first: Int
1574
+
1575
+ """
1576
+ Returns the last _n_ elements from the list.
1577
+ """
1578
+ last: Int
1579
+ ): AssigneeConnection!
1580
+
1516
1581
  """
1517
1582
  A list of Users assigned to this object.
1518
1583
  """
@@ -1537,6 +1602,36 @@ interface Assignable {
1537
1602
  """
1538
1603
  last: Int
1539
1604
  ): UserConnection!
1605
+
1606
+ """
1607
+ A list of suggested actors to assign to this object
1608
+ """
1609
+ suggestedActors(
1610
+ """
1611
+ Returns the elements in the list that come after the specified cursor.
1612
+ """
1613
+ after: String
1614
+
1615
+ """
1616
+ Returns the elements in the list that come before the specified cursor.
1617
+ """
1618
+ before: String
1619
+
1620
+ """
1621
+ Returns the first _n_ elements from the list.
1622
+ """
1623
+ first: Int
1624
+
1625
+ """
1626
+ Returns the last _n_ elements from the list.
1627
+ """
1628
+ last: Int
1629
+
1630
+ """
1631
+ If provided, searches users by login or profile name
1632
+ """
1633
+ query: String
1634
+ ): AssigneeConnection!
1540
1635
  }
1541
1636
 
1542
1637
  """
@@ -1579,6 +1674,46 @@ Types that can be assigned to issues.
1579
1674
  """
1580
1675
  union Assignee = Bot | Mannequin | Organization | User
1581
1676
 
1677
+ """
1678
+ The connection type for Assignee.
1679
+ """
1680
+ type AssigneeConnection {
1681
+ """
1682
+ A list of edges.
1683
+ """
1684
+ edges: [AssigneeEdge]
1685
+
1686
+ """
1687
+ A list of nodes.
1688
+ """
1689
+ nodes: [Assignee]
1690
+
1691
+ """
1692
+ Information to aid in pagination.
1693
+ """
1694
+ pageInfo: PageInfo!
1695
+
1696
+ """
1697
+ Identifies the total count of items in the connection.
1698
+ """
1699
+ totalCount: Int!
1700
+ }
1701
+
1702
+ """
1703
+ An edge in a connection.
1704
+ """
1705
+ type AssigneeEdge {
1706
+ """
1707
+ A cursor for use in pagination.
1708
+ """
1709
+ cursor: String!
1710
+
1711
+ """
1712
+ The item at the end of the edge.
1713
+ """
1714
+ node: Assignee
1715
+ }
1716
+
1582
1717
  """
1583
1718
  An entry in the audit log.
1584
1719
  """
@@ -2186,6 +2321,11 @@ type Bot implements Actor & Node & UniformResourceLocatable {
2186
2321
  url: URI!
2187
2322
  }
2188
2323
 
2324
+ """
2325
+ Used when either Bot or User are accepted.
2326
+ """
2327
+ union BotOrUser = Bot | User
2328
+
2189
2329
  """
2190
2330
  Types which can be actors for `BranchActorAllowance` objects.
2191
2331
  """
@@ -4391,6 +4531,11 @@ type ClosedEvent implements Node & UniformResourceLocatable {
4391
4531
  """
4392
4532
  createdAt: DateTime!
4393
4533
 
4534
+ """
4535
+ The issue or pull request that this issue was marked as a duplicate of.
4536
+ """
4537
+ duplicateOf: IssueOrPullRequest
4538
+
4394
4539
  """
4395
4540
  The Node ID of the ClosedEvent object
4396
4541
  """
@@ -7630,7 +7775,7 @@ Autogenerated input type of CreateIssue
7630
7775
  """
7631
7776
  input CreateIssueInput {
7632
7777
  """
7633
- The Node ID for the user assignee for this issue.
7778
+ The Node ID of assignees for this issue.
7634
7779
  """
7635
7780
  assigneeIds: [ID!]
7636
7781
 
@@ -7724,15 +7869,6 @@ input CreateIssueTypeInput {
7724
7869
  """
7725
7870
  isEnabled: Boolean!
7726
7871
 
7727
- """
7728
- Whether or not the issue type is restricted to issues in private repositories
7729
-
7730
- **Upcoming Change on 2025-04-01 UTC**
7731
- **Description:** `isPrivate` will be removed.
7732
- **Reason:** Private issue types are being deprecated and can no longer be created.
7733
- """
7734
- isPrivate: Boolean
7735
-
7736
7872
  """
7737
7873
  Name of the new issue type
7738
7874
  """
@@ -12798,14 +12934,15 @@ input DraftPullRequestReviewThread {
12798
12934
  body: String!
12799
12935
 
12800
12936
  """
12801
- The line of the blob to which the thread refers. The end of the line range for multi-line comments.
12937
+ The line of the blob to which the thread refers. The end of the line range for
12938
+ multi-line comments. Required if not using positioning.
12802
12939
  """
12803
- line: Int!
12940
+ line: Int
12804
12941
 
12805
12942
  """
12806
- Path to the file being commented on.
12943
+ Path to the file being commented on. Required if not using positioning.
12807
12944
  """
12808
- path: String!
12945
+ path: String
12809
12946
 
12810
12947
  """
12811
12948
  The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range.
@@ -18295,6 +18432,31 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18295
18432
  """
18296
18433
  activeLockReason: LockReason
18297
18434
 
18435
+ """
18436
+ A list of actors assigned to this object.
18437
+ """
18438
+ assignedActors(
18439
+ """
18440
+ Returns the elements in the list that come after the specified cursor.
18441
+ """
18442
+ after: String
18443
+
18444
+ """
18445
+ Returns the elements in the list that come before the specified cursor.
18446
+ """
18447
+ before: String
18448
+
18449
+ """
18450
+ Returns the first _n_ elements from the list.
18451
+ """
18452
+ first: Int
18453
+
18454
+ """
18455
+ Returns the last _n_ elements from the list.
18456
+ """
18457
+ last: Int
18458
+ ): AssigneeConnection!
18459
+
18298
18460
  """
18299
18461
  A list of Users assigned to this object.
18300
18462
  """
@@ -18450,6 +18612,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18450
18612
  """
18451
18613
  databaseId: Int
18452
18614
 
18615
+ """
18616
+ A reference to the original issue that this issue has been marked as a duplicate of.
18617
+ """
18618
+ duplicateOf: Issue
18619
+
18453
18620
  """
18454
18621
  The actor who edited the comment.
18455
18622
  """
@@ -18810,6 +18977,36 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18810
18977
  """
18811
18978
  subIssuesSummary: SubIssuesSummary!
18812
18979
 
18980
+ """
18981
+ A list of suggested actors to assign to this object
18982
+ """
18983
+ suggestedActors(
18984
+ """
18985
+ Returns the elements in the list that come after the specified cursor.
18986
+ """
18987
+ after: String
18988
+
18989
+ """
18990
+ Returns the elements in the list that come before the specified cursor.
18991
+ """
18992
+ before: String
18993
+
18994
+ """
18995
+ Returns the first _n_ elements from the list.
18996
+ """
18997
+ first: Int
18998
+
18999
+ """
19000
+ Returns the last _n_ elements from the list.
19001
+ """
19002
+ last: Int
19003
+
19004
+ """
19005
+ If provided, searches users by login or profile name
19006
+ """
19007
+ query: String
19008
+ ): AssigneeConnection!
19009
+
18813
19010
  """
18814
19011
  A list of events, comments, commits, etc. associated with the issue.
18815
19012
  """
@@ -22955,6 +23152,11 @@ type Milestone implements Closable & Node & UniformResourceLocatable {
22955
23152
  """
22956
23153
  closedAt: DateTime
22957
23154
 
23155
+ """
23156
+ Identifies the number of closed issues associated with the milestone.
23157
+ """
23158
+ closedIssueCount: Int!
23159
+
22958
23160
  """
22959
23161
  Identifies the date and time when the object was created.
22960
23162
  """
@@ -23035,6 +23237,11 @@ type Milestone implements Closable & Node & UniformResourceLocatable {
23035
23237
  """
23036
23238
  number: Int!
23037
23239
 
23240
+ """
23241
+ Identifies the number of open issues associated with the milestone.
23242
+ """
23243
+ openIssueCount: Int!
23244
+
23038
23245
  """
23039
23246
  Identifies the percentage complete for the milestone
23040
23247
  """
@@ -25022,6 +25229,16 @@ type Mutation {
25022
25229
  input: ReorderEnvironmentInput!
25023
25230
  ): ReorderEnvironmentPayload
25024
25231
 
25232
+ """
25233
+ Replaces all actors for assignable object.
25234
+ """
25235
+ replaceActorsForAssignable(
25236
+ """
25237
+ Parameters for ReplaceActorsForAssignable
25238
+ """
25239
+ input: ReplaceActorsForAssignableInput!
25240
+ ): ReplaceActorsForAssignablePayload
25241
+
25025
25242
  """
25026
25243
  Reprioritizes a sub-issue to a different position in the parent list.
25027
25244
  """
@@ -37170,6 +37387,31 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
37170
37387
  """
37171
37388
  additions: Int!
37172
37389
 
37390
+ """
37391
+ A list of actors assigned to this object.
37392
+ """
37393
+ assignedActors(
37394
+ """
37395
+ Returns the elements in the list that come after the specified cursor.
37396
+ """
37397
+ after: String
37398
+
37399
+ """
37400
+ Returns the elements in the list that come before the specified cursor.
37401
+ """
37402
+ before: String
37403
+
37404
+ """
37405
+ Returns the first _n_ elements from the list.
37406
+ """
37407
+ first: Int
37408
+
37409
+ """
37410
+ Returns the last _n_ elements from the list.
37411
+ """
37412
+ last: Int
37413
+ ): AssigneeConnection!
37414
+
37173
37415
  """
37174
37416
  A list of Users assigned to this object.
37175
37417
  """
@@ -37953,6 +38195,36 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
37953
38195
  """
37954
38196
  statusCheckRollup: StatusCheckRollup
37955
38197
 
38198
+ """
38199
+ A list of suggested actors to assign to this object
38200
+ """
38201
+ suggestedActors(
38202
+ """
38203
+ Returns the elements in the list that come after the specified cursor.
38204
+ """
38205
+ after: String
38206
+
38207
+ """
38208
+ Returns the elements in the list that come before the specified cursor.
38209
+ """
38210
+ before: String
38211
+
38212
+ """
38213
+ Returns the first _n_ elements from the list.
38214
+ """
38215
+ first: Int
38216
+
38217
+ """
38218
+ Returns the last _n_ elements from the list.
38219
+ """
38220
+ last: Int
38221
+
38222
+ """
38223
+ If provided, searches users by login or profile name
38224
+ """
38225
+ query: String
38226
+ ): AssigneeConnection!
38227
+
37956
38228
  """
37957
38229
  A list of reviewer suggestions based on commit history and past review comments.
37958
38230
  """
@@ -42907,6 +43179,41 @@ type ReorderEnvironmentPayload {
42907
43179
  environment: Environment
42908
43180
  }
42909
43181
 
43182
+ """
43183
+ Autogenerated input type of ReplaceActorsForAssignable
43184
+ """
43185
+ input ReplaceActorsForAssignableInput {
43186
+ """
43187
+ The ids of the actors to replace the existing assignees.
43188
+ """
43189
+ actorIds: [ID!]!
43190
+
43191
+ """
43192
+ The id of the assignable object to replace the assignees for.
43193
+ """
43194
+ assignableId: ID!
43195
+
43196
+ """
43197
+ A unique identifier for the client performing the mutation.
43198
+ """
43199
+ clientMutationId: String
43200
+ }
43201
+
43202
+ """
43203
+ Autogenerated return type of ReplaceActorsForAssignable.
43204
+ """
43205
+ type ReplaceActorsForAssignablePayload {
43206
+ """
43207
+ The item that was assigned.
43208
+ """
43209
+ assignable: Assignable
43210
+
43211
+ """
43212
+ A unique identifier for the client performing the mutation.
43213
+ """
43214
+ clientMutationId: String
43215
+ }
43216
+
42910
43217
  """
42911
43218
  Audit log entry for a repo.access event.
42912
43219
  """
@@ -46941,6 +47248,46 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
46941
47248
  last: Int
46942
47249
  ): SubmoduleConnection!
46943
47250
 
47251
+ """
47252
+ A list of suggested actors that can be attributed to content in this repository.
47253
+ """
47254
+ suggestedActors(
47255
+ """
47256
+ Returns the elements in the list that come after the specified cursor.
47257
+ """
47258
+ after: String
47259
+
47260
+ """
47261
+ Returns the elements in the list that come before the specified cursor.
47262
+ """
47263
+ before: String
47264
+
47265
+ """
47266
+ A list of capabilities to filter actors by.
47267
+ """
47268
+ capabilities: [RepositorySuggestedActorFilter!]!
47269
+
47270
+ """
47271
+ Returns the first _n_ elements from the list.
47272
+ """
47273
+ first: Int
47274
+
47275
+ """
47276
+ Returns the last _n_ elements from the list.
47277
+ """
47278
+ last: Int
47279
+
47280
+ """
47281
+ A comma separated list of login names to filter actors by. Only the first 10 logins will be used.
47282
+ """
47283
+ loginNames: String
47284
+
47285
+ """
47286
+ Search actors with query on user name and login.
47287
+ """
47288
+ query: String
47289
+ ): ActorConnection!
47290
+
46944
47291
  """
46945
47292
  Temporary authentication token for cloning this repository.
46946
47293
  """
@@ -48965,6 +49312,21 @@ enum RepositoryRulesetTarget {
48965
49312
  TAG
48966
49313
  }
48967
49314
 
49315
+ """
49316
+ The possible filters for suggested actors in a repository
49317
+ """
49318
+ enum RepositorySuggestedActorFilter {
49319
+ """
49320
+ Actors that can be assigned to issues and pull requests
49321
+ """
49322
+ CAN_BE_ASSIGNED
49323
+
49324
+ """
49325
+ Actors that can be the author of issues and pull requests
49326
+ """
49327
+ CAN_BE_AUTHOR
49328
+ }
49329
+
48968
49330
  """
48969
49331
  A repository-topic connects a repository to a topic.
48970
49332
  """
@@ -60438,15 +60800,6 @@ input UpdateIssueTypeInput {
60438
60800
  """
60439
60801
  isEnabled: Boolean
60440
60802
 
60441
- """
60442
- Whether or not the issue type is restricted to issues in private repositories
60443
-
60444
- **Upcoming Change on 2025-04-01 UTC**
60445
- **Description:** `isPrivate` will be removed.
60446
- **Reason:** Private issue types are being deprecated and can no longer be created.
60447
- """
60448
- isPrivate: Boolean
60449
-
60450
60803
  """
60451
60804
  The ID of the issue type to update
60452
60805
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
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.7.1",
11
+ "packageManager": "pnpm@10.10.0",
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/luxass/github-schema",
14
14
  "repository": {