aboutsummaryrefslogtreecommitdiffstats
path: root/webui/codegen.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'webui/codegen.yaml')
-rw-r--r--webui/codegen.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/webui/codegen.yaml b/webui/codegen.yaml
index 1580632e..3cdb0517 100644
--- a/webui/codegen.yaml
+++ b/webui/codegen.yaml
@@ -2,22 +2,22 @@ schema: '../graphql/schema/*.graphql'
overwrite: true
documents: src/**/*.graphql
generates:
- ./src/fragmentTypes.js:
+ ./src/fragmentTypes.ts:
plugins:
- - fragment-matcher
+ - fragment-matcher
config:
module: es2015
./src/gqlTypes.ts:
plugins:
- - typescript
+ - typescript
./src/schema.json:
plugins:
- - introspection
+ - introspection
./src/:
plugins:
- - add: '/* eslint-disable @typescript-eslint/no-unused-vars, import/order */'
- - typescript-operations
- - typescript-react-apollo
+ - add: '/* eslint-disable @typescript-eslint/no-unused-vars, import/order */'
+ - typescript-operations
+ - typescript-react-apollo
preset: near-operation-file
presetConfig:
extension: .generated.tsx
@@ -29,4 +29,4 @@ generates:
hooks:
afterAllFileWrite:
- - prettier --write
+ - prettier --write