graphql-language-service
Advanced tools
Comparing version 5.1.7-alpha.0 to 5.2.0-canary-0ef186a2.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, } from './types'; | ||
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 { 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,2 +24,3 @@ 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>; | ||
} | ||
@@ -107,2 +108,8 @@ 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'; | ||
@@ -109,0 +116,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, } from './types'; | ||
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 { 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,2 +24,3 @@ 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>; | ||
} | ||
@@ -107,2 +108,8 @@ 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'; | ||
@@ -109,0 +116,0 @@ export declare type TextToken = { |
{ | ||
"name": "graphql-language-service", | ||
"version": "5.1.7-alpha.0", | ||
"version": "5.2.0-canary-0ef186a2.0", | ||
"description": "The official, runtime independent Language Service for GraphQL", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -100,2 +100,3 @@ /** | ||
GraphQLExtensionDeclaration, | ||
Reference, | ||
} from './types'; | ||
@@ -102,0 +103,0 @@ |
@@ -112,2 +112,4 @@ /** | ||
) => Promise<GraphQLSchema | null>; | ||
getSchemaDocumentNode: (appName?: string) => Promise<DocumentNode | null>; | ||
} | ||
@@ -213,2 +215,9 @@ | ||
export type Reference = { | ||
location: { | ||
uri: Uri; | ||
range: IRange; | ||
}; | ||
}; | ||
// Outline view | ||
@@ -215,0 +224,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
775999
14431