New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@brakebein/prisma-generator-nestjs-dto

Package Overview
Dependencies
Maintainers
0
Versions
62
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
57

1.11.1

Diff

Changelog

Source

[1.11.1] - 2022-04-14

Fixed

  • field with attribute @default("") resulted in empty default value: @Apiproperty({ default: })'
  • parsed apiProperties were propagated to other DTOs
brakebein
published 1.11.0 •

Changelog

Source

[1.11.0] - 2022-03-31

Added

  • optionally add validation decorators from class-validator
brakebein
published 1.10.0 •

Changelog

Source

[1.10.0] - 2022-03-29

Added

  • config outputType to generate DTOs as class or as interface
brakebein
published 1.9.1 •

Changelog

Source

[1.9.1] - 2022-03-29

Fixed

  • missing import of ApiProperty
brakebein
published 1.9.0 •

Changelog

Source

[1.9.0] - 2022-03-29

Added

  • flag flatResourceStructure to flatten the subfolders if outputToNestJsResourceStructure is true
  • flag noDependencies to output DTOs without any imports and decorators from external dependencies (useful to generate DTOs for frontend)
  • @example annotation adds example to @ApiProperty()
brakebein
published 1.8.1 •

Changelog

Source

[1.8.1] - 2022-03-25

Fixed

  • missing import of ApiProperty if only type-format annotations
brakebein
published 1.8.0 •

Changelog

Source

[1.8.0] - 2022-03-25

Added

  • generate plain DTO classes (same as entity classes, but without relation fields)

Changed

  • default values are added to the @ApiDecorator() only in the CreateDTO and UpdateDTO classes
brakebein
published 1.7.1 •

Changelog

Source

[1.7.1] - 2022-03-22

Fixed

  • omit @ApiProperty() annotations for connect-dto classes
brakebein
published 1.7.0 •

Changelog

Source

[1.7.0] - 2022-03-18

Added

  • add default value (if any) to @ApiProperty()
brakebein
published 1.6.2 •

Changelog

Source

[1.6.2] - 2022-03-16

Added

  • process additional documentation tags to generate @ApiProperty() decorator
  • translate prisma type to schema object type and format
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