chore: refactor a lot, add codegen and upgrade vue

This commit is contained in:
2022-08-03 18:40:05 +02:00
parent 0e1ce42af2
commit e24b65c85b
42 changed files with 3854 additions and 1073 deletions
+20 -4
View File
@@ -1,6 +1,22 @@
schema: ./schema.graphql
overwrite: true
schema: ./graphql/schema.graphql
documents: './graphql/**/*.graphql'
generates:
./fragmentTypes.json:
./graphql/generated/operations.ts:
plugins:
- fragment-matcher
- typescript
- typescript-operations
- typescript-vue-apollo
- fragment-matcher
config:
fetcher: fetch
avoidOptionals:
field: true
inputValue: true
object: false
defaultValue: true
maybeValue: T | null | undefined
strictScalars: true
scalars:
LocalDate: string
LocalDateTime: string
vueCompositionApiImportFrom: vue