graphql.config.json 778 B

12345678910111213141516171819202122
  1. {
  2. "README_schema" : "Specifies how to load the GraphQL schema that completion, error highlighting, and documentation is based on in the IDE",
  3. "schema": {
  4. "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.",
  5. "file": "./schema.json"
  6. },
  7. "README_endpoints": "A list of GraphQL endpoints that can be queried from '.graphql' files in the IDE",
  8. "endpoints" : [
  9. {
  10. "name": "Vendure Dev",
  11. "url": "http://localhost:3000/api",
  12. "options" : {
  13. "headers": {
  14. "user-agent" : "JS GraphQL"
  15. }
  16. }
  17. }
  18. ]
  19. }