mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2024-12-21 15:46:26 +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
|