@graphql-codegen/introspection 2.2.1 → 2.2.2-alpha-20221207031847-2e87bf712
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 +3 -3
- package/typings/index.d.cts +16 -7
- package/typings/index.d.ts +16 -7
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/introspection",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2-alpha-20221207031847-2e87bf712",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating an introspection JSON file for a GraphQLSchema",
|
|
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"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@graphql-codegen/plugin-helpers": "
|
|
10
|
-
"@graphql-codegen/visitor-plugin-common": "
|
|
9
|
+
"@graphql-codegen/plugin-helpers": "3.0.0-alpha-20221207031847-2e87bf712",
|
|
10
|
+
"@graphql-codegen/visitor-plugin-common": "2.13.4-alpha-20221207031847-2e87bf712",
|
|
11
11
|
"tslib": "~2.4.0"
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
package/typings/index.d.cts
CHANGED
|
@@ -8,13 +8,22 @@ export interface IntrospectionPluginConfig {
|
|
|
8
8
|
* @default false
|
|
9
9
|
*
|
|
10
10
|
* @exampleMarkdown
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
11
|
+
* ```tsx {10} filename="codegen.ts"
|
|
12
|
+
* import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
13
|
+
*
|
|
14
|
+
* const config: CodegenConfig = {
|
|
15
|
+
* schema: 'https://localhost:4000/graphql',
|
|
16
|
+
* documents: ['src/**\/*.tsx'],
|
|
17
|
+
* generates: {
|
|
18
|
+
* 'introspection.json': {
|
|
19
|
+
* plugins: ['introspection'],
|
|
20
|
+
* config: {
|
|
21
|
+
* minify: true
|
|
22
|
+
* },
|
|
23
|
+
* },
|
|
24
|
+
* },
|
|
25
|
+
* };
|
|
26
|
+
* export default config;
|
|
18
27
|
* ```
|
|
19
28
|
*/
|
|
20
29
|
minify?: boolean;
|
package/typings/index.d.ts
CHANGED
|
@@ -8,13 +8,22 @@ export interface IntrospectionPluginConfig {
|
|
|
8
8
|
* @default false
|
|
9
9
|
*
|
|
10
10
|
* @exampleMarkdown
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
11
|
+
* ```tsx {10} filename="codegen.ts"
|
|
12
|
+
* import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
13
|
+
*
|
|
14
|
+
* const config: CodegenConfig = {
|
|
15
|
+
* schema: 'https://localhost:4000/graphql',
|
|
16
|
+
* documents: ['src/**\/*.tsx'],
|
|
17
|
+
* generates: {
|
|
18
|
+
* 'introspection.json': {
|
|
19
|
+
* plugins: ['introspection'],
|
|
20
|
+
* config: {
|
|
21
|
+
* minify: true
|
|
22
|
+
* },
|
|
23
|
+
* },
|
|
24
|
+
* },
|
|
25
|
+
* };
|
|
26
|
+
* export default config;
|
|
18
27
|
* ```
|
|
19
28
|
*/
|
|
20
29
|
minify?: boolean;
|