github-schema 1.19.0 → 1.20.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.
@@ -2321,11 +2321,6 @@ type Bot implements Actor & Node & UniformResourceLocatable {
2321
2321
  url: URI!
2322
2322
  }
2323
2323
 
2324
- """
2325
- Used when either Bot or User are accepted.
2326
- """
2327
- union BotOrUser = Bot | User
2328
-
2329
2324
  """
2330
2325
  Types which can be actors for `BranchActorAllowance` objects.
2331
2326
  """
@@ -6370,7 +6365,8 @@ input ContributionOrder {
6370
6365
  }
6371
6366
 
6372
6367
  """
6373
- A contributions collection aggregates contributions such as opened issues and commits created by a user.
6368
+ A collection of contributions made by a user, including opened issues, commits, and pull requests.
6369
+ Contributions in private and internal repositories are only included with the optional read:user scope.
6374
6370
  """
6375
6371
  type ContributionsCollection {
6376
6372
  """
@@ -18943,6 +18939,10 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18943
18939
  stateReason(
18944
18940
  """
18945
18941
  Whether or not to return state reason for duplicates
18942
+
18943
+ **Upcoming Change on 2025-10-01 UTC**
18944
+ **Description:** `enableDuplicate` will be removed.
18945
+ **Reason:** The state reason for duplicate issue is now returned by default.
18946
18946
  """
18947
18947
  enableDuplicate: Boolean = false
18948
18948
  ): IssueStateReason
@@ -19746,8 +19746,7 @@ enum IssueStateReason {
19746
19746
  COMPLETED
19747
19747
 
19748
19748
  """
19749
- An issue that has been closed as a duplicate. To retrieve this value, set
19750
- `(enableDuplicate: true)` when querying the stateReason field.
19749
+ An issue that has been closed as a duplicate.
19751
19750
  """
19752
19751
  DUPLICATE
19753
19752
 
@@ -21266,6 +21265,11 @@ type Mannequin implements Actor & Node & UniformResourceLocatable {
21266
21265
  """
21267
21266
  login: String!
21268
21267
 
21268
+ """
21269
+ The display name of the imported mannequin.
21270
+ """
21271
+ name: String
21272
+
21269
21273
  """
21270
21274
  The HTML path to this resource.
21271
21275
  """
@@ -38843,7 +38847,7 @@ type PullRequestParameters {
38843
38847
  allowedMergeMethods: [PullRequestAllowedMergeMethods!]
38844
38848
 
38845
38849
  """
38846
- Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.
38850
+ Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
38847
38851
  """
38848
38852
  automaticCopilotCodeReviewEnabled: Boolean!
38849
38853
 
@@ -38884,7 +38888,7 @@ input PullRequestParametersInput {
38884
38888
  allowedMergeMethods: [PullRequestAllowedMergeMethods!]
38885
38889
 
38886
38890
  """
38887
- Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.
38891
+ Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
38888
38892
  """
38889
38893
  automaticCopilotCodeReviewEnabled: Boolean
38890
38894
 
@@ -42113,6 +42117,11 @@ type Release implements Node & Reactable & UniformResourceLocatable {
42113
42117
  """
42114
42118
  id: ID!
42115
42119
 
42120
+ """
42121
+ Whether or not the release is immutable
42122
+ """
42123
+ immutable: Boolean!
42124
+
42116
42125
  """
42117
42126
  Whether or not the release is a draft
42118
42127
  """
@@ -49891,6 +49900,11 @@ type ReprioritizeSubIssuePayload {
49891
49900
  Autogenerated input type of RequestReviews
49892
49901
  """
49893
49902
  input RequestReviewsInput {
49903
+ """
49904
+ The Node IDs of the bot to request.
49905
+ """
49906
+ botIds: [ID!]
49907
+
49894
49908
  """
49895
49909
  A unique identifier for the client performing the mutation.
49896
49910
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.19.0",
3
+ "version": "1.20.1",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "type": "module",
6
6
  "author": {
@@ -8,12 +8,12 @@
8
8
  "email": "lucasnrgaard@gmail.com",
9
9
  "url": "https://luxass.dev"
10
10
  },
11
- "packageManager": "pnpm@10.11.0",
11
+ "packageManager": "pnpm@10.13.1",
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/luxass/github-schema",
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "https://github.com/luxass/github-schema"
16
+ "url": "git+https://github.com/luxass/github-schema.git"
17
17
  },
18
18
  "bugs": {
19
19
  "url": "https://github.com/luxass/github-schema/issues"
@@ -26,51 +26,22 @@
26
26
  ],
27
27
  "exports": {
28
28
  ".": {
29
- "import": {
30
- "types": "./dist/index.d.ts",
31
- "default": "./dist/index.mjs"
32
- },
33
- "require": {
34
- "types": "./dist/index.d.cts",
35
- "default": "./dist/index.cjs"
36
- }
29
+ "import": "./dist/index.js",
30
+ "require": "./dist/index.cjs"
37
31
  },
38
- "./raw": {
39
- "import": {
40
- "types": "./dist/raw.d.ts",
41
- "default": "./dist/raw.mjs"
42
- },
43
- "require": {
44
- "types": "./dist/raw.d.cts",
45
- "default": "./dist/raw.cjs"
46
- }
47
- },
48
- "./graphql-schema": "./github-schema.graphql",
49
32
  "./github-schema": {
50
- "import": {
51
- "types": "./dist/github-schema.d.ts",
52
- "default": "./dist/github-schema.mjs"
53
- },
54
- "require": {
55
- "types": "./dist/github-schema.d.cts",
56
- "default": "./dist/github-schema.cjs"
57
- }
33
+ "import": "./dist/github-schema.js",
34
+ "require": "./dist/github-schema.cjs"
58
35
  },
59
- "./schema": {
60
- "import": {
61
- "types": "./dist/github-schema.d.ts",
62
- "default": "./dist/github-schema.mjs"
63
- },
64
- "require": {
65
- "types": "./dist/github-schema.d.cts",
66
- "default": "./dist/github-schema.cjs"
67
- }
36
+ "./raw": {
37
+ "import": "./dist/raw.js",
38
+ "require": "./dist/raw.cjs"
68
39
  },
69
40
  "./package.json": "./package.json"
70
41
  },
71
- "main": "dist/index.cjs",
72
- "module": "dist/index.mjs",
73
- "types": "dist/index.d.ts",
42
+ "main": "./dist/index.cjs",
43
+ "module": "./dist/index.js",
44
+ "types": "./dist/index.d.cts",
74
45
  "files": [
75
46
  "dist",
76
47
  "github-schema.d.ts",
@@ -80,26 +51,26 @@
80
51
  "node": ">=18"
81
52
  },
82
53
  "scripts": {
83
- "build": "tsup",
54
+ "build": "tsdown",
84
55
  "schema:download": "pnpx tsx --env-file=.env ./scripts/download.ts",
85
56
  "schema:codegen": "graphql-codegen",
86
- "prepublishOnly": "pnpm run schema:download && pnpm run schema:codegen && pnpm run build",
87
57
  "lint": "eslint .",
88
58
  "typecheck": "tsc --noEmit"
89
59
  },
90
60
  "dependencies": {
91
- "graphql": "^16.10.0",
61
+ "graphql": "^16.11.0",
92
62
  "graphql-tag": "^2.12.6"
93
63
  },
94
64
  "devDependencies": {
95
65
  "@graphql-codegen/add": "^5.0.3",
96
- "@graphql-codegen/cli": "^5.0.5",
66
+ "@graphql-codegen/cli": "^5.0.7",
97
67
  "@graphql-codegen/typescript": "^4.1.6",
98
- "@luxass/eslint-config": "^4.18.1",
68
+ "@luxass/eslint-config": "^5.1.0",
99
69
  "@types/node": "^20.14.10",
100
- "eslint": "^9.24.0",
70
+ "eslint": "^9.30.1",
101
71
  "eslint-plugin-format": "^1.0.1",
102
- "tsup": "^8.4.0",
72
+ "publint": "^0.3.12",
73
+ "tsdown": "^0.12.9",
103
74
  "typescript": "^5.8.3"
104
75
  },
105
76
  "pnpm": {
@@ -1,6 +0,0 @@
1
- // src/raw.ts
2
- function gql(raw, ...keys) {
3
- return keys.length === 0 ? raw[0] : String.raw({ raw }, ...keys);
4
- }
5
-
6
- export { gql };
@@ -1 +0,0 @@
1
-
package/dist/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- export { gql } from './chunk-GEXVORGP.mjs';
2
- export { default as gqlTyped } from 'graphql-tag';
package/dist/raw.mjs DELETED
@@ -1 +0,0 @@
1
- export { gql } from './chunk-GEXVORGP.mjs';