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

@cap-js/cds-typer

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cap-js/cds-typer - npm Package Versions

1235

0.11.0

Diff

Changelog

Source

[0.11.0] - 2023-10-10

Changed

Added

  • Autoexposed entities in services are now also generated
  • Each generated class now contains their original fully qualified name in a static .name property
  • Inline enums that are defined as literal type of properties are now supported as well (note: this feature is experimental. The location to which enums are generated might change in the future!)

Fixed

  • Fixed an error when an entity uses type of on a property they have inherited from another entity
  • Fixed an error during draftability propagation when defining compositions on types that are declared inline

Removed

  • compileFromCSN is no longer part of the package's API
chgeo
published 0.10.0 •

Changelog

Source

[0.10.0] - 2023-09-21

Changed

  • Actions and functions are now attached to a static .actions property of each generated class. This reflects the runtime behaviour better than the former way of generating instance methods

Added

Fixed

chgeo
published 0.9.0 •

Changelog

Source

[0.9.0] - 2023-09-08

Changed

Added

  • Support for drafts via @odata.draft.enabled annotation

Fixed

  • Foreign keys are now propagated more than one level (think: x_ID_ID_ID)
chgeo
published 0.8.0 •

Changelog

Source

[0.8.0] - 2023-09-05

Changed

Added

Fixed

  • Foreign keys that are inherited via aspects are now also generated in addition to the resolved property (see 0.7.0)
  • Explicitly annotated @singular and @plural names are now properly used in generated index.js files
chgeo
published 0.7.0 •

Changelog

Source

[0.7.0] - 2023-08-22

Changed

Added

  • Support for [many] $self syntax in bound action parameters
  • Foreign keys are now present in the generated types in addition to the resolved property

Fixed

chgeo
published 0.6.1 •

Changelog

Source

[0.6.1] - 2023-08-10

Changed

Added

Fixed

  • Removed a warning about circular imports
chgeo
published 0.6.0 •

Changelog

Source

[0.6.0] - 2023-08-07

Added

  • Support for event syntax

Fixed

  • Initialise bound actions with stubs to support "strict":true in tsconfig.json
  • Add leading underscore to appease noUnusedParameters in strict tsconfigs
  • No longer inflect type definitions when they are referenced within entities or other type definitions
chgeo
published 0.5.0 •

Changelog

Source

[0.5.0] - 2023-07-25

Changed

  • Facilitate strict property checks. Note: checkJs: true must be present in the project's jsconfig.json or tsconfig.json respectively for this feature to become effective

Added

  • Support for array of syntax

Fixed

  • Generate string type for date-related types in CDS definitions
  • Generate Buffer | string type for the CDS type LargeBinary
chgeo
published 0.4.0 •

Changelog

Source

[0.4.0] - 2023-07-06

Added

  • Support for enums when they are defined separately (not inline in the property type of an entity)
chgeo
published 0.3.0 •

Changelog

Source

[0.3.0] - 2023-06-26

Added

  • Support function definitions (apart from actions)

Changed

  • Bump version to next minor

Fixed

  • Properly import CDS type definitions when they are referenced elsewhere
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