-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodegen.yml
More file actions
24 lines (24 loc) · 696 Bytes
/
Copy pathcodegen.yml
File metadata and controls
24 lines (24 loc) · 696 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
overwrite: true
watch: true
watchConfig:
usePolling: true
interval: 1000
schema:
- https://popular-feline-42.hasura.app/v1/graphql:
headers:
'x-hasura-admin-secret': ZQTgQUbLocLjTw7iij0dHPD4HD16AkRw5gw428Ez8WsdmGgRFD5tVB8DC4VKBOXK
documents: ['./pages/**/*.tsx', './pages/**/*.ts', './components/**/*.tsx', './components/**/*.ts', './graphql/**/*.ts', './types/**/*.ts']
generates:
generated/graphql.tsx:
plugins:
- "typescript"
- "typescript-operations"
- "typescript-react-apollo"
config:
skipTypename: false
withHooks: true
withHOC: false
withComponent: false
./graphql.schema.json:
plugins:
- "introspection"