forked from reearth/reearth-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codegen.yml
36 lines (36 loc) · 916 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
32
33
34
35
36
overwrite: true
schema: http://localhost:8080/api/graphql
documents:
- src/**/queries.ts
- src/gql/fragments/*.ts
- src/**/*.graphql
generates:
./src/gql/graphql-client-api.tsx:
plugins:
- typescript
- typescript-operations
- typescript-react-apollo
config:
useTypeImports: true
scalars:
DateTime: Date
FileSize: number
ID: string
Cursor: string
URL: string
Lang: string
TranslatedString: '{ [lang in string]?: string } | null'
PluginID: string
PluginExtensionID: string
PropertySchemaID: string
PropertySchemaGroupID: string
PropertySchemaFieldID: string
DatasetSchemaFieldID: string
./src/gql/graphql.schema.json:
plugins:
- introspection
./src/gql/fragmentMatcher.json:
plugins:
- fragment-matcher
config:
apolloClientVersion: 3