@envelop/core
Advanced tools
Comparing version
@@ -344,2 +344,6 @@ 'use strict'; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types | ||
function isSourceObject(maybeSource) { | ||
return maybeSource != null && maybeSource.body != null; | ||
} | ||
@@ -1343,2 +1347,3 @@ function createEnvelopOrchestrator(plugins) { | ||
exports.isPluginEnabled = isPluginEnabled; | ||
exports.isSourceObject = isSourceObject; | ||
exports.makeExecute = makeExecute; | ||
@@ -1345,0 +1350,0 @@ exports.makeSubscribe = makeSubscribe; |
{ | ||
"name": "@envelop/core", | ||
"version": "2.4.0-alpha-0969daf.0", | ||
"version": "2.4.0-alpha-35741fe.0", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
@@ -46,1 +46,2 @@ import { ASTNode, DocumentNode, OperationDefinitionNode, Source, ExecutionResult, SubscriptionArgs, ExecutionArgs } from 'graphql'; | ||
}; | ||
export declare function isSourceObject(maybeSource: any): maybeSource is Source; |
Sorry, the diff of this file is not supported yet
113714
0.44%2845
0.35%