@graphql-codegen/typescript-mongodb 2.3.9 → 2.3.10-alpha-9d94e917a.0
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.js +1 -1
- package/index.mjs +1 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -239,7 +239,7 @@ class TsMongoVisitor extends visitorPluginCommon.BaseVisitor {
|
|
|
239
239
|
if (entityDirective) {
|
|
240
240
|
return this.convertName(namedType, { suffix: this.config.dbTypeSuffix });
|
|
241
241
|
}
|
|
242
|
-
|
|
242
|
+
if (abstractEntityDirective) {
|
|
243
243
|
return this.convertName(namedType, { suffix: this.config.dbInterfaceSuffix });
|
|
244
244
|
}
|
|
245
245
|
return null;
|
package/index.mjs
CHANGED
|
@@ -233,7 +233,7 @@ class TsMongoVisitor extends BaseVisitor {
|
|
|
233
233
|
if (entityDirective) {
|
|
234
234
|
return this.convertName(namedType, { suffix: this.config.dbTypeSuffix });
|
|
235
235
|
}
|
|
236
|
-
|
|
236
|
+
if (abstractEntityDirective) {
|
|
237
237
|
return this.convertName(namedType, { suffix: this.config.dbInterfaceSuffix });
|
|
238
238
|
}
|
|
239
239
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/typescript-mongodb",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.10-alpha-9d94e917a.0",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generting a ready-to-use ORM types for MongoDB",
|
|
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",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@graphql-codegen/plugin-helpers": "^2.4.0",
|
|
11
|
-
"@graphql-codegen/typescript": "^2.
|
|
12
|
-
"@graphql-codegen/visitor-plugin-common": "2.
|
|
11
|
+
"@graphql-codegen/typescript": "^2.5.0-alpha-9d94e917a.0",
|
|
12
|
+
"@graphql-codegen/visitor-plugin-common": "2.9.0-alpha-9d94e917a.0",
|
|
13
13
|
"@graphql-tools/utils": "^8.1.1",
|
|
14
14
|
"auto-bind": "~4.0.0",
|
|
15
15
|
"lodash": "~4.17.0",
|