chore: refactor a lot, add codegen and upgrade vue
This commit is contained in:
+20
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user