Files
TheGame/packages/graphql-codegen/graphql-codegen-gql.yaml
Pacien Boisson c684b9d836 Base architecture (#1)
* Hasura and base models

* Added role public SELECT permissions

* Added role player UPDATE permissions

* basic backend api

* Added SELECT permissions for player

* Update backend to typescript

* init app-react

* Add apollo

* graphql-codegen not working well...

* Added web3 to web app

* connecting frontend with web3

* Auth webhook verifies eth signature

* Update frontend to fetch player_id
2020-04-16 10:20:15 +02:00

27 lines
570 B
YAML

schema:
- http://localhost:8080/v1/graphql
documents:
overwrite: true
config:
scalars:
DateTime: Date
JSON: "{ [key: string]: any }"
generates:
./autogen/hasura/gql.ts:
plugins:
- graphql-codegen-hasura-gql
documents:
- ./customFragments.ts
config:
reactApolloVersion: 3
typescriptCodegenOutputPath: ../
trimString:
withQueries: true
withSubscriptions: false
withInserts: false
withUpdates: false
withDeletes: false
./autogen/graphql.schema.json:
plugins:
- introspection