github-schema 1.19.0 → 1.20.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.
@@ -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
  """
@@ -4549,7 +4544,7 @@ type ClosedEvent implements Node & UniformResourceLocatable {
4549
4544
  """
4550
4545
  The reason the issue state was changed to closed.
4551
4546
  """
4552
- stateReason: IssueStateReason
4547
+ stateReason: IssueStateReason @deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")
4553
4548
 
4554
4549
  """
4555
4550
  The HTTP URL for this closed event.
@@ -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
  """
@@ -18945,7 +18941,7 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
18945
18941
  Whether or not to return state reason for duplicates
18946
18942
  """
18947
18943
  enableDuplicate: Boolean = false
18948
- ): IssueStateReason
18944
+ ): IssueStateReason @deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.")
18949
18945
 
18950
18946
  """
18951
18947
  A list of sub-issues associated with the Issue.
@@ -19746,8 +19742,7 @@ enum IssueStateReason {
19746
19742
  COMPLETED
19747
19743
 
19748
19744
  """
19749
- An issue that has been closed as a duplicate. To retrieve this value, set
19750
- `(enableDuplicate: true)` when querying the stateReason field.
19745
+ An issue that has been closed as a duplicate.
19751
19746
  """
19752
19747
  DUPLICATE
19753
19748
 
@@ -21266,6 +21261,11 @@ type Mannequin implements Actor & Node & UniformResourceLocatable {
21266
21261
  """
21267
21262
  login: String!
21268
21263
 
21264
+ """
21265
+ The display name of the imported mannequin.
21266
+ """
21267
+ name: String
21268
+
21269
21269
  """
21270
21270
  The HTML path to this resource.
21271
21271
  """
@@ -42113,6 +42113,11 @@ type Release implements Node & Reactable & UniformResourceLocatable {
42113
42113
  """
42114
42114
  id: ID!
42115
42115
 
42116
+ """
42117
+ Whether or not the release is immutable
42118
+ """
42119
+ immutable: Boolean!
42120
+
42116
42121
  """
42117
42122
  Whether or not the release is a draft
42118
42123
  """
@@ -49891,6 +49896,11 @@ type ReprioritizeSubIssuePayload {
49891
49896
  Autogenerated input type of RequestReviews
49892
49897
  """
49893
49898
  input RequestReviewsInput {
49899
+ """
49900
+ The Node IDs of the bot to request.
49901
+ """
49902
+ botIds: [ID!]
49903
+
49894
49904
  """
49895
49905
  A unique identifier for the client performing the mutation.
49896
49906
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
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.12.4",
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,7 +51,7 @@
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
57
  "prepublishOnly": "pnpm run schema:download && pnpm run schema:codegen && pnpm run build",
@@ -88,18 +59,19 @@
88
59
  "typecheck": "tsc --noEmit"
89
60
  },
90
61
  "dependencies": {
91
- "graphql": "^16.10.0",
62
+ "graphql": "^16.11.0",
92
63
  "graphql-tag": "^2.12.6"
93
64
  },
94
65
  "devDependencies": {
95
66
  "@graphql-codegen/add": "^5.0.3",
96
- "@graphql-codegen/cli": "^5.0.5",
67
+ "@graphql-codegen/cli": "^5.0.7",
97
68
  "@graphql-codegen/typescript": "^4.1.6",
98
- "@luxass/eslint-config": "^4.18.1",
69
+ "@luxass/eslint-config": "^5.1.0",
99
70
  "@types/node": "^20.14.10",
100
- "eslint": "^9.24.0",
71
+ "eslint": "^9.30.1",
101
72
  "eslint-plugin-format": "^1.0.1",
102
- "tsup": "^8.4.0",
73
+ "publint": "^0.3.12",
74
+ "tsdown": "^0.12.9",
103
75
  "typescript": "^5.8.3"
104
76
  },
105
77
  "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';