mongoose-tsgen
Advanced tools
Comparing version 8.0.1 to 8.0.2
@@ -225,2 +225,4 @@ "use strict"; | ||
break; | ||
case mongoose_1.default.Types.Buffer: | ||
case mongoose_1.default.Schema.Types.Buffer: | ||
case Buffer: | ||
@@ -416,2 +418,3 @@ case "Buffer": | ||
} | ||
// TODO: this list should be combined with the convertBaseTypeToTs somehow so that we dont duplicate types | ||
// if type is provided directly on property, expand it | ||
@@ -428,2 +431,4 @@ if ([ | ||
"Buffer", | ||
mongoose_1.default.Types.Buffer, | ||
mongoose_1.default.Schema.Types.Buffer, | ||
mongoose_1.default.Schema.Types.ObjectId, | ||
@@ -430,0 +435,0 @@ mongoose_1.default.Types.ObjectId, |
{ | ||
"name": "mongoose-tsgen", | ||
"description": "A Typescript interface generator for Mongoose that works out of the box.", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"author": "Francesco Virga @francescov1", | ||
@@ -6,0 +6,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72321
1166