github-schema 1.22.0 → 1.22.1

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.
@@ -9097,77 +9097,6 @@ type CreateSponsorshipsPayload {
9097
9097
  sponsorables: [Sponsorable!]
9098
9098
  }
9099
9099
 
9100
- """
9101
- Autogenerated input type of CreateTeamDiscussion
9102
- """
9103
- input CreateTeamDiscussionInput {
9104
- """
9105
- The content of the discussion. This field is required.
9106
-
9107
- **Upcoming Change on 2024-07-01 UTC**
9108
- **Description:** `body` will be removed. Follow the guide at
9109
- https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
9110
- find a suitable replacement.
9111
- **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
9112
- """
9113
- body: String
9114
-
9115
- """
9116
- A unique identifier for the client performing the mutation.
9117
- """
9118
- clientMutationId: String
9119
-
9120
- """
9121
- If true, restricts the visibility of this discussion to team members and
9122
- organization owners. If false or not specified, allows any organization member
9123
- to view this discussion.
9124
-
9125
- **Upcoming Change on 2024-07-01 UTC**
9126
- **Description:** `private` will be removed. Follow the guide at
9127
- https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
9128
- find a suitable replacement.
9129
- **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
9130
- """
9131
- private: Boolean
9132
-
9133
- """
9134
- The ID of the team to which the discussion belongs. This field is required.
9135
-
9136
- **Upcoming Change on 2024-07-01 UTC**
9137
- **Description:** `teamId` will be removed. Follow the guide at
9138
- https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
9139
- find a suitable replacement.
9140
- **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
9141
- """
9142
- teamId: ID
9143
-
9144
- """
9145
- The title of the discussion. This field is required.
9146
-
9147
- **Upcoming Change on 2024-07-01 UTC**
9148
- **Description:** `title` will be removed. Follow the guide at
9149
- https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
9150
- find a suitable replacement.
9151
- **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
9152
- """
9153
- title: String
9154
- }
9155
-
9156
- """
9157
- Autogenerated return type of CreateTeamDiscussion.
9158
- """
9159
- type CreateTeamDiscussionPayload {
9160
- """
9161
- A unique identifier for the client performing the mutation.
9162
- """
9163
- clientMutationId: String
9164
-
9165
- """
9166
- The new discussion.
9167
- """
9168
- teamDiscussion: TeamDiscussion @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
9169
- }
9170
-
9171
9100
  """
9172
9101
  Autogenerated input type of CreateUserList
9173
9102
  """
@@ -10598,31 +10527,6 @@ type DeleteRepositoryRulesetPayload {
10598
10527
  clientMutationId: String
10599
10528
  }
10600
10529
 
10601
- """
10602
- Autogenerated input type of DeleteTeamDiscussion
10603
- """
10604
- input DeleteTeamDiscussionInput {
10605
- """
10606
- A unique identifier for the client performing the mutation.
10607
- """
10608
- clientMutationId: String
10609
-
10610
- """
10611
- The discussion ID to delete.
10612
- """
10613
- id: ID!
10614
- }
10615
-
10616
- """
10617
- Autogenerated return type of DeleteTeamDiscussion.
10618
- """
10619
- type DeleteTeamDiscussionPayload {
10620
- """
10621
- A unique identifier for the client performing the mutation.
10622
- """
10623
- clientMutationId: String
10624
- }
10625
-
10626
10530
  """
10627
10531
  Autogenerated input type of DeleteUserList
10628
10532
  """
@@ -25047,16 +24951,6 @@ type Mutation {
25047
24951
  input: CreateSponsorshipsInput!
25048
24952
  ): CreateSponsorshipsPayload
25049
24953
 
25050
- """
25051
- Creates a new team discussion.
25052
- """
25053
- createTeamDiscussion(
25054
- """
25055
- Parameters for CreateTeamDiscussion
25056
- """
25057
- input: CreateTeamDiscussionInput!
25058
- ): CreateTeamDiscussionPayload
25059
-
25060
24954
  """
25061
24955
  Creates a new user list.
25062
24956
  """
@@ -25327,16 +25221,6 @@ type Mutation {
25327
25221
  input: DeleteRepositoryRulesetInput!
25328
25222
  ): DeleteRepositoryRulesetPayload
25329
25223
 
25330
- """
25331
- Deletes a team discussion.
25332
- """
25333
- deleteTeamDiscussion(
25334
- """
25335
- Parameters for DeleteTeamDiscussion
25336
- """
25337
- input: DeleteTeamDiscussionInput!
25338
- ): DeleteTeamDiscussionPayload
25339
-
25340
25224
  """
25341
25225
  Deletes a user list.
25342
25226
  """
@@ -26809,16 +26693,6 @@ type Mutation {
26809
26693
  input: UpdateSubscriptionInput!
26810
26694
  ): UpdateSubscriptionPayload
26811
26695
 
26812
- """
26813
- Updates a team discussion.
26814
- """
26815
- updateTeamDiscussion(
26816
- """
26817
- Parameters for UpdateTeamDiscussion
26818
- """
26819
- input: UpdateTeamDiscussionInput!
26820
- ): UpdateTeamDiscussionPayload
26821
-
26822
26696
  """
26823
26697
  Updates team review assignment.
26824
26698
  """
@@ -57393,61 +57267,6 @@ type Team implements MemberStatusable & Node & Subscribable {
57393
57267
  """
57394
57268
  description: String
57395
57269
 
57396
- """
57397
- Find a team discussion by its number.
57398
- """
57399
- discussion(
57400
- """
57401
- The sequence number of the discussion to find.
57402
- """
57403
- number: Int!
57404
- ): TeamDiscussion
57405
-
57406
- """
57407
- A list of team discussions.
57408
- """
57409
- discussions(
57410
- """
57411
- Returns the elements in the list that come after the specified cursor.
57412
- """
57413
- after: String
57414
-
57415
- """
57416
- Returns the elements in the list that come before the specified cursor.
57417
- """
57418
- before: String
57419
-
57420
- """
57421
- Returns the first _n_ elements from the list.
57422
- """
57423
- first: Int
57424
-
57425
- """
57426
- If provided, filters discussions according to whether or not they are pinned.
57427
- """
57428
- isPinned: Boolean
57429
-
57430
- """
57431
- Returns the last _n_ elements from the list.
57432
- """
57433
- last: Int
57434
-
57435
- """
57436
- Order for connection
57437
- """
57438
- orderBy: TeamDiscussionOrder
57439
- ): TeamDiscussionConnection!
57440
-
57441
- """
57442
- The HTTP path for team discussions
57443
- """
57444
- discussionsResourcePath: URI!
57445
-
57446
- """
57447
- The HTTP URL for team discussions
57448
- """
57449
- discussionsUrl: URI!
57450
-
57451
57270
  """
57452
57271
  The HTTP path for editing this team
57453
57272
  """
@@ -58244,301 +58063,6 @@ type TeamConnection {
58244
58063
  totalCount: Int!
58245
58064
  }
58246
58065
 
58247
- """
58248
- A team discussion.
58249
- """
58250
- type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment {
58251
- """
58252
- The actor who authored the comment.
58253
- """
58254
- author: Actor
58255
-
58256
- """
58257
- Author's association with the discussion's team.
58258
- """
58259
- authorAssociation: CommentAuthorAssociation! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58260
-
58261
- """
58262
- The body as Markdown.
58263
- """
58264
- body: String!
58265
-
58266
- """
58267
- The body rendered to HTML.
58268
- """
58269
- bodyHTML: HTML!
58270
-
58271
- """
58272
- The body rendered to text.
58273
- """
58274
- bodyText: String!
58275
-
58276
- """
58277
- Identifies the discussion body hash.
58278
- """
58279
- bodyVersion: String! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58280
-
58281
- """
58282
- The HTTP path for discussion comments
58283
- """
58284
- commentsResourcePath: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58285
-
58286
- """
58287
- The HTTP URL for discussion comments
58288
- """
58289
- commentsUrl: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58290
-
58291
- """
58292
- Identifies the date and time when the object was created.
58293
- """
58294
- createdAt: DateTime!
58295
-
58296
- """
58297
- Check if this comment was created via an email reply.
58298
- """
58299
- createdViaEmail: Boolean!
58300
-
58301
- """
58302
- Identifies the primary key from the database.
58303
- """
58304
- databaseId: Int
58305
-
58306
- """
58307
- The actor who edited the comment.
58308
- """
58309
- editor: Actor
58310
-
58311
- """
58312
- The Node ID of the TeamDiscussion object
58313
- """
58314
- id: ID!
58315
-
58316
- """
58317
- Check if this comment was edited and includes an edit with the creation data
58318
- """
58319
- includesCreatedEdit: Boolean!
58320
-
58321
- """
58322
- Whether or not the discussion is pinned.
58323
- """
58324
- isPinned: Boolean! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58325
-
58326
- """
58327
- Whether or not the discussion is only visible to team members and organization owners.
58328
- """
58329
- isPrivate: Boolean! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58330
-
58331
- """
58332
- The moment the editor made the last edit
58333
- """
58334
- lastEditedAt: DateTime
58335
-
58336
- """
58337
- Identifies the discussion within its team.
58338
- """
58339
- number: Int! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58340
-
58341
- """
58342
- Identifies when the comment was published at.
58343
- """
58344
- publishedAt: DateTime
58345
-
58346
- """
58347
- A list of reactions grouped by content left on the subject.
58348
- """
58349
- reactionGroups: [ReactionGroup!]
58350
-
58351
- """
58352
- A list of Reactions left on the Issue.
58353
- """
58354
- reactions(
58355
- """
58356
- Returns the elements in the list that come after the specified cursor.
58357
- """
58358
- after: String
58359
-
58360
- """
58361
- Returns the elements in the list that come before the specified cursor.
58362
- """
58363
- before: String
58364
-
58365
- """
58366
- Allows filtering Reactions by emoji.
58367
- """
58368
- content: ReactionContent
58369
-
58370
- """
58371
- Returns the first _n_ elements from the list.
58372
- """
58373
- first: Int
58374
-
58375
- """
58376
- Returns the last _n_ elements from the list.
58377
- """
58378
- last: Int
58379
-
58380
- """
58381
- Allows specifying the order in which reactions are returned.
58382
- """
58383
- orderBy: ReactionOrder
58384
- ): ReactionConnection!
58385
-
58386
- """
58387
- The HTTP path for this discussion
58388
- """
58389
- resourcePath: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58390
-
58391
- """
58392
- The team that defines the context of this discussion.
58393
- """
58394
- team: Team! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58395
-
58396
- """
58397
- The title of the discussion
58398
- """
58399
- title: String! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58400
-
58401
- """
58402
- Identifies the date and time when the object was last updated.
58403
- """
58404
- updatedAt: DateTime!
58405
-
58406
- """
58407
- The HTTP URL for this discussion
58408
- """
58409
- url: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58410
-
58411
- """
58412
- A list of edits to this content.
58413
- """
58414
- userContentEdits(
58415
- """
58416
- Returns the elements in the list that come after the specified cursor.
58417
- """
58418
- after: String
58419
-
58420
- """
58421
- Returns the elements in the list that come before the specified cursor.
58422
- """
58423
- before: String
58424
-
58425
- """
58426
- Returns the first _n_ elements from the list.
58427
- """
58428
- first: Int
58429
-
58430
- """
58431
- Returns the last _n_ elements from the list.
58432
- """
58433
- last: Int
58434
- ): UserContentEditConnection
58435
-
58436
- """
58437
- Check if the current viewer can delete this object.
58438
- """
58439
- viewerCanDelete: Boolean!
58440
-
58441
- """
58442
- Whether or not the current viewer can pin this discussion.
58443
- """
58444
- viewerCanPin: Boolean! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
58445
-
58446
- """
58447
- Can user react to this subject
58448
- """
58449
- viewerCanReact: Boolean!
58450
-
58451
- """
58452
- Check if the viewer is able to change their subscription status for the repository.
58453
- """
58454
- viewerCanSubscribe: Boolean!
58455
-
58456
- """
58457
- Check if the current viewer can update this object.
58458
- """
58459
- viewerCanUpdate: Boolean!
58460
-
58461
- """
58462
- Reasons why the current viewer can not update this comment.
58463
- """
58464
- viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
58465
-
58466
- """
58467
- Did the viewer author this comment.
58468
- """
58469
- viewerDidAuthor: Boolean!
58470
-
58471
- """
58472
- Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
58473
- """
58474
- viewerSubscription: SubscriptionState
58475
- }
58476
-
58477
- """
58478
- The connection type for TeamDiscussion.
58479
- """
58480
- type TeamDiscussionConnection {
58481
- """
58482
- A list of edges.
58483
- """
58484
- edges: [TeamDiscussionEdge]
58485
-
58486
- """
58487
- A list of nodes.
58488
- """
58489
- nodes: [TeamDiscussion]
58490
-
58491
- """
58492
- Information to aid in pagination.
58493
- """
58494
- pageInfo: PageInfo!
58495
-
58496
- """
58497
- Identifies the total count of items in the connection.
58498
- """
58499
- totalCount: Int!
58500
- }
58501
-
58502
- """
58503
- An edge in a connection.
58504
- """
58505
- type TeamDiscussionEdge {
58506
- """
58507
- A cursor for use in pagination.
58508
- """
58509
- cursor: String!
58510
-
58511
- """
58512
- The item at the end of the edge.
58513
- """
58514
- node: TeamDiscussion
58515
- }
58516
-
58517
- """
58518
- Ways in which team discussion connections can be ordered.
58519
- """
58520
- input TeamDiscussionOrder {
58521
- """
58522
- The direction in which to order nodes.
58523
- """
58524
- direction: OrderDirection!
58525
-
58526
- """
58527
- The field by which to order nodes.
58528
- """
58529
- field: TeamDiscussionOrderField!
58530
- }
58531
-
58532
- """
58533
- Properties by which team discussion connections can be ordered.
58534
- """
58535
- enum TeamDiscussionOrderField {
58536
- """
58537
- Allows chronological ordering of team discussions.
58538
- """
58539
- CREATED_AT
58540
- }
58541
-
58542
58066
  """
58543
58067
  An edge in a connection.
58544
58068
  """
@@ -63218,57 +62742,6 @@ type UpdateSubscriptionPayload {
63218
62742
  subscribable: Subscribable
63219
62743
  }
63220
62744
 
63221
- """
63222
- Autogenerated input type of UpdateTeamDiscussion
63223
- """
63224
- input UpdateTeamDiscussionInput {
63225
- """
63226
- The updated text of the discussion.
63227
- """
63228
- body: String
63229
-
63230
- """
63231
- The current version of the body content. If provided, this update operation
63232
- will be rejected if the given version does not match the latest version on the server.
63233
- """
63234
- bodyVersion: String
63235
-
63236
- """
63237
- A unique identifier for the client performing the mutation.
63238
- """
63239
- clientMutationId: String
63240
-
63241
- """
63242
- The Node ID of the discussion to modify.
63243
- """
63244
- id: ID!
63245
-
63246
- """
63247
- If provided, sets the pinned state of the updated discussion.
63248
- """
63249
- pinned: Boolean
63250
-
63251
- """
63252
- The updated title of the discussion.
63253
- """
63254
- title: String
63255
- }
63256
-
63257
- """
63258
- Autogenerated return type of UpdateTeamDiscussion.
63259
- """
63260
- type UpdateTeamDiscussionPayload {
63261
- """
63262
- A unique identifier for the client performing the mutation.
63263
- """
63264
- clientMutationId: String
63265
-
63266
- """
63267
- The updated discussion.
63268
- """
63269
- teamDiscussion: TeamDiscussion
63270
- }
63271
-
63272
62745
  """
63273
62746
  Autogenerated input type of UpdateTeamReviewAssignment
63274
62747
  """
@@ -66440,4 +65913,4 @@ scalar X509Certificate
66440
65913
 
66441
65914
  scalar _Any
66442
65915
 
66443
- union _Entity = Issue
65916
+ union _Entity = Issue | Repository
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.22.0",
3
+ "version": "1.22.1",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "type": "module",
6
6
  "author": {
@@ -56,13 +56,13 @@
56
56
  "devDependencies": {
57
57
  "@graphql-codegen/add": "6.0.0",
58
58
  "@graphql-codegen/cli": "6.1.0",
59
- "@graphql-codegen/typescript": "5.0.6",
59
+ "@graphql-codegen/typescript": "5.0.7",
60
60
  "@luxass/eslint-config": "6.0.3",
61
61
  "@types/node": "24.10.4",
62
62
  "eslint": "9.39.2",
63
63
  "eslint-plugin-format": "1.1.0",
64
64
  "publint": "0.3.16",
65
- "tsdown": "0.18.1",
65
+ "tsdown": "0.18.3",
66
66
  "typescript": "5.9.3"
67
67
  },
68
68
  "scripts": {