Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Auto-Refresh feature and refresh button added #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions assets/app/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"main.css": "static/css/main.820e0136.css",
"main.css.map": "static/css/main.820e0136.css.map",
"main.js": "static/js/main.ef1c9dbe.js",
"main.js.map": "static/js/main.ef1c9dbe.js.map",
"static/media/GraphQLLanguageService.js.flow": "static/media/GraphQLLanguageService.js.661fe407.flow",
"main.js": "static/js/main.b1825402.js",
"main.js.map": "static/js/main.b1825402.js.map",
"static/media/GraphQLLanguageService.js.flow": "static/media/GraphQLLanguageService.js.5ab204b9.flow",
"static/media/autocompleteUtils.js.flow": "static/media/autocompleteUtils.js.4ce7ba19.flow",
"static/media/getAutocompleteSuggestions.js.flow": "static/media/getAutocompleteSuggestions.js.7f98f032.flow",
"static/media/getDefinition.js.flow": "static/media/getDefinition.js.4dbec62f.flow",
"static/media/getDiagnostics.js.flow": "static/media/getDiagnostics.js.65b0979a.flow",
"static/media/getHoverInformation.js.flow": "static/media/getHoverInformation.js.d9411837.flow",
"static/media/getOutline.js.flow": "static/media/getOutline.js.458a3518.flow",
"static/media/getOutline.js.flow": "static/media/getOutline.js.c04e3998.flow",
"static/media/index.js.flow": "static/media/index.js.02c24280.flow"
}
2 changes: 1 addition & 1 deletion assets/app/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<head><link href="/static/css/main.820e0136.css" rel="stylesheet"></head><script type="text/javascript" src="/static/js/main.ef1c9dbe.js"></script>
<head><link href="/static/css/main.820e0136.css" rel="stylesheet"></head><script type="text/javascript" src="/static/js/main.b1825402.js"></script>
2 changes: 1 addition & 1 deletion assets/app/build/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/app/build/static/js/main.b1825402.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/app/build/static/js/main.b1825402.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions assets/app/build/static/js/main.ef1c9dbe.js

This file was deleted.

1 change: 0 additions & 1 deletion assets/app/build/static/js/main.ef1c9dbe.js.map

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,18 @@ import type {
import type {Position} from 'graphql-language-service-utils';
import type {Hover} from 'vscode-languageserver-types';

import {Kind, parse, print} from 'graphql';
import {getAutocompleteSuggestions} from './getAutocompleteSuggestions';
import {getHoverInformation} from './getHoverInformation';
import {validateQuery, getRange, SEVERITY} from './getDiagnostics';
import {
getDefinitionQueryResultForFragmentSpread,
getDefinitionQueryResultForDefinitionNode,
getDefinitionQueryResultForNamedType,
} from './getDefinition';
import {getASTNodeAtPosition} from 'graphql-language-service-utils';

const {
FRAGMENT_DEFINITION,
OBJECT_TYPE_DEFINITION,
INTERFACE_TYPE_DEFINITION,
Expand All @@ -46,18 +57,7 @@ import {
FRAGMENT_SPREAD,
OPERATION_DEFINITION,
NAMED_TYPE,
} from 'graphql/language/kinds';

import {parse, print} from 'graphql';
import {getAutocompleteSuggestions} from './getAutocompleteSuggestions';
import {getHoverInformation} from './getHoverInformation';
import {validateQuery, getRange, SEVERITY} from './getDiagnostics';
import {
getDefinitionQueryResultForFragmentSpread,
getDefinitionQueryResultForDefinitionNode,
getDefinitionQueryResultForNamedType,
} from './getDefinition';
import {getASTNodeAtPosition} from 'graphql-language-service-utils';
} = Kind;

export class GraphQLLanguageService {
_graphQLCache: GraphQLCache;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ import type {
TokenKind,
} from 'graphql-language-service-types';

import {parse, visit} from 'graphql';
import {INLINE_FRAGMENT} from 'graphql/language/kinds';
import {Kind, parse, visit} from 'graphql';
import {offsetToPosition} from 'graphql-language-service-utils';

const {INLINE_FRAGMENT} = Kind;

const OUTLINEABLE_KINDS = {
Field: true,
OperationDefinition: true,
Expand Down
Loading