@envelop/types
Advanced tools
Comparing version 0.0.0 to 0.0.1-alpha-e5a9ab0.0
@@ -15,2 +15,3 @@ import { DocumentNode, GraphQLSchema, Source, ParseOptions, GraphQLError, execute, parse, validate, GraphQLResolveInfo, ExecutionArgs, ExecutionResult, ValidationRule, TypeInfo } from 'graphql'; | ||
result: ExecutionResult; | ||
setResult: (newResult: ExecutionResult) => void; | ||
}) => void; | ||
@@ -58,2 +59,3 @@ onResolverCalled?: OnResolverCalledHooks; | ||
}; | ||
addValidationRule: (rule: ValidationRule) => void; | ||
validateFn: typeof validate; | ||
@@ -74,4 +76,3 @@ setValidationFn: (newValidate: typeof validate) => void; | ||
export declare type AfterCallback<T extends keyof Plugin> = Plugin[T] extends BeforeAfterHook<infer B, infer A, infer Async> ? (afterOptions: A) => void : never; | ||
export declare type GraphQLServerOptions<RequestContext = unknown> = (requestContext: RequestContext) => { | ||
dispose: () => void; | ||
export declare type Envelop<RequestContext = unknown> = () => { | ||
execute: typeof execute; | ||
@@ -78,0 +79,0 @@ validate: typeof validate; |
{ | ||
"name": "@envelop/types", | ||
"version": "0.0.0", | ||
"version": "0.0.1-alpha-e5a9ab0.0", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
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
4004
84