bridge/website/codegen.yml
2021-01-19 20:20:50 +01:00

15 lines
363 B
YAML

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