github-schema 1.10.1 → 1.10.3

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.
@@ -11578,6 +11578,11 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable
11578
11578
  """
11579
11579
  viewerCanDelete: Boolean!
11580
11580
 
11581
+ """
11582
+ Indicates if the viewer can edit labels for this object.
11583
+ """
11584
+ viewerCanLabel: Boolean!
11585
+
11581
11586
  """
11582
11587
  Can user react to this subject
11583
11588
  """
@@ -17947,6 +17952,46 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
17947
17952
  """
17948
17953
  closedAt: DateTime
17949
17954
 
17955
+ """
17956
+ List of open pull requests referenced from this issue
17957
+ """
17958
+ closedByPullRequestsReferences(
17959
+ """
17960
+ Returns the elements in the list that come after the specified cursor.
17961
+ """
17962
+ after: String
17963
+
17964
+ """
17965
+ Returns the elements in the list that come before the specified cursor.
17966
+ """
17967
+ before: String
17968
+
17969
+ """
17970
+ Returns the first _n_ elements from the list.
17971
+ """
17972
+ first: Int
17973
+
17974
+ """
17975
+ Include closed PRs in results
17976
+ """
17977
+ includeClosedPrs: Boolean = false
17978
+
17979
+ """
17980
+ Returns the last _n_ elements from the list.
17981
+ """
17982
+ last: Int
17983
+
17984
+ """
17985
+ Return results ordered by state
17986
+ """
17987
+ orderByState: Boolean = false
17988
+
17989
+ """
17990
+ Return only manually linked PRs
17991
+ """
17992
+ userLinkedOnly: Boolean = false
17993
+ ): PullRequestConnection
17994
+
17950
17995
  """
17951
17996
  A list of comments associated with the Issue.
17952
17997
  """
@@ -18226,6 +18271,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18226
18271
  """
18227
18272
  last: Int
18228
18273
 
18274
+ """
18275
+ Filter projects based on user role.
18276
+ """
18277
+ minPermissionLevel: ProjectV2PermissionLevel = READ
18278
+
18229
18279
  """
18230
18280
  How to order the returned projects.
18231
18281
  """
@@ -18487,6 +18537,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18487
18537
  """
18488
18538
  viewerCanDelete: Boolean!
18489
18539
 
18540
+ """
18541
+ Indicates if the viewer can edit labels for this object.
18542
+ """
18543
+ viewerCanLabel: Boolean!
18544
+
18490
18545
  """
18491
18546
  Can user react to this subject
18492
18547
  """
@@ -19671,6 +19726,11 @@ interface Labelable {
19671
19726
  """
19672
19727
  orderBy: LabelOrder = {field: CREATED_AT, direction: ASC}
19673
19728
  ): LabelConnection
19729
+
19730
+ """
19731
+ Indicates if the viewer can edit labels for this object.
19732
+ """
19733
+ viewerCanLabel: Boolean!
19674
19734
  }
19675
19735
 
19676
19736
  """
@@ -21718,6 +21778,44 @@ enum MergeQueueEntryState {
21718
21778
  UNMERGEABLE
21719
21779
  }
21720
21780
 
21781
+ """
21782
+ When set to ALLGREEN, the merge commit created by merge queue for each PR in the
21783
+ group must pass all required checks to merge. When set to HEADGREEN, only the
21784
+ commit at the head of the merge group, i.e. the commit containing changes from
21785
+ all of the PRs in the group, must pass its required checks to merge.
21786
+ """
21787
+ enum MergeQueueGroupingStrategy {
21788
+ """
21789
+ The merge commit created by merge queue for each PR in the group must pass all required checks to merge
21790
+ """
21791
+ ALLGREEN
21792
+
21793
+ """
21794
+ Only the commit at the head of the merge group must pass its required checks to merge.
21795
+ """
21796
+ HEADGREEN
21797
+ }
21798
+
21799
+ """
21800
+ Method to use when merging changes from queued pull requests.
21801
+ """
21802
+ enum MergeQueueMergeMethod {
21803
+ """
21804
+ Merge commit
21805
+ """
21806
+ MERGE
21807
+
21808
+ """
21809
+ Rebase and merge
21810
+ """
21811
+ REBASE
21812
+
21813
+ """
21814
+ Squash and merge
21815
+ """
21816
+ SQUASH
21817
+ }
21818
+
21721
21819
  """
21722
21820
  The possible merging strategies for a merge queue.
21723
21821
  """
@@ -21733,6 +21831,100 @@ enum MergeQueueMergingStrategy {
21733
21831
  HEADGREEN
21734
21832
  }
21735
21833
 
21834
+ """
21835
+ Merges must be performed via a merge queue.
21836
+ """
21837
+ type MergeQueueParameters {
21838
+ """
21839
+ Maximum time for a required status check to report a conclusion. After this
21840
+ much time has elapsed, checks that have not reported a conclusion will be
21841
+ assumed to have failed
21842
+ """
21843
+ checkResponseTimeoutMinutes: Int!
21844
+
21845
+ """
21846
+ When set to ALLGREEN, the merge commit created by merge queue for each PR in
21847
+ the group must pass all required checks to merge. When set to HEADGREEN, only
21848
+ the commit at the head of the merge group, i.e. the commit containing changes
21849
+ from all of the PRs in the group, must pass its required checks to merge.
21850
+ """
21851
+ groupingStrategy: MergeQueueGroupingStrategy!
21852
+
21853
+ """
21854
+ Limit the number of queued pull requests requesting checks and workflow runs at the same time.
21855
+ """
21856
+ maxEntriesToBuild: Int!
21857
+
21858
+ """
21859
+ The maximum number of PRs that will be merged together in a group.
21860
+ """
21861
+ maxEntriesToMerge: Int!
21862
+
21863
+ """
21864
+ Method to use when merging changes from queued pull requests.
21865
+ """
21866
+ mergeMethod: MergeQueueMergeMethod!
21867
+
21868
+ """
21869
+ The minimum number of PRs that will be merged together in a group.
21870
+ """
21871
+ minEntriesToMerge: Int!
21872
+
21873
+ """
21874
+ The time merge queue should wait after the first PR is added to the queue for
21875
+ the minimum group size to be met. After this time has elapsed, the minimum
21876
+ group size will be ignored and a smaller group will be merged.
21877
+ """
21878
+ minEntriesToMergeWaitMinutes: Int!
21879
+ }
21880
+
21881
+ """
21882
+ Merges must be performed via a merge queue.
21883
+ """
21884
+ input MergeQueueParametersInput {
21885
+ """
21886
+ Maximum time for a required status check to report a conclusion. After this
21887
+ much time has elapsed, checks that have not reported a conclusion will be
21888
+ assumed to have failed
21889
+ """
21890
+ checkResponseTimeoutMinutes: Int!
21891
+
21892
+ """
21893
+ When set to ALLGREEN, the merge commit created by merge queue for each PR in
21894
+ the group must pass all required checks to merge. When set to HEADGREEN, only
21895
+ the commit at the head of the merge group, i.e. the commit containing changes
21896
+ from all of the PRs in the group, must pass its required checks to merge.
21897
+ """
21898
+ groupingStrategy: MergeQueueGroupingStrategy!
21899
+
21900
+ """
21901
+ Limit the number of queued pull requests requesting checks and workflow runs at the same time.
21902
+ """
21903
+ maxEntriesToBuild: Int!
21904
+
21905
+ """
21906
+ The maximum number of PRs that will be merged together in a group.
21907
+ """
21908
+ maxEntriesToMerge: Int!
21909
+
21910
+ """
21911
+ Method to use when merging changes from queued pull requests.
21912
+ """
21913
+ mergeMethod: MergeQueueMergeMethod!
21914
+
21915
+ """
21916
+ The minimum number of PRs that will be merged together in a group.
21917
+ """
21918
+ minEntriesToMerge: Int!
21919
+
21920
+ """
21921
+ The time merge queue should wait after the first PR is added to the queue for
21922
+ the minimum group size to be met. After this time has elapsed, the minimum
21923
+ group size will be ignored and a smaller group will be merged.
21924
+ """
21925
+ minEntriesToMergeWaitMinutes: Int!
21926
+ }
21927
+
21736
21928
  """
21737
21929
  Detailed status information about a pull request merge.
21738
21930
  """
@@ -29293,6 +29485,11 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod
29293
29485
  """
29294
29486
  last: Int
29295
29487
 
29488
+ """
29489
+ Filter projects based on user role.
29490
+ """
29491
+ minPermissionLevel: ProjectV2PermissionLevel = READ
29492
+
29296
29493
  """
29297
29494
  How to order the returned projects.
29298
29495
  """
@@ -34779,6 +34976,11 @@ interface ProjectV2Owner {
34779
34976
  """
34780
34977
  last: Int
34781
34978
 
34979
+ """
34980
+ Filter projects based on user role.
34981
+ """
34982
+ minPermissionLevel: ProjectV2PermissionLevel = READ
34983
+
34782
34984
  """
34783
34985
  How to order the returned projects.
34784
34986
  """
@@ -34791,6 +34993,26 @@ interface ProjectV2Owner {
34791
34993
  ): ProjectV2Connection!
34792
34994
  }
34793
34995
 
34996
+ """
34997
+ The possible roles of a collaborator on a project.
34998
+ """
34999
+ enum ProjectV2PermissionLevel {
35000
+ """
35001
+ The collaborator can view, edit, and maange the settings of the project
35002
+ """
35003
+ ADMIN
35004
+
35005
+ """
35006
+ The collaborator can view the project
35007
+ """
35008
+ READ
35009
+
35010
+ """
35011
+ The collaborator can view and edit the project
35012
+ """
35013
+ WRITE
35014
+ }
35015
+
34794
35016
  """
34795
35017
  Recent projects for the owner.
34796
35018
  """
@@ -36545,6 +36767,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
36545
36767
  """
36546
36768
  last: Int
36547
36769
 
36770
+ """
36771
+ Filter projects based on user role.
36772
+ """
36773
+ minPermissionLevel: ProjectV2PermissionLevel = READ
36774
+
36548
36775
  """
36549
36776
  How to order the returned projects.
36550
36777
  """
@@ -36876,6 +37103,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
36876
37103
  """
36877
37104
  viewerCanEnableAutoMerge: Boolean!
36878
37105
 
37106
+ """
37107
+ Indicates if the viewer can edit labels for this object.
37108
+ """
37109
+ viewerCanLabel: Boolean!
37110
+
36879
37111
  """
36880
37112
  Indicates whether the viewer can bypass branch protections and merge the pull request immediately
36881
37113
  """
@@ -45139,6 +45371,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
45139
45371
  """
45140
45372
  last: Int
45141
45373
 
45374
+ """
45375
+ Filter projects based on user role.
45376
+ """
45377
+ minPermissionLevel: ProjectV2PermissionLevel = READ
45378
+
45142
45379
  """
45143
45380
  How to order the returned projects.
45144
45381
  """
@@ -47121,13 +47358,13 @@ enum RepositoryRuleType {
47121
47358
 
47122
47359
  """
47123
47360
  Prevent commits that include files with specified file extensions from being
47124
- pushed to the commit graph. NOTE: Thie rule is in beta and subject to change
47361
+ pushed to the commit graph. NOTE: This rule is in beta and subject to change
47125
47362
  """
47126
47363
  FILE_EXTENSION_RESTRICTION
47127
47364
 
47128
47365
  """
47129
47366
  Prevent commits that include changes in specified file paths from being pushed
47130
- to the commit graph. NOTE: Thie rule is in beta and subject to change
47367
+ to the commit graph. NOTE: This rule is in beta and subject to change
47131
47368
  """
47132
47369
  FILE_PATH_RESTRICTION
47133
47370
 
@@ -47138,14 +47375,14 @@ enum RepositoryRuleType {
47138
47375
 
47139
47376
  """
47140
47377
  Prevent commits that include file paths that exceed a specified character
47141
- limit from being pushed to the commit graph. NOTE: Thie rule is in beta and
47378
+ limit from being pushed to the commit graph. NOTE: This rule is in beta and
47142
47379
  subject to change
47143
47380
  """
47144
47381
  MAX_FILE_PATH_LENGTH
47145
47382
 
47146
47383
  """
47147
47384
  Prevent commits that exceed a specified file size limit from being pushed to
47148
- the commit. NOTE: Thie rule is in beta and subject to change
47385
+ the commit. NOTE: This rule is in beta and subject to change
47149
47386
  """
47150
47387
  MAX_FILE_SIZE
47151
47388
 
@@ -48222,6 +48459,11 @@ Choose which status checks must pass before the ref is updated. When enabled,
48222
48459
  commits must first be pushed to another ref where the checks pass.
48223
48460
  """
48224
48461
  type RequiredStatusChecksParameters {
48462
+ """
48463
+ Allow repositories and branches to be created if a check would otherwise prohibit it.
48464
+ """
48465
+ doNotEnforceOnCreate: Boolean!
48466
+
48225
48467
  """
48226
48468
  Status checks that are required.
48227
48469
  """
@@ -48240,6 +48482,11 @@ Choose which status checks must pass before the ref is updated. When enabled,
48240
48482
  commits must first be pushed to another ref where the checks pass.
48241
48483
  """
48242
48484
  input RequiredStatusChecksParametersInput {
48485
+ """
48486
+ Allow repositories and branches to be created if a check would otherwise prohibit it.
48487
+ """
48488
+ doNotEnforceOnCreate: Boolean
48489
+
48243
48490
  """
48244
48491
  Status checks that are required.
48245
48492
  """
@@ -48850,7 +49097,7 @@ enum RuleEnforcement {
48850
49097
  """
48851
49098
  Types which can be parameters for `RepositoryRule` objects.
48852
49099
  """
48853
- union RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters
49100
+ union RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | MergeQueueParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters
48854
49101
 
48855
49102
  """
48856
49103
  Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified.
@@ -48901,6 +49148,11 @@ input RuleParametersInput {
48901
49148
  """
48902
49149
  maxFileSize: MaxFileSizeParametersInput
48903
49150
 
49151
+ """
49152
+ Parameters used for the `merge_queue` rule type
49153
+ """
49154
+ mergeQueue: MergeQueueParametersInput
49155
+
48904
49156
  """
48905
49157
  Parameters used for the `pull_request` rule type
48906
49158
  """
@@ -54274,6 +54526,11 @@ type Team implements MemberStatusable & Node & Subscribable {
54274
54526
  """
54275
54527
  last: Int
54276
54528
 
54529
+ """
54530
+ Filter projects based on user role.
54531
+ """
54532
+ minPermissionLevel: ProjectV2PermissionLevel = READ
54533
+
54277
54534
  """
54278
54535
  How to order the returned projects.
54279
54536
  """
@@ -60969,6 +61226,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner &
60969
61226
  """
60970
61227
  last: Int
60971
61228
 
61229
+ """
61230
+ Filter projects based on user role.
61231
+ """
61232
+ minPermissionLevel: ProjectV2PermissionLevel = READ
61233
+
60972
61234
  """
60973
61235
  How to order the returned projects.
60974
61236
  """
@@ -62975,6 +63237,11 @@ enum WorkflowState {
62975
63237
  Require all changes made to a targeted branch to pass the specified workflows before they can be merged.
62976
63238
  """
62977
63239
  type WorkflowsParameters {
63240
+ """
63241
+ Allow repositories and branches to be created if a check would otherwise prohibit it.
63242
+ """
63243
+ doNotEnforceOnCreate: Boolean!
63244
+
62978
63245
  """
62979
63246
  Workflows that must pass for this rule to pass.
62980
63247
  """
@@ -62985,6 +63252,11 @@ type WorkflowsParameters {
62985
63252
  Require all changes made to a targeted branch to pass the specified workflows before they can be merged.
62986
63253
  """
62987
63254
  input WorkflowsParametersInput {
63255
+ """
63256
+ Allow repositories and branches to be created if a check would otherwise prohibit it.
63257
+ """
63258
+ doNotEnforceOnCreate: Boolean
63259
+
62988
63260
  """
62989
63261
  Workflows that must pass for this rule to pass.
62990
63262
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
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.4.0",
11
+ "packageManager": "pnpm@9.5.0",
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/luxass/github-schema",
14
14
  "repository": {
@@ -94,12 +94,12 @@
94
94
  "devDependencies": {
95
95
  "@graphql-codegen/add": "^5.0.3",
96
96
  "@graphql-codegen/cli": "^5.0.2",
97
- "@graphql-codegen/typescript": "^4.0.8",
98
- "@luxass/eslint-config": "^4.7.0",
99
- "@types/node": "^20.14.9",
97
+ "@graphql-codegen/typescript": "^4.0.9",
98
+ "@luxass/eslint-config": "^4.8.1",
99
+ "@types/node": "^20.14.10",
100
100
  "eslint": "^9.6.0",
101
101
  "eslint-plugin-format": "^0.1.2",
102
102
  "tsup": "^8.1.0",
103
- "typescript": "^5.5.2"
103
+ "typescript": "^5.5.3"
104
104
  }
105
105
  }