graphql-language-service
Advanced tools
Comparing version 5.2.0-canary-8cc6cc6c.0 to 5.2.0-canary-8d17bd3c.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 |
@@ -106,8 +106,2 @@ import type { Diagnostic as DiagnosticType, CompletionItem as CompletionItemType } from 'vscode-languageserver-types'; | ||
}; | ||
export declare type Reference = { | ||
location: { | ||
uri: Uri; | ||
range: IRange; | ||
}; | ||
}; | ||
export declare type TokenKind = 'keyword' | 'class-name' | 'constructor' | 'method' | 'param' | 'string' | 'whitespace' | 'plain' | 'type'; | ||
@@ -114,0 +108,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 |
@@ -106,8 +106,2 @@ import type { Diagnostic as DiagnosticType, CompletionItem as CompletionItemType } from 'vscode-languageserver-types'; | ||
}; | ||
export declare type Reference = { | ||
location: { | ||
uri: Uri; | ||
range: IRange; | ||
}; | ||
}; | ||
export declare type TokenKind = 'keyword' | 'class-name' | 'constructor' | 'method' | 'param' | 'string' | 'whitespace' | 'plain' | 'type'; | ||
@@ -114,0 +108,0 @@ export declare type TextToken = { |
{ | ||
"name": "graphql-language-service", | ||
"version": "5.2.0-canary-8cc6cc6c.0", | ||
"version": "5.2.0-canary-8d17bd3c.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( |
@@ -212,9 +212,2 @@ /** | ||
export type Reference = { | ||
location: { | ||
uri: Uri; | ||
range: IRange; | ||
}; | ||
}; | ||
// Outline view | ||
@@ -221,0 +214,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
771821
344968
246
14409