@graphql-codegen/plugin-helpers 2.4.0-alpha-23d229715.0 → 2.4.1-alpha-bbecef04a.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/package.json +1 -1
  2. package/types.d.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/plugin-helpers",
3
- "version": "2.4.0-alpha-23d229715.0",
3
+ "version": "2.4.1-alpha-bbecef04a.0",
4
4
  "description": "GraphQL Code Generator common utils and types",
5
5
  "peerDependencies": {
6
6
  "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
package/types.d.ts CHANGED
@@ -182,7 +182,11 @@ export declare namespace Types {
182
182
  interface CustomDocumentLoader {
183
183
  [path: string]: CustomDocumentLoaderOptions;
184
184
  }
185
- type OperationDocument = OperationDocumentGlobPath | CustomDocumentLoader;
185
+ interface CustomDocumentRequire {
186
+ require: string;
187
+ config: object;
188
+ }
189
+ type OperationDocument = OperationDocumentGlobPath | CustomDocumentLoader | CustomDocumentRequire;
186
190
  type PluginConfig<T = any> = {
187
191
  [key: string]: T;
188
192
  };