@graphql-codegen/plugin-helpers 2.7.0 → 2.7.1-alpha-20220920093645-344b6e55d
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 +1 -1
- package/typings/types.d.cts +5 -1
- package/typings/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.7.
|
|
3
|
+
"version": "2.7.1-alpha-20220920093645-344b6e55d",
|
|
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/typings/types.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { GraphQLSchema, DocumentNode } from 'graphql';
|
|
2
2
|
import { Source } from '@graphql-tools/utils';
|
|
3
3
|
import type { Profiler } from './profiler.cjs';
|
|
4
|
+
import type { ApolloEngineOptions } from '@graphql-tools/apollo-engine-loader';
|
|
4
5
|
export declare namespace Types {
|
|
5
6
|
interface GenerateOptions {
|
|
6
7
|
filename: string;
|
|
@@ -166,11 +167,14 @@ export declare namespace Types {
|
|
|
166
167
|
interface LocalSchemaPathWithOptions {
|
|
167
168
|
[globPath: string]: LocalSchemaPathOptions;
|
|
168
169
|
}
|
|
170
|
+
interface ApolloEngineSchemaOptions {
|
|
171
|
+
'apollo-engine': ApolloEngineOptions;
|
|
172
|
+
}
|
|
169
173
|
type SchemaGlobPath = string;
|
|
170
174
|
/**
|
|
171
175
|
* @description A URL to your GraphQL endpoint, a local path to `.graphql` file, a glob pattern to your GraphQL schema files, or a JavaScript file that exports the schema to generate code from. This can also be an array which specifies multiple schemas to generate code from. You can read more about the supported formats [here](schema-field#available-formats).
|
|
172
176
|
*/
|
|
173
|
-
type Schema = string | UrlSchemaWithOptions | LocalSchemaPathWithOptions | SchemaGlobPath | SchemaWithLoader | SchemaFromCodeFile;
|
|
177
|
+
type Schema = string | UrlSchemaWithOptions | ApolloEngineSchemaOptions | LocalSchemaPathWithOptions | SchemaGlobPath | SchemaWithLoader | SchemaFromCodeFile;
|
|
174
178
|
type OperationDocumentGlobPath = string;
|
|
175
179
|
/**
|
|
176
180
|
* @additionalProperties false
|
package/typings/types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { GraphQLSchema, DocumentNode } from 'graphql';
|
|
2
2
|
import { Source } from '@graphql-tools/utils';
|
|
3
3
|
import type { Profiler } from './profiler.js';
|
|
4
|
+
import type { ApolloEngineOptions } from '@graphql-tools/apollo-engine-loader';
|
|
4
5
|
export declare namespace Types {
|
|
5
6
|
interface GenerateOptions {
|
|
6
7
|
filename: string;
|
|
@@ -166,11 +167,14 @@ export declare namespace Types {
|
|
|
166
167
|
interface LocalSchemaPathWithOptions {
|
|
167
168
|
[globPath: string]: LocalSchemaPathOptions;
|
|
168
169
|
}
|
|
170
|
+
interface ApolloEngineSchemaOptions {
|
|
171
|
+
'apollo-engine': ApolloEngineOptions;
|
|
172
|
+
}
|
|
169
173
|
type SchemaGlobPath = string;
|
|
170
174
|
/**
|
|
171
175
|
* @description A URL to your GraphQL endpoint, a local path to `.graphql` file, a glob pattern to your GraphQL schema files, or a JavaScript file that exports the schema to generate code from. This can also be an array which specifies multiple schemas to generate code from. You can read more about the supported formats [here](schema-field#available-formats).
|
|
172
176
|
*/
|
|
173
|
-
type Schema = string | UrlSchemaWithOptions | LocalSchemaPathWithOptions | SchemaGlobPath | SchemaWithLoader | SchemaFromCodeFile;
|
|
177
|
+
type Schema = string | UrlSchemaWithOptions | ApolloEngineSchemaOptions | LocalSchemaPathWithOptions | SchemaGlobPath | SchemaWithLoader | SchemaFromCodeFile;
|
|
174
178
|
type OperationDocumentGlobPath = string;
|
|
175
179
|
/**
|
|
176
180
|
* @additionalProperties false
|