From b125a0059b9ff6376946c221d10d7111eab5d267 Mon Sep 17 00:00:00 2001 From: Michael Schramm Date: Wed, 3 Jun 2020 12:07:30 +0200 Subject: [PATCH] add current schema and graphql config to ease development with https://blog.jetbrains.com/webstorm/2019/04/featured-plugin-js-graphql/ --- .graphqlconfig | 15 +++++++++++++++ graphql/.graphqlconfig | 4 ---- graphql/schema.graphql => schema.graphql | 0 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .graphqlconfig delete mode 100644 graphql/.graphqlconfig rename graphql/schema.graphql => schema.graphql (100%) diff --git a/.graphqlconfig b/.graphqlconfig new file mode 100644 index 0000000..37cb930 --- /dev/null +++ b/.graphqlconfig @@ -0,0 +1,15 @@ +{ + "name": "OhMyForm API GraphQL Schema", + "schemaPath": "./schema.graphql", + "extensions": { + "endpoints": { + "OhMyForm API GraphQL Endpoint1": { + "url": "http://localhost:4100/graphql", + "headers": { + "user-agent": "JS GraphQL" + }, + "introspect": true + } + } + } +} diff --git a/graphql/.graphqlconfig b/graphql/.graphqlconfig deleted file mode 100644 index 470c0f8..0000000 --- a/graphql/.graphqlconfig +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "OhMyForm API GraphQL Schema", - "schemaPath": "./schema.graphql" -} diff --git a/graphql/schema.graphql b/schema.graphql similarity index 100% rename from graphql/schema.graphql rename to schema.graphql