Added graphql

This commit is contained in:
2022-08-20 22:29:54 +02:00
parent 94986d336e
commit 476816a5d9
27 changed files with 3414 additions and 409 deletions

11
codegen.yml Normal file
View File

@@ -0,0 +1,11 @@
schema: http://127.0.0.1:3001/
documents: './src/lib/**/*.graphql'
generates:
./src/lib/graphql/generated.ts:
plugins:
- typescript
- typescript-operations
- typescript-react-apollo
config:
withHooks: true
fetcher: fetch