Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brakebein/prisma-generator-nestjs-dto

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brakebein/prisma-generator-nestjs-dto - npm Package Versions

1
6

1.17.2

Diff

Changelog

Source

[1.17.2] - 2023-02-10

Fixed

  • prisma imports for ConnectDTOs
brakebein
published 1.17.1 •

brakebein
published 1.17.0 •

Changelog

Source

[1.17.0] - 2023-02-10

Added

  • support custom prisma-client import path [#15][pr15] (thanks to konsti)
  • definiteAssignmentAssertion flag to optionally add definite assignment assertion operator ! to properties [#14][i14]
  • support for compound unique inputs [#i8][i8], all ConnectDTOs now have proper swagger and class-validation decorators

Fixed

  • regular expression for class validators was also matching substrings
brakebein
published 1.17.0-beta0 •

brakebein
published 1.16.0 •

Changelog

Source

[1.16.0] - 2023-01-06

Added

brakebein
published 1.15.0 •

Changelog

Source

[1.15.0] - 2022-12-04

  • updated dependencies [#11][pr11]

Fixed

  • replaceAll is not supported by Node.js < 15 [#10][i10]
brakebein
published 1.14.0 •

Changelog

Source

[1.14.0] - 2022-11-22

Added

  • add ApiProperty type and class validation to relation inputs [#6][i6]

Fixed

  • add isArray: true in ApiProperty decorator, if field is list
  • build dist files with LF endings [#9][i9]
brakebein
published 1.14.0-beta.0 •

brakebein
published 1.13.0 •

Changelog

Source

[1.13.0] - 2022-09-14

Added

  • support for composite types (including nested class validation) [#2][i2]
  • @DtoTypeFullUpdate annotation [#2][i2-comment]
  • optionally auto-format output with prettier [#3][pr3] (thanks to @Zyrakia)

Changed

  • set @ApiProperty({ required: false, nullable: true } if field is optional
  • add { each: true } class-validator option if field is a list
  • class-validator @IsDateString() for type DateTime and @IsDecimal for type Decimal
brakebein
published 1.13.0-beta.1 •

Changelog

Source

[1.13.0-beta.1] - 2022-09-10

Added

  • @DtoTypeFullUpdate annotation [#2][i2]
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc