new graphql pipeline

This commit is contained in:
2021-12-22 23:25:13 +01:00
parent deb89701f7
commit 44224ffb85
28 changed files with 13826 additions and 2020 deletions

14
codegen.yaml Normal file
View File

@@ -0,0 +1,14 @@
schema: https://api.nicco.io/graphql
documents: "src/**/*.graphql"
generates:
./src/lib/gql/gen.ts:
plugins:
- "@graphql-codegen/typescript"
- "@graphql-codegen/typescript-operations"
- "@graphql-codegen/typescript-graphql-request"
config:
maybeValue: "T"
typesPrefix: GQL
immutableTypes: true
useTypeImports: true
avoidOptionals: true