github-schema 1.7.8 → 1.7.10

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.
@@ -1114,6 +1114,21 @@ type AddedToProjectEvent implements Node {
1114
1114
  The Node ID of the AddedToProjectEvent object
1115
1115
  """
1116
1116
  id: ID!
1117
+
1118
+ """
1119
+ Project referenced by event.
1120
+ """
1121
+ project: Project
1122
+
1123
+ """
1124
+ Project card referenced by this project event.
1125
+ """
1126
+ projectCard: ProjectCard
1127
+
1128
+ """
1129
+ Column name referenced by this project event.
1130
+ """
1131
+ projectColumnName: String!
1117
1132
  }
1118
1133
 
1119
1134
  """
@@ -4227,7 +4242,7 @@ type ClosedEvent implements Node & UniformResourceLocatable {
4227
4242
  """
4228
4243
  The object which triggered a `ClosedEvent`.
4229
4244
  """
4230
- union Closer = Commit | PullRequest
4245
+ union Closer = Commit | ProjectV2 | PullRequest
4231
4246
 
4232
4247
  """
4233
4248
  The Code of Conduct for a repository
@@ -6522,6 +6537,21 @@ type ConvertedNoteToIssueEvent implements Node {
6522
6537
  The Node ID of the ConvertedNoteToIssueEvent object
6523
6538
  """
6524
6539
  id: ID!
6540
+
6541
+ """
6542
+ Project referenced by event.
6543
+ """
6544
+ project: Project
6545
+
6546
+ """
6547
+ Project card referenced by this project event.
6548
+ """
6549
+ projectCard: ProjectCard
6550
+
6551
+ """
6552
+ Column name referenced by this project event.
6553
+ """
6554
+ projectColumnName: String!
6525
6555
  }
6526
6556
 
6527
6557
  """
@@ -6975,6 +7005,141 @@ type CreateCommitOnBranchPayload {
6975
7005
  ref: Ref
6976
7006
  }
6977
7007
 
7008
+ """
7009
+ Autogenerated input type of CreateDeployment
7010
+ """
7011
+ input CreateDeploymentInput {
7012
+ """
7013
+ Attempt to automatically merge the default branch into the requested ref, defaults to true.
7014
+ """
7015
+ autoMerge: Boolean = true
7016
+
7017
+ """
7018
+ A unique identifier for the client performing the mutation.
7019
+ """
7020
+ clientMutationId: String
7021
+
7022
+ """
7023
+ Short description of the deployment.
7024
+ """
7025
+ description: String = ""
7026
+
7027
+ """
7028
+ Name for the target deployment environment.
7029
+ """
7030
+ environment: String = "production"
7031
+
7032
+ """
7033
+ JSON payload with extra information about the deployment.
7034
+ """
7035
+ payload: String = "{}"
7036
+
7037
+ """
7038
+ The node ID of the ref to be deployed.
7039
+ """
7040
+ refId: ID!
7041
+
7042
+ """
7043
+ The node ID of the repository.
7044
+ """
7045
+ repositoryId: ID!
7046
+
7047
+ """
7048
+ The status contexts to verify against commit status checks. To bypass required
7049
+ contexts, pass an empty array. Defaults to all unique contexts.
7050
+ """
7051
+ requiredContexts: [String!]
7052
+
7053
+ """
7054
+ Specifies a task to execute.
7055
+ """
7056
+ task: String = "deploy"
7057
+ }
7058
+
7059
+ """
7060
+ Autogenerated return type of CreateDeployment
7061
+ """
7062
+ type CreateDeploymentPayload {
7063
+ """
7064
+ True if the default branch has been auto-merged into the deployment ref.
7065
+ """
7066
+ autoMerged: Boolean
7067
+
7068
+ """
7069
+ A unique identifier for the client performing the mutation.
7070
+ """
7071
+ clientMutationId: String
7072
+
7073
+ """
7074
+ The new deployment.
7075
+ """
7076
+ deployment: Deployment
7077
+ }
7078
+
7079
+ """
7080
+ Autogenerated input type of CreateDeploymentStatus
7081
+ """
7082
+ input CreateDeploymentStatusInput {
7083
+ """
7084
+ Adds a new inactive status to all non-transient, non-production environment
7085
+ deployments with the same repository and environment name as the created
7086
+ status's deployment.
7087
+ """
7088
+ autoInactive: Boolean = true
7089
+
7090
+ """
7091
+ A unique identifier for the client performing the mutation.
7092
+ """
7093
+ clientMutationId: String
7094
+
7095
+ """
7096
+ The node ID of the deployment.
7097
+ """
7098
+ deploymentId: ID!
7099
+
7100
+ """
7101
+ A short description of the status. Maximum length of 140 characters.
7102
+ """
7103
+ description: String = ""
7104
+
7105
+ """
7106
+ If provided, updates the environment of the deploy. Otherwise, does not modify the environment.
7107
+ """
7108
+ environment: String
7109
+
7110
+ """
7111
+ Sets the URL for accessing your environment.
7112
+ """
7113
+ environmentUrl: String = ""
7114
+
7115
+ """
7116
+ The log URL to associate with this status. This URL should contain
7117
+ output to keep the user updated while the task is running or serve as
7118
+ historical information for what happened in the deployment.
7119
+ """
7120
+ logUrl: String = ""
7121
+
7122
+ """
7123
+ The state of the deployment.
7124
+ """
7125
+ state: DeploymentStatusState!
7126
+ }
7127
+
7128
+ """
7129
+ Autogenerated return type of CreateDeploymentStatus
7130
+ """
7131
+ type CreateDeploymentStatusPayload {
7132
+ """
7133
+ A unique identifier for the client performing the mutation.
7134
+ """
7135
+ clientMutationId: String
7136
+
7137
+ """
7138
+ The new deployment status.
7139
+ """
7140
+ deploymentStatus: DeploymentStatus
7141
+ }
7142
+
6978
7143
  """
6979
7144
  Autogenerated input type of CreateDiscussion
6980
7145
  """
@@ -7220,6 +7385,51 @@ type CreateIssuePayload {
7220
7385
  issue: Issue
7221
7386
  }
7222
7387
 
7388
+ """
7389
+ Autogenerated input type of CreateLabel
7390
+ """
7391
+ input CreateLabelInput {
7392
+ """
7393
+ A unique identifier for the client performing the mutation.
7394
+ """
7395
+ clientMutationId: String
7396
+
7397
+ """
7398
+ A 6 character hex code, without the leading #, identifying the color of the label.
7399
+ """
7400
+ color: String!
7401
+
7402
+ """
7403
+ A brief description of the label, such as its purpose.
7404
+ """
7405
+ description: String
7406
+
7407
+ """
7408
+ The name of the label.
7409
+ """
7410
+ name: String!
7411
+
7412
+ """
7413
+ The Node ID of the repository.
7414
+ """
7415
+ repositoryId: ID!
7416
+ }
7417
+
7418
+ """
7419
+ Autogenerated return type of CreateLabel
7420
+ """
7421
+ type CreateLabelPayload {
7422
+ """
7423
+ A unique identifier for the client performing the mutation.
7424
+ """
7425
+ clientMutationId: String
7426
+
7427
+ """
7428
+ The new label.
7429
+ """
7430
+ label: Label
7431
+ }
7432
+
7223
7433
  """
7224
7434
  Autogenerated input type of CreateLinkedBranch
7225
7435
  """
@@ -8942,6 +9152,31 @@ type DeleteIssuePayload {
8942
9152
  repository: Repository
8943
9153
  }
8944
9154
 
9155
+ """
9156
+ Autogenerated input type of DeleteLabel
9157
+ """
9158
+ input DeleteLabelInput {
9159
+ """
9160
+ A unique identifier for the client performing the mutation.
9161
+ """
9162
+ clientMutationId: String
9163
+
9164
+ """
9165
+ The Node ID of the label to be deleted.
9166
+ """
9167
+ id: ID!
9168
+ }
9169
+
9170
+ """
9171
+ Autogenerated return type of DeleteLabel
9172
+ """
9173
+ type DeleteLabelPayload {
9174
+ """
9175
+ A unique identifier for the client performing the mutation.
9176
+ """
9177
+ clientMutationId: String
9178
+ }
9179
+
8945
9180
  """
8946
9181
  Autogenerated input type of DeleteLinkedBranch
8947
9182
  """
@@ -8972,6 +9207,36 @@ type DeleteLinkedBranchPayload {
8972
9207
  issue: Issue
8973
9208
  }
8974
9209
 
9210
+ """
9211
+ Autogenerated input type of DeletePackageVersion
9212
+ """
9213
+ input DeletePackageVersionInput {
9214
+ """
9215
+ A unique identifier for the client performing the mutation.
9216
+ """
9217
+ clientMutationId: String
9218
+
9219
+ """
9220
+ The ID of the package version to be deleted.
9221
+ """
9222
+ packageVersionId: ID!
9223
+ }
9224
+
9225
+ """
9226
+ Autogenerated return type of DeletePackageVersion
9227
+ """
9228
+ type DeletePackageVersionPayload {
9229
+ """
9230
+ A unique identifier for the client performing the mutation.
9231
+ """
9232
+ clientMutationId: String
9233
+
9234
+ """
9235
+ Whether or not the operation succeeded.
9236
+ """
9237
+ success: Boolean
9238
+ }
9239
+
8975
9240
  """
8976
9241
  Autogenerated input type of DeleteProjectCard
8977
9242
  """
@@ -9497,6 +9762,81 @@ type DependabotUpdateError {
9497
9762
  title: String!
9498
9763
  }
9499
9764
 
9765
+ """
9766
+ A dependency manifest entry
9767
+ """
9768
+ type DependencyGraphDependency {
9769
+ """
9770
+ Does the dependency itself have dependencies?
9771
+ """
9772
+ hasDependencies: Boolean!
9773
+
9774
+ """
9775
+ The original name of the package, as it appears in the manifest.
9776
+ """
9777
+ packageLabel: String! @deprecated(reason: "`packageLabel` will be removed. Use normalized `packageName` field instead. Removal on 2022-10-01 UTC.")
9778
+
9779
+ """
9780
+ The dependency package manager
9781
+ """
9782
+ packageManager: String
9783
+
9784
+ """
9785
+ The name of the package in the canonical form used by the package manager.
9786
+ """
9787
+ packageName: String!
9788
+
9789
+ """
9790
+ The repository containing the package
9791
+ """
9792
+ repository: Repository
9793
+
9794
+ """
9795
+ The dependency version requirements
9796
+ """
9797
+ requirements: String!
9798
+ }
9799
+
9800
+ """
9801
+ The connection type for DependencyGraphDependency.
9802
+ """
9803
+ type DependencyGraphDependencyConnection {
9804
+ """
9805
+ A list of edges.
9806
+ """
9807
+ edges: [DependencyGraphDependencyEdge]
9808
+
9809
+ """
9810
+ A list of nodes.
9811
+ """
9812
+ nodes: [DependencyGraphDependency]
9813
+
9814
+ """
9815
+ Information to aid in pagination.
9816
+ """
9817
+ pageInfo: PageInfo!
9818
+
9819
+ """
9820
+ Identifies the total count of items in the connection.
9821
+ """
9822
+ totalCount: Int!
9823
+ }
9824
+
9825
+ """
9826
+ An edge in a connection.
9827
+ """
9828
+ type DependencyGraphDependencyEdge {
9829
+ """
9830
+ A cursor for use in pagination.
9831
+ """
9832
+ cursor: String!
9833
+
9834
+ """
9835
+ The item at the end of the edge.
9836
+ """
9837
+ node: DependencyGraphDependency
9838
+ }
9839
+
9500
9840
  """
9501
9841
  The possible ecosystems of a dependency graph package.
9502
9842
  """
@@ -9557,6 +9897,111 @@ enum DependencyGraphEcosystem {
9557
9897
  SWIFT
9558
9898
  }
9559
9899
 
9900
+ """
9901
+ Dependency manifest for a repository
9902
+ """
9903
+ type DependencyGraphManifest implements Node {
9904
+ """
9905
+ Path to view the manifest file blob
9906
+ """
9907
+ blobPath: String!
9908
+
9909
+ """
9910
+ A list of manifest dependencies
9911
+ """
9912
+ dependencies(
9913
+ """
9914
+ Returns the elements in the list that come after the specified cursor.
9915
+ """
9916
+ after: String
9917
+
9918
+ """
9919
+ Returns the elements in the list that come before the specified cursor.
9920
+ """
9921
+ before: String
9922
+
9923
+ """
9924
+ Returns the first _n_ elements from the list.
9925
+ """
9926
+ first: Int
9927
+
9928
+ """
9929
+ Returns the last _n_ elements from the list.
9930
+ """
9931
+ last: Int
9932
+ ): DependencyGraphDependencyConnection
9933
+
9934
+ """
9935
+ The number of dependencies listed in the manifest
9936
+ """
9937
+ dependenciesCount: Int
9938
+
9939
+ """
9940
+ Is the manifest too big to parse?
9941
+ """
9942
+ exceedsMaxSize: Boolean!
9943
+
9944
+ """
9945
+ Fully qualified manifest filename
9946
+ """
9947
+ filename: String!
9948
+
9949
+ """
9950
+ The Node ID of the DependencyGraphManifest object
9951
+ """
9952
+ id: ID!
9953
+
9954
+ """
9955
+ Were we able to parse the manifest?
9956
+ """
9957
+ parseable: Boolean!
9958
+
9959
+ """
9960
+ The repository containing the manifest
9961
+ """
9962
+ repository: Repository!
9963
+ }
9964
+
9965
+ """
9966
+ The connection type for DependencyGraphManifest.
9967
+ """
9968
+ type DependencyGraphManifestConnection {
9969
+ """
9970
+ A list of edges.
9971
+ """
9972
+ edges: [DependencyGraphManifestEdge]
9973
+
9974
+ """
9975
+ A list of nodes.
9976
+ """
9977
+ nodes: [DependencyGraphManifest]
9978
+
9979
+ """
9980
+ Information to aid in pagination.
9981
+ """
9982
+ pageInfo: PageInfo!
9983
+
9984
+ """
9985
+ Identifies the total count of items in the connection.
9986
+ """
9987
+ totalCount: Int!
9988
+ }
9989
+
9990
+ """
9991
+ An edge in a connection.
9992
+ """
9993
+ type DependencyGraphManifestEdge {
9994
+ """
9995
+ A cursor for use in pagination.
9996
+ """
9997
+ cursor: String!
9998
+
9999
+ """
10000
+ The item at the end of the edge.
10001
+ """
10002
+ node: DependencyGraphManifest
10003
+ }
10004
+
9560
10005
  """
9561
10006
  A repository deploy key.
9562
10007
  """
@@ -10316,6 +10761,11 @@ type DeploymentStatus implements Node {
10316
10761
  """
10317
10762
  description: String
10318
10763
 
10764
+ """
10765
+ Identifies the environment of the deployment at the time of this deployment status
10766
+ """
10767
+ environment: String
10768
+
10319
10769
  """
10320
10770
  Identifies the environment URL of the deployment.
10321
10771
  """
@@ -15293,6 +15743,50 @@ input FileDeletion {
15293
15743
  path: String!
15294
15744
  }
15295
15745
 
15746
+ """
15747
+ Prevent commits that include files with specified file extensions from being
15748
+ pushed to the commit graph. NOTE: This rule is in beta and subject to change
15749
+ """
15750
+ type FileExtensionRestrictionParameters {
15751
+ """
15752
+ The file extensions that are restricted from being pushed to the commit graph.
15753
+ """
15754
+ restrictedFileExtensions: [String!]!
15755
+ }
15756
+
15757
+ """
15758
+ Prevent commits that include files with specified file extensions from being
15759
+ pushed to the commit graph. NOTE: This rule is in beta and subject to change
15760
+ """
15761
+ input FileExtensionRestrictionParametersInput {
15762
+ """
15763
+ The file extensions that are restricted from being pushed to the commit graph.
15764
+ """
15765
+ restrictedFileExtensions: [String!]!
15766
+ }
15767
+
15768
+ """
15769
+ Prevent commits that include changes in specified file paths from being pushed
15770
+ to the commit graph. NOTE: This rule is in beta and subject to change
15771
+ """
15772
+ type FilePathRestrictionParameters {
15773
+ """
15774
+ The file paths that are restricted from being pushed to the commit graph.
15775
+ """
15776
+ restrictedFilePaths: [String!]!
15777
+ }
15778
+
15779
+ """
15780
+ Prevent commits that include changes in specified file paths from being pushed
15781
+ to the commit graph. NOTE: This rule is in beta and subject to change
15782
+ """
15783
+ input FilePathRestrictionParametersInput {
15784
+ """
15785
+ The file paths that are restricted from being pushed to the commit graph.
15786
+ """
15787
+ restrictedFilePaths: [String!]!
15788
+ }
15789
+
15296
15790
  """
15297
15791
  The possible viewed states of a file .
15298
15792
  """
@@ -16175,6 +16669,11 @@ A Git object ID.
16175
16669
  """
16176
16670
  scalar GitObjectID
16177
16671
 
16672
+ """
16673
+ A fully qualified reference name (e.g. `refs/heads/master`).
16674
+ """
16675
+ scalar GitRefname
16676
+
16178
16677
  """
16179
16678
  Git SSH string
16180
16679
  """
@@ -16607,6 +17106,56 @@ enum IdentityProviderConfigurationState {
16607
17106
  UNCONFIGURED
16608
17107
  }
16609
17108
 
17109
+ """
17110
+ Autogenerated input type of ImportProject
17111
+ """
17112
+ input ImportProjectInput {
17113
+ """
17114
+ The description of Project.
17115
+ """
17116
+ body: String
17117
+
17118
+ """
17119
+ A unique identifier for the client performing the mutation.
17120
+ """
17121
+ clientMutationId: String
17122
+
17123
+ """
17124
+ A list of columns containing issues and pull requests.
17125
+ """
17126
+ columnImports: [ProjectColumnImport!]!
17127
+
17128
+ """
17129
+ The name of Project.
17130
+ """
17131
+ name: String!
17132
+
17133
+ """
17134
+ The name of the Organization or User to create the Project under.
17135
+ """
17136
+ ownerName: String!
17137
+
17138
+ """
17139
+ Whether the Project is public or not.
17140
+ """
17141
+ public: Boolean = false
17142
+ }
17143
+
17144
+ """
17145
+ Autogenerated return type of ImportProject
17146
+ """
17147
+ type ImportProjectPayload {
17148
+ """
17149
+ A unique identifier for the client performing the mutation.
17150
+ """
17151
+ clientMutationId: String
17152
+
17153
+ """
17154
+ The new Project!
17155
+ """
17156
+ project: Project
17157
+ }
17158
+
16610
17159
  """
16611
17160
  Autogenerated input type of InviteEnterpriseAdmin
16612
17161
  """
@@ -19807,6 +20356,50 @@ type MarketplaceListingEdge {
19807
20356
  node: MarketplaceListing
19808
20357
  }
19809
20358
 
20359
+ """
20360
+ Prevent commits that include file paths that exceed a specified character limit
20361
+ from being pushed to the commit graph. NOTE: This rule is in beta and subject to change
20362
+ """
20363
+ type MaxFilePathLengthParameters {
20364
+ """
20365
+ The maximum amount of characters allowed in file paths
20366
+ """
20367
+ maxFilePathLength: Int!
20368
+ }
20369
+
20370
+ """
20371
+ Prevent commits that include file paths that exceed a specified character limit
20372
+ from being pushed to the commit graph. NOTE: This rule is in beta and subject to change
20373
+ """
20374
+ input MaxFilePathLengthParametersInput {
20375
+ """
20376
+ The maximum amount of characters allowed in file paths
20377
+ """
20378
+ maxFilePathLength: Int!
20379
+ }
20380
+
20381
+ """
20382
+ Prevent commits that exceed a specified file size limit from being pushed to the
20383
+ commit. NOTE: This rule is in beta and subject to change
20384
+ """
20385
+ type MaxFileSizeParameters {
20386
+ """
20387
+ The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).
20388
+ """
20389
+ maxFileSize: Int!
20390
+ }
20391
+
20392
+ """
20393
+ Prevent commits that exceed a specified file size limit from being pushed to the
20394
+ commit. NOTE: This rule is in beta and subject to change
20395
+ """
20396
+ input MaxFileSizeParametersInput {
20397
+ """
20398
+ The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).
20399
+ """
20400
+ maxFileSize: Int!
20401
+ }
20402
+
19810
20403
  """
19811
20404
  Represents a member feature request notification
19812
20405
  """
@@ -20618,6 +21211,51 @@ enum MergeQueueMergingStrategy {
20618
21211
  HEADGREEN
20619
21212
  }
20620
21213
 
21214
+ """
21215
+ Detailed status information about a pull request merge.
21216
+ """
21217
+ enum MergeStateStatus {
21218
+ """
21219
+ The head ref is out of date.
21220
+ """
21221
+ BEHIND
21222
+
21223
+ """
21224
+ The merge is blocked.
21225
+ """
21226
+ BLOCKED
21227
+
21228
+ """
21229
+ Mergeable and passing commit status.
21230
+ """
21231
+ CLEAN
21232
+
21233
+ """
21234
+ The merge commit cannot be cleanly created.
21235
+ """
21236
+ DIRTY
21237
+
21238
+ """
21239
+ The merge is blocked due to the pull request being a draft.
21240
+ """
21241
+ DRAFT @deprecated(reason: "DRAFT state will be removed from this enum and `isDraft` should be used instead Use PullRequest.isDraft instead. Removal on 2021-01-01 UTC.")
21242
+
21243
+ """
21244
+ Mergeable with passing commit status and pre-receive hooks.
21245
+ """
21246
+ HAS_HOOKS
21247
+
21248
+ """
21249
+ The state cannot currently be determined.
21250
+ """
21251
+ UNKNOWN
21252
+
21253
+ """
21254
+ Mergeable with non-passing commit status.
21255
+ """
21256
+ UNSTABLE
21257
+ }
21258
+
20621
21259
  """
20622
21260
  Whether or not a PullRequest can be merged.
20623
21261
  """
@@ -21304,6 +21942,26 @@ type MovedColumnsInProjectEvent implements Node {
21304
21942
  The Node ID of the MovedColumnsInProjectEvent object
21305
21943
  """
21306
21944
  id: ID!
21945
+
21946
+ """
21947
+ Column name the issue or pull request was moved from.
21948
+ """
21949
+ previousProjectColumnName: String!
21950
+
21951
+ """
21952
+ Project referenced by event.
21953
+ """
21954
+ project: Project
21955
+
21956
+ """
21957
+ Project card referenced by this project event.
21958
+ """
21959
+ projectCard: ProjectCard
21960
+
21961
+ """
21962
+ Column name the issue or pull request was moved to.
21963
+ """
21964
+ projectColumnName: String!
21307
21965
  }
21308
21966
 
21309
21967
  """
@@ -21803,6 +22461,26 @@ type Mutation {
21803
22461
  input: CreateCommitOnBranchInput!
21804
22462
  ): CreateCommitOnBranchPayload
21805
22463
 
22464
+ """
22465
+ Creates a new deployment event.
22466
+ """
22467
+ createDeployment(
22468
+ """
22469
+ Parameters for CreateDeployment
22470
+ """
22471
+ input: CreateDeploymentInput!
22472
+ ): CreateDeploymentPayload
22473
+
22474
+ """
22475
+ Create a deployment status.
22476
+ """
22477
+ createDeploymentStatus(
22478
+ """
22479
+ Parameters for CreateDeploymentStatus
22480
+ """
22481
+ input: CreateDeploymentStatusInput!
22482
+ ): CreateDeploymentStatusPayload
22483
+
21806
22484
  """
21807
22485
  Create a discussion.
21808
22486
  """
@@ -21858,6 +22536,16 @@ type Mutation {
21858
22536
  input: CreateIssueInput!
21859
22537
  ): CreateIssuePayload
21860
22538
 
22539
+ """
22540
+ Creates a new label.
22541
+ """
22542
+ createLabel(
22543
+ """
22544
+ Parameters for CreateLabel
22545
+ """
22546
+ input: CreateLabelInput!
22547
+ ): CreateLabelPayload
22548
+
21861
22549
  """
21862
22550
  Create a branch linked to an issue.
21863
22551
  """
@@ -22109,6 +22797,16 @@ type Mutation {
22109
22797
  input: DeleteIssueCommentInput!
22110
22798
  ): DeleteIssueCommentPayload
22111
22799
 
22800
+ """
22801
+ Deletes a label.
22802
+ """
22803
+ deleteLabel(
22804
+ """
22805
+ Parameters for DeleteLabel
22806
+ """
22807
+ input: DeleteLabelInput!
22808
+ ): DeleteLabelPayload
22809
+
22112
22810
  """
22113
22811
  Unlink a branch from an issue.
22114
22812
  """
@@ -22119,6 +22817,16 @@ type Mutation {
22119
22817
  input: DeleteLinkedBranchInput!
22120
22818
  ): DeleteLinkedBranchPayload
22121
22819
 
22820
+ """
22821
+ Delete a package version.
22822
+ """
22823
+ deletePackageVersion(
22824
+ """
22825
+ Parameters for DeletePackageVersion
22826
+ """
22827
+ input: DeletePackageVersionInput!
22828
+ ): DeletePackageVersionPayload
22829
+
22122
22830
  """
22123
22831
  Deletes a project.
22124
22832
  """
@@ -22369,6 +23077,16 @@ type Mutation {
22369
23077
  input: GrantMigratorRoleInput!
22370
23078
  ): GrantMigratorRolePayload
22371
23079
 
23080
+ """
23081
+ Creates a new project by importing columns and a list of issues/PRs.
23082
+ """
23083
+ importProject(
23084
+ """
23085
+ Parameters for ImportProject
23086
+ """
23087
+ input: ImportProjectInput!
23088
+ ): ImportProjectPayload
23089
+
22372
23090
  """
22373
23091
  Invite someone to become an administrator of the enterprise.
22374
23092
  """
@@ -22590,7 +23308,8 @@ type Mutation {
22590
23308
  ): RemoveEnterpriseAdminPayload
22591
23309
 
22592
23310
  """
22593
- Removes the identity provider from an enterprise
23311
+ Removes the identity provider from an enterprise. Owners of enterprises both
23312
+ with and without Enterprise Managed Users may use this mutation.
22594
23313
  """
22595
23314
  removeEnterpriseIdentityProvider(
22596
23315
  """
@@ -23309,6 +24028,16 @@ type Mutation {
23309
24028
  input: UpdateIssueCommentInput!
23310
24029
  ): UpdateIssueCommentPayload
23311
24030
 
24031
+ """
24032
+ Updates an existing label.
24033
+ """
24034
+ updateLabel(
24035
+ """
24036
+ Parameters for UpdateLabel
24037
+ """
24038
+ input: UpdateLabelInput!
24039
+ ): UpdateLabelPayload
24040
+
23312
24041
  """
23313
24042
  Update the setting to restrict notifications to only verified or approved domains available to an owner.
23314
24043
  """
@@ -23483,6 +24212,33 @@ type Mutation {
23483
24212
  input: UpdateRefInput!
23484
24213
  ): UpdateRefPayload
23485
24214
 
24215
+ """
24216
+ Creates, updates and/or deletes multiple refs in a repository.
24217
+
24218
+ This mutation takes a list of `RefUpdate`s and performs these updates
24219
+ on the repository. All updates are performed atomically, meaning that
24220
+ if one of them is rejected, no other ref will be modified.
24221
+
24222
+ `RefUpdate.beforeOid` specifies that the given reference needs to point
24223
+ to the given value before performing any updates. A value of
24224
+ `0000000000000000000000000000000000000000` can be used to verify that
24225
+ the references should not exist.
24226
+
24227
+ `RefUpdate.afterOid` specifies the value that the given reference
24228
+ will point to after performing all updates. A value of
24229
+ `0000000000000000000000000000000000000000` can be used to delete a
24230
+ reference.
24231
+
24232
+ If `RefUpdate.force` is set to `true`, a non-fast-forward updates
24233
+ for the given reference will be allowed.
24234
+ """
24235
+ updateRefs(
24236
+ """
24237
+ Parameters for UpdateRefs
24238
+ """
24239
+ input: UpdateRefsInput!
24240
+ ): UpdateRefsPayload
24241
+
23486
24242
  """
23487
24243
  Update information about a repository.
23488
24244
  """
@@ -23553,6 +24309,16 @@ type Mutation {
23553
24309
  input: UpdateTeamDiscussionCommentInput!
23554
24310
  ): UpdateTeamDiscussionCommentPayload
23555
24311
 
24312
+ """
24313
+ Updates team review assignment.
24314
+ """
24315
+ updateTeamReviewAssignment(
24316
+ """
24317
+ Parameters for UpdateTeamReviewAssignment
24318
+ """
24319
+ input: UpdateTeamReviewAssignmentInput!
24320
+ ): UpdateTeamReviewAssignmentPayload
24321
+
23556
24322
  """
23557
24323
  Update team repository.
23558
24324
  """
@@ -31113,6 +31879,21 @@ type ProjectCardEdge {
31113
31879
  node: ProjectCard
31114
31880
  }
31115
31881
 
31882
+ """
31883
+ An issue or PR and its owning repository to be used in a project card.
31884
+ """
31885
+ input ProjectCardImport {
31886
+ """
31887
+ The issue or pull request number.
31888
+ """
31889
+ number: Int!
31890
+
31891
+ """
31892
+ Repository name with owner (owner/repository).
31893
+ """
31894
+ repository: String!
31895
+ }
31896
+
31116
31897
  """
31117
31898
  Types that can be inside Project Cards.
31118
31899
  """
@@ -31258,6 +32039,26 @@ type ProjectColumnEdge {
31258
32039
  node: ProjectColumn
31259
32040
  }
31260
32041
 
32042
+ """
32043
+ A project column and a list of its issues and PRs.
32044
+ """
32045
+ input ProjectColumnImport {
32046
+ """
32047
+ The name of the column.
32048
+ """
32049
+ columnName: String!
32050
+
32051
+ """
32052
+ A list of issues and pull requests in the column.
32053
+ """
32054
+ issues: [ProjectCardImport!]
32055
+
32056
+ """
32057
+ The position of the column, starting from 0.
32058
+ """
32059
+ position: Int!
32060
+ }
32061
+
31261
32062
  """
31262
32063
  The semantic purpose of the column - todo, in progress, or done.
31263
32064
  """
@@ -34265,6 +35066,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
34265
35066
  """
34266
35067
  bodyText: String!
34267
35068
 
35069
+ """
35070
+ Whether or not the pull request is rebaseable.
35071
+ """
35072
+ canBeRebased: Boolean!
35073
+
34268
35074
  """
34269
35075
  The number of changed files in this pull request.
34270
35076
  """
@@ -34620,6 +35426,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
34620
35426
  """
34621
35427
  mergeQueueEntry: MergeQueueEntry
34622
35428
 
35429
+ """
35430
+ Detailed information about the current pull request merge state status.
35431
+ """
35432
+ mergeStateStatus: MergeStateStatus!
35433
+
34623
35434
  """
34624
35435
  Whether or not the pull request can be merged based on the existence of merge conflicts.
34625
35436
  """
@@ -34953,6 +35764,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
34953
35764
  """
34954
35765
  state: PullRequestState!
34955
35766
 
35767
+ """
35768
+ Check and Status rollup information for the PR's head ref.
35769
+ """
35770
+ statusCheckRollup: StatusCheckRollup
35771
+
34956
35772
  """
34957
35773
  A list of reviewer suggestions based on commit history and past review comments.
34958
35774
  """
@@ -38440,6 +39256,31 @@ enum RefOrderField {
38440
39256
  TAG_COMMIT_DATE
38441
39257
  }
38442
39258
 
39259
+ """
39260
+ A ref update
39261
+ """
39262
+ input RefUpdate {
39263
+ """
39264
+ The value this ref should be updated to.
39265
+ """
39266
+ afterOid: GitObjectID!
39267
+
39268
+ """
39269
+ The value this ref needs to point to before the update.
39270
+ """
39271
+ beforeOid: GitObjectID
39272
+
39273
+ """
39274
+ Force a non fast-forward update.
39275
+ """
39276
+ force: Boolean = false
39277
+
39278
+ """
39279
+ The fully qualified name of the ref to be update. For example `refs/heads/branch-name`
39280
+ """
39281
+ name: GitRefname!
39282
+ }
39283
+
38443
39284
  """
38444
39285
  Branch protection rules that are enforced on the viewer.
38445
39286
  """
@@ -39513,6 +40354,16 @@ type RemovedFromProjectEvent implements Node {
39513
40354
  The Node ID of the RemovedFromProjectEvent object
39514
40355
  """
39515
40356
  id: ID!
40357
+
40358
+ """
40359
+ Project referenced by event.
40360
+ """
40361
+ project: Project
40362
+
40363
+ """
40364
+ Column name referenced by this project event.
40365
+ """
40366
+ projectColumnName: String!
39516
40367
  }
39517
40368
 
39518
40369
  """
@@ -42290,6 +43141,46 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
42290
43141
  """
42291
43142
  deleteBranchOnMerge: Boolean!
42292
43143
 
43144
+ """
43145
+ A list of dependency manifests contained in the repository
43146
+ """
43147
+ dependencyGraphManifests(
43148
+ """
43149
+ Returns the elements in the list that come after the specified cursor.
43150
+ """
43151
+ after: String
43152
+
43153
+ """
43154
+ Returns the elements in the list that come before the specified cursor.
43155
+ """
43156
+ before: String
43157
+
43158
+ """
43159
+ Cursor to paginate dependencies
43160
+ """
43161
+ dependenciesAfter: String
43162
+
43163
+ """
43164
+ Number of dependencies to fetch
43165
+ """
43166
+ dependenciesFirst: Int
43167
+
43168
+ """
43169
+ Returns the first _n_ elements from the list.
43170
+ """
43171
+ first: Int
43172
+
43173
+ """
43174
+ Returns the last _n_ elements from the list.
43175
+ """
43176
+ last: Int
43177
+
43178
+ """
43179
+ Flag to scope to only manifests with dependencies
43180
+ """
43181
+ withDependencies: Boolean
43182
+ ): DependencyGraphManifestConnection
43183
+
42293
43184
  """
42294
43185
  A list of deploy keys that are on this repository.
42295
43186
  """
@@ -45174,11 +46065,36 @@ enum RepositoryRuleType {
45174
46065
  """
45175
46066
  DELETION
45176
46067
 
46068
+ """
46069
+ Prevent commits that include files with specified file extensions from being
46070
+ pushed to the commit graph. NOTE: Thie rule is in beta and subject to change
46071
+ """
46072
+ FILE_EXTENSION_RESTRICTION
46073
+
46074
+ """
46075
+ Prevent commits that include changes in specified file paths from being pushed
46076
+ to the commit graph. NOTE: Thie rule is in beta and subject to change
46077
+ """
46078
+ FILE_PATH_RESTRICTION
46079
+
45177
46080
  """
45178
46081
  Branch is read-only. Users cannot push to the branch.
45179
46082
  """
45180
46083
  LOCK_BRANCH
45181
46084
 
46085
+ """
46086
+ Prevent commits that include file paths that exceed a specified character
46087
+ limit from being pushed to the commit graph. NOTE: Thie rule is in beta and
46088
+ subject to change
46089
+ """
46090
+ MAX_FILE_PATH_LENGTH
46091
+
46092
+ """
46093
+ Prevent commits that exceed a specified file size limit from being pushed to
46094
+ the commit. NOTE: Thie rule is in beta and subject to change
46095
+ """
46096
+ MAX_FILE_SIZE
46097
+
45182
46098
  """
45183
46099
  Max ref updates
45184
46100
  """
@@ -45387,6 +46303,11 @@ type RepositoryRulesetBypassActor implements Node {
45387
46303
  """
45388
46304
  bypassMode: RepositoryRulesetBypassActorBypassMode
45389
46305
 
46306
+ """
46307
+ This actor represents the ability for a deploy key to bypass
46308
+ """
46309
+ deployKey: Boolean!
46310
+
45390
46311
  """
45391
46312
  The Node ID of the RepositoryRulesetBypassActor object
45392
46313
  """
@@ -45470,7 +46391,8 @@ type RepositoryRulesetBypassActorEdge {
45470
46391
 
45471
46392
  """
45472
46393
  Specifies the attributes for a new or updated ruleset bypass actor. Only one of
45473
- `actor_id`, `repository_role_database_id`, or `organization_admin` should be specified.
46394
+ `actor_id`, `repository_role_database_id`, `organization_admin`, or `deploy_key`
46395
+ should be specified.
45474
46396
  """
45475
46397
  input RepositoryRulesetBypassActorInput {
45476
46398
  """
@@ -45483,6 +46405,11 @@ input RepositoryRulesetBypassActorInput {
45483
46405
  """
45484
46406
  bypassMode: RepositoryRulesetBypassActorBypassMode!
45485
46407
 
46408
+ """
46409
+ For deploy key bypasses, true. Can only use ALWAYS as the bypass mode
46410
+ """
46411
+ deployKey: Boolean
46412
+
45486
46413
  """
45487
46414
  For organization owner bypasses, true
45488
46415
  """
@@ -45535,7 +46462,7 @@ type RepositoryRulesetEdge {
45535
46462
  }
45536
46463
 
45537
46464
  """
45538
- The targets supported for rulesets
46465
+ The targets supported for rulesets. NOTE: The push target is in beta and subject to change.
45539
46466
  """
45540
46467
  enum RepositoryRulesetTarget {
45541
46468
  """
@@ -45543,6 +46470,11 @@ enum RepositoryRulesetTarget {
45543
46470
  """
45544
46471
  BRANCH
45545
46472
 
46473
+ """
46474
+ Push
46475
+ """
46476
+ PUSH
46477
+
45546
46478
  """
45547
46479
  Tag
45548
46480
  """
@@ -46864,7 +47796,7 @@ enum RuleEnforcement {
46864
47796
  """
46865
47797
  Types which can be parameters for `RepositoryRule` objects.
46866
47798
  """
46867
- union RuleParameters = BranchNamePatternParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters
47799
+ union RuleParameters = BranchNamePatternParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters
46868
47800
 
46869
47801
  """
46870
47802
  Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified.
@@ -46890,6 +47822,26 @@ input RuleParametersInput {
46890
47822
  """
46891
47823
  committerEmailPattern: CommitterEmailPatternParametersInput
46892
47824
 
47825
+ """
47826
+ Parameters used for the `file_extension_restriction` rule type
47827
+ """
47828
+ fileExtensionRestriction: FileExtensionRestrictionParametersInput
47829
+
47830
+ """
47831
+ Parameters used for the `file_path_restriction` rule type
47832
+ """
47833
+ filePathRestriction: FilePathRestrictionParametersInput
47834
+
47835
+ """
47836
+ Parameters used for the `max_file_path_length` rule type
47837
+ """
47838
+ maxFilePathLength: MaxFilePathLengthParametersInput
47839
+
47840
+ """
47841
+ Parameters used for the `max_file_size` rule type
47842
+ """
47843
+ maxFileSize: MaxFileSizeParametersInput
47844
+
46893
47845
  """
46894
47846
  Parameters used for the `pull_request` rule type
46895
47847
  """
@@ -51197,7 +52149,7 @@ input StartRepositoryMigrationInput {
51197
52149
  """
51198
52150
  The URL of the source repository.
51199
52151
  """
51200
- sourceRepositoryUrl: URI
52152
+ sourceRepositoryUrl: URI!
51201
52153
 
51202
52154
  """
51203
52155
  The visibility of the imported repository.
@@ -52324,6 +53276,26 @@ type Team implements MemberStatusable & Node & Subscribable {
52324
53276
  """
52325
53277
  resourcePath: URI!
52326
53278
 
53279
+ """
53280
+ What algorithm is used for review assignment for this team
53281
+ """
53282
+ reviewRequestDelegationAlgorithm: TeamReviewAssignmentAlgorithm
53283
+
53284
+ """
53285
+ True if review assignment is enabled for this team
53286
+ """
53287
+ reviewRequestDelegationEnabled: Boolean!
53288
+
53289
+ """
53290
+ How many team members are required for review assignment for this team
53291
+ """
53292
+ reviewRequestDelegationMemberCount: Int
53293
+
53294
+ """
53295
+ When assigning team members via delegation, whether the entire team should be notified as well.
53296
+ """
53297
+ reviewRequestDelegationNotifyTeam: Boolean!
53298
+
52327
53299
  """
52328
53300
  The slug corresponding to the team.
52329
53301
  """
@@ -53957,6 +54929,21 @@ enum TeamRepositoryOrderField {
53957
54929
  UPDATED_AT
53958
54930
  }
53959
54931
 
54932
+ """
54933
+ The possible team review assignment algorithms
54934
+ """
54935
+ enum TeamReviewAssignmentAlgorithm {
54936
+ """
54937
+ Balance review load across the entire team
54938
+ """
54939
+ LOAD_BALANCE
54940
+
54941
+ """
54942
+ Alternate reviews between each team member
54943
+ """
54944
+ ROUND_ROBIN
54945
+ }
54946
+
53960
54947
  """
53961
54948
  The role of a user on a team.
53962
54949
  """
@@ -56623,6 +57610,51 @@ type UpdateIssuePayload {
56623
57610
  issue: Issue
56624
57611
  }
56625
57612
 
57613
+ """
57614
+ Autogenerated input type of UpdateLabel
57615
+ """
57616
+ input UpdateLabelInput {
57617
+ """
57618
+ A unique identifier for the client performing the mutation.
57619
+ """
57620
+ clientMutationId: String
57621
+
57622
+ """
57623
+ A 6 character hex code, without the leading #, identifying the updated color of the label.
57624
+ """
57625
+ color: String
57626
+
57627
+ """
57628
+ A brief description of the label, such as its purpose.
57629
+ """
57630
+ description: String
57631
+
57632
+ """
57633
+ The Node ID of the label to be updated.
57634
+ """
57635
+ id: ID!
57636
+
57637
+ """
57638
+ The updated name of the label.
57639
+ """
57640
+ name: String
57641
+ }
57642
+
57643
+ """
57644
+ Autogenerated return type of UpdateLabel
57645
+ """
57646
+ type UpdateLabelPayload {
57647
+ """
57648
+ A unique identifier for the client performing the mutation.
57649
+ """
57650
+ clientMutationId: String
57651
+
57652
+ """
57653
+ The updated label.
57654
+ """
57655
+ label: Label
57656
+ }
57657
+
56626
57658
  """
56627
57659
  Autogenerated input type of UpdateNotificationRestrictionSetting
56628
57660
  """
@@ -57411,6 +58443,36 @@ type UpdateRefPayload {
57411
58443
  ref: Ref
57412
58444
  }
57413
58445
 
58446
+ """
58447
+ Autogenerated input type of UpdateRefs
58448
+ """
58449
+ input UpdateRefsInput {
58450
+ """
58451
+ A unique identifier for the client performing the mutation.
58452
+ """
58453
+ clientMutationId: String
58454
+
58455
+ """
58456
+ A list of ref updates.
58457
+ """
58458
+ refUpdates: [RefUpdate!]!
58459
+
58460
+ """
58461
+ The Node ID of the repository.
58462
+ """
58463
+ repositoryId: ID!
58464
+ }
58465
+
58466
+ """
58467
+ Autogenerated return type of UpdateRefs
58468
+ """
58469
+ type UpdateRefsPayload {
58470
+ """
58471
+ A unique identifier for the client performing the mutation.
58472
+ """
58473
+ clientMutationId: String
58474
+ }
58475
+
57414
58476
  """
57415
58477
  Autogenerated input type of UpdateRepository
57416
58478
  """
@@ -57771,6 +58833,76 @@ type UpdateTeamDiscussionPayload {
57771
58833
  teamDiscussion: TeamDiscussion
57772
58834
  }
57773
58835
 
58836
+ """
58837
+ Autogenerated input type of UpdateTeamReviewAssignment
58838
+ """
58839
+ input UpdateTeamReviewAssignmentInput {
58840
+ """
58841
+ The algorithm to use for review assignment
58842
+ """
58843
+ algorithm: TeamReviewAssignmentAlgorithm = ROUND_ROBIN
58844
+
58845
+ """
58846
+ A unique identifier for the client performing the mutation.
58847
+ """
58848
+ clientMutationId: String
58849
+
58850
+ """
58851
+ Count any members whose review has already been requested against the required number of members assigned to review
58852
+ """
58853
+ countMembersAlreadyRequested: Boolean = true
58854
+
58855
+ """
58856
+ Turn on or off review assignment
58857
+ """
58858
+ enabled: Boolean!
58859
+
58860
+ """
58861
+ An array of team member IDs to exclude
58862
+ """
58863
+ excludedTeamMemberIds: [ID!]
58864
+
58865
+ """
58866
+ The Node ID of the team to update review assignments of
58867
+ """
58868
+ id: ID!
58869
+
58870
+ """
58871
+ Include the members of any child teams when assigning
58872
+ """
58873
+ includeChildTeamMembers: Boolean = true
58874
+
58875
+ """
58876
+ Notify the entire team of the PR if it is delegated
58877
+ """
58878
+ notifyTeam: Boolean = true
58879
+
58880
+ """
58881
+ Remove the team review request when assigning
58882
+ """
58883
+ removeTeamRequest: Boolean = true
58884
+
58885
+ """
58886
+ The number of team members to assign
58887
+ """
58888
+ teamMemberCount: Int = 1
58889
+ }
58890
+
58891
+ """
58892
+ Autogenerated return type of UpdateTeamReviewAssignment
58893
+ """
58894
+ type UpdateTeamReviewAssignmentPayload {
58895
+ """
58896
+ A unique identifier for the client performing the mutation.
58897
+ """
58898
+ clientMutationId: String
58899
+
58900
+ """
58901
+ The team that was modified
58902
+ """
58903
+ team: Team
58904
+ }
58905
+
57774
58906
  """
57775
58907
  Autogenerated input type of UpdateTeamsRepository
57776
58908
  """