New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 1.3.0-alpha-b257e50.0 to 1.3.0-alpha-c0b5c44.0

10

hooks.d.ts
import type { DocumentNode, ExecutionArgs, ExecutionResult, GraphQLError, GraphQLResolveInfo, GraphQLSchema, ParseOptions, Source, SubscriptionArgs, ValidationRule } from 'graphql';
import { Maybe, PromiseOrValue } from './utils';
import { DefaultContext } from './context-types';
import { ExecuteFunction, ParseFunction, ValidateFunction, ValidateFunctionParameter } from '@envelop/core';
import { AsyncIterableIteratorOrValue, ExecuteFunction, ParseFunction, ValidateFunction, ValidateFunctionParameter } from '@envelop/core';
import { SubscribeFunction } from './graphql';

@@ -319,7 +319,7 @@ import { Plugin } from './plugin';

*/
result: AsyncIterableIterator<ExecutionResult> | ExecutionResult;
result: AsyncIterableIteratorOrValue<ExecutionResult>;
/**
* Replace the execution result with a new execution result.
*/
setResult: (newResult: AsyncIterableIterator<ExecutionResult> | ExecutionResult) => void;
setResult: (newResult: AsyncIterableIteratorOrValue<ExecutionResult>) => void;
};

@@ -386,7 +386,7 @@ /**

*/
result: AsyncIterableIterator<ExecutionResult> | ExecutionResult;
result: AsyncIterableIteratorOrValue<ExecutionResult>;
/**
* Replace the current execution result with a new execution result.
*/
setResult: (newResult: AsyncIterableIterator<ExecutionResult> | ExecutionResult) => void;
setResult: (newResult: AsyncIterableIteratorOrValue<ExecutionResult>) => void;
};

@@ -393,0 +393,0 @@ export declare type OnSubscribeResultResultOnNextHookPayload<ContextType> = {

{
"name": "@envelop/types",
"version": "1.3.0-alpha-b257e50.0",
"version": "1.3.0-alpha-c0b5c44.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