@envelop/types
Advanced tools
Comparing version 1.0.0 to 1.0.1-alpha-65d6f6f.0
@@ -1,3 +0,3 @@ | ||
import type { DocumentNode, GraphQLFieldResolver, GraphQLSchema, SubscriptionArgs, ExecutionResult, ExecutionArgs, GraphQLTypeResolver } from 'graphql'; | ||
import type { Maybe, PromiseOrValue, AsyncIterableIteratorOrValue } from './utils'; | ||
import type { DocumentNode, GraphQLFieldResolver, GraphQLSchema, SubscriptionArgs, ExecutionArgs, GraphQLTypeResolver, subscribe, execute } from 'graphql'; | ||
import type { Maybe } from './utils'; | ||
export declare type PolymorphicExecuteArguments = [ExecutionArgs] | [ | ||
@@ -15,3 +15,3 @@ GraphQLSchema, | ||
]; | ||
export declare type ExecuteFunction = (...args: PolymorphicExecuteArguments) => PromiseOrValue<AsyncIterableIteratorOrValue<ExecutionResult>>; | ||
export declare type ExecuteFunction = typeof execute; | ||
export declare type PolymorphicSubscribeArguments = [SubscriptionArgs] | [ | ||
@@ -29,2 +29,2 @@ GraphQLSchema, | ||
]; | ||
export declare type SubscribeFunction = (...args: PolymorphicSubscribeArguments) => PromiseOrValue<AsyncIterableIteratorOrValue<ExecutionResult>>; | ||
export declare type SubscribeFunction = typeof subscribe; |
{ | ||
"name": "@envelop/types", | ||
"version": "1.0.0", | ||
"version": "1.0.1-alpha-65d6f6f.0", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
14634
2