-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodegen.yaml
More file actions
29 lines (29 loc) · 830 Bytes
/
codegen.yaml
File metadata and controls
29 lines (29 loc) · 830 Bytes
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
overwrite: true
schema: './graphql-server/schema.ts'
documents: ['./graphql-server/**/*.graphql']
watch: true
generates:
./graphql-server/introspection.json:
plugins:
- introspection
./graphql-server/sdk.ts:
plugins:
- typescript
- typescript-operations
- typescript-graphql-request
- plugin-typescript-swr
config:
skipTypename: true
./graphql-server/resolvers-types.ts:
plugins:
- typescript
- typescript-resolvers
config:
contextType: models/codegen#Context
mappers:
Experience: models/codegen#ExperienceType
Occurrence: models/codegen#OccurrenceType
Booking: models/codegen#BookingGraphQLType
User: models/codegen#UserType
Creator: models/codegen#CreatorType
Review: models/codegen#ReviewType