github-schema 1.7.3 → 1.7.5
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/README.md +3 -3
- package/dist/github-schema.d.cts +3 -1
- package/dist/github-schema.d.ts +3 -1
- package/github-schema.graphql +5 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ npm install github-schema
|
|
|
14
14
|
## 📚 Usage
|
|
15
15
|
|
|
16
16
|
```ts
|
|
17
|
-
import { gql, gqlTyped } from
|
|
17
|
+
import { gql, gqlTyped } from 'github-schema'
|
|
18
18
|
|
|
19
19
|
// we are also exporting a ton of types from the graphql schema.
|
|
20
20
|
|
|
@@ -36,14 +36,14 @@ const REPOSITORY_QUERY = gql`
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
`
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
> [!NOTE]
|
|
43
43
|
> If you want to use `gql` with return type of `DocumentNode` you can do something like this:
|
|
44
44
|
|
|
45
45
|
```ts
|
|
46
|
-
import { gqlTyped } from
|
|
46
|
+
import { gqlTyped } from 'github-schema'
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
## Editor Autocompletion
|
package/dist/github-schema.d.cts
CHANGED
|
@@ -7310,8 +7310,10 @@ type FundingLink = {
|
|
|
7310
7310
|
};
|
|
7311
7311
|
/** The possible funding platforms for repository funding links. */
|
|
7312
7312
|
type FundingPlatform =
|
|
7313
|
+
/** Buy Me a Coffee funding platform. */
|
|
7314
|
+
'BUY_ME_A_COFFEE'
|
|
7313
7315
|
/** Community Bridge funding platform. */
|
|
7314
|
-
'COMMUNITY_BRIDGE'
|
|
7316
|
+
| 'COMMUNITY_BRIDGE'
|
|
7315
7317
|
/** Custom funding platform. */
|
|
7316
7318
|
| 'CUSTOM'
|
|
7317
7319
|
/** GitHub funding platform. */
|
package/dist/github-schema.d.ts
CHANGED
|
@@ -7310,8 +7310,10 @@ type FundingLink = {
|
|
|
7310
7310
|
};
|
|
7311
7311
|
/** The possible funding platforms for repository funding links. */
|
|
7312
7312
|
type FundingPlatform =
|
|
7313
|
+
/** Buy Me a Coffee funding platform. */
|
|
7314
|
+
'BUY_ME_A_COFFEE'
|
|
7313
7315
|
/** Community Bridge funding platform. */
|
|
7314
|
-
'COMMUNITY_BRIDGE'
|
|
7316
|
+
| 'COMMUNITY_BRIDGE'
|
|
7315
7317
|
/** Custom funding platform. */
|
|
7316
7318
|
| 'CUSTOM'
|
|
7317
7319
|
/** GitHub funding platform. */
|
package/github-schema.graphql
CHANGED
|
@@ -15442,6 +15442,11 @@ type FundingLink {
|
|
|
15442
15442
|
The possible funding platforms for repository funding links.
|
|
15443
15443
|
"""
|
|
15444
15444
|
enum FundingPlatform {
|
|
15445
|
+
"""
|
|
15446
|
+
Buy Me a Coffee funding platform.
|
|
15447
|
+
"""
|
|
15448
|
+
BUY_ME_A_COFFEE
|
|
15449
|
+
|
|
15445
15450
|
"""
|
|
15446
15451
|
Community Bridge funding platform.
|
|
15447
15452
|
"""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-schema",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
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@8.
|
|
11
|
+
"packageManager": "pnpm@8.15.4",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"homepage": "https://github.com/luxass/github-schema",
|
|
14
14
|
"repository": {
|
|
@@ -92,14 +92,14 @@
|
|
|
92
92
|
"graphql-tag": "^2.12.6"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@graphql-codegen/add": "^5.0.
|
|
96
|
-
"@graphql-codegen/cli": "^5.0.
|
|
97
|
-
"@graphql-codegen/typescript": "^4.0.
|
|
98
|
-
"@luxass/eslint-config": "^4.2.
|
|
95
|
+
"@graphql-codegen/add": "^5.0.2",
|
|
96
|
+
"@graphql-codegen/cli": "^5.0.2",
|
|
97
|
+
"@graphql-codegen/typescript": "^4.0.6",
|
|
98
|
+
"@luxass/eslint-config": "^4.2.10",
|
|
99
99
|
"@types/node": "^18.19.0",
|
|
100
|
-
"eslint": "^8.
|
|
100
|
+
"eslint": "^8.57.0",
|
|
101
101
|
"eslint-plugin-format": "^0.1.0",
|
|
102
|
-
"tsup": "^8.0.
|
|
103
|
-
"typescript": "^5.
|
|
102
|
+
"tsup": "^8.0.2",
|
|
103
|
+
"typescript": "^5.4.2"
|
|
104
104
|
}
|
|
105
105
|
}
|