github-schema 1.14.0 → 1.15.1

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.
@@ -1,7 +1,5 @@
1
1
 
2
2
 
3
- directive @requiredCapabilities(requiredCapabilities: [String!]) on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION
4
-
5
3
  """
6
4
  Autogenerated input type of AbortQueuedMigrations
7
5
  """
@@ -1243,7 +1241,7 @@ type AddedToProjectEvent implements Node {
1243
1241
  """
1244
1242
  Project referenced by event.
1245
1243
  """
1246
- project: Project
1244
+ project: Project @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
1247
1245
 
1248
1246
  """
1249
1247
  Project card referenced by this project event.
@@ -6848,7 +6846,7 @@ type ConvertedNoteToIssueEvent implements Node {
6848
6846
  """
6849
6847
  Project referenced by event.
6850
6848
  """
6851
- project: Project
6849
+ project: Project @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
6852
6850
 
6853
6851
  """
6854
6852
  Project card referenced by this project event.
@@ -7936,6 +7934,11 @@ input CreateProjectV2FieldInput {
7936
7934
  """
7937
7935
  dataType: ProjectV2CustomFieldType!
7938
7936
 
7937
+ """
7938
+ Configuration for an iteration field.
7939
+ """
7940
+ iterationConfiguration: ProjectV2IterationFieldConfigurationInput
7941
+
7939
7942
  """
7940
7943
  The name of the field.
7941
7944
  """
@@ -13336,6 +13339,11 @@ enum EnterpriseAdministratorRole {
13336
13339
  Represents an owner of the enterprise account.
13337
13340
  """
13338
13341
  OWNER
13342
+
13343
+ """
13344
+ Unaffiliated member of the enterprise account without an admin role.
13345
+ """
13346
+ UNAFFILIATED
13339
13347
  }
13340
13348
 
13341
13349
  """
@@ -18559,7 +18567,7 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18559
18567
  Returns the last _n_ elements from the list.
18560
18568
  """
18561
18569
  last: Int
18562
- ): ProjectCardConnection!
18570
+ ): ProjectCardConnection! @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
18563
18571
 
18564
18572
  """
18565
18573
  List of project items associated with this issue.
@@ -18636,7 +18644,7 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18636
18644
  orderBy: ProjectV2Order = {field: NUMBER, direction: DESC}
18637
18645
 
18638
18646
  """
18639
- A project to search for under the the owner.
18647
+ A project to search for under the owner.
18640
18648
  """
18641
18649
  query: String
18642
18650
  ): ProjectV2Connection!
@@ -21344,7 +21352,7 @@ input MaxFilePathLengthParametersInput {
21344
21352
  }
21345
21353
 
21346
21354
  """
21347
- Prevent commits that exceed a specified file size limit from being pushed to the commit.
21355
+ Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
21348
21356
  """
21349
21357
  type MaxFileSizeParameters {
21350
21358
  """
@@ -21354,7 +21362,7 @@ type MaxFileSizeParameters {
21354
21362
  }
21355
21363
 
21356
21364
  """
21357
- Prevent commits that exceed a specified file size limit from being pushed to the commit.
21365
+ Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
21358
21366
  """
21359
21367
  input MaxFileSizeParametersInput {
21360
21368
  """
@@ -22596,6 +22604,11 @@ type Milestone implements Closable & Node & UniformResourceLocatable {
22596
22604
  """
22597
22605
  description: String
22598
22606
 
22607
+ """
22608
+ The HTML rendered description of the milestone using GitHub Flavored Markdown.
22609
+ """
22610
+ descriptionHTML: String
22611
+
22599
22612
  """
22600
22613
  Identifies the due date of the milestone.
22601
22614
  """
@@ -23046,7 +23059,7 @@ type MovedColumnsInProjectEvent implements Node {
23046
23059
  """
23047
23060
  Project referenced by event.
23048
23061
  """
23049
- project: Project
23062
+ project: Project @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
23050
23063
 
23051
23064
  """
23052
23065
  Project card referenced by this project event.
@@ -29932,7 +29945,7 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No
29932
29945
  orderBy: ProjectV2Order = {field: NUMBER, direction: DESC}
29933
29946
 
29934
29947
  """
29935
- A project to search for under the the owner.
29948
+ A project to search for under the owner.
29936
29949
  """
29937
29950
  query: String
29938
29951
  ): ProjectV2Connection!
@@ -30651,7 +30664,7 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No
30651
30664
  """
30652
30665
  Can the current viewer create new projects on this owner.
30653
30666
  """
30654
- viewerCanCreateProjects: Boolean!
30667
+ viewerCanCreateProjects: Boolean! @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
30655
30668
 
30656
30669
  """
30657
30670
  Viewer can create repositories on this organization
@@ -33281,12 +33294,12 @@ enum ProjectCardArchivedState {
33281
33294
  """
33282
33295
  A project card that is archived
33283
33296
  """
33284
- ARCHIVED
33297
+ ARCHIVED @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
33285
33298
 
33286
33299
  """
33287
33300
  A project card that is not archived
33288
33301
  """
33289
- NOT_ARCHIVED
33302
+ NOT_ARCHIVED @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
33290
33303
  }
33291
33304
 
33292
33305
  """
@@ -33611,7 +33624,7 @@ interface ProjectOwner {
33611
33624
  """
33612
33625
  The Node ID of the ProjectOwner object
33613
33626
  """
33614
- id: ID!
33627
+ id: ID! @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
33615
33628
 
33616
33629
  """
33617
33630
  Find project by number.
@@ -33666,17 +33679,17 @@ interface ProjectOwner {
33666
33679
  """
33667
33680
  The HTTP path listing owners projects
33668
33681
  """
33669
- projectsResourcePath: URI!
33682
+ projectsResourcePath: URI! @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
33670
33683
 
33671
33684
  """
33672
33685
  The HTTP URL listing owners projects
33673
33686
  """
33674
- projectsUrl: URI!
33687
+ projectsUrl: URI! @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
33675
33688
 
33676
33689
  """
33677
33690
  Can the current viewer create new projects on this owner.
33678
33691
  """
33679
- viewerCanCreateProjects: Boolean!
33692
+ viewerCanCreateProjects: Boolean! @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
33680
33693
  }
33681
33694
 
33682
33695
  """
@@ -34203,6 +34216,11 @@ enum ProjectV2CustomFieldType {
34203
34216
  """
34204
34217
  DATE
34205
34218
 
34219
+ """
34220
+ Iteration
34221
+ """
34222
+ ITERATION
34223
+
34206
34224
  """
34207
34225
  Number
34208
34226
  """
@@ -35304,6 +35322,26 @@ enum ProjectV2ItemType {
35304
35322
  REDACTED
35305
35323
  }
35306
35324
 
35325
+ """
35326
+ Represents an iteration
35327
+ """
35328
+ input ProjectV2Iteration {
35329
+ """
35330
+ The duration of the iteration, in days.
35331
+ """
35332
+ duration: Int!
35333
+
35334
+ """
35335
+ The start date for the iteration.
35336
+ """
35337
+ startDate: Date!
35338
+
35339
+ """
35340
+ The title for the iteration.
35341
+ """
35342
+ title: String!
35343
+ }
35344
+
35307
35345
  """
35308
35346
  An iteration field inside a project.
35309
35347
  """
@@ -35374,6 +35412,26 @@ type ProjectV2IterationFieldConfiguration {
35374
35412
  startDay: Int!
35375
35413
  }
35376
35414
 
35415
+ """
35416
+ Represents an iteration field configuration.
35417
+ """
35418
+ input ProjectV2IterationFieldConfigurationInput {
35419
+ """
35420
+ The duration of each iteration, in days.
35421
+ """
35422
+ duration: Int!
35423
+
35424
+ """
35425
+ Zero or more iterations for the field.
35426
+ """
35427
+ iterations: [ProjectV2Iteration!]!
35428
+
35429
+ """
35430
+ The start date for the first iteration.
35431
+ """
35432
+ startDate: Date!
35433
+ }
35434
+
35377
35435
  """
35378
35436
  Iteration field iteration settings for a project.
35379
35437
  """
@@ -35498,7 +35556,7 @@ interface ProjectV2Owner {
35498
35556
  orderBy: ProjectV2Order = {field: NUMBER, direction: DESC}
35499
35557
 
35500
35558
  """
35501
- A project to search for under the the owner.
35559
+ A project to search for under the owner.
35502
35560
  """
35503
35561
  query: String
35504
35562
  ): ProjectV2Connection!
@@ -37227,7 +37285,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
37227
37285
  Returns the last _n_ elements from the list.
37228
37286
  """
37229
37287
  last: Int
37230
- ): ProjectCardConnection!
37288
+ ): ProjectCardConnection! @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
37231
37289
 
37232
37290
  """
37233
37291
  List of project items associated with this pull request.
@@ -37304,7 +37362,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
37304
37362
  orderBy: ProjectV2Order = {field: NUMBER, direction: DESC}
37305
37363
 
37306
37364
  """
37307
- A project to search for under the the owner.
37365
+ A project to search for under the owner.
37308
37366
  """
37309
37367
  query: String
37310
37368
  ): ProjectV2Connection!
@@ -38061,8 +38119,8 @@ Require all commits be made to a non-target branch and submitted via a pull requ
38061
38119
  """
38062
38120
  type PullRequestParameters {
38063
38121
  """
38064
- When merging pull requests, you can allow any combination of merge commits,
38065
- squashing, or rebasing. At least one option must be enabled.
38122
+ Array of allowed merge methods. Allowed values include `merge`, `squash`, and
38123
+ `rebase`. At least one option must be enabled.
38066
38124
  """
38067
38125
  allowedMergeMethods: [String!]
38068
38126
 
@@ -38097,8 +38155,8 @@ Require all commits be made to a non-target branch and submitted via a pull requ
38097
38155
  """
38098
38156
  input PullRequestParametersInput {
38099
38157
  """
38100
- When merging pull requests, you can allow any combination of merge commits,
38101
- squashing, or rebasing. At least one option must be enabled.
38158
+ Array of allowed merge methods. Allowed values include `merge`, `squash`, and
38159
+ `rebase`. At least one option must be enabled.
38102
38160
  """
38103
38161
  allowedMergeMethods: [String!]
38104
38162
 
@@ -42180,7 +42238,7 @@ type RemovedFromProjectEvent implements Node {
42180
42238
  """
42181
42239
  Project referenced by event.
42182
42240
  """
42183
- project: Project
42241
+ project: Project @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
42184
42242
 
42185
42243
  """
42186
42244
  Column name referenced by this project event.
@@ -46410,7 +46468,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
46410
46468
  """
46411
46469
  Can the current viewer create new projects on this owner.
46412
46470
  """
46413
- viewerCanCreateProjects: Boolean!
46471
+ viewerCanCreateProjects: Boolean! @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
46414
46472
 
46415
46473
  """
46416
46474
  Check if the viewer is able to change their subscription status for the repository.
@@ -47995,7 +48053,7 @@ enum RepositoryRuleType {
47995
48053
  MAX_FILE_PATH_LENGTH
47996
48054
 
47997
48055
  """
47998
- Prevent commits that exceed a specified file size limit from being pushed to the commit.
48056
+ Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
47999
48057
  """
48000
48058
  MAX_FILE_SIZE
48001
48059
 
@@ -48724,6 +48782,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode {
48724
48782
  """
48725
48783
  dependabotUpdate: DependabotUpdate
48726
48784
 
48785
+ """
48786
+ The relationship of an alert's dependency.
48787
+ """
48788
+ dependencyRelationship: RepositoryVulnerabilityAlertDependencyRelationship
48789
+
48727
48790
  """
48728
48791
  The scope of an alert's dependency
48729
48792
  """
@@ -48825,6 +48888,26 @@ type RepositoryVulnerabilityAlertConnection {
48825
48888
  totalCount: Int!
48826
48889
  }
48827
48890
 
48891
+ """
48892
+ The possible relationships of an alert's dependency.
48893
+ """
48894
+ enum RepositoryVulnerabilityAlertDependencyRelationship {
48895
+ """
48896
+ A direct dependency of your project
48897
+ """
48898
+ DIRECT
48899
+
48900
+ """
48901
+ A transitive dependency of your project
48902
+ """
48903
+ TRANSITIVE
48904
+
48905
+ """
48906
+ The relationship is unknown
48907
+ """
48908
+ UNKNOWN
48909
+ }
48910
+
48828
48911
  """
48829
48912
  The possible scopes of an alert's dependency.
48830
48913
  """
@@ -50113,6 +50196,11 @@ enum SearchType {
50113
50196
  """
50114
50197
  ISSUE
50115
50198
 
50199
+ """
50200
+ Returns results matching issues in repositories.
50201
+ """
50202
+ ISSUE_ADVANCED @deprecated(reason: "Search for issues and pull requests will be overridden by advanced search on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/. Removal on 2025-09-04 UTC.")
50203
+
50116
50204
  """
50117
50205
  Returns results matching repositories.
50118
50206
  """
@@ -60235,6 +60323,11 @@ input UpdateProjectV2FieldInput {
60235
60323
  """
60236
60324
  fieldId: ID!
60237
60325
 
60326
+ """
60327
+ Configuration for an iteration field.
60328
+ """
60329
+ iterationConfiguration: ProjectV2IterationFieldConfigurationInput
60330
+
60238
60331
  """
60239
60332
  The name to update.
60240
60333
  """
@@ -62132,7 +62225,7 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner &
62132
62225
  orderBy: ProjectV2Order = {field: NUMBER, direction: DESC}
62133
62226
 
62134
62227
  """
62135
- A project to search for under the the owner.
62228
+ A project to search for under the owner.
62136
62229
  """
62137
62230
  query: String
62138
62231
  ): ProjectV2Connection!
@@ -62933,7 +63026,7 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner &
62933
63026
  """
62934
63027
  Can the current viewer create new projects on this owner.
62935
63028
  """
62936
- viewerCanCreateProjects: Boolean!
63029
+ viewerCanCreateProjects: Boolean! @deprecated(reason: "Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.")
62937
63030
 
62938
63031
  """
62939
63032
  Whether or not the viewer is able to follow the user.
@@ -63431,11 +63524,6 @@ type UserNamespaceRepository implements Node {
63431
63524
  The user owner of the repository.
63432
63525
  """
63433
63526
  owner: RepositoryOwner!
63434
-
63435
- """
63436
- The repository owned by an enterprise managed user.
63437
- """
63438
- repository: RepositoryInfo
63439
63527
  }
63440
63528
 
63441
63529
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.14.0",
3
+ "version": "1.15.1",
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.15.4",
11
+ "packageManager": "pnpm@10.6.3",
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/luxass/github-schema",
14
14
  "repository": {
@@ -93,13 +93,18 @@
93
93
  },
94
94
  "devDependencies": {
95
95
  "@graphql-codegen/add": "^5.0.3",
96
- "@graphql-codegen/cli": "^5.0.4",
97
- "@graphql-codegen/typescript": "^4.1.3",
98
- "@luxass/eslint-config": "^4.15.0",
96
+ "@graphql-codegen/cli": "^5.0.5",
97
+ "@graphql-codegen/typescript": "^4.1.5",
98
+ "@luxass/eslint-config": "^4.16.0",
99
99
  "@types/node": "^20.14.10",
100
- "eslint": "^9.19.0",
100
+ "eslint": "^9.22.0",
101
101
  "eslint-plugin-format": "^1.0.1",
102
- "tsup": "^8.3.6",
103
- "typescript": "^5.7.3"
102
+ "tsup": "^8.4.0",
103
+ "typescript": "^5.8.2"
104
+ },
105
+ "pnpm": {
106
+ "onlyBuiltDependencies": [
107
+ "esbuild"
108
+ ]
104
109
  }
105
110
  }