github-schema 1.12.2 → 1.12.4

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.
@@ -175,6 +175,46 @@ type AcceptTopicSuggestionPayload {
175
175
  topic: Topic @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.")
176
176
  }
177
177
 
178
+ """
179
+ Autogenerated input type of AccessUserNamespaceRepository
180
+ """
181
+ input AccessUserNamespaceRepositoryInput {
182
+ """
183
+ A unique identifier for the client performing the mutation.
184
+ """
185
+ clientMutationId: String
186
+
187
+ """
188
+ The ID of the enterprise owning the user namespace repository.
189
+ """
190
+ enterpriseId: ID!
191
+
192
+ """
193
+ The ID of the user namespace repository to access.
194
+ """
195
+ repositoryId: ID!
196
+ }
197
+
198
+ """
199
+ Autogenerated return type of AccessUserNamespaceRepository.
200
+ """
201
+ type AccessUserNamespaceRepositoryPayload {
202
+ """
203
+ A unique identifier for the client performing the mutation.
204
+ """
205
+ clientMutationId: String
206
+
207
+ """
208
+ The time that repository access expires at
209
+ """
210
+ expiresAt: DateTime
211
+
212
+ """
213
+ The repository that is temporarily accessible.
214
+ """
215
+ repository: Repository
216
+ }
217
+
178
218
  """
179
219
  Represents an object which can take actions on GitHub. Typically a User or Bot.
180
220
  """
@@ -1216,6 +1256,31 @@ type AddedToProjectEvent implements Node {
1216
1256
  projectColumnName: String!
1217
1257
  }
1218
1258
 
1259
+ """
1260
+ An announcement banner for an enterprise or organization.
1261
+ """
1262
+ type AnnouncementBanner {
1263
+ """
1264
+ The date the announcement was created
1265
+ """
1266
+ createdAt: DateTime!
1267
+
1268
+ """
1269
+ The expiration date of the announcement, if any
1270
+ """
1271
+ expiresAt: DateTime
1272
+
1273
+ """
1274
+ Whether the announcement can be dismissed by the user
1275
+ """
1276
+ isUserDismissible: Boolean!
1277
+
1278
+ """
1279
+ The text of the announcement
1280
+ """
1281
+ message: String
1282
+ }
1283
+
1219
1284
  """
1220
1285
  Represents an announcement banner.
1221
1286
  """
@@ -1223,22 +1288,22 @@ interface AnnouncementBannerI {
1223
1288
  """
1224
1289
  The text of the announcement
1225
1290
  """
1226
- announcement: String
1291
+ announcement: String @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
1227
1292
 
1228
1293
  """
1229
1294
  The date the announcement was created
1230
1295
  """
1231
- announcementCreatedAt: DateTime
1296
+ announcementCreatedAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
1232
1297
 
1233
1298
  """
1234
1299
  The expiration date of the announcement, if any
1235
1300
  """
1236
- announcementExpiresAt: DateTime
1301
+ announcementExpiresAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
1237
1302
 
1238
1303
  """
1239
1304
  Whether the announcement can be dismissed by the user
1240
1305
  """
1241
- announcementUserDismissible: Boolean
1306
+ announcementUserDismissible: Boolean @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
1242
1307
  }
1243
1308
 
1244
1309
  """
@@ -4268,6 +4333,11 @@ input CloseIssueInput {
4268
4333
  """
4269
4334
  clientMutationId: String
4270
4335
 
4336
+ """
4337
+ ID of the issue that this is a duplicate of.
4338
+ """
4339
+ duplicateIssueId: ID
4340
+
4271
4341
  """
4272
4342
  ID of the issue to be closed.
4273
4343
  """
@@ -12783,22 +12853,27 @@ type Enterprise implements AnnouncementBannerI & Node {
12783
12853
  """
12784
12854
  The text of the announcement
12785
12855
  """
12786
- announcement: String
12856
+ announcement: String @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
12857
+
12858
+ """
12859
+ The announcement banner set on this enterprise, if any. Only visible to members of the enterprise.
12860
+ """
12861
+ announcementBanner: AnnouncementBanner
12787
12862
 
12788
12863
  """
12789
12864
  The date the announcement was created
12790
12865
  """
12791
- announcementCreatedAt: DateTime
12866
+ announcementCreatedAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
12792
12867
 
12793
12868
  """
12794
12869
  The expiration date of the announcement, if any
12795
12870
  """
12796
- announcementExpiresAt: DateTime
12871
+ announcementExpiresAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
12797
12872
 
12798
12873
  """
12799
12874
  Whether the announcement can be dismissed by the user
12800
12875
  """
12801
- announcementUserDismissible: Boolean
12876
+ announcementUserDismissible: Boolean @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
12802
12877
 
12803
12878
  """
12804
12879
  A URL pointing to the enterprise's public avatar.
@@ -18569,7 +18644,12 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18569
18644
  """
18570
18645
  Identifies the reason for the issue state.
18571
18646
  """
18572
- stateReason: IssueStateReason
18647
+ stateReason(
18648
+ """
18649
+ Whether or not to return state reason for duplicates
18650
+ """
18651
+ enableDuplicate: Boolean = false
18652
+ ): IssueStateReason
18573
18653
 
18574
18654
  """
18575
18655
  A list of sub-issues associated with the Issue.
@@ -19335,7 +19415,8 @@ enum IssueStateReason {
19335
19415
  COMPLETED
19336
19416
 
19337
19417
  """
19338
- An issue that has been closed as a duplicate
19418
+ An issue that has been closed as a duplicate. To retrieve this value, set
19419
+ `(enableDuplicate: true)` when querying the stateReason field.
19339
19420
  """
19340
19421
  DUPLICATE
19341
19422
 
@@ -19483,7 +19564,7 @@ type IssueTimelineItemEdge {
19483
19564
  """
19484
19565
  An item in an issue timeline
19485
19566
  """
19486
- union IssueTimelineItems = AddedToProjectEvent | AssignedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DisconnectedEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent
19567
+ union IssueTimelineItems = AddedToProjectEvent | AssignedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DisconnectedEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent
19487
19568
 
19488
19569
  """
19489
19570
  The connection type for IssueTimelineItems.
@@ -19629,6 +19710,16 @@ enum IssueTimelineItemsItemType {
19629
19710
  """
19630
19711
  MOVED_COLUMNS_IN_PROJECT_EVENT
19631
19712
 
19713
+ """
19714
+ Represents a 'parent_issue_added' event on a given issue.
19715
+ """
19716
+ PARENT_ISSUE_ADDED_EVENT
19717
+
19718
+ """
19719
+ Represents a 'parent_issue_removed' event on a given issue.
19720
+ """
19721
+ PARENT_ISSUE_REMOVED_EVENT
19722
+
19632
19723
  """
19633
19724
  Represents a 'pinned' event on a given issue or pull request.
19634
19725
  """
@@ -19659,6 +19750,16 @@ enum IssueTimelineItemsItemType {
19659
19750
  """
19660
19751
  SUBSCRIBED_EVENT
19661
19752
 
19753
+ """
19754
+ Represents a 'sub_issue_added' event on a given issue.
19755
+ """
19756
+ SUB_ISSUE_ADDED_EVENT
19757
+
19758
+ """
19759
+ Represents a 'sub_issue_removed' event on a given issue.
19760
+ """
19761
+ SUB_ISSUE_REMOVED_EVENT
19762
+
19662
19763
  """
19663
19764
  Represents a 'transferred' event on a given issue or pull request.
19664
19765
  """
@@ -22952,6 +23053,16 @@ type Mutation {
22952
23053
  input: AcceptTopicSuggestionInput!
22953
23054
  ): AcceptTopicSuggestionPayload
22954
23055
 
23056
+ """
23057
+ Access user namespace repository for a temporary duration.
23058
+ """
23059
+ accessUserNamespaceRepository(
23060
+ """
23061
+ Parameters for AccessUserNamespaceRepository
23062
+ """
23063
+ input: AccessUserNamespaceRepositoryInput!
23064
+ ): AccessUserNamespaceRepositoryPayload
23065
+
22955
23066
  """
22956
23067
  Adds assignees to an assignable object.
22957
23068
  """
@@ -29082,22 +29193,27 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No
29082
29193
  """
29083
29194
  The text of the announcement
29084
29195
  """
29085
- announcement: String
29196
+ announcement: String @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
29197
+
29198
+ """
29199
+ The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise.
29200
+ """
29201
+ announcementBanner: AnnouncementBanner
29086
29202
 
29087
29203
  """
29088
29204
  The date the announcement was created
29089
29205
  """
29090
- announcementCreatedAt: DateTime
29206
+ announcementCreatedAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
29091
29207
 
29092
29208
  """
29093
29209
  The expiration date of the announcement, if any
29094
29210
  """
29095
- announcementExpiresAt: DateTime
29211
+ announcementExpiresAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
29096
29212
 
29097
29213
  """
29098
29214
  Whether the announcement can be dismissed by the user
29099
29215
  """
29100
- announcementUserDismissible: Boolean
29216
+ announcementUserDismissible: Boolean @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.")
29101
29217
 
29102
29218
  """
29103
29219
  Determine if this repository owner has any items that can be pinned to their profile.
@@ -31811,6 +31927,56 @@ type PageInfo {
31811
31927
  startCursor: String
31812
31928
  }
31813
31929
 
31930
+ """
31931
+ Represents a 'parent_issue_added' event on a given issue.
31932
+ """
31933
+ type ParentIssueAddedEvent implements Node {
31934
+ """
31935
+ Identifies the actor who performed the event.
31936
+ """
31937
+ actor: Actor
31938
+
31939
+ """
31940
+ Identifies the date and time when the object was created.
31941
+ """
31942
+ createdAt: DateTime!
31943
+
31944
+ """
31945
+ The Node ID of the ParentIssueAddedEvent object
31946
+ """
31947
+ id: ID!
31948
+
31949
+ """
31950
+ The parent issue added.
31951
+ """
31952
+ parent: Issue
31953
+ }
31954
+
31955
+ """
31956
+ Represents a 'parent_issue_removed' event on a given issue.
31957
+ """
31958
+ type ParentIssueRemovedEvent implements Node {
31959
+ """
31960
+ Identifies the actor who performed the event.
31961
+ """
31962
+ actor: Actor
31963
+
31964
+ """
31965
+ Identifies the date and time when the object was created.
31966
+ """
31967
+ createdAt: DateTime!
31968
+
31969
+ """
31970
+ The Node ID of the ParentIssueRemovedEvent object
31971
+ """
31972
+ id: ID!
31973
+
31974
+ """
31975
+ The parent issue removed.
31976
+ """
31977
+ parent: Issue
31978
+ }
31979
+
31814
31980
  """
31815
31981
  The possible types of patch statuses.
31816
31982
  """
@@ -39069,7 +39235,7 @@ type PullRequestTimelineItemEdge {
39069
39235
  """
39070
39236
  An item in a pull request timeline
39071
39237
  """
39072
- union PullRequestTimelineItems = AddedToMergeQueueEvent | AddedToProjectEvent | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent | AutoRebaseEnabledEvent | AutoSquashEnabledEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent
39238
+ union PullRequestTimelineItems = AddedToMergeQueueEvent | AddedToProjectEvent | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent | AutoRebaseEnabledEvent | AutoSquashEnabledEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent
39073
39239
 
39074
39240
  """
39075
39241
  The connection type for PullRequestTimelineItems.
@@ -39300,6 +39466,16 @@ enum PullRequestTimelineItemsItemType {
39300
39466
  """
39301
39467
  MOVED_COLUMNS_IN_PROJECT_EVENT
39302
39468
 
39469
+ """
39470
+ Represents a 'parent_issue_added' event on a given issue.
39471
+ """
39472
+ PARENT_ISSUE_ADDED_EVENT
39473
+
39474
+ """
39475
+ Represents a 'parent_issue_removed' event on a given issue.
39476
+ """
39477
+ PARENT_ISSUE_REMOVED_EVENT
39478
+
39303
39479
  """
39304
39480
  Represents a 'pinned' event on a given issue or pull request.
39305
39481
  """
@@ -39380,6 +39556,16 @@ enum PullRequestTimelineItemsItemType {
39380
39556
  """
39381
39557
  SUBSCRIBED_EVENT
39382
39558
 
39559
+ """
39560
+ Represents a 'sub_issue_added' event on a given issue.
39561
+ """
39562
+ SUB_ISSUE_ADDED_EVENT
39563
+
39564
+ """
39565
+ Represents a 'sub_issue_removed' event on a given issue.
39566
+ """
39567
+ SUB_ISSUE_REMOVED_EVENT
39568
+
39383
39569
  """
39384
39570
  Represents a 'transferred' event on a given issue or pull request.
39385
39571
  """
@@ -54285,6 +54471,56 @@ type StripeConnectAccount {
54285
54471
  stripeDashboardUrl: URI!
54286
54472
  }
54287
54473
 
54474
+ """
54475
+ Represents a 'sub_issue_added' event on a given issue.
54476
+ """
54477
+ type SubIssueAddedEvent implements Node {
54478
+ """
54479
+ Identifies the actor who performed the event.
54480
+ """
54481
+ actor: Actor
54482
+
54483
+ """
54484
+ Identifies the date and time when the object was created.
54485
+ """
54486
+ createdAt: DateTime!
54487
+
54488
+ """
54489
+ The Node ID of the SubIssueAddedEvent object
54490
+ """
54491
+ id: ID!
54492
+
54493
+ """
54494
+ The sub-issue added.
54495
+ """
54496
+ subIssue: Issue
54497
+ }
54498
+
54499
+ """
54500
+ Represents a 'sub_issue_removed' event on a given issue.
54501
+ """
54502
+ type SubIssueRemovedEvent implements Node {
54503
+ """
54504
+ Identifies the actor who performed the event.
54505
+ """
54506
+ actor: Actor
54507
+
54508
+ """
54509
+ Identifies the date and time when the object was created.
54510
+ """
54511
+ createdAt: DateTime!
54512
+
54513
+ """
54514
+ The Node ID of the SubIssueRemovedEvent object
54515
+ """
54516
+ id: ID!
54517
+
54518
+ """
54519
+ The sub-issue removed.
54520
+ """
54521
+ subIssue: Issue
54522
+ }
54523
+
54288
54524
  """
54289
54525
  Summary of the state of an issue's sub-issues
54290
54526
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.12.2",
3
+ "version": "1.12.4",
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@9.14.4",
11
+ "packageManager": "pnpm@9.15.0",
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/luxass/github-schema",
14
14
  "repository": {