github-schema 1.22.15 → 1.23.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.
@@ -1644,6 +1644,36 @@ type ArchiveProjectV2ItemPayload {
1644
1644
  item: ProjectV2Item
1645
1645
  }
1646
1646
 
1647
+ """
1648
+ Autogenerated input type of ArchivePullRequest
1649
+ """
1650
+ input ArchivePullRequestInput {
1651
+ """
1652
+ A unique identifier for the client performing the mutation.
1653
+ """
1654
+ clientMutationId: String
1655
+
1656
+ """
1657
+ The Node ID of the pull request to archive.
1658
+ """
1659
+ pullRequestId: ID!
1660
+ }
1661
+
1662
+ """
1663
+ Autogenerated return type of ArchivePullRequest.
1664
+ """
1665
+ type ArchivePullRequestPayload {
1666
+ """
1667
+ A unique identifier for the client performing the mutation.
1668
+ """
1669
+ clientMutationId: String
1670
+
1671
+ """
1672
+ The pull request that was archived.
1673
+ """
1674
+ pullRequest: PullRequest
1675
+ }
1676
+
1647
1677
  """
1648
1678
  Autogenerated input type of ArchiveRepository
1649
1679
  """
@@ -6407,6 +6437,41 @@ type ConnectedEvent implements Node {
6407
6437
  subject: ReferencedSubject!
6408
6438
  }
6409
6439
 
6440
+ """
6441
+ The content warning for a repository
6442
+ """
6443
+ type ContentWarning {
6444
+ """
6445
+ The content warning' category. E.g. 'mis_dis_information'
6446
+ """
6447
+ category: String!
6448
+
6449
+ """
6450
+ The content warning's custom sub category text. E.g. 'dangerous stuff.'
6451
+ """
6452
+ customSubCategory: String
6453
+
6454
+ """
6455
+ The content warning's sub category. E.g. 'medical_scientific'
6456
+ """
6457
+ subCategory: String
6458
+
6459
+ """
6460
+ The content warning's sub title. E.g. 'The information contained in this page has not been verified.'
6461
+ """
6462
+ subTitle: String
6463
+
6464
+ """
6465
+ The content warning's title. E.g. 'This page may contain false or misleading information.'
6466
+ """
6467
+ title: String!
6468
+
6469
+ """
6470
+ The type of content warning. E.g. 'interstitial'
6471
+ """
6472
+ type: String!
6473
+ }
6474
+
6410
6475
  """
6411
6476
  The Contributing Guidelines for a repository.
6412
6477
  """
@@ -14104,7 +14169,9 @@ enum EnterpriseAllowPrivateRepositoryForkingPolicyValue {
14104
14169
  ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS
14105
14170
 
14106
14171
  """
14107
- Members can fork a repository to their user account or an organization, either inside or outside of this enterprise.
14172
+ Members can fork a repository to their user account or an organization, either
14173
+ inside or outside of this enterprise. Internal repositories can only be forked
14174
+ inside of this enterprise.
14108
14175
  """
14109
14176
  EVERYWHERE
14110
14177
 
@@ -25562,6 +25629,17 @@ type Mutation {
25562
25629
  input: ArchiveProjectV2ItemInput!
25563
25630
  ): ArchiveProjectV2ItemPayload
25564
25631
 
25632
+ """
25633
+ Archive a pull request. Closes, locks, and marks the pull request as archived.
25634
+ Only repository admins can archive pull requests.
25635
+ """
25636
+ archivePullRequest(
25637
+ """
25638
+ Parameters for ArchivePullRequest
25639
+ """
25640
+ input: ArchivePullRequestInput!
25641
+ ): ArchivePullRequestPayload
25642
+
25565
25643
  """
25566
25644
  Marks a repository as archived.
25567
25645
  """
@@ -27132,6 +27210,18 @@ type Mutation {
27132
27210
  input: UnarchiveProjectV2ItemInput!
27133
27211
  ): UnarchiveProjectV2ItemPayload
27134
27212
 
27213
+ """
27214
+ Unarchive a pull request. Removes the archived flag from the pull request.
27215
+ Does not automatically reopen or unlock the pull request. Only repository
27216
+ admins can unarchive pull requests.
27217
+ """
27218
+ unarchivePullRequest(
27219
+ """
27220
+ Parameters for UnarchivePullRequest
27221
+ """
27222
+ input: UnarchivePullRequestInput!
27223
+ ): UnarchivePullRequestPayload
27224
+
27135
27225
  """
27136
27226
  Unarchives a repository.
27137
27227
  """
@@ -37072,6 +37162,16 @@ enum ProjectV2FieldType {
37072
37162
  """
37073
37163
  ASSIGNEES
37074
37164
 
37165
+ """
37166
+ Closed
37167
+ """
37168
+ CLOSED
37169
+
37170
+ """
37171
+ Created
37172
+ """
37173
+ CREATED
37174
+
37075
37175
  """
37076
37176
  Date
37077
37177
  """
@@ -37151,6 +37251,11 @@ enum ProjectV2FieldType {
37151
37251
  Tracks
37152
37252
  """
37153
37253
  TRACKS
37254
+
37255
+ """
37256
+ Updated
37257
+ """
37258
+ UPDATED
37154
37259
  }
37155
37260
 
37156
37261
  """
@@ -38457,6 +38562,12 @@ input ProjectV2SingleSelectFieldOptionInput {
38457
38562
  """
38458
38563
  description: String!
38459
38564
 
38565
+ """
38566
+ The ID of an existing single select option. Include this to preserve the
38567
+ option's identity during updates, preventing item field values from being cleared.
38568
+ """
38569
+ id: String
38570
+
38460
38571
  """
38461
38572
  The name of the option
38462
38573
  """
@@ -49672,6 +49783,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
49672
49783
  """
49673
49784
  viewerCanUpdateTopics: Boolean!
49674
49785
 
49786
+ """
49787
+ The content warning for this repository for the viewer.
49788
+ """
49789
+ viewerContentWarning: ContentWarning
49790
+
49675
49791
  """
49676
49792
  The last commit email for the viewer.
49677
49793
  """
@@ -51647,7 +51763,7 @@ type RepositoryRuleset implements Node {
51647
51763
  }
51648
51764
 
51649
51765
  """
51650
- A team or app that has the ability to bypass a rules defined on a ruleset
51766
+ A team, app or user that has the ability to bypass rules defined on a ruleset
51651
51767
  """
51652
51768
  type RepositoryRulesetBypassActor implements Node {
51653
51769
  """
@@ -51670,6 +51786,11 @@ type RepositoryRulesetBypassActor implements Node {
51670
51786
  """
51671
51787
  enterpriseOwner: Boolean!
51672
51788
 
51789
+ """
51790
+ This actor represents the ability for an enterprise role to bypass
51791
+ """
51792
+ enterpriseRole: Boolean!
51793
+
51673
51794
  """
51674
51795
  The Node ID of the RepositoryRulesetBypassActor object
51675
51796
  """
@@ -51758,12 +51879,12 @@ type RepositoryRulesetBypassActorEdge {
51758
51879
 
51759
51880
  """
51760
51881
  Specifies the attributes for a new or updated ruleset bypass actor. Only one of
51761
- `actor_id`, `repository_role_database_id`, `organization_admin`, or `deploy_key`
51762
- should be specified.
51882
+ `actor_id`, `repository_role_database_id`, `organization_admin`,
51883
+ `enterprise_owner`, or `deploy_key` should be specified.
51763
51884
  """
51764
51885
  input RepositoryRulesetBypassActorInput {
51765
51886
  """
51766
- For Team and Integration bypasses, the Team or Integration ID
51887
+ For Team, Integration and User bypasses, the Team, Integration, or User ID
51767
51888
  """
51768
51889
  actorId: ID
51769
51890
 
@@ -51782,6 +51903,11 @@ input RepositoryRulesetBypassActorInput {
51782
51903
  """
51783
51904
  enterpriseOwner: Boolean
51784
51905
 
51906
+ """
51907
+ For enterprise role bypasses, true. NOTE: This bypass actor is in beta.
51908
+ """
51909
+ enterpriseRole: Boolean
51910
+
51785
51911
  """
51786
51912
  For organization owner bypasses, true
51787
51913
  """
@@ -54199,6 +54325,11 @@ enum SecurityAdvisorySeverity {
54199
54325
  Moderate.
54200
54326
  """
54201
54327
  MODERATE
54328
+
54329
+ """
54330
+ Unknown.
54331
+ """
54332
+ UNKNOWN
54202
54333
  }
54203
54334
 
54204
54335
  """
@@ -58736,7 +58867,7 @@ input TagNamePatternParametersInput {
58736
58867
  """
58737
58868
  A team of users in an organization.
58738
58869
  """
58739
- type Team implements MemberStatusable & Node & Subscribable {
58870
+ type Team implements MemberStatusable & Node & Subscribable & TeamReviewRequestable {
58740
58871
  """
58741
58872
  A list of teams that are ancestors of this team.
58742
58873
  """
@@ -60180,6 +60311,26 @@ enum TeamReviewAssignmentAlgorithm {
60180
60311
  ROUND_ROBIN
60181
60312
  }
60182
60313
 
60314
+ """
60315
+ Represents a team that can be requested to review a pull request.
60316
+ """
60317
+ interface TeamReviewRequestable {
60318
+ """
60319
+ The Node ID of the TeamReviewRequestable object
60320
+ """
60321
+ id: ID!
60322
+
60323
+ """
60324
+ The name of the team.
60325
+ """
60326
+ name: String!
60327
+
60328
+ """
60329
+ A unique, human-readable identifier for the team.
60330
+ """
60331
+ slug: String!
60332
+ }
60333
+
60183
60334
  """
60184
60335
  The role of a user on a team.
60185
60336
  """
@@ -60783,6 +60934,36 @@ type UnarchiveProjectV2ItemPayload {
60783
60934
  item: ProjectV2Item
60784
60935
  }
60785
60936
 
60937
+ """
60938
+ Autogenerated input type of UnarchivePullRequest
60939
+ """
60940
+ input UnarchivePullRequestInput {
60941
+ """
60942
+ A unique identifier for the client performing the mutation.
60943
+ """
60944
+ clientMutationId: String
60945
+
60946
+ """
60947
+ The Node ID of the pull request to unarchive.
60948
+ """
60949
+ pullRequestId: ID!
60950
+ }
60951
+
60952
+ """
60953
+ Autogenerated return type of UnarchivePullRequest.
60954
+ """
60955
+ type UnarchivePullRequestPayload {
60956
+ """
60957
+ A unique identifier for the client performing the mutation.
60958
+ """
60959
+ clientMutationId: String
60960
+
60961
+ """
60962
+ The pull request that was unarchived.
60963
+ """
60964
+ pullRequest: PullRequest
60965
+ }
60966
+
60786
60967
  """
60787
60968
  Autogenerated input type of UnarchiveRepository
60788
60969
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.22.15",
3
+ "version": "1.23.0",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "keywords": [
6
6
  "github",