bridge/website/codegen.yml
2021-01-25 13:21:10 +01:00

17 lines
444 B
YAML

schema: http://localhost:3000/api/website/graphql
documents:
- src/graphql/queries/get-prompt-info.ts
- src/graphql/mutations/login.ts
- src/graphql/mutations/set-symbol.ts
- src/graphql/mutations/create-user.ts
generates:
./src/graphql/generated.ts:
plugins:
- typescript
- typescript-operations
- typescript-graphql-request
config:
avoidOptionals: true
hooks:
afterAllFileWrite:
- eslint --fix