forked from commercetools/merchant-center-application-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.graphqlconfig.yaml
42 lines (42 loc) · 1.01 KB
/
.graphqlconfig.yaml
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
40
41
42
projects:
mc:
schemaPath: schemas/mc.json
includes:
- '**/*.mc.graphql'
extensions:
endpoints:
production:
url: '${env:MC_API_URL}'
headers:
X-Graphql-Target: mc
proxy:
schemaPath: schemas/proxy.json
includes:
- '**/*.proxy.graphql'
extensions:
endpoints:
production:
url: '${env:MC_PROXY_URL}'
settings:
schemaPath: schemas/settings.json
includes:
- '**/*.settings.graphql'
extensions:
endpoints:
production:
url: '${env:MC_API_URL}'
headers:
Cookie: mcAccessToken=${env:MC_ACCESS_TOKEN}
X-Graphql-Target: settings
ctp:
schemaPath: schemas/ctp.json
includes:
- '**/*.ctp.graphql'
extensions:
endpoints:
production:
url: '${env:MC_API_URL}'
headers:
Cookie: mcAccessToken=${env:MC_ACCESS_TOKEN}
X-Graphql-Target: ctp
X-Project-Key: ${env:CTP_PROJECT_KEY}