github-schema 1.12.0 → 1.12.2

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.
@@ -1026,6 +1026,56 @@ type AddStarPayload {
1026
1026
  starrable: Starrable
1027
1027
  }
1028
1028
 
1029
+ """
1030
+ Autogenerated input type of AddSubIssue
1031
+ """
1032
+ input AddSubIssueInput {
1033
+ """
1034
+ A unique identifier for the client performing the mutation.
1035
+ """
1036
+ clientMutationId: String
1037
+
1038
+ """
1039
+ The id of the issue.
1040
+ """
1041
+ issueId: ID!
1042
+
1043
+ """
1044
+ Option to replace parent issue if one already exists
1045
+ """
1046
+ replaceParent: Boolean
1047
+
1048
+ """
1049
+ The id of the sub-issue.
1050
+ """
1051
+ subIssueId: ID
1052
+
1053
+ """
1054
+ The url of the sub-issue.
1055
+ """
1056
+ subIssueUrl: String
1057
+ }
1058
+
1059
+ """
1060
+ Autogenerated return type of AddSubIssue.
1061
+ """
1062
+ type AddSubIssuePayload {
1063
+ """
1064
+ A unique identifier for the client performing the mutation.
1065
+ """
1066
+ clientMutationId: String
1067
+
1068
+ """
1069
+ The parent issue that the sub-issue was added to.
1070
+ """
1071
+ issue: Issue
1072
+
1073
+ """
1074
+ The sub-issue of the parent.
1075
+ """
1076
+ subIssue: Issue
1077
+ }
1078
+
1029
1079
  """
1030
1080
  Autogenerated input type of AddUpvote
1031
1081
  """
@@ -7566,6 +7616,11 @@ input CreateIssueInput {
7566
7616
  """
7567
7617
  milestoneId: ID
7568
7618
 
7619
+ """
7620
+ The Node ID of the parent issue to add this new issue to
7621
+ """
7622
+ parentIssueId: ID
7623
+
7569
7624
  """
7570
7625
  An array of Node IDs for projects associated with this issue.
7571
7626
  """
@@ -10308,6 +10363,11 @@ type DeployKey implements Node {
10308
10363
  """
10309
10364
  createdAt: DateTime!
10310
10365
 
10366
+ """
10367
+ Whether or not the deploy key is enabled by policy at the Enterprise or Organization level.
10368
+ """
10369
+ enabled: Boolean!
10370
+
10311
10371
  """
10312
10372
  The Node ID of the DeployKey object
10313
10373
  """
@@ -12922,6 +12982,41 @@ type Enterprise implements AnnouncementBannerI & Node {
12922
12982
  """
12923
12983
  resourcePath: URI!
12924
12984
 
12985
+ """
12986
+ Returns a single ruleset from the current enterprise by ID.
12987
+ """
12988
+ ruleset(
12989
+ """
12990
+ The ID of the ruleset to be returned.
12991
+ """
12992
+ databaseId: Int!
12993
+ ): RepositoryRuleset
12994
+
12995
+ """
12996
+ A list of rulesets for this enterprise.
12997
+ """
12998
+ rulesets(
12999
+ """
13000
+ Returns the elements in the list that come after the specified cursor.
13001
+ """
13002
+ after: String
13003
+
13004
+ """
13005
+ Returns the elements in the list that come before the specified cursor.
13006
+ """
13007
+ before: String
13008
+
13009
+ """
13010
+ Returns the first _n_ elements from the list.
13011
+ """
13012
+ first: Int
13013
+
13014
+ """
13015
+ Returns the last _n_ elements from the list.
13016
+ """
13017
+ last: Int
13018
+ ): RepositoryRulesetConnection
13019
+
12925
13020
  """
12926
13021
  The URL-friendly identifier for the enterprise.
12927
13022
  """
@@ -14757,6 +14852,46 @@ type EnterpriseOwnerInfo {
14757
14852
  query: String
14758
14853
  ): EnterpriseMemberInvitationConnection!
14759
14854
 
14855
+ """
14856
+ The setting value for whether deploy keys are enabled for repositories in organizations in this enterprise.
14857
+ """
14858
+ repositoryDeployKeySetting: EnterpriseEnabledDisabledSettingValue!
14859
+
14860
+ """
14861
+ A list of enterprise organizations configured with the provided deploy keys setting value.
14862
+ """
14863
+ repositoryDeployKeySettingOrganizations(
14864
+ """
14865
+ Returns the elements in the list that come after the specified cursor.
14866
+ """
14867
+ after: String
14868
+
14869
+ """
14870
+ Returns the elements in the list that come before the specified cursor.
14871
+ """
14872
+ before: String
14873
+
14874
+ """
14875
+ Returns the first _n_ elements from the list.
14876
+ """
14877
+ first: Int
14878
+
14879
+ """
14880
+ Returns the last _n_ elements from the list.
14881
+ """
14882
+ last: Int
14883
+
14884
+ """
14885
+ Ordering options for organizations with this setting.
14886
+ """
14887
+ orderBy: OrganizationOrder = {field: LOGIN, direction: ASC}
14888
+
14889
+ """
14890
+ The setting value to find organizations for.
14891
+ """
14892
+ value: Boolean!
14893
+ ): OrganizationConnection!
14894
+
14760
14895
  """
14761
14896
  The setting value for whether repository projects are enabled in this enterprise.
14762
14897
  """
@@ -18231,6 +18366,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18231
18366
  """
18232
18367
  number: Int!
18233
18368
 
18369
+ """
18370
+ The parent entity of the issue.
18371
+ """
18372
+ parent: Issue
18373
+
18234
18374
  """
18235
18375
  A list of Users that are participating in the Issue conversation.
18236
18376
  """
@@ -18431,6 +18571,36 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18431
18571
  """
18432
18572
  stateReason: IssueStateReason
18433
18573
 
18574
+ """
18575
+ A list of sub-issues associated with the Issue.
18576
+ """
18577
+ subIssues(
18578
+ """
18579
+ Returns the elements in the list that come after the specified cursor.
18580
+ """
18581
+ after: String
18582
+
18583
+ """
18584
+ Returns the elements in the list that come before the specified cursor.
18585
+ """
18586
+ before: String
18587
+
18588
+ """
18589
+ Returns the first _n_ elements from the list.
18590
+ """
18591
+ first: Int
18592
+
18593
+ """
18594
+ Returns the last _n_ elements from the list.
18595
+ """
18596
+ last: Int
18597
+ ): IssueConnection!
18598
+
18599
+ """
18600
+ Summary of the state of an issue's sub-issues
18601
+ """
18602
+ subIssuesSummary: SubIssuesSummary!
18603
+
18434
18604
  """
18435
18605
  A list of events, comments, commits, etc. associated with the issue.
18436
18606
  """
@@ -20510,41 +20680,6 @@ type MarkFileAsViewedPayload {
20510
20680
  pullRequest: PullRequest
20511
20681
  }
20512
20682
 
20513
- """
20514
- Autogenerated input type of MarkNotificationAsDone
20515
- """
20516
- input MarkNotificationAsDoneInput {
20517
- """
20518
- A unique identifier for the client performing the mutation.
20519
- """
20520
- clientMutationId: String
20521
-
20522
- """
20523
- The NotificationThread id.
20524
- """
20525
- id: ID!
20526
- }
20527
-
20528
- """
20529
- Autogenerated return type of MarkNotificationAsDone.
20530
- """
20531
- type MarkNotificationAsDonePayload {
20532
- """
20533
- A unique identifier for the client performing the mutation.
20534
- """
20535
- clientMutationId: String
20536
-
20537
- """
20538
- Did the operation succeed?
20539
- """
20540
- success: Boolean
20541
-
20542
- """
20543
- The user that the notification belongs to.
20544
- """
20545
- viewer: User
20546
- }
20547
-
20548
20683
  """
20549
20684
  Autogenerated input type of MarkProjectV2AsTemplate
20550
20685
  """
@@ -22987,6 +23122,16 @@ type Mutation {
22987
23122
  input: AddStarInput!
22988
23123
  ): AddStarPayload
22989
23124
 
23125
+ """
23126
+ Adds a sub-issue to a given issue
23127
+ """
23128
+ addSubIssue(
23129
+ """
23130
+ Parameters for AddSubIssue
23131
+ """
23132
+ input: AddSubIssueInput!
23133
+ ): AddSubIssuePayload
23134
+
22990
23135
  """
22991
23136
  Add an upvote to a discussion or discussion comment.
22992
23137
  """
@@ -24016,16 +24161,6 @@ type Mutation {
24016
24161
  input: MarkFileAsViewedInput!
24017
24162
  ): MarkFileAsViewedPayload
24018
24163
 
24019
- """
24020
- Marks a notification as done
24021
- """
24022
- markNotificationAsDone(
24023
- """
24024
- Parameters for MarkNotificationAsDone
24025
- """
24026
- input: MarkNotificationAsDoneInput!
24027
- ): MarkNotificationAsDonePayload
24028
-
24029
24164
  """
24030
24165
  Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template.
24031
24166
  """
@@ -24257,6 +24392,16 @@ type Mutation {
24257
24392
  input: RemoveStarInput!
24258
24393
  ): RemoveStarPayload
24259
24394
 
24395
+ """
24396
+ Removes a sub-issue from a given issue
24397
+ """
24398
+ removeSubIssue(
24399
+ """
24400
+ Parameters for RemoveSubIssue
24401
+ """
24402
+ input: RemoveSubIssueInput!
24403
+ ): RemoveSubIssuePayload
24404
+
24260
24405
  """
24261
24406
  Remove an upvote to a discussion or discussion comment.
24262
24407
  """
@@ -24307,6 +24452,16 @@ type Mutation {
24307
24452
  input: ReorderEnvironmentInput!
24308
24453
  ): ReorderEnvironmentPayload
24309
24454
 
24455
+ """
24456
+ Reprioritizes a sub-issue to a different position in the parent list.
24457
+ """
24458
+ reprioritizeSubIssue(
24459
+ """
24460
+ Parameters for ReprioritizeSubIssue
24461
+ """
24462
+ input: ReprioritizeSubIssueInput!
24463
+ ): ReprioritizeSubIssuePayload
24464
+
24310
24465
  """
24311
24466
  Set review requests on a pull request.
24312
24467
  """
@@ -24617,16 +24772,6 @@ type Mutation {
24617
24772
  input: UnresolveReviewThreadInput!
24618
24773
  ): UnresolveReviewThreadPayload
24619
24774
 
24620
- """
24621
- Unsubscribes from notifications
24622
- """
24623
- unsubscribeFromNotifications(
24624
- """
24625
- Parameters for UnsubscribeFromNotifications
24626
- """
24627
- input: UnsubscribeFromNotificationsInput!
24628
- ): UnsubscribeFromNotificationsPayload
24629
-
24630
24775
  """
24631
24776
  Update a branch protection rule
24632
24777
  """
@@ -25040,6 +25185,16 @@ type Mutation {
25040
25185
  input: UpdateProjectV2DraftIssueInput!
25041
25186
  ): UpdateProjectV2DraftIssuePayload
25042
25187
 
25188
+ """
25189
+ Update a project field.
25190
+ """
25191
+ updateProjectV2Field(
25192
+ """
25193
+ Parameters for UpdateProjectV2Field
25194
+ """
25195
+ input: UpdateProjectV2FieldInput!
25196
+ ): UpdateProjectV2FieldPayload
25197
+
25043
25198
  """
25044
25199
  This mutation updates the value of a field for an item in a Project. Currently
25045
25200
  only single-select, text, number, date, and iteration fields are supported.
@@ -37669,6 +37824,12 @@ enum PullRequestOrderField {
37669
37824
  Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
37670
37825
  """
37671
37826
  type PullRequestParameters {
37827
+ """
37828
+ When merging pull requests, you can allow any combination of merge commits,
37829
+ squashing, or rebasing. At least one option must be enabled.
37830
+ """
37831
+ allowedMergeMethods: [String!]
37832
+
37672
37833
  """
37673
37834
  New, reviewable commits pushed will dismiss previous pull request review approvals.
37674
37835
  """
@@ -37699,6 +37860,12 @@ type PullRequestParameters {
37699
37860
  Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
37700
37861
  """
37701
37862
  input PullRequestParametersInput {
37863
+ """
37864
+ When merging pull requests, you can allow any combination of merge commits,
37865
+ squashing, or rebasing. At least one option must be enabled.
37866
+ """
37867
+ allowedMergeMethods: [String!]
37868
+
37702
37869
  """
37703
37870
  New, reviewable commits pushed will dismiss previous pull request review approvals.
37704
37871
  """
@@ -41615,6 +41782,46 @@ type RemoveStarPayload {
41615
41782
  starrable: Starrable
41616
41783
  }
41617
41784
 
41785
+ """
41786
+ Autogenerated input type of RemoveSubIssue
41787
+ """
41788
+ input RemoveSubIssueInput {
41789
+ """
41790
+ A unique identifier for the client performing the mutation.
41791
+ """
41792
+ clientMutationId: String
41793
+
41794
+ """
41795
+ The id of the issue.
41796
+ """
41797
+ issueId: ID!
41798
+
41799
+ """
41800
+ The id of the sub-issue.
41801
+ """
41802
+ subIssueId: ID!
41803
+ }
41804
+
41805
+ """
41806
+ Autogenerated return type of RemoveSubIssue.
41807
+ """
41808
+ type RemoveSubIssuePayload {
41809
+ """
41810
+ A unique identifier for the client performing the mutation.
41811
+ """
41812
+ clientMutationId: String
41813
+
41814
+ """
41815
+ The parent of the sub-issue.
41816
+ """
41817
+ issue: Issue
41818
+
41819
+ """
41820
+ The sub-issue of the parent.
41821
+ """
41822
+ subIssue: Issue
41823
+ }
41824
+
41618
41825
  """
41619
41826
  Autogenerated input type of RemoveUpvote
41620
41827
  """
@@ -47926,6 +48133,11 @@ enum RepositoryRulesetTarget {
47926
48133
  """
47927
48134
  PUSH
47928
48135
 
48136
+ """
48137
+ repository
48138
+ """
48139
+ REPOSITORY
48140
+
47929
48141
  """
47930
48142
  Tag
47931
48143
  """
@@ -48412,6 +48624,51 @@ enum RepositoryVulnerabilityAlertState {
48412
48624
  OPEN
48413
48625
  }
48414
48626
 
48627
+ """
48628
+ Autogenerated input type of ReprioritizeSubIssue
48629
+ """
48630
+ input ReprioritizeSubIssueInput {
48631
+ """
48632
+ The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified).
48633
+ """
48634
+ afterId: ID
48635
+
48636
+ """
48637
+ The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified).
48638
+ """
48639
+ beforeId: ID
48640
+
48641
+ """
48642
+ A unique identifier for the client performing the mutation.
48643
+ """
48644
+ clientMutationId: String
48645
+
48646
+ """
48647
+ The id of the parent issue.
48648
+ """
48649
+ issueId: ID!
48650
+
48651
+ """
48652
+ The id of the sub-issue to reprioritize.
48653
+ """
48654
+ subIssueId: ID!
48655
+ }
48656
+
48657
+ """
48658
+ Autogenerated return type of ReprioritizeSubIssue.
48659
+ """
48660
+ type ReprioritizeSubIssuePayload {
48661
+ """
48662
+ A unique identifier for the client performing the mutation.
48663
+ """
48664
+ clientMutationId: String
48665
+
48666
+ """
48667
+ The parent issue that the sub-issue was reprioritized in.
48668
+ """
48669
+ issue: Issue
48670
+ }
48671
+
48415
48672
  """
48416
48673
  Autogenerated input type of RequestReviews
48417
48674
  """
@@ -54028,6 +54285,26 @@ type StripeConnectAccount {
54028
54285
  stripeDashboardUrl: URI!
54029
54286
  }
54030
54287
 
54288
+ """
54289
+ Summary of the state of an issue's sub-issues
54290
+ """
54291
+ type SubIssuesSummary {
54292
+ """
54293
+ Count of completed sub-issues
54294
+ """
54295
+ completed: Int!
54296
+
54297
+ """
54298
+ Percent of sub-issues which are completed
54299
+ """
54300
+ percentCompleted: Int!
54301
+
54302
+ """
54303
+ Count of total number of sub-issues
54304
+ """
54305
+ total: Int!
54306
+ }
54307
+
54031
54308
  """
54032
54309
  Autogenerated input type of SubmitPullRequestReview
54033
54310
  """
@@ -57724,36 +58001,6 @@ type UnresolveReviewThreadPayload {
57724
58001
  thread: PullRequestReviewThread
57725
58002
  }
57726
58003
 
57727
- """
57728
- Autogenerated input type of UnsubscribeFromNotifications
57729
- """
57730
- input UnsubscribeFromNotificationsInput {
57731
- """
57732
- A unique identifier for the client performing the mutation.
57733
- """
57734
- clientMutationId: String
57735
-
57736
- """
57737
- The NotificationThread IDs of the objects to unsubscribe from.
57738
- """
57739
- ids: [ID!]!
57740
- }
57741
-
57742
- """
57743
- Autogenerated return type of UnsubscribeFromNotifications.
57744
- """
57745
- type UnsubscribeFromNotificationsPayload {
57746
- """
57747
- A unique identifier for the client performing the mutation.
57748
- """
57749
- clientMutationId: String
57750
-
57751
- """
57752
- Did the operation succeed?
57753
- """
57754
- success: Boolean
57755
- }
57756
-
57757
58004
  """
57758
58005
  Represents an 'unsubscribed' event on a given `Subscribable`.
57759
58006
  """
@@ -59663,6 +59910,48 @@ type UpdateProjectV2DraftIssuePayload {
59663
59910
  draftIssue: DraftIssue
59664
59911
  }
59665
59912
 
59913
+ """
59914
+ Autogenerated input type of UpdateProjectV2Field
59915
+ """
59916
+ input UpdateProjectV2FieldInput {
59917
+ """
59918
+ A unique identifier for the client performing the mutation.
59919
+ """
59920
+ clientMutationId: String
59921
+
59922
+ """
59923
+ The ID of the field to update.
59924
+ """
59925
+ fieldId: ID!
59926
+
59927
+ """
59928
+ The name to update.
59929
+ """
59930
+ name: String
59931
+
59932
+ """
59933
+ Options for a field of type SINGLE_SELECT. If empty, no changes will be made
59934
+ to the options. If values are present, they will overwrite the existing
59935
+ options for the field.
59936
+ """
59937
+ singleSelectOptions: [ProjectV2SingleSelectFieldOptionInput!]
59938
+ }
59939
+
59940
+ """
59941
+ Autogenerated return type of UpdateProjectV2Field.
59942
+ """
59943
+ type UpdateProjectV2FieldPayload {
59944
+ """
59945
+ A unique identifier for the client performing the mutation.
59946
+ """
59947
+ clientMutationId: String
59948
+
59949
+ """
59950
+ The updated field.
59951
+ """
59952
+ projectV2Field: ProjectV2FieldConfiguration
59953
+ }
59954
+
59666
59955
  """
59667
59956
  Autogenerated input type of UpdateProjectV2
59668
59957
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.12.0",
3
+ "version": "1.12.2",
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.2",
11
+ "packageManager": "pnpm@9.14.4",
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/luxass/github-schema",
14
14
  "repository": {