-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
codegen.yml
31 lines (31 loc) · 835 Bytes
/
codegen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
overwrite: true
schema:
- ./src/schema/**/*.gql
generates:
./src/schema/generated/types.d.ts:
plugins:
- add:
content:
- '/* eslint-disable */'
- typescript
- typescript-resolvers
config:
constEnums: true
enumsAsConst: true
enumsAsTypes: true
immutableTypes: true
useImplementingTypes: true
# ./src/schema/generated/apollo.ts:
# plugins:
# - typescript-operations
# - typescript-apollo-client-helpers
# - typescript-vue-apollo
# - named-operations-object
# config:
# enumsAsTypes: true
# withCompositionFunctions: true
# vueApolloComposableImportFrom: '@vue/apollo-composable'
# vueCompositionApiImportFrom: vue
./src/schema/generated/graphql.schema.json:
plugins:
- 'introspection'