-
Notifications
You must be signed in to change notification settings - Fork 0
/
codegen.yaml
39 lines (39 loc) · 1.09 KB
/
codegen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
overwrite: true
schema: 'https://docs.github.com/public/schema.docs.graphql'
documents: 'src/**/*.graphql'
generates:
src/services/api/graphql/generated/types.ts:
plugins:
- typescript
- add:
content: >
/* eslint-disable */
/**
*
* THIS FILE IS AUTOGENERATED, DO NOT EDIT IT!
*/
src/:
preset: near-operation-file
presetConfig:
baseTypesPath: services/api/graphql/generated/types.ts
folder: 'generated'
extension: '.ts'
plugins:
- add:
content: >
/* eslint-disable */
/**
*
* THIS FILE IS AUTOGENERATED, DO NOT EDIT IT!
*
* instead, edit one of the `.graphql` files in this project and run
*
* npm run graphql-codegen
*
* for this file to be re-created
*/
- typescript-operations
- typescript-rtk-query:
importBaseApiFrom: '../base'
importBaseApiAlternateName: 'baseGraphQLApi'
exportHooks: true