github-schema 1.29.0 → 1.31.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.
@@ -804,6 +804,41 @@ type AddProjectV2ItemByIdPayload {
804
804
  item: ProjectV2Item
805
805
  }
806
806
 
807
+ """
808
+ Autogenerated input type of AddPullRequestCreationCapBypassUsers
809
+ """
810
+ input AddPullRequestCreationCapBypassUsersInput {
811
+ """
812
+ A unique identifier for the client performing the mutation.
813
+ """
814
+ clientMutationId: String
815
+
816
+ """
817
+ The Node ID of the repository.
818
+ """
819
+ repositoryId: ID!
820
+
821
+ """
822
+ The Node IDs of the users to add to the bypass list.
823
+ """
824
+ userIds: [ID!]!
825
+ }
826
+
827
+ """
828
+ Autogenerated return type of AddPullRequestCreationCapBypassUsers.
829
+ """
830
+ type AddPullRequestCreationCapBypassUsersPayload {
831
+ """
832
+ A unique identifier for the client performing the mutation.
833
+ """
834
+ clientMutationId: String
835
+
836
+ """
837
+ The repository with the updated bypass list.
838
+ """
839
+ repository: Repository
840
+ }
841
+
807
842
  """
808
843
  Autogenerated input type of AddPullRequestReviewComment
809
844
  """
@@ -20823,6 +20858,21 @@ type IssueContributionsByRepository {
20823
20858
  repository: Repository!
20824
20859
  }
20825
20860
 
20861
+ """
20862
+ The policy controlling who can create issues in a repository.
20863
+ """
20864
+ enum IssueCreationPolicy {
20865
+ """
20866
+ Anyone can create issues.
20867
+ """
20868
+ ALL
20869
+
20870
+ """
20871
+ Only collaborators can create issues.
20872
+ """
20873
+ COLLABORATORS_ONLY
20874
+ }
20875
+
20826
20876
  """
20827
20877
  Summary of the state of an issue's dependencies
20828
20878
  """
@@ -26046,6 +26096,19 @@ type Mutation {
26046
26096
  input: AddProjectV2ItemByIdInput!
26047
26097
  ): AddProjectV2ItemByIdPayload
26048
26098
 
26099
+ """
26100
+ Add users to the pull request creation cap bypass list. Bypassed users can
26101
+ create pull requests regardless of the configured cap. Only repository admins
26102
+ can manage the bypass list. You can add a maximum of 100 users per request.
26103
+ The bypass list can only hold a maximum of 100 users.
26104
+ """
26105
+ addPullRequestCreationCapBypassUsers(
26106
+ """
26107
+ Parameters for AddPullRequestCreationCapBypassUsers
26108
+ """
26109
+ input: AddPullRequestCreationCapBypassUsersInput!
26110
+ ): AddPullRequestCreationCapBypassUsersPayload
26111
+
26049
26112
  """
26050
26113
  Adds a review to a Pull Request.
26051
26114
  """
@@ -27447,6 +27510,16 @@ type Mutation {
27447
27510
  input: RemoveOutsideCollaboratorInput!
27448
27511
  ): RemoveOutsideCollaboratorPayload
27449
27512
 
27513
+ """
27514
+ Remove users from the pull request creation cap bypass list. Only repository admins can manage the bypass list.
27515
+ """
27516
+ removePullRequestCreationCapBypassUsers(
27517
+ """
27518
+ Parameters for RemovePullRequestCreationCapBypassUsers
27519
+ """
27520
+ input: RemovePullRequestCreationCapBypassUsersInput!
27521
+ ): RemovePullRequestCreationCapBypassUsersPayload
27522
+
27450
27523
  """
27451
27524
  Removes a reaction from a subject.
27452
27525
  """
@@ -41528,6 +41601,36 @@ type PullRequestContributionsByRepository {
41528
41601
  repository: Repository!
41529
41602
  }
41530
41603
 
41604
+ """
41605
+ Users who are exempt from the pull request creation cap on a repository.
41606
+ """
41607
+ type PullRequestCreationCapConfig {
41608
+ """
41609
+ Users who are exempt from the pull request creation cap.
41610
+ """
41611
+ bypassedUsers(
41612
+ """
41613
+ Returns the elements in the list that come after the specified cursor.
41614
+ """
41615
+ after: String
41616
+
41617
+ """
41618
+ Returns the elements in the list that come before the specified cursor.
41619
+ """
41620
+ before: String
41621
+
41622
+ """
41623
+ Returns the first _n_ elements from the list.
41624
+ """
41625
+ first: Int
41626
+
41627
+ """
41628
+ Returns the last _n_ elements from the list.
41629
+ """
41630
+ last: Int
41631
+ ): UserConnection!
41632
+ }
41633
+
41531
41634
  """
41532
41635
  The policy controlling who can create pull requests in a repository.
41533
41636
  """
@@ -45673,6 +45776,41 @@ type RemoveOutsideCollaboratorPayload {
45673
45776
  removedUser: User
45674
45777
  }
45675
45778
 
45779
+ """
45780
+ Autogenerated input type of RemovePullRequestCreationCapBypassUsers
45781
+ """
45782
+ input RemovePullRequestCreationCapBypassUsersInput {
45783
+ """
45784
+ A unique identifier for the client performing the mutation.
45785
+ """
45786
+ clientMutationId: String
45787
+
45788
+ """
45789
+ The Node ID of the repository.
45790
+ """
45791
+ repositoryId: ID!
45792
+
45793
+ """
45794
+ The Node IDs of the users to remove from the bypass list.
45795
+ """
45796
+ userIds: [ID!]!
45797
+ }
45798
+
45799
+ """
45800
+ Autogenerated return type of RemovePullRequestCreationCapBypassUsers.
45801
+ """
45802
+ type RemovePullRequestCreationCapBypassUsersPayload {
45803
+ """
45804
+ A unique identifier for the client performing the mutation.
45805
+ """
45806
+ clientMutationId: String
45807
+
45808
+ """
45809
+ The repository with the updated bypass list.
45810
+ """
45811
+ repository: Repository
45812
+ }
45813
+
45676
45814
  """
45677
45815
  Autogenerated input type of RemoveReaction
45678
45816
  """
@@ -49253,6 +49391,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
49253
49391
  number: Int!
49254
49392
  ): Issue
49255
49393
 
49394
+ """
49395
+ The policy controlling who can create issues in this repository.
49396
+ """
49397
+ issueCreationPolicy: IssueCreationPolicy
49398
+
49256
49399
  """
49257
49400
  A list of the repository's issue fields, inherited from the organization
49258
49401
  """
@@ -49878,6 +50021,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
49878
50021
  number: Int!
49879
50022
  ): PullRequest
49880
50023
 
50024
+ """
50025
+ A list of users who are exempt from the pull request creation cap on this repository. Only visible to repository admins.
50026
+ """
50027
+ pullRequestCreationCapConfig: PullRequestCreationCapConfig
50028
+
49881
50029
  """
49882
50030
  The policy controlling who can create pull requests in this repository.
49883
50031
  """
@@ -50355,6 +50503,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
50355
50503
  """
50356
50504
  viewerCanAdminister: Boolean!
50357
50505
 
50506
+ """
50507
+ Indicates whether the current user can create issues in this repository.
50508
+ """
50509
+ viewerCanCreateIssues: Boolean!
50510
+
50358
50511
  """
50359
50512
  Can the current viewer create new projects on this owner.
50360
50513
  """
@@ -51114,6 +51267,11 @@ interface RepositoryInfo {
51114
51267
  """
51115
51268
  isTemplate: Boolean!
51116
51269
 
51270
+ """
51271
+ The policy controlling who can create issues in this repository.
51272
+ """
51273
+ issueCreationPolicy: IssueCreationPolicy
51274
+
51117
51275
  """
51118
51276
  The license associated with the repository
51119
51277
  """
@@ -58909,6 +59067,11 @@ type StatusContext implements Node & RequirableByPullRequest {
58909
59067
  The URL for this status context.
58910
59068
  """
58911
59069
  targetUrl: URI
59070
+
59071
+ """
59072
+ Identifies the date and time when the object was last updated.
59073
+ """
59074
+ updatedAt: DateTime!
58912
59075
  }
58913
59076
 
58914
59077
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.29.0",
3
+ "version": "1.31.0",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "keywords": [
6
6
  "github",