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.4.0-alpha-28c2e60.0 to 0.4.0

3

hooks.d.ts
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;
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