@envelop/graphql-modules 3.1.0 → 3.1.1-alpha-e859732.0

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.
Files changed (2) hide show
  1. package/index.d.ts +8 -2
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -1,3 +1,9 @@
1
1
  import { Plugin } from '@envelop/core';
2
- import { Application } from 'graphql-modules';
3
- export declare const useGraphQLModules: (app: Application) => Plugin;
2
+ import { Application, OperationController } from 'graphql-modules';
3
+ import { InternalAppContext } from 'graphql-modules/application/application';
4
+ declare const graphqlModulesControllerSymbol: unique symbol;
5
+ declare type PluginContext = InternalAppContext & {
6
+ [graphqlModulesControllerSymbol]: OperationController;
7
+ };
8
+ export declare const useGraphQLModules: (app: Application) => Plugin<{}, PluginContext>;
9
+ export {};
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@envelop/graphql-modules",
3
- "version": "3.1.0",
3
+ "version": "3.1.1-alpha-e859732.0",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@envelop/core": "^2.1.0",
6
+ "@envelop/core": "2.1.1-alpha-e859732.0",
7
7
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
8
8
  "graphql-modules": "^1 || ^2.0.0"
9
9
  },