github-schema 1.7.8 → 1.7.9

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
  """
@@ -7220,6 +7250,51 @@ type CreateIssuePayload {
7220
7250
  issue: Issue
7221
7251
  }
7222
7252
 
7253
+ """
7254
+ Autogenerated input type of CreateLabel
7255
+ """
7256
+ input CreateLabelInput {
7257
+ """
7258
+ A unique identifier for the client performing the mutation.
7259
+ """
7260
+ clientMutationId: String
7261
+
7262
+ """
7263
+ A 6 character hex code, without the leading #, identifying the color of the label.
7264
+ """
7265
+ color: String!
7266
+
7267
+ """
7268
+ A brief description of the label, such as its purpose.
7269
+ """
7270
+ description: String
7271
+
7272
+ """
7273
+ The name of the label.
7274
+ """
7275
+ name: String!
7276
+
7277
+ """
7278
+ The Node ID of the repository.
7279
+ """
7280
+ repositoryId: ID!
7281
+ }
7282
+
7283
+ """
7284
+ Autogenerated return type of CreateLabel
7285
+ """
7286
+ type CreateLabelPayload {
7287
+ """
7288
+ A unique identifier for the client performing the mutation.
7289
+ """
7290
+ clientMutationId: String
7291
+
7292
+ """
7293
+ The new label.
7294
+ """
7295
+ label: Label
7296
+ }
7297
+
7223
7298
  """
7224
7299
  Autogenerated input type of CreateLinkedBranch
7225
7300
  """
@@ -8942,6 +9017,31 @@ type DeleteIssuePayload {
8942
9017
  repository: Repository
8943
9018
  }
8944
9019
 
9020
+ """
9021
+ Autogenerated input type of DeleteLabel
9022
+ """
9023
+ input DeleteLabelInput {
9024
+ """
9025
+ A unique identifier for the client performing the mutation.
9026
+ """
9027
+ clientMutationId: String
9028
+
9029
+ """
9030
+ The Node ID of the label to be deleted.
9031
+ """
9032
+ id: ID!
9033
+ }
9034
+
9035
+ """
9036
+ Autogenerated return type of DeleteLabel
9037
+ """
9038
+ type DeleteLabelPayload {
9039
+ """
9040
+ A unique identifier for the client performing the mutation.
9041
+ """
9042
+ clientMutationId: String
9043
+ }
9044
+
8945
9045
  """
8946
9046
  Autogenerated input type of DeleteLinkedBranch
8947
9047
  """
@@ -8972,6 +9072,36 @@ type DeleteLinkedBranchPayload {
8972
9072
  issue: Issue
8973
9073
  }
8974
9074
 
9075
+ """
9076
+ Autogenerated input type of DeletePackageVersion
9077
+ """
9078
+ input DeletePackageVersionInput {
9079
+ """
9080
+ A unique identifier for the client performing the mutation.
9081
+ """
9082
+ clientMutationId: String
9083
+
9084
+ """
9085
+ The ID of the package version to be deleted.
9086
+ """
9087
+ packageVersionId: ID!
9088
+ }
9089
+
9090
+ """
9091
+ Autogenerated return type of DeletePackageVersion
9092
+ """
9093
+ type DeletePackageVersionPayload {
9094
+ """
9095
+ A unique identifier for the client performing the mutation.
9096
+ """
9097
+ clientMutationId: String
9098
+
9099
+ """
9100
+ Whether or not the operation succeeded.
9101
+ """
9102
+ success: Boolean
9103
+ }
9104
+
8975
9105
  """
8976
9106
  Autogenerated input type of DeleteProjectCard
8977
9107
  """
@@ -16607,6 +16737,56 @@ enum IdentityProviderConfigurationState {
16607
16737
  UNCONFIGURED
16608
16738
  }
16609
16739
 
16740
+ """
16741
+ Autogenerated input type of ImportProject
16742
+ """
16743
+ input ImportProjectInput {
16744
+ """
16745
+ The description of Project.
16746
+ """
16747
+ body: String
16748
+
16749
+ """
16750
+ A unique identifier for the client performing the mutation.
16751
+ """
16752
+ clientMutationId: String
16753
+
16754
+ """
16755
+ A list of columns containing issues and pull requests.
16756
+ """
16757
+ columnImports: [ProjectColumnImport!]!
16758
+
16759
+ """
16760
+ The name of Project.
16761
+ """
16762
+ name: String!
16763
+
16764
+ """
16765
+ The name of the Organization or User to create the Project under.
16766
+ """
16767
+ ownerName: String!
16768
+
16769
+ """
16770
+ Whether the Project is public or not.
16771
+ """
16772
+ public: Boolean = false
16773
+ }
16774
+
16775
+ """
16776
+ Autogenerated return type of ImportProject
16777
+ """
16778
+ type ImportProjectPayload {
16779
+ """
16780
+ A unique identifier for the client performing the mutation.
16781
+ """
16782
+ clientMutationId: String
16783
+
16784
+ """
16785
+ The new Project!
16786
+ """
16787
+ project: Project
16788
+ }
16789
+
16610
16790
  """
16611
16791
  Autogenerated input type of InviteEnterpriseAdmin
16612
16792
  """
@@ -20618,6 +20798,51 @@ enum MergeQueueMergingStrategy {
20618
20798
  HEADGREEN
20619
20799
  }
20620
20800
 
20801
+ """
20802
+ Detailed status information about a pull request merge.
20803
+ """
20804
+ enum MergeStateStatus {
20805
+ """
20806
+ The head ref is out of date.
20807
+ """
20808
+ BEHIND
20809
+
20810
+ """
20811
+ The merge is blocked.
20812
+ """
20813
+ BLOCKED
20814
+
20815
+ """
20816
+ Mergeable and passing commit status.
20817
+ """
20818
+ CLEAN
20819
+
20820
+ """
20821
+ The merge commit cannot be cleanly created.
20822
+ """
20823
+ DIRTY
20824
+
20825
+ """
20826
+ The merge is blocked due to the pull request being a draft.
20827
+ """
20828
+ 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.")
20829
+
20830
+ """
20831
+ Mergeable with passing commit status and pre-receive hooks.
20832
+ """
20833
+ HAS_HOOKS
20834
+
20835
+ """
20836
+ The state cannot currently be determined.
20837
+ """
20838
+ UNKNOWN
20839
+
20840
+ """
20841
+ Mergeable with non-passing commit status.
20842
+ """
20843
+ UNSTABLE
20844
+ }
20845
+
20621
20846
  """
20622
20847
  Whether or not a PullRequest can be merged.
20623
20848
  """
@@ -21304,6 +21529,26 @@ type MovedColumnsInProjectEvent implements Node {
21304
21529
  The Node ID of the MovedColumnsInProjectEvent object
21305
21530
  """
21306
21531
  id: ID!
21532
+
21533
+ """
21534
+ Column name the issue or pull request was moved from.
21535
+ """
21536
+ previousProjectColumnName: String!
21537
+
21538
+ """
21539
+ Project referenced by event.
21540
+ """
21541
+ project: Project
21542
+
21543
+ """
21544
+ Project card referenced by this project event.
21545
+ """
21546
+ projectCard: ProjectCard
21547
+
21548
+ """
21549
+ Column name the issue or pull request was moved to.
21550
+ """
21551
+ projectColumnName: String!
21307
21552
  }
21308
21553
 
21309
21554
  """
@@ -21858,6 +22103,16 @@ type Mutation {
21858
22103
  input: CreateIssueInput!
21859
22104
  ): CreateIssuePayload
21860
22105
 
22106
+ """
22107
+ Creates a new label.
22108
+ """
22109
+ createLabel(
22110
+ """
22111
+ Parameters for CreateLabel
22112
+ """
22113
+ input: CreateLabelInput!
22114
+ ): CreateLabelPayload
22115
+
21861
22116
  """
21862
22117
  Create a branch linked to an issue.
21863
22118
  """
@@ -22109,6 +22364,16 @@ type Mutation {
22109
22364
  input: DeleteIssueCommentInput!
22110
22365
  ): DeleteIssueCommentPayload
22111
22366
 
22367
+ """
22368
+ Deletes a label.
22369
+ """
22370
+ deleteLabel(
22371
+ """
22372
+ Parameters for DeleteLabel
22373
+ """
22374
+ input: DeleteLabelInput!
22375
+ ): DeleteLabelPayload
22376
+
22112
22377
  """
22113
22378
  Unlink a branch from an issue.
22114
22379
  """
@@ -22119,6 +22384,16 @@ type Mutation {
22119
22384
  input: DeleteLinkedBranchInput!
22120
22385
  ): DeleteLinkedBranchPayload
22121
22386
 
22387
+ """
22388
+ Delete a package version.
22389
+ """
22390
+ deletePackageVersion(
22391
+ """
22392
+ Parameters for DeletePackageVersion
22393
+ """
22394
+ input: DeletePackageVersionInput!
22395
+ ): DeletePackageVersionPayload
22396
+
22122
22397
  """
22123
22398
  Deletes a project.
22124
22399
  """
@@ -22369,6 +22644,16 @@ type Mutation {
22369
22644
  input: GrantMigratorRoleInput!
22370
22645
  ): GrantMigratorRolePayload
22371
22646
 
22647
+ """
22648
+ Creates a new project by importing columns and a list of issues/PRs.
22649
+ """
22650
+ importProject(
22651
+ """
22652
+ Parameters for ImportProject
22653
+ """
22654
+ input: ImportProjectInput!
22655
+ ): ImportProjectPayload
22656
+
22372
22657
  """
22373
22658
  Invite someone to become an administrator of the enterprise.
22374
22659
  """
@@ -22590,7 +22875,8 @@ type Mutation {
22590
22875
  ): RemoveEnterpriseAdminPayload
22591
22876
 
22592
22877
  """
22593
- Removes the identity provider from an enterprise
22878
+ Removes the identity provider from an enterprise. Owners of enterprises both
22879
+ with and without Enterprise Managed Users may use this mutation.
22594
22880
  """
22595
22881
  removeEnterpriseIdentityProvider(
22596
22882
  """
@@ -23309,6 +23595,16 @@ type Mutation {
23309
23595
  input: UpdateIssueCommentInput!
23310
23596
  ): UpdateIssueCommentPayload
23311
23597
 
23598
+ """
23599
+ Updates an existing label.
23600
+ """
23601
+ updateLabel(
23602
+ """
23603
+ Parameters for UpdateLabel
23604
+ """
23605
+ input: UpdateLabelInput!
23606
+ ): UpdateLabelPayload
23607
+
23312
23608
  """
23313
23609
  Update the setting to restrict notifications to only verified or approved domains available to an owner.
23314
23610
  """
@@ -23553,6 +23849,16 @@ type Mutation {
23553
23849
  input: UpdateTeamDiscussionCommentInput!
23554
23850
  ): UpdateTeamDiscussionCommentPayload
23555
23851
 
23852
+ """
23853
+ Updates team review assignment.
23854
+ """
23855
+ updateTeamReviewAssignment(
23856
+ """
23857
+ Parameters for UpdateTeamReviewAssignment
23858
+ """
23859
+ input: UpdateTeamReviewAssignmentInput!
23860
+ ): UpdateTeamReviewAssignmentPayload
23861
+
23556
23862
  """
23557
23863
  Update team repository.
23558
23864
  """
@@ -31113,6 +31419,21 @@ type ProjectCardEdge {
31113
31419
  node: ProjectCard
31114
31420
  }
31115
31421
 
31422
+ """
31423
+ An issue or PR and its owning repository to be used in a project card.
31424
+ """
31425
+ input ProjectCardImport {
31426
+ """
31427
+ The issue or pull request number.
31428
+ """
31429
+ number: Int!
31430
+
31431
+ """
31432
+ Repository name with owner (owner/repository).
31433
+ """
31434
+ repository: String!
31435
+ }
31436
+
31116
31437
  """
31117
31438
  Types that can be inside Project Cards.
31118
31439
  """
@@ -31258,6 +31579,26 @@ type ProjectColumnEdge {
31258
31579
  node: ProjectColumn
31259
31580
  }
31260
31581
 
31582
+ """
31583
+ A project column and a list of its issues and PRs.
31584
+ """
31585
+ input ProjectColumnImport {
31586
+ """
31587
+ The name of the column.
31588
+ """
31589
+ columnName: String!
31590
+
31591
+ """
31592
+ A list of issues and pull requests in the column.
31593
+ """
31594
+ issues: [ProjectCardImport!]
31595
+
31596
+ """
31597
+ The position of the column, starting from 0.
31598
+ """
31599
+ position: Int!
31600
+ }
31601
+
31261
31602
  """
31262
31603
  The semantic purpose of the column - todo, in progress, or done.
31263
31604
  """
@@ -34265,6 +34606,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
34265
34606
  """
34266
34607
  bodyText: String!
34267
34608
 
34609
+ """
34610
+ Whether or not the pull request is rebaseable.
34611
+ """
34612
+ canBeRebased: Boolean!
34613
+
34268
34614
  """
34269
34615
  The number of changed files in this pull request.
34270
34616
  """
@@ -34620,6 +34966,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
34620
34966
  """
34621
34967
  mergeQueueEntry: MergeQueueEntry
34622
34968
 
34969
+ """
34970
+ Detailed information about the current pull request merge state status.
34971
+ """
34972
+ mergeStateStatus: MergeStateStatus!
34973
+
34623
34974
  """
34624
34975
  Whether or not the pull request can be merged based on the existence of merge conflicts.
34625
34976
  """
@@ -34953,6 +35304,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
34953
35304
  """
34954
35305
  state: PullRequestState!
34955
35306
 
35307
+ """
35308
+ Check and Status rollup information for the PR's head ref.
35309
+ """
35310
+ statusCheckRollup: StatusCheckRollup
35311
+
34956
35312
  """
34957
35313
  A list of reviewer suggestions based on commit history and past review comments.
34958
35314
  """
@@ -39513,6 +39869,16 @@ type RemovedFromProjectEvent implements Node {
39513
39869
  The Node ID of the RemovedFromProjectEvent object
39514
39870
  """
39515
39871
  id: ID!
39872
+
39873
+ """
39874
+ Project referenced by event.
39875
+ """
39876
+ project: Project
39877
+
39878
+ """
39879
+ Column name referenced by this project event.
39880
+ """
39881
+ projectColumnName: String!
39516
39882
  }
39517
39883
 
39518
39884
  """
@@ -51197,7 +51563,7 @@ input StartRepositoryMigrationInput {
51197
51563
  """
51198
51564
  The URL of the source repository.
51199
51565
  """
51200
- sourceRepositoryUrl: URI
51566
+ sourceRepositoryUrl: URI!
51201
51567
 
51202
51568
  """
51203
51569
  The visibility of the imported repository.
@@ -52324,6 +52690,26 @@ type Team implements MemberStatusable & Node & Subscribable {
52324
52690
  """
52325
52691
  resourcePath: URI!
52326
52692
 
52693
+ """
52694
+ What algorithm is used for review assignment for this team
52695
+ """
52696
+ reviewRequestDelegationAlgorithm: TeamReviewAssignmentAlgorithm
52697
+
52698
+ """
52699
+ True if review assignment is enabled for this team
52700
+ """
52701
+ reviewRequestDelegationEnabled: Boolean!
52702
+
52703
+ """
52704
+ How many team members are required for review assignment for this team
52705
+ """
52706
+ reviewRequestDelegationMemberCount: Int
52707
+
52708
+ """
52709
+ When assigning team members via delegation, whether the entire team should be notified as well.
52710
+ """
52711
+ reviewRequestDelegationNotifyTeam: Boolean!
52712
+
52327
52713
  """
52328
52714
  The slug corresponding to the team.
52329
52715
  """
@@ -53957,6 +54343,21 @@ enum TeamRepositoryOrderField {
53957
54343
  UPDATED_AT
53958
54344
  }
53959
54345
 
54346
+ """
54347
+ The possible team review assignment algorithms
54348
+ """
54349
+ enum TeamReviewAssignmentAlgorithm {
54350
+ """
54351
+ Balance review load across the entire team
54352
+ """
54353
+ LOAD_BALANCE
54354
+
54355
+ """
54356
+ Alternate reviews between each team member
54357
+ """
54358
+ ROUND_ROBIN
54359
+ }
54360
+
53960
54361
  """
53961
54362
  The role of a user on a team.
53962
54363
  """
@@ -56623,6 +57024,51 @@ type UpdateIssuePayload {
56623
57024
  issue: Issue
56624
57025
  }
56625
57026
 
57027
+ """
57028
+ Autogenerated input type of UpdateLabel
57029
+ """
57030
+ input UpdateLabelInput {
57031
+ """
57032
+ A unique identifier for the client performing the mutation.
57033
+ """
57034
+ clientMutationId: String
57035
+
57036
+ """
57037
+ A 6 character hex code, without the leading #, identifying the updated color of the label.
57038
+ """
57039
+ color: String
57040
+
57041
+ """
57042
+ A brief description of the label, such as its purpose.
57043
+ """
57044
+ description: String
57045
+
57046
+ """
57047
+ The Node ID of the label to be updated.
57048
+ """
57049
+ id: ID!
57050
+
57051
+ """
57052
+ The updated name of the label.
57053
+ """
57054
+ name: String
57055
+ }
57056
+
57057
+ """
57058
+ Autogenerated return type of UpdateLabel
57059
+ """
57060
+ type UpdateLabelPayload {
57061
+ """
57062
+ A unique identifier for the client performing the mutation.
57063
+ """
57064
+ clientMutationId: String
57065
+
57066
+ """
57067
+ The updated label.
57068
+ """
57069
+ label: Label
57070
+ }
57071
+
56626
57072
  """
56627
57073
  Autogenerated input type of UpdateNotificationRestrictionSetting
56628
57074
  """
@@ -57771,6 +58217,76 @@ type UpdateTeamDiscussionPayload {
57771
58217
  teamDiscussion: TeamDiscussion
57772
58218
  }
57773
58219
 
58220
+ """
58221
+ Autogenerated input type of UpdateTeamReviewAssignment
58222
+ """
58223
+ input UpdateTeamReviewAssignmentInput {
58224
+ """
58225
+ The algorithm to use for review assignment
58226
+ """
58227
+ algorithm: TeamReviewAssignmentAlgorithm = ROUND_ROBIN
58228
+
58229
+ """
58230
+ A unique identifier for the client performing the mutation.
58231
+ """
58232
+ clientMutationId: String
58233
+
58234
+ """
58235
+ Count any members whose review has already been requested against the required number of members assigned to review
58236
+ """
58237
+ countMembersAlreadyRequested: Boolean = true
58238
+
58239
+ """
58240
+ Turn on or off review assignment
58241
+ """
58242
+ enabled: Boolean!
58243
+
58244
+ """
58245
+ An array of team member IDs to exclude
58246
+ """
58247
+ excludedTeamMemberIds: [ID!]
58248
+
58249
+ """
58250
+ The Node ID of the team to update review assignments of
58251
+ """
58252
+ id: ID!
58253
+
58254
+ """
58255
+ Include the members of any child teams when assigning
58256
+ """
58257
+ includeChildTeamMembers: Boolean = true
58258
+
58259
+ """
58260
+ Notify the entire team of the PR if it is delegated
58261
+ """
58262
+ notifyTeam: Boolean = true
58263
+
58264
+ """
58265
+ Remove the team review request when assigning
58266
+ """
58267
+ removeTeamRequest: Boolean = true
58268
+
58269
+ """
58270
+ The number of team members to assign
58271
+ """
58272
+ teamMemberCount: Int = 1
58273
+ }
58274
+
58275
+ """
58276
+ Autogenerated return type of UpdateTeamReviewAssignment
58277
+ """
58278
+ type UpdateTeamReviewAssignmentPayload {
58279
+ """
58280
+ A unique identifier for the client performing the mutation.
58281
+ """
58282
+ clientMutationId: String
58283
+
58284
+ """
58285
+ The team that was modified
58286
+ """
58287
+ team: Team
58288
+ }
58289
+
57774
58290
  """
57775
58291
  Autogenerated input type of UpdateTeamsRepository
57776
58292
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.7.8",
3
+ "version": "1.7.9",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "type": "module",
6
6
  "author": {