@envelop/types
Advanced tools
Comparing version 0.4.0-alpha-28c2e60.0 to 0.4.0
import { DocumentNode, execute, ExecutionArgs, ExecutionResult, GraphQLError, GraphQLResolveInfo, GraphQLSchema, parse, ParseOptions, Source, subscribe, SubscriptionArgs, TypeInfo, validate, ValidationRule } from 'graphql'; | ||
import { Maybe } from 'graphql/jsutils/Maybe'; | ||
import { PromiseOrValue } from 'graphql/jsutils/PromiseOrValue'; | ||
@@ -23,3 +24,3 @@ import { DefaultContext } from 'packages/core/src'; | ||
setSchema: SetSchemaFn; | ||
context: Readonly<ContextType>; | ||
context: Readonly<Maybe<ContextType>>; | ||
extendContext: (contextExtension: Partial<ContextType>) => void; | ||
@@ -26,0 +27,0 @@ }; |
{ | ||
"name": "@envelop/types", | ||
"version": "0.4.0-alpha-28c2e60.0", | ||
"version": "0.4.0", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
@@ -1,2 +0,2 @@ | ||
import { OnEnvelopedHook } from 'packages/core/src'; | ||
import { OnEnvelopedHook } from '@envelop/core'; | ||
import { OnContextBuildingHook, OnExecuteHook, OnParseHook, OnPluginInitHook, OnSchemaChangeHook, OnSubscribeHook, OnValidateHook } from './hooks'; | ||
@@ -3,0 +3,0 @@ export interface Plugin<PluginContext extends Record<string, any> = {}> { |
@@ -21,1 +21,2 @@ export declare type OptionalPropertyNames<T> = { | ||
export declare type PromiseOrValue<T> = T | Promise<T>; | ||
export declare type Maybe<T> = T | null | undefined; |
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
12122
209