@graphql-codegen/typescript-react-apollo 3.3.6-alpha-20221101110911-a036e7a25 → 3.3.7
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 +4 -4
- package/typings/config.d.cts +9 -9
- package/typings/config.d.ts +9 -9
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/typescript-react-apollo",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.7",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating a ready-to-use React Components/HOC/Hooks based on GraphQL operations",
|
|
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
|
"graphql-tag": "^2.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-codegen/plugin-helpers": "2.7.2
|
|
11
|
-
"@graphql-codegen/visitor-plugin-common": "2.13.1
|
|
10
|
+
"@graphql-codegen/plugin-helpers": "^2.7.2",
|
|
11
|
+
"@graphql-codegen/visitor-plugin-common": "2.13.1",
|
|
12
12
|
"auto-bind": "~4.0.0",
|
|
13
13
|
"change-case-all": "1.0.14",
|
|
14
14
|
"tslib": "~2.4.0"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
|
-
"url": "https://github.com/dotansimha/graphql-code-generator.git",
|
|
18
|
+
"url": "https://github.com/dotansimha/graphql-code-generator-community.git",
|
|
19
19
|
"directory": "packages/plugins/typescript/react-apollo"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
package/typings/config.d.cts
CHANGED
|
@@ -17,7 +17,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
17
17
|
* // ...
|
|
18
18
|
* generates: {
|
|
19
19
|
* 'path/to/file.ts': {
|
|
20
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
20
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
21
21
|
* config: {
|
|
22
22
|
* withComponent: true
|
|
23
23
|
* },
|
|
@@ -40,7 +40,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
40
40
|
* // ...
|
|
41
41
|
* generates: {
|
|
42
42
|
* 'path/to/file.ts': {
|
|
43
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
43
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
44
44
|
* config: {
|
|
45
45
|
* withHOC: true
|
|
46
46
|
* },
|
|
@@ -63,7 +63,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
63
63
|
* // ...
|
|
64
64
|
* generates: {
|
|
65
65
|
* 'path/to/file.ts': {
|
|
66
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
66
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
67
67
|
* config: {
|
|
68
68
|
* withHooks: true
|
|
69
69
|
* },
|
|
@@ -86,7 +86,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
86
86
|
* // ...
|
|
87
87
|
* generates: {
|
|
88
88
|
* 'path/to/file.ts': {
|
|
89
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
89
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
90
90
|
* config: {
|
|
91
91
|
* withMutationFn: true
|
|
92
92
|
* },
|
|
@@ -109,7 +109,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
109
109
|
* // ...
|
|
110
110
|
* generates: {
|
|
111
111
|
* 'path/to/file.ts': {
|
|
112
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
112
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
113
113
|
* config: {
|
|
114
114
|
* withRefetchFn: false
|
|
115
115
|
* },
|
|
@@ -159,7 +159,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
159
159
|
* // ...
|
|
160
160
|
* generates: {
|
|
161
161
|
* 'path/to/file.ts': {
|
|
162
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
162
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
163
163
|
* config: {
|
|
164
164
|
* reactApolloVersion: 2
|
|
165
165
|
* },
|
|
@@ -182,7 +182,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
182
182
|
* // ...
|
|
183
183
|
* generates: {
|
|
184
184
|
* 'path/to/file.ts': {
|
|
185
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
185
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
186
186
|
* config: {
|
|
187
187
|
* withResultType: true
|
|
188
188
|
* },
|
|
@@ -205,7 +205,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
205
205
|
* // ...
|
|
206
206
|
* generates: {
|
|
207
207
|
* 'path/to/file.ts': {
|
|
208
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
208
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
209
209
|
* config: {
|
|
210
210
|
* withMutationOptionsType: true
|
|
211
211
|
* },
|
|
@@ -229,7 +229,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
229
229
|
* // ...
|
|
230
230
|
* generates: {
|
|
231
231
|
* 'path/to/file.ts': {
|
|
232
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
232
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
233
233
|
* config: {
|
|
234
234
|
* addDocBlocks: true
|
|
235
235
|
* },
|
package/typings/config.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
17
17
|
* // ...
|
|
18
18
|
* generates: {
|
|
19
19
|
* 'path/to/file.ts': {
|
|
20
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
20
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
21
21
|
* config: {
|
|
22
22
|
* withComponent: true
|
|
23
23
|
* },
|
|
@@ -40,7 +40,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
40
40
|
* // ...
|
|
41
41
|
* generates: {
|
|
42
42
|
* 'path/to/file.ts': {
|
|
43
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
43
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
44
44
|
* config: {
|
|
45
45
|
* withHOC: true
|
|
46
46
|
* },
|
|
@@ -63,7 +63,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
63
63
|
* // ...
|
|
64
64
|
* generates: {
|
|
65
65
|
* 'path/to/file.ts': {
|
|
66
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
66
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
67
67
|
* config: {
|
|
68
68
|
* withHooks: true
|
|
69
69
|
* },
|
|
@@ -86,7 +86,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
86
86
|
* // ...
|
|
87
87
|
* generates: {
|
|
88
88
|
* 'path/to/file.ts': {
|
|
89
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
89
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
90
90
|
* config: {
|
|
91
91
|
* withMutationFn: true
|
|
92
92
|
* },
|
|
@@ -109,7 +109,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
109
109
|
* // ...
|
|
110
110
|
* generates: {
|
|
111
111
|
* 'path/to/file.ts': {
|
|
112
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
112
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
113
113
|
* config: {
|
|
114
114
|
* withRefetchFn: false
|
|
115
115
|
* },
|
|
@@ -159,7 +159,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
159
159
|
* // ...
|
|
160
160
|
* generates: {
|
|
161
161
|
* 'path/to/file.ts': {
|
|
162
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
162
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
163
163
|
* config: {
|
|
164
164
|
* reactApolloVersion: 2
|
|
165
165
|
* },
|
|
@@ -182,7 +182,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
182
182
|
* // ...
|
|
183
183
|
* generates: {
|
|
184
184
|
* 'path/to/file.ts': {
|
|
185
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
185
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
186
186
|
* config: {
|
|
187
187
|
* withResultType: true
|
|
188
188
|
* },
|
|
@@ -205,7 +205,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
205
205
|
* // ...
|
|
206
206
|
* generates: {
|
|
207
207
|
* 'path/to/file.ts': {
|
|
208
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
208
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
209
209
|
* config: {
|
|
210
210
|
* withMutationOptionsType: true
|
|
211
211
|
* },
|
|
@@ -229,7 +229,7 @@ export interface ReactApolloRawPluginConfig extends RawClientSideBasePluginConfi
|
|
|
229
229
|
* // ...
|
|
230
230
|
* generates: {
|
|
231
231
|
* 'path/to/file.ts': {
|
|
232
|
-
* plugins: ['typescript', 'typescript-operations', 'typescript-
|
|
232
|
+
* plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
|
|
233
233
|
* config: {
|
|
234
234
|
* addDocBlocks: true
|
|
235
235
|
* },
|