@graphql-codegen/typescript-document-nodes 2.2.8 → 2.2.9
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/index.d.ts +6 -6
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -19,13 +19,13 @@ export interface TypeScriptDocumentNodesRawPluginConfig extends RawClientSideBas
|
|
|
19
19
|
*
|
|
20
20
|
* @exampleMarkdown
|
|
21
21
|
* ## Override All Names
|
|
22
|
-
* ```
|
|
22
|
+
* ```yaml
|
|
23
23
|
* config:
|
|
24
24
|
* namingConvention: change-case-all#lowerCase
|
|
25
25
|
* ```
|
|
26
26
|
*
|
|
27
27
|
* ## Upper-case enum values
|
|
28
|
-
* ```
|
|
28
|
+
* ```yaml
|
|
29
29
|
* config:
|
|
30
30
|
* namingConvention:
|
|
31
31
|
* typeNames: change-case-all#pascalCase
|
|
@@ -33,13 +33,13 @@ export interface TypeScriptDocumentNodesRawPluginConfig extends RawClientSideBas
|
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
35
35
|
* ## Keep name as-is
|
|
36
|
-
* ```
|
|
36
|
+
* ```yaml
|
|
37
37
|
* config:
|
|
38
38
|
* namingConvention: keep
|
|
39
39
|
* ```
|
|
40
40
|
*
|
|
41
41
|
* ## Remove Underscores
|
|
42
|
-
* ```
|
|
42
|
+
* ```yaml
|
|
43
43
|
* config:
|
|
44
44
|
* namingConvention:
|
|
45
45
|
* typeNames: change-case-all#pascalCase
|
|
@@ -52,7 +52,7 @@ export interface TypeScriptDocumentNodesRawPluginConfig extends RawClientSideBas
|
|
|
52
52
|
* @description Adds prefix to the name
|
|
53
53
|
*
|
|
54
54
|
* @exampleMarkdown
|
|
55
|
-
* ```
|
|
55
|
+
* ```yaml
|
|
56
56
|
* documents: src/api/user-service/queries.graphql
|
|
57
57
|
* generates:
|
|
58
58
|
* src/api/user-service/queries.ts:
|
|
@@ -68,7 +68,7 @@ export interface TypeScriptDocumentNodesRawPluginConfig extends RawClientSideBas
|
|
|
68
68
|
* @description Adds suffix to the name
|
|
69
69
|
*
|
|
70
70
|
* @exampleMarkdown
|
|
71
|
-
* ```
|
|
71
|
+
* ```yaml
|
|
72
72
|
* documents: src/api/user-service/queries.graphql
|
|
73
73
|
* generates:
|
|
74
74
|
* src/api/user-service/queries.ts:
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/typescript-document-nodes",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.9",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating TypeScript modules with embedded GraphQL document nodes",
|
|
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
9
|
"@graphql-codegen/plugin-helpers": "^2.4.0",
|
|
10
|
-
"@graphql-codegen/visitor-plugin-common": "2.7.
|
|
10
|
+
"@graphql-codegen/visitor-plugin-common": "2.7.5",
|
|
11
11
|
"auto-bind": "~4.0.0",
|
|
12
|
-
"tslib": "~2.
|
|
12
|
+
"tslib": "~2.4.0"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|