bridge/website/codegen.yml

18 lines
444 B
YAML
Raw Normal View History

2021-01-18 23:08:39 +01:00
schema: http://localhost:3000/api/website/graphql
documents:
- src/graphql/queries/get-prompt-info.ts
2021-01-19 20:20:50 +01:00
- src/graphql/mutations/login.ts
2021-01-25 13:21:10 +01:00
- src/graphql/mutations/set-symbol.ts
- src/graphql/mutations/create-user.ts
2021-01-18 23:08:39 +01:00
generates:
./src/graphql/generated.ts:
plugins:
- typescript
- typescript-operations
- typescript-graphql-request
config:
avoidOptionals: true
hooks:
afterAllFileWrite:
- eslint --fix