github-schema 1.10.4 → 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
  """
@@ -16478,6 +16507,11 @@ enum FundingPlatform {
16478
16507
  """
16479
16508
  POLAR
16480
16509
 
16510
+ """
16511
+ thanks.dev funding platform.
16512
+ """
16513
+ THANKS_DEV
16514
+
16481
16515
  """
16482
16516
  Tidelift funding platform.
16483
16517
  """
@@ -20939,8 +20973,7 @@ type MarketplaceListingEdge {
20939
20973
  }
20940
20974
 
20941
20975
  """
20942
- Prevent commits that include file paths that exceed a specified character limit
20943
- 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.
20944
20977
  """
20945
20978
  type MaxFilePathLengthParameters {
20946
20979
  """
@@ -20950,8 +20983,7 @@ type MaxFilePathLengthParameters {
20950
20983
  }
20951
20984
 
20952
20985
  """
20953
- Prevent commits that include file paths that exceed a specified character limit
20954
- 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.
20955
20987
  """
20956
20988
  input MaxFilePathLengthParametersInput {
20957
20989
  """
@@ -20961,8 +20993,7 @@ input MaxFilePathLengthParametersInput {
20961
20993
  }
20962
20994
 
20963
20995
  """
20964
- Prevent commits that exceed a specified file size limit from being pushed to the
20965
- 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.
20966
20997
  """
20967
20998
  type MaxFileSizeParameters {
20968
20999
  """
@@ -20972,8 +21003,7 @@ type MaxFileSizeParameters {
20972
21003
  }
20973
21004
 
20974
21005
  """
20975
- Prevent commits that exceed a specified file size limit from being pushed to the
20976
- 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.
20977
21007
  """
20978
21008
  input MaxFileSizeParametersInput {
20979
21009
  """
@@ -29758,6 +29788,11 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod
29758
29788
  The ID of the ruleset to be returned.
29759
29789
  """
29760
29790
  databaseId: Int!
29791
+
29792
+ """
29793
+ Include rulesets configured at higher levels that apply to this organization.
29794
+ """
29795
+ includeParents: Boolean = true
29761
29796
  ): RepositoryRuleset
29762
29797
 
29763
29798
  """
@@ -33290,7 +33325,7 @@ type ProjectV2 implements Closable & Node & Updatable {
33290
33325
  """
33291
33326
  Identifies the primary key from the database.
33292
33327
  """
33293
- 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.")
33294
33329
 
33295
33330
  """
33296
33331
  A field of the project
@@ -33332,6 +33367,11 @@ type ProjectV2 implements Closable & Node & Updatable {
33332
33367
  orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC}
33333
33368
  ): ProjectV2FieldConfigurationConnection!
33334
33369
 
33370
+ """
33371
+ Identifies the primary key from the database as a BigInt.
33372
+ """
33373
+ fullDatabaseId: BigInt
33374
+
33335
33375
  """
33336
33376
  The Node ID of the ProjectV2 object
33337
33377
  """
@@ -34070,7 +34110,7 @@ type ProjectV2Item implements Node {
34070
34110
  """
34071
34111
  Identifies the primary key from the database.
34072
34112
  """
34073
- 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.")
34074
34114
 
34075
34115
  """
34076
34116
  The field value of the first project field which matches the 'name' argument that is set on the item.
@@ -35385,7 +35425,12 @@ type ProjectV2StatusUpdate implements Node {
35385
35425
  """
35386
35426
  Identifies the primary key from the database.
35387
35427
  """
35388
- 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
35389
35434
 
35390
35435
  """
35391
35436
  The Node ID of the ProjectV2StatusUpdate object
@@ -35510,7 +35555,7 @@ type ProjectV2View implements Node {
35510
35555
  """
35511
35556
  Identifies the primary key from the database.
35512
35557
  """
35513
- 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.")
35514
35559
 
35515
35560
  """
35516
35561
  The view's visible fields.
@@ -35547,6 +35592,11 @@ type ProjectV2View implements Node {
35547
35592
  """
35548
35593
  filter: String
35549
35594
 
35595
+ """
35596
+ Identifies the primary key from the database as a BigInt.
35597
+ """
35598
+ fullDatabaseId: BigInt
35599
+
35550
35600
  """
35551
35601
  The view's group-by field.
35552
35602
  """
@@ -35885,13 +35935,18 @@ type ProjectV2Workflow implements Node {
35885
35935
  """
35886
35936
  Identifies the primary key from the database.
35887
35937
  """
35888
- 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.")
35889
35939
 
35890
35940
  """
35891
35941
  Whether the workflow is enabled.
35892
35942
  """
35893
35943
  enabled: Boolean!
35894
35944
 
35945
+ """
35946
+ Identifies the primary key from the database as a BigInt.
35947
+ """
35948
+ fullDatabaseId: BigInt
35949
+
35895
35950
  """
35896
35951
  The Node ID of the ProjectV2Workflow object
35897
35952
  """
@@ -36271,7 +36326,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
36271
36326
  closedAt: DateTime
36272
36327
 
36273
36328
  """
36274
- List of issues that were may be closed by this pull request
36329
+ List of issues that may be closed by this pull request
36275
36330
  """
36276
36331
  closingIssuesReferences(
36277
36332
  """
@@ -39237,7 +39292,7 @@ type PushAllowanceEdge {
39237
39292
  """
39238
39293
  The query root of GitHub's GraphQL interface.
39239
39294
  """
39240
- type Query {
39295
+ type Query implements Node {
39241
39296
  """
39242
39297
  Look up a code of conduct by its key
39243
39298
  """
@@ -39323,6 +39378,11 @@ type Query {
39323
39378
  invitationToken: String!
39324
39379
  ): EnterpriseMemberInvitation
39325
39380
 
39381
+ """
39382
+ ID of the object.
39383
+ """
39384
+ id: ID!
39385
+
39326
39386
  """
39327
39387
  Look up an open source license by its key
39328
39388
  """
@@ -47357,14 +47417,12 @@ enum RepositoryRuleType {
47357
47417
  DELETION
47358
47418
 
47359
47419
  """
47360
- Prevent commits that include files with specified file extensions from being
47361
- 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.
47362
47421
  """
47363
47422
  FILE_EXTENSION_RESTRICTION
47364
47423
 
47365
47424
  """
47366
- Prevent commits that include changes in specified file paths from being pushed
47367
- 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.
47368
47426
  """
47369
47427
  FILE_PATH_RESTRICTION
47370
47428
 
@@ -47374,15 +47432,12 @@ enum RepositoryRuleType {
47374
47432
  LOCK_BRANCH
47375
47433
 
47376
47434
  """
47377
- Prevent commits that include file paths that exceed a specified character
47378
- limit from being pushed to the commit graph. NOTE: This rule is in beta and
47379
- subject to change
47435
+ Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
47380
47436
  """
47381
47437
  MAX_FILE_PATH_LENGTH
47382
47438
 
47383
47439
  """
47384
- Prevent commits that exceed a specified file size limit from being pushed to
47385
- 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.
47386
47441
  """
47387
47442
  MAX_FILE_SIZE
47388
47443
 
@@ -47599,6 +47654,11 @@ type RepositoryRulesetBypassActor implements Node {
47599
47654
  """
47600
47655
  deployKey: Boolean!
47601
47656
 
47657
+ """
47658
+ This actor represents the ability for an enterprise owner to bypass
47659
+ """
47660
+ enterpriseOwner: Boolean!
47661
+
47602
47662
  """
47603
47663
  The Node ID of the RepositoryRulesetBypassActor object
47604
47664
  """
@@ -47701,6 +47761,11 @@ input RepositoryRulesetBypassActorInput {
47701
47761
  """
47702
47762
  deployKey: Boolean
47703
47763
 
47764
+ """
47765
+ For enterprise owner bypasses, true
47766
+ """
47767
+ enterpriseOwner: Boolean
47768
+
47704
47769
  """
47705
47770
  For organization owner bypasses, true
47706
47771
  """
@@ -47753,7 +47818,7 @@ type RepositoryRulesetEdge {
47753
47818
  }
47754
47819
 
47755
47820
  """
47756
- The targets supported for rulesets. NOTE: The push target is in beta and subject to change.
47821
+ The targets supported for rulesets.
47757
47822
  """
47758
47823
  enum RepositoryRulesetTarget {
47759
47824
  """
@@ -49187,7 +49252,7 @@ input RuleParametersInput {
49187
49252
  """
49188
49253
  Types which can have `RepositoryRule` objects.
49189
49254
  """
49190
- union RuleSource = Organization | Repository
49255
+ union RuleSource = Enterprise | Organization | Repository
49191
49256
 
49192
49257
  """
49193
49258
  The possible digest algorithms used to sign SAML requests for an identity provider.
@@ -49463,7 +49528,7 @@ type SecurityAdvisory implements Node {
49463
49528
  """
49464
49529
  The CVSS associated with this advisory
49465
49530
  """
49466
- 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.")
49467
49532
 
49468
49533
  """
49469
49534
  CWEs associated with this Advisory
@@ -49795,6 +49860,16 @@ input SecurityAdvisoryOrder {
49795
49860
  Properties by which security advisory connections can be ordered.
49796
49861
  """
49797
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
+
49798
49873
  """
49799
49874
  Order advisories by publication time
49800
49875
  """
@@ -56803,6 +56878,26 @@ type TreeEntry {
56803
56878
  type: String!
56804
56879
  }
56805
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
+
56806
56901
  """
56807
56902
  An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.
56808
56903
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.10.4",
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.5.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.8.1",
98
+ "@luxass/eslint-config": "^4.12.1",
99
99
  "@types/node": "^20.14.10",
100
- "eslint": "^9.6.0",
100
+ "eslint": "^9.12.0",
101
101
  "eslint-plugin-format": "^0.1.2",
102
- "tsup": "^8.1.0",
103
- "typescript": "^5.5.3"
102
+ "tsup": "^8.3.0",
103
+ "typescript": "^5.6.2"
104
104
  }
105
105
  }