@graphql-tools/utils
Advanced tools
Comparing version 10.8.3-alpha-20250225134925-8a510156982b4d407de6fb60b0e2c9f60c5fea26 to 10.8.3-alpha-20250225135431-ada7ba0faa4e05cdc173c6060b90ecf7ee2abccc
{ | ||
"name": "@graphql-tools/utils", | ||
"version": "10.8.3-alpha-20250225134925-8a510156982b4d407de6fb60b0e2c9f60c5fea26", | ||
"version": "10.8.3-alpha-20250225135431-ada7ba0faa4e05cdc173c6060b90ecf7ee2abccc", | ||
"description": "Common package containing utils and types for GraphQL tools", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -1,4 +0,4 @@ | ||
import { MaybePromise } from '@whatwg-node/promise-helpers'; | ||
import type { MaybePromise } from '@whatwg-node/promise-helpers'; | ||
import { ExecutionRequest, ExecutionResult } from './Interfaces.js'; | ||
export { MaybePromise } from '@whatwg-node/promise-helpers'; | ||
export type { MaybePromise } from '@whatwg-node/promise-helpers'; | ||
export type MaybeAsyncIterable<T> = AsyncIterable<T> | T; | ||
@@ -5,0 +5,0 @@ export type AsyncExecutor<TBaseContext = Record<string, any>, TBaseExtensions = Record<string, any>> = <TReturn = any, TArgs extends Record<string, any> = Record<string, any>, TContext extends TBaseContext = TBaseContext, TRoot = any, TExtensions extends TBaseExtensions = TBaseExtensions>(request: ExecutionRequest<TArgs, TContext, TRoot, TExtensions, TReturn>) => Promise<MaybeAsyncIterable<ExecutionResult<TReturn>>>; |
@@ -1,2 +0,2 @@ | ||
import { isPromise, MaybePromise } from '@whatwg-node/promise-helpers'; | ||
import { isPromise, type MaybePromise } from '@whatwg-node/promise-helpers'; | ||
export declare function isIterableObject(value: unknown): value is Iterable<unknown>; | ||
@@ -3,0 +3,0 @@ export declare function isObjectLike(value: unknown): value is { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
508744