@0no-co/graphqlsp
Advanced tools
Comparing version 1.12.0-canary-8e09c9b to 1.12.0-canary-e314fd2
# @0no-co/graphqlsp | ||
## 1.12.0-canary-8e09c9b | ||
## 1.12.0-canary-e314fd2 | ||
@@ -28,2 +28,4 @@ ### Minor Changes | ||
Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#303](https://github.com/0no-co/GraphQLSP/pull/303)) | ||
- Expose `findAllCallExpressions` on `@0no-co/graphqlsp/api` | ||
Submitted by [@kitten](https://github.com/kitten) (See [#308](https://github.com/0no-co/GraphQLSP/pull/308)) | ||
@@ -30,0 +32,0 @@ ## 1.11.0 |
@@ -21,3 +21,17 @@ import ts from 'typescript/lib/tsserverlibrary'; | ||
): FragmentDefinitionNode[]; | ||
declare function findAllCallExpressions( | ||
sourceFile: ts.SourceFile, | ||
info: ts.server.PluginCreateInfo, | ||
shouldSearchFragments?: boolean | ||
): { | ||
nodes: Array<{ | ||
node: ts.NoSubstitutionTemplateLiteral; | ||
schema: string | null; | ||
}>; | ||
fragments: Array<FragmentDefinitionNode>; | ||
}; | ||
declare function findAllPersistedCallExpressions( | ||
sourceFile: ts.SourceFile | ||
): Array<ts.CallExpression>; | ||
declare function findAllPersistedCallExpressions( | ||
sourceFile: ts.SourceFile, | ||
@@ -48,2 +62,3 @@ info: ts.server.PluginCreateInfo | ||
export { | ||
findAllCallExpressions, | ||
findAllPersistedCallExpressions, | ||
@@ -50,0 +65,0 @@ getDocumentReferenceFromDocumentNode, |
@@ -7,2 +7,4 @@ Object.defineProperty(exports, "__esModule", { | ||
exports.findAllCallExpressions = e.findAllCallExpressions; | ||
exports.findAllPersistedCallExpressions = e.findAllPersistedCallExpressions; | ||
@@ -9,0 +11,0 @@ |
{ | ||
"name": "@0no-co/graphqlsp", | ||
"version": "1.12.0-canary-8e09c9b", | ||
"version": "1.12.0-canary-e314fd2", | ||
"description": "TypeScript LSP plugin that finds GraphQL documents in your code and provides hints and auto-generates types.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/graphqlsp", |
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 too big to display
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
1360278
13618