npm @cap-js/cds-types 0.6.4
v0.6.4

latest releases: 0.7.0, 0.6.5
3 months ago

Added

  • Service.emit(...) can now also be called with custom events
  • Service.before(...) and Service.after(...) now accept bound and unbound functions as parameter
  • connect.to (ServiceClass) as alternative to 'service' string
  • connect.to ('db') returning cds.DatabaseService

Changed

  • .before(...), .on(...), and .after(...) now properly infer inflection when a typer-generated class is passed as second parameter

Fixed

  • EACH event has appropriately been renamed each to reflect runtime behaviour

Don't miss a new cds-types release

NewReleases is sending notifications on new releases.