github-schema 1.10.5 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1195,6 +1195,11 @@ interface AnnouncementBanner {
1195
1195
  A GitHub App.
1196
1196
  """
1197
1197
  type App implements Node {
1198
+ """
1199
+ The client ID of the app.
1200
+ """
1201
+ clientId: String
1202
+
1198
1203
  """
1199
1204
  Identifies the date and time when the object was created.
1200
1205
  """
@@ -12797,6 +12802,10 @@ type Enterprise implements AnnouncementBanner & Node {
12797
12802
  """
12798
12803
  Only return members with this two-factor authentication status. Does not
12799
12804
  include members who only have an account on a GitHub Enterprise Server instance.
12805
+
12806
+ **Upcoming Change on 2025-04-01 UTC**
12807
+ **Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead.
12808
+ **Reason:** `has_two_factor_enabled` will be removed.
12800
12809
  """
12801
12810
  hasTwoFactorEnabled: Boolean = null
12802
12811
 
@@ -12824,6 +12833,12 @@ type Enterprise implements AnnouncementBanner & Node {
12824
12833
  The role of the user in the enterprise organization or server.
12825
12834
  """
12826
12835
  role: EnterpriseUserAccountMembershipRole
12836
+
12837
+ """
12838
+ Only return members with this type of two-factor authentication method. Does
12839
+ not include members who only have an account on a GitHub Enterprise Server instance.
12840
+ """
12841
+ twoFactorMethodSecurity: TwoFactorCredentialSecurityType = null
12827
12842
  ): EnterpriseMemberConnection!
12828
12843
 
12829
12844
  """
@@ -13836,6 +13851,10 @@ type EnterpriseOwnerInfo {
13836
13851
 
13837
13852
  """
13838
13853
  Only return administrators with this two-factor authentication status.
13854
+
13855
+ **Upcoming Change on 2025-04-01 UTC**
13856
+ **Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead.
13857
+ **Reason:** `has_two_factor_enabled` will be removed.
13839
13858
  """
13840
13859
  hasTwoFactorEnabled: Boolean = null
13841
13860
 
@@ -13863,6 +13882,11 @@ type EnterpriseOwnerInfo {
13863
13882
  The role to filter by.
13864
13883
  """
13865
13884
  role: EnterpriseAdministratorRole
13885
+
13886
+ """
13887
+ Only return outside collaborators with this type of two-factor authentication method.
13888
+ """
13889
+ twoFactorMethodSecurity: TwoFactorCredentialSecurityType = null
13866
13890
  ): EnterpriseAdministratorConnection!
13867
13891
 
13868
13892
  """
@@ -14510,6 +14534,10 @@ type EnterpriseOwnerInfo {
14510
14534
 
14511
14535
  """
14512
14536
  Only return outside collaborators with this two-factor authentication status.
14537
+
14538
+ **Upcoming Change on 2025-04-01 UTC**
14539
+ **Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead.
14540
+ **Reason:** `has_two_factor_enabled` will be removed.
14513
14541
  """
14514
14542
  hasTwoFactorEnabled: Boolean = null
14515
14543
 
@@ -14538,6 +14566,11 @@ type EnterpriseOwnerInfo {
14538
14566
  """
14539
14567
  query: String
14540
14568
 
14569
+ """
14570
+ Only return outside collaborators with this type of two-factor authentication method.
14571
+ """
14572
+ twoFactorMethodSecurity: TwoFactorCredentialSecurityType = null
14573
+
14541
14574
  """
14542
14575
  Only return outside collaborators on repositories with this visibility.
14543
14576
  """
@@ -16231,8 +16264,7 @@ input FileDeletion {
16231
16264
  }
16232
16265
 
16233
16266
  """
16234
- Prevent commits that include files with specified file extensions from being
16235
- pushed to the commit graph. NOTE: This rule is in beta and subject to change
16267
+ Prevent commits that include files with specified file extensions from being pushed to the commit graph.
16236
16268
  """
16237
16269
  type FileExtensionRestrictionParameters {
16238
16270
  """
@@ -16242,8 +16274,7 @@ type FileExtensionRestrictionParameters {
16242
16274
  }
16243
16275
 
16244
16276
  """
16245
- Prevent commits that include files with specified file extensions from being
16246
- pushed to the commit graph. NOTE: This rule is in beta and subject to change
16277
+ Prevent commits that include files with specified file extensions from being pushed to the commit graph.
16247
16278
  """
16248
16279
  input FileExtensionRestrictionParametersInput {
16249
16280
  """
@@ -16253,8 +16284,7 @@ input FileExtensionRestrictionParametersInput {
16253
16284
  }
16254
16285
 
16255
16286
  """
16256
- Prevent commits that include changes in specified file paths from being pushed
16257
- to the commit graph. NOTE: This rule is in beta and subject to change
16287
+ Prevent commits that include changes in specified file paths from being pushed to the commit graph.
16258
16288
  """
16259
16289
  type FilePathRestrictionParameters {
16260
16290
  """
@@ -16264,8 +16294,7 @@ type FilePathRestrictionParameters {
16264
16294
  }
16265
16295
 
16266
16296
  """
16267
- Prevent commits that include changes in specified file paths from being pushed
16268
- to the commit graph. NOTE: This rule is in beta and subject to change
16297
+ Prevent commits that include changes in specified file paths from being pushed to the commit graph.
16269
16298
  """
16270
16299
  input FilePathRestrictionParametersInput {
16271
16300
  """
@@ -20944,8 +20973,7 @@ type MarketplaceListingEdge {
20944
20973
  }
20945
20974
 
20946
20975
  """
20947
- Prevent commits that include file paths that exceed a specified character limit
20948
- from being pushed to the commit graph. NOTE: This rule is in beta and subject to change
20976
+ Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
20949
20977
  """
20950
20978
  type MaxFilePathLengthParameters {
20951
20979
  """
@@ -20955,8 +20983,7 @@ type MaxFilePathLengthParameters {
20955
20983
  }
20956
20984
 
20957
20985
  """
20958
- Prevent commits that include file paths that exceed a specified character limit
20959
- from being pushed to the commit graph. NOTE: This rule is in beta and subject to change
20986
+ Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
20960
20987
  """
20961
20988
  input MaxFilePathLengthParametersInput {
20962
20989
  """
@@ -20966,8 +20993,7 @@ input MaxFilePathLengthParametersInput {
20966
20993
  }
20967
20994
 
20968
20995
  """
20969
- Prevent commits that exceed a specified file size limit from being pushed to the
20970
- commit. NOTE: This rule is in beta and subject to change
20996
+ Prevent commits that exceed a specified file size limit from being pushed to the commit.
20971
20997
  """
20972
20998
  type MaxFileSizeParameters {
20973
20999
  """
@@ -20977,8 +21003,7 @@ type MaxFileSizeParameters {
20977
21003
  }
20978
21004
 
20979
21005
  """
20980
- Prevent commits that exceed a specified file size limit from being pushed to the
20981
- commit. NOTE: This rule is in beta and subject to change
21006
+ Prevent commits that exceed a specified file size limit from being pushed to the commit.
20982
21007
  """
20983
21008
  input MaxFileSizeParametersInput {
20984
21009
  """
@@ -29763,6 +29788,11 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod
29763
29788
  The ID of the ruleset to be returned.
29764
29789
  """
29765
29790
  databaseId: Int!
29791
+
29792
+ """
29793
+ Include rulesets configured at higher levels that apply to this organization.
29794
+ """
29795
+ includeParents: Boolean = true
29766
29796
  ): RepositoryRuleset
29767
29797
 
29768
29798
  """
@@ -33295,7 +33325,7 @@ type ProjectV2 implements Closable & Node & Updatable {
33295
33325
  """
33296
33326
  Identifies the primary key from the database.
33297
33327
  """
33298
- databaseId: Int
33328
+ databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.")
33299
33329
 
33300
33330
  """
33301
33331
  A field of the project
@@ -33337,6 +33367,11 @@ type ProjectV2 implements Closable & Node & Updatable {
33337
33367
  orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC}
33338
33368
  ): ProjectV2FieldConfigurationConnection!
33339
33369
 
33370
+ """
33371
+ Identifies the primary key from the database as a BigInt.
33372
+ """
33373
+ fullDatabaseId: BigInt
33374
+
33340
33375
  """
33341
33376
  The Node ID of the ProjectV2 object
33342
33377
  """
@@ -34075,7 +34110,7 @@ type ProjectV2Item implements Node {
34075
34110
  """
34076
34111
  Identifies the primary key from the database.
34077
34112
  """
34078
- databaseId: Int
34113
+ databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.")
34079
34114
 
34080
34115
  """
34081
34116
  The field value of the first project field which matches the 'name' argument that is set on the item.
@@ -35390,7 +35425,12 @@ type ProjectV2StatusUpdate implements Node {
35390
35425
  """
35391
35426
  Identifies the primary key from the database.
35392
35427
  """
35393
- databaseId: Int
35428
+ databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.")
35429
+
35430
+ """
35431
+ Identifies the primary key from the database as a BigInt.
35432
+ """
35433
+ fullDatabaseId: BigInt
35394
35434
 
35395
35435
  """
35396
35436
  The Node ID of the ProjectV2StatusUpdate object
@@ -35515,7 +35555,7 @@ type ProjectV2View implements Node {
35515
35555
  """
35516
35556
  Identifies the primary key from the database.
35517
35557
  """
35518
- databaseId: Int
35558
+ databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.")
35519
35559
 
35520
35560
  """
35521
35561
  The view's visible fields.
@@ -35552,6 +35592,11 @@ type ProjectV2View implements Node {
35552
35592
  """
35553
35593
  filter: String
35554
35594
 
35595
+ """
35596
+ Identifies the primary key from the database as a BigInt.
35597
+ """
35598
+ fullDatabaseId: BigInt
35599
+
35555
35600
  """
35556
35601
  The view's group-by field.
35557
35602
  """
@@ -35890,13 +35935,18 @@ type ProjectV2Workflow implements Node {
35890
35935
  """
35891
35936
  Identifies the primary key from the database.
35892
35937
  """
35893
- databaseId: Int
35938
+ databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.")
35894
35939
 
35895
35940
  """
35896
35941
  Whether the workflow is enabled.
35897
35942
  """
35898
35943
  enabled: Boolean!
35899
35944
 
35945
+ """
35946
+ Identifies the primary key from the database as a BigInt.
35947
+ """
35948
+ fullDatabaseId: BigInt
35949
+
35900
35950
  """
35901
35951
  The Node ID of the ProjectV2Workflow object
35902
35952
  """
@@ -36276,7 +36326,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
36276
36326
  closedAt: DateTime
36277
36327
 
36278
36328
  """
36279
- List of issues that were may be closed by this pull request
36329
+ List of issues that may be closed by this pull request
36280
36330
  """
36281
36331
  closingIssuesReferences(
36282
36332
  """
@@ -39242,7 +39292,7 @@ type PushAllowanceEdge {
39242
39292
  """
39243
39293
  The query root of GitHub's GraphQL interface.
39244
39294
  """
39245
- type Query {
39295
+ type Query implements Node {
39246
39296
  """
39247
39297
  Look up a code of conduct by its key
39248
39298
  """
@@ -39328,6 +39378,11 @@ type Query {
39328
39378
  invitationToken: String!
39329
39379
  ): EnterpriseMemberInvitation
39330
39380
 
39381
+ """
39382
+ ID of the object.
39383
+ """
39384
+ id: ID!
39385
+
39331
39386
  """
39332
39387
  Look up an open source license by its key
39333
39388
  """
@@ -47362,14 +47417,12 @@ enum RepositoryRuleType {
47362
47417
  DELETION
47363
47418
 
47364
47419
  """
47365
- Prevent commits that include files with specified file extensions from being
47366
- pushed to the commit graph. NOTE: This rule is in beta and subject to change
47420
+ Prevent commits that include files with specified file extensions from being pushed to the commit graph.
47367
47421
  """
47368
47422
  FILE_EXTENSION_RESTRICTION
47369
47423
 
47370
47424
  """
47371
- Prevent commits that include changes in specified file paths from being pushed
47372
- to the commit graph. NOTE: This rule is in beta and subject to change
47425
+ Prevent commits that include changes in specified file paths from being pushed to the commit graph.
47373
47426
  """
47374
47427
  FILE_PATH_RESTRICTION
47375
47428
 
@@ -47379,15 +47432,12 @@ enum RepositoryRuleType {
47379
47432
  LOCK_BRANCH
47380
47433
 
47381
47434
  """
47382
- Prevent commits that include file paths that exceed a specified character
47383
- limit from being pushed to the commit graph. NOTE: This rule is in beta and
47384
- subject to change
47435
+ Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
47385
47436
  """
47386
47437
  MAX_FILE_PATH_LENGTH
47387
47438
 
47388
47439
  """
47389
- Prevent commits that exceed a specified file size limit from being pushed to
47390
- the commit. NOTE: This rule is in beta and subject to change
47440
+ Prevent commits that exceed a specified file size limit from being pushed to the commit.
47391
47441
  """
47392
47442
  MAX_FILE_SIZE
47393
47443
 
@@ -47604,6 +47654,11 @@ type RepositoryRulesetBypassActor implements Node {
47604
47654
  """
47605
47655
  deployKey: Boolean!
47606
47656
 
47657
+ """
47658
+ This actor represents the ability for an enterprise owner to bypass
47659
+ """
47660
+ enterpriseOwner: Boolean!
47661
+
47607
47662
  """
47608
47663
  The Node ID of the RepositoryRulesetBypassActor object
47609
47664
  """
@@ -47706,6 +47761,11 @@ input RepositoryRulesetBypassActorInput {
47706
47761
  """
47707
47762
  deployKey: Boolean
47708
47763
 
47764
+ """
47765
+ For enterprise owner bypasses, true
47766
+ """
47767
+ enterpriseOwner: Boolean
47768
+
47709
47769
  """
47710
47770
  For organization owner bypasses, true
47711
47771
  """
@@ -47758,7 +47818,7 @@ type RepositoryRulesetEdge {
47758
47818
  }
47759
47819
 
47760
47820
  """
47761
- The targets supported for rulesets. NOTE: The push target is in beta and subject to change.
47821
+ The targets supported for rulesets.
47762
47822
  """
47763
47823
  enum RepositoryRulesetTarget {
47764
47824
  """
@@ -49192,7 +49252,7 @@ input RuleParametersInput {
49192
49252
  """
49193
49253
  Types which can have `RepositoryRule` objects.
49194
49254
  """
49195
- union RuleSource = Organization | Repository
49255
+ union RuleSource = Enterprise | Organization | Repository
49196
49256
 
49197
49257
  """
49198
49258
  The possible digest algorithms used to sign SAML requests for an identity provider.
@@ -49468,7 +49528,7 @@ type SecurityAdvisory implements Node {
49468
49528
  """
49469
49529
  The CVSS associated with this advisory
49470
49530
  """
49471
- cvss: CVSS!
49531
+ cvss: CVSS! @deprecated(reason: "`cvss` will be removed. New `cvss_severities` field will now contain both `cvss_v3` and `cvss_v4` properties. Removal on 2025-10-01 UTC.")
49472
49532
 
49473
49533
  """
49474
49534
  CWEs associated with this Advisory
@@ -49800,6 +49860,16 @@ input SecurityAdvisoryOrder {
49800
49860
  Properties by which security advisory connections can be ordered.
49801
49861
  """
49802
49862
  enum SecurityAdvisoryOrderField {
49863
+ """
49864
+ Order advisories by EPSS percentage
49865
+ """
49866
+ EPSS_PERCENTAGE
49867
+
49868
+ """
49869
+ Order advisories by EPSS percentile
49870
+ """
49871
+ EPSS_PERCENTILE
49872
+
49803
49873
  """
49804
49874
  Order advisories by publication time
49805
49875
  """
@@ -56808,6 +56878,26 @@ type TreeEntry {
56808
56878
  type: String!
56809
56879
  }
56810
56880
 
56881
+ """
56882
+ Filters by whether or not 2FA is enabled and if the method configured is considered secure or insecure.
56883
+ """
56884
+ enum TwoFactorCredentialSecurityType {
56885
+ """
56886
+ No method of two-factor authentication.
56887
+ """
56888
+ DISABLED
56889
+
56890
+ """
56891
+ Has an insecure method of two-factor authentication. GitHub currently defines this as SMS two-factor authentication.
56892
+ """
56893
+ INSECURE
56894
+
56895
+ """
56896
+ Has only secure methods of two-factor authentication.
56897
+ """
56898
+ SECURE
56899
+ }
56900
+
56811
56901
  """
56812
56902
  An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.
56813
56903
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.10.5",
3
+ "version": "1.11.0",
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.7.0",
11
+ "packageManager": "pnpm@9.12.0",
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/luxass/github-schema",
14
14
  "repository": {
@@ -95,11 +95,11 @@
95
95
  "@graphql-codegen/add": "^5.0.3",
96
96
  "@graphql-codegen/cli": "^5.0.2",
97
97
  "@graphql-codegen/typescript": "^4.0.9",
98
- "@luxass/eslint-config": "^4.10.3",
98
+ "@luxass/eslint-config": "^4.12.1",
99
99
  "@types/node": "^20.14.10",
100
- "eslint": "^9.9.0",
100
+ "eslint": "^9.12.0",
101
101
  "eslint-plugin-format": "^0.1.2",
102
- "tsup": "^8.2.4",
103
- "typescript": "^5.5.4"
102
+ "tsup": "^8.3.0",
103
+ "typescript": "^5.6.2"
104
104
  }
105
105
  }