- Remove empty interface
PropOptions
- Remove type
PropOptionsWithValidate
- Rename type
PropOptionsWithNumberValidate
toPropOptionsForNumber
- Rename type
PropOptionsWithStringValidate
toPropOptionsForString
- Add options
options
&match
forVirtualOptions
- Add option
enum
forValidateNumberOptions
arrayProp
&mapProp
are now just an alias forprop
- Set TSDoc option
@deprecated
forarrayProp
andmapProp
- Detect
mongoose.Types.Array
&mongoose.Schema.Types.Array
asArray
in@prop
- Detect
mongoose.Types.Map
&mongoose.Schema.Types.Map
asMap
in@prop
- Add Overloads to
@prop
- PascalCased decorators now have the TSDoc of the original function
- Default class
Base
's__v
&__t
are now optional (with?
) - Fix mentioned bug from #181, to allow
mongoose.Schema.Types.String
&mongoose.Schema.Types.Number
as valid enum types - Options
of
&items
are now mapped totype
and get called whenbuildSchema
is called - [IC] DeDuplicate code in
prop.ts