Socket
Book a DemoInstallSign in
Socket

@envelop/types

Package Overview
Dependencies
Maintainers
1
Versions
739
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

to
0.3.1-alpha-594717c.0

2

get-enveloped.d.ts

@@ -9,3 +9,3 @@ import { Plugin } from './plugin';

export declare type GetEnvelopedFn<PluginsContext> = {
<InitialContext extends ArbitraryObject>(initialContext?: InitialContext | null): {
<InitialContext extends ArbitraryObject>(initialContext?: InitialContext): {
execute: OriginalExecuteFn;

@@ -12,0 +12,0 @@ validate: OriginalValidateFn;

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.3.1-alpha-05242ff.0",
"version": "0.3.1-alpha-594717c.0",
"sideEffects": false,

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

@@ -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;
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.