-
Notifications
You must be signed in to change notification settings - Fork 0
/
codegen.json
39 lines (39 loc) · 1.16 KB
/
codegen.json
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
32
33
34
35
36
37
38
39
{
"schema": "src/common/schema.graphql",
"overwrite": true,
"documents": "src/client/graphql/documents.graphql",
"generates": {
"src/host/modules/graphql/index.ts": {
"config": {
"scalars": {
"Date": "Date",
"TypeMatchedScalar": "never"
},
"interfacePrefix": "",
"mappers": {
"Photo": "@modules/graphql/codegen-mappers#Photo"
},
"contextType": "@modules/graphql/codegen-mappers#ResolveContext"
},
"plugins": [
"typescript-common",
"typescript-server",
"typescript-resolvers"
]
},
"src/client/graphql/index.tsx": {
"config": {
"scalars": {
"Date": "string",
"TypeMatchedScalar": "never"
},
"interfacePrefix": ""
},
"plugins": [
"typescript-common",
"typescript-client",
"typescript-react-apollo"
]
}
}
}