chore: refactor a lot, add codegen and upgrade vue

This commit is contained in:
argoyle committed 2022-08-03 21:10:48 +02:00
1 parent 0e1ce42af2
commit e24b65c85b
42 files changed
+3854 -1073

No files matched your search

+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