Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@envelop/types

Package Overview
Dependencies
Maintainers
1
Versions
629
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@envelop/types - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1-alpha-676c131.0

5

index.d.ts

@@ -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;

2

package.json
{
"name": "@envelop/types",
"version": "0.0.0",
"version": "0.0.1-alpha-676c131.0",
"sideEffects": false,

@@ -5,0 +5,0 @@ "peerDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc