github-schema 1.32.0 → 1.34.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.
package/dist/raw.d.cts CHANGED
@@ -5,6 +5,6 @@
5
5
  * @param {...string} keys - The variables to interpolate.
6
6
  * @returns {string} The interpolated GraphQL query string.
7
7
  */
8
- declare function gql(raw: TemplateStringsArray, ...keys: string[]): string;
8
+ declare function gql(raw: TemplateStringsArray, ...keys: readonly string[]): string;
9
9
  //#endregion
10
10
  export { gql };
package/dist/raw.d.mts CHANGED
@@ -5,6 +5,6 @@
5
5
  * @param {...string} keys - The variables to interpolate.
6
6
  * @returns {string} The interpolated GraphQL query string.
7
7
  */
8
- declare function gql(raw: TemplateStringsArray, ...keys: string[]): string;
8
+ declare function gql(raw: TemplateStringsArray, ...keys: readonly string[]): string;
9
9
  //#endregion
10
10
  export { gql };
@@ -343,9 +343,9 @@ input AddAssigneesToAssignableInput {
343
343
  assignableId: ID!
344
344
 
345
345
  """
346
- The ids of actors (users or bots) to add as assignees.
346
+ The ids of actors (users or bots) to add as assignees. Mutually exclusive with `assignees`.
347
347
  """
348
- assigneeIds: [ID!]!
348
+ assigneeIds: [ID!]
349
349
 
350
350
  """
351
351
  A unique identifier for the client performing the mutation.
@@ -13396,6 +13396,36 @@ type DismissRepositoryVulnerabilityAlertPayload {
13396
13396
  repositoryVulnerabilityAlert: RepositoryVulnerabilityAlert
13397
13397
  }
13398
13398
 
13399
+ """
13400
+ Specify people, teams, or apps allowed to dismiss pull request reviews.
13401
+ """
13402
+ type DismissalRestriction {
13403
+ """
13404
+ Specify people, teams, or apps allowed to dismiss pull request reviews.
13405
+ """
13406
+ allowedActors: [ID!]
13407
+
13408
+ """
13409
+ Whether to restrict review dismissal to specific actors.
13410
+ """
13411
+ enabled: Boolean!
13412
+ }
13413
+
13414
+ """
13415
+ Specify people, teams, or apps allowed to dismiss pull request reviews.
13416
+ """
13417
+ input DismissalRestrictionInput {
13418
+ """
13419
+ Specify people, teams, or apps allowed to dismiss pull request reviews.
13420
+ """
13421
+ allowedActors: [ID!]
13422
+
13423
+ """
13424
+ Whether to restrict review dismissal to specific actors.
13425
+ """
13426
+ enabled: Boolean!
13427
+ }
13428
+
13399
13429
  """
13400
13430
  A draft issue within a project.
13401
13431
  """
@@ -41762,6 +41792,11 @@ type PullRequestParameters {
41762
41792
  """
41763
41793
  dismissStaleReviewsOnPush: Boolean!
41764
41794
 
41795
+ """
41796
+ Specify people, teams, or apps allowed to dismiss pull request reviews.
41797
+ """
41798
+ dismissalRestriction: DismissalRestriction
41799
+
41765
41800
  """
41766
41801
  Require an approving review in pull requests that modify files that have a designated code owner.
41767
41802
  """
@@ -41805,6 +41840,11 @@ input PullRequestParametersInput {
41805
41840
  """
41806
41841
  dismissStaleReviewsOnPush: Boolean!
41807
41842
 
41843
+ """
41844
+ Specify people, teams, or apps allowed to dismiss pull request reviews.
41845
+ """
41846
+ dismissalRestriction: DismissalRestrictionInput
41847
+
41808
41848
  """
41809
41849
  Require an approving review in pull requests that modify files that have a designated code owner.
41810
41850
  """
@@ -52340,6 +52380,11 @@ enum RepositoryRuleType {
52340
52380
  """
52341
52381
  FILE_PATH_RESTRICTION
52342
52382
 
52383
+ """
52384
+ Enforce any added or changed dependencies to comply with the organization's license policy.
52385
+ """
52386
+ LICENSE_COMPLIANCE_SCANNING
52387
+
52343
52388
  """
52344
52389
  Branch is read-only. Users cannot push to the branch.
52345
52390
  """
@@ -65192,6 +65237,11 @@ input UpdateRepositoryInput {
65192
65237
  """
65193
65238
  homepageUrl: URI
65194
65239
 
65240
+ """
65241
+ The policy controlling who can create issues in this repository.
65242
+ """
65243
+ issueCreationPolicy: IssueCreationPolicy
65244
+
65195
65245
  """
65196
65246
  The new name of the repository.
65197
65247
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.32.0",
3
+ "version": "1.34.0",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "keywords": [
6
6
  "github",
@@ -46,24 +46,24 @@
46
46
  },
47
47
  "./package.json": "./package.json"
48
48
  },
49
- "dependencies": {
50
- "graphql": "16.14.0",
51
- "graphql-tag": "2.12.6"
52
- },
53
49
  "devDependencies": {
54
50
  "@graphql-codegen/add": "7.0.1",
55
- "@graphql-codegen/cli": "7.1.0",
51
+ "@graphql-codegen/cli": "7.1.3",
56
52
  "@graphql-codegen/typescript": "6.0.2",
57
- "@types/node": "24.12.4",
58
- "oxfmt": "0.52.0",
59
- "oxlint": "1.67.0",
60
- "oxlint-tsgolint": "0.23.0",
53
+ "@types/node": "26.0.1",
54
+ "oxfmt": "0.57.0",
55
+ "oxlint": "1.72.0",
56
+ "oxlint-tsgolint": "0.24.0",
61
57
  "publint": "0.3.21",
62
- "tsdown": "0.22.1",
58
+ "tsdown": "0.22.3",
63
59
  "typescript": "6.0.3"
64
60
  },
61
+ "peerDependencies": {
62
+ "graphql": ">=16.0.0",
63
+ "graphql-tag": ">=2.0.0"
64
+ },
65
65
  "engines": {
66
- "node": ">=20"
66
+ "node": ">=22"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "tsdown",