@graphql-codegen/typescript-stencil-apollo 2.3.4 → 2.3.5-alpha-20221018123033-99bc320fe
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 +2 -2
- package/typings/config.d.cts +15 -9
- package/typings/config.d.ts +15 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/typescript-stencil-apollo",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.5-alpha-20221018123033-99bc320fe",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating Stencil Components 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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@graphql-codegen/plugin-helpers": "^2.6.2",
|
|
12
|
-
"@graphql-codegen/visitor-plugin-common": "2.
|
|
12
|
+
"@graphql-codegen/visitor-plugin-common": "2.13.0-alpha-20221018123033-99bc320fe",
|
|
13
13
|
"auto-bind": "~4.0.0",
|
|
14
14
|
"change-case-all": "1.0.14",
|
|
15
15
|
"tslib": "~2.4.0"
|
package/typings/config.d.cts
CHANGED
|
@@ -10,15 +10,21 @@ export interface StencilApolloRawPluginConfig extends RawClientSideBasePluginCon
|
|
|
10
10
|
* @default functional
|
|
11
11
|
*
|
|
12
12
|
* @exampleMarkdown
|
|
13
|
-
* ```
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
13
|
+
* ```ts filename="codegen.ts"
|
|
14
|
+
* import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
15
|
+
*
|
|
16
|
+
* const config: CodegenConfig = {
|
|
17
|
+
* // ...
|
|
18
|
+
* generates: {
|
|
19
|
+
* 'path/to/file.ts': {
|
|
20
|
+
* plugins: ['typescript', 'typescript-resolvers', 'typescript-stencil-apollo'],
|
|
21
|
+
* config: {
|
|
22
|
+
* componentType: 'class'
|
|
23
|
+
* },
|
|
24
|
+
* },
|
|
25
|
+
* },
|
|
26
|
+
* };
|
|
27
|
+
* export default config;
|
|
22
28
|
* ```
|
|
23
29
|
*/
|
|
24
30
|
componentType?: StencilComponentType;
|
package/typings/config.d.ts
CHANGED
|
@@ -10,15 +10,21 @@ export interface StencilApolloRawPluginConfig extends RawClientSideBasePluginCon
|
|
|
10
10
|
* @default functional
|
|
11
11
|
*
|
|
12
12
|
* @exampleMarkdown
|
|
13
|
-
* ```
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
13
|
+
* ```ts filename="codegen.ts"
|
|
14
|
+
* import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
15
|
+
*
|
|
16
|
+
* const config: CodegenConfig = {
|
|
17
|
+
* // ...
|
|
18
|
+
* generates: {
|
|
19
|
+
* 'path/to/file.ts': {
|
|
20
|
+
* plugins: ['typescript', 'typescript-resolvers', 'typescript-stencil-apollo'],
|
|
21
|
+
* config: {
|
|
22
|
+
* componentType: 'class'
|
|
23
|
+
* },
|
|
24
|
+
* },
|
|
25
|
+
* },
|
|
26
|
+
* };
|
|
27
|
+
* export default config;
|
|
22
28
|
* ```
|
|
23
29
|
*/
|
|
24
30
|
componentType?: StencilComponentType;
|