@graphql-tools/wrap 9.3.5 → 9.3.6-alpha-20230213211404-9c2c17c2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@graphql-tools/wrap",
3
- "version": "9.3.5",
3
+ "version": "9.3.6-alpha-20230213211404-9c2c17c2",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
7
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
8
8
  },
9
9
  "dependencies": {
10
- "@graphql-tools/delegate": "9.0.26",
10
+ "@graphql-tools/delegate": "9.0.27-alpha-20230213211404-9c2c17c2",
11
11
  "@graphql-tools/schema": "9.0.16",
12
12
  "@graphql-tools/utils": "9.2.1",
13
13
  "tslib": "^2.4.0",
@@ -1,6 +1,7 @@
1
1
  import { GraphQLSchema, buildClientSchema, IntrospectionOptions, ParseOptions } from 'graphql';
2
- import { AsyncExecutor, SyncExecutor } from '@graphql-tools/utils';
2
+ import { AsyncExecutor, Executor, SyncExecutor, MaybePromise } from '@graphql-tools/utils';
3
3
  export type SchemaFromExecutorOptions = Partial<IntrospectionOptions> & Parameters<typeof buildClientSchema>[1] & ParseOptions;
4
4
  export declare const introspectSchema: typeof schemaFromExecutor;
5
5
  export declare function schemaFromExecutor(executor: SyncExecutor, context?: Record<string, any>, options?: SchemaFromExecutorOptions): GraphQLSchema;
6
6
  export declare function schemaFromExecutor(executor: AsyncExecutor, context?: Record<string, any>, options?: SchemaFromExecutorOptions): Promise<GraphQLSchema>;
7
+ export declare function schemaFromExecutor(executor: Executor, context?: Record<string, any>, options?: SchemaFromExecutorOptions): MaybePromise<GraphQLSchema>;
@@ -1,6 +1,7 @@
1
1
  import { GraphQLSchema, buildClientSchema, IntrospectionOptions, ParseOptions } from 'graphql';
2
- import { AsyncExecutor, SyncExecutor } from '@graphql-tools/utils';
2
+ import { AsyncExecutor, Executor, SyncExecutor, MaybePromise } from '@graphql-tools/utils';
3
3
  export type SchemaFromExecutorOptions = Partial<IntrospectionOptions> & Parameters<typeof buildClientSchema>[1] & ParseOptions;
4
4
  export declare const introspectSchema: typeof schemaFromExecutor;
5
5
  export declare function schemaFromExecutor(executor: SyncExecutor, context?: Record<string, any>, options?: SchemaFromExecutorOptions): GraphQLSchema;
6
6
  export declare function schemaFromExecutor(executor: AsyncExecutor, context?: Record<string, any>, options?: SchemaFromExecutorOptions): Promise<GraphQLSchema>;
7
+ export declare function schemaFromExecutor(executor: Executor, context?: Record<string, any>, options?: SchemaFromExecutorOptions): MaybePromise<GraphQLSchema>;