mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2024-12-22 08:06:29 +00:00
15 lines
394 B
YAML
15 lines
394 B
YAML
|
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
|