forked from chgnln/cmkp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraphql.config.json
20 lines (20 loc) · 998 Bytes
/
graphql.config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"README_schema": "Specifies how to load the GraphQL schema that completion, error highlighting, and documentation is based on in the IDE",
"schema": {
"README_file": "Remove 'file' to use request url below. A relative or absolute path to the JSON from a schema introspection query, e.g. '{ data: ... }' or a .graphql/.graphqls file describing the schema using GraphQL Schema Language. Changes to the file are watched.",
"file": "backend/schema.graphql"
},
"README_endpoints": "A list of GraphQL endpoints that can be queried from '.graphql' files in the IDE",
"endpoints": [
{
"name": "Default",
"url": "http://localhost:3000/api/graphql",
"options": {
"headers": {
"user-agent": "JS GraphQL",
"Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhZG1pbiIsImV4cCI6MTU0NzI5NDMzNywiaWF0IjoxNTQ1NTY2MzM3LCJpc3MiOiJjbWtwIiwic3ViIjoiMSJ9._CnNHmstzK-k_svfk7RrfbDARRtskDyHbqm_wRw61vM"
}
}
}
]
}