graphql-language-service
Advanced tools
Comparing version 5.2.0-canary-2f7f1266.0 to 5.2.0-canary-5a3b95d3.0
export { getAutocompleteSuggestions, getDefinitionQueryResultForDefinitionNode, getDefinitionQueryResultForFragmentSpread, getDefinitionQueryResultForNamedType, getDefinitionQueryResultForField, getDefinitionState, getDiagnostics, getFieldDef, getFragmentDefinitions, getHoverInformation, getOutline, getRange, getTokenAtPosition, getTypeInfo, getVariableCompletions, SEVERITY, Severity, HoverConfig, SeverityEnum, DIAGNOSTIC_SEVERITY, DefinitionQueryResult, canUseDirective, SuggestionCommand, AutocompleteSuggestionOptions, validateQuery, } from './interface'; | ||
export { onlineParser, ParseRules, CharacterStream, RuleKinds, LexRules, isIgnored, p, list, t, opt, } from './parser'; | ||
export type { RuleOrString, ParserOptions, ParseRule, TokenPattern, State, CharacterStreamInterface, RuleKindEnum, Token, ContextToken, ContextTokenForCodeMirror, ContextTokenUnion, RuleKind, } from './parser'; | ||
export type { CompletionItem, GraphQLProjectConfig, Maybe, IPosition, Diagnostic, IRange, Definition, CachedContent, GraphQLConfig, GraphQLFileMetadata, Uri, ObjectTypeInfo, Outline, OutlineTree, FragmentInfo, GraphQLFileInfo, FileChangeType, GraphQLCache, GraphQLExtensionDeclaration, Reference, } from './types'; | ||
export type { CompletionItem, GraphQLProjectConfig, Maybe, IPosition, Diagnostic, IRange, Definition, CachedContent, GraphQLConfig, GraphQLFileMetadata, Uri, ObjectTypeInfo, Outline, OutlineTree, FragmentInfo, GraphQLFileInfo, FileChangeType, GraphQLCache, GraphQLExtensionDeclaration, } from './types'; | ||
export { CompletionItemKind, FileChangeTypeKind } from './types'; | ||
export { JSONSchema6, JSONSchema6TypeName, JSONSchemaOptions, getASTNodeAtPosition, getFragmentDependencies, getFragmentDependenciesForAST, getOperationASTFacts, getOperationFacts, getQueryFacts, getVariablesJSONSchema, offsetToPosition, OperationFacts, pointToOffset, Position, collectVariables, validateWithCustomRules, VariableToType, QueryFacts, Range, } from './utils'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -24,3 +24,2 @@ import type { Diagnostic as DiagnosticType, CompletionItem as CompletionItemType } from 'vscode-languageserver-types'; | ||
getSchema: (appName?: string, queryHasExtensions?: boolean) => Promise<GraphQLSchema | null>; | ||
getSchemaDocumentNode: (appName?: string) => Promise<DocumentNode | null>; | ||
} | ||
@@ -108,8 +107,2 @@ export interface IPosition { | ||
}; | ||
export declare type Reference = { | ||
location: { | ||
uri: Uri; | ||
range: IRange; | ||
}; | ||
}; | ||
export declare type TokenKind = 'keyword' | 'class-name' | 'constructor' | 'method' | 'param' | 'string' | 'whitespace' | 'plain' | 'type'; | ||
@@ -116,0 +109,0 @@ export declare type TextToken = { |
export { getAutocompleteSuggestions, getDefinitionQueryResultForDefinitionNode, getDefinitionQueryResultForFragmentSpread, getDefinitionQueryResultForNamedType, getDefinitionQueryResultForField, getDefinitionState, getDiagnostics, getFieldDef, getFragmentDefinitions, getHoverInformation, getOutline, getRange, getTokenAtPosition, getTypeInfo, getVariableCompletions, SEVERITY, Severity, HoverConfig, SeverityEnum, DIAGNOSTIC_SEVERITY, DefinitionQueryResult, canUseDirective, SuggestionCommand, AutocompleteSuggestionOptions, validateQuery, } from './interface'; | ||
export { onlineParser, ParseRules, CharacterStream, RuleKinds, LexRules, isIgnored, p, list, t, opt, } from './parser'; | ||
export type { RuleOrString, ParserOptions, ParseRule, TokenPattern, State, CharacterStreamInterface, RuleKindEnum, Token, ContextToken, ContextTokenForCodeMirror, ContextTokenUnion, RuleKind, } from './parser'; | ||
export type { CompletionItem, GraphQLProjectConfig, Maybe, IPosition, Diagnostic, IRange, Definition, CachedContent, GraphQLConfig, GraphQLFileMetadata, Uri, ObjectTypeInfo, Outline, OutlineTree, FragmentInfo, GraphQLFileInfo, FileChangeType, GraphQLCache, GraphQLExtensionDeclaration, Reference, } from './types'; | ||
export type { CompletionItem, GraphQLProjectConfig, Maybe, IPosition, Diagnostic, IRange, Definition, CachedContent, GraphQLConfig, GraphQLFileMetadata, Uri, ObjectTypeInfo, Outline, OutlineTree, FragmentInfo, GraphQLFileInfo, FileChangeType, GraphQLCache, GraphQLExtensionDeclaration, } from './types'; | ||
export { CompletionItemKind, FileChangeTypeKind } from './types'; | ||
export { JSONSchema6, JSONSchema6TypeName, JSONSchemaOptions, getASTNodeAtPosition, getFragmentDependencies, getFragmentDependenciesForAST, getOperationASTFacts, getOperationFacts, getQueryFacts, getVariablesJSONSchema, offsetToPosition, OperationFacts, pointToOffset, Position, collectVariables, validateWithCustomRules, VariableToType, QueryFacts, Range, } from './utils'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -24,3 +24,2 @@ import type { Diagnostic as DiagnosticType, CompletionItem as CompletionItemType } from 'vscode-languageserver-types'; | ||
getSchema: (appName?: string, queryHasExtensions?: boolean) => Promise<GraphQLSchema | null>; | ||
getSchemaDocumentNode: (appName?: string) => Promise<DocumentNode | null>; | ||
} | ||
@@ -108,8 +107,2 @@ export interface IPosition { | ||
}; | ||
export declare type Reference = { | ||
location: { | ||
uri: Uri; | ||
range: IRange; | ||
}; | ||
}; | ||
export declare type TokenKind = 'keyword' | 'class-name' | 'constructor' | 'method' | 'param' | 'string' | 'whitespace' | 'plain' | 'type'; | ||
@@ -116,0 +109,0 @@ export declare type TextToken = { |
{ | ||
"name": "graphql-language-service", | ||
"version": "5.2.0-canary-2f7f1266.0", | ||
"version": "5.2.0-canary-5a3b95d3.0", | ||
"description": "The official, runtime independent Language Service for GraphQL", | ||
@@ -47,3 +47,3 @@ "contributors": [ | ||
"graphql": "^16.4.0", | ||
"graphql-config": "4.3.0", | ||
"graphql-config": "5.0.2", | ||
"lodash": "^4.17.15", | ||
@@ -50,0 +50,0 @@ "platform": "^1.3.5", |
@@ -100,3 +100,2 @@ /** | ||
GraphQLExtensionDeclaration, | ||
Reference, | ||
} from './types'; | ||
@@ -103,0 +102,0 @@ |
@@ -41,3 +41,3 @@ /** | ||
expect(actual).toEqual( | ||
'TestType.testField: String\n\n This is field documentation for TestType.testField', | ||
'TestType.testField: String\n\nThis is field documentation for TestType.testField', | ||
); | ||
@@ -52,3 +52,3 @@ }); | ||
expect(actual).toEqual( | ||
'TestType.testField: String\n\n This is field documentation for TestType.testField', | ||
'TestType.testField: String\n\nThis is field documentation for TestType.testField', | ||
); | ||
@@ -63,3 +63,3 @@ }); | ||
expect(actual).toEqual( | ||
'Query.thing: TestType\n\n This is field documentation for Query.thing', | ||
'Query.thing: TestType\n\nThis is field documentation for Query.thing', | ||
); | ||
@@ -66,0 +66,0 @@ }); |
@@ -702,3 +702,3 @@ /** | ||
.concat( | ||
[...inlineInterfaces].map(name => ({ name } as GraphQLInterfaceType)), | ||
[...inlineInterfaces].map(name => ({ name }) as GraphQLInterfaceType), | ||
) | ||
@@ -705,0 +705,0 @@ .filter( |
@@ -112,4 +112,2 @@ /** | ||
) => Promise<GraphQLSchema | null>; | ||
getSchemaDocumentNode: (appName?: string) => Promise<DocumentNode | null>; | ||
} | ||
@@ -215,9 +213,2 @@ | ||
export type Reference = { | ||
location: { | ||
uri: Uri; | ||
range: IRange; | ||
}; | ||
}; | ||
// Outline view | ||
@@ -224,0 +215,0 @@ export type TokenKind = |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
771821
246
14409