We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d97973 commit fa5e839Copy full SHA for fa5e839
codegen.ts
@@ -10,7 +10,6 @@ const config: CodegenConfig = {
10
// Add a custom header for authorization using your PAT
11
headers: {
12
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
13
- 'User-Agent': 'GraphQL-Codegen-GitHub-Integration', // GitHub recommends a User-Agent header
14
},
15
16
@@ -19,11 +18,9 @@ const config: CodegenConfig = {
19
18
'!src/renderer/utils/api/graphql/generated/**',
20
'!src/renderer/utils/api/**/*.test.ts',
21
],
22
- // Configure generated outputs and plugins
23
generates: {
24
'src/renderer/utils/api/graphql/generated/': {
25
preset: 'client',
26
- plugins: [],
27
config: {
28
documentMode: 'string',
29
0 commit comments