@cap-js/cds-types
Advanced tools
Changelog
[0.4.0] - 2024-05-23
This is a prerelease version (next
) as a preview for the upcoming release of cds 8.
exist(…)
to exists(…)
Changelog
[0.3.0-beta.1] - 2024-05-23
cds.outboxed
and cds.unboxed
cds.middlewares.add
cds.env
properties and typescds.linked
through the facade. Types describing unlinked CSN should generally not be needed, but are still available through cds.csn.…
cds.env.folders
and cds.env.i18n
from any
to a more descriptive typeService.prepend
is no longer asynccds.linked.classes
(and partially via the facade)service
instances now return the appropriate classes. E.g. service.entities
returns instances of linked.entity
.after('READ', ...)
differentiates between singular and plural entities. In all other cases the plural case is assumed.SELECT.from
and related variants now work on the .drafts
property and behave like SELECT.from(<Plural>)
cds.log
can now also be called with the names of log levelsQueryAPI.tx
and add deprecation note for QueryAPI.transaction
Changelog
[0.2.0] - 2024-01-17
srv.on('error')
source
, column_expr
, and predicate
have been converted to partial intersection types. This offers all possible optional properties. You will have to make sure to check their presence when accessing themsrv.send
overload to also allow optional headerscds.entity
, cds.struct
, cds.Association
are now properly exposedcds.builtin.types
got a more accurate typeLinkedEntity.drafts
property is now optional. At runtime, it's only set for drafted entities.cds.model
is marked as modifiable (for tests only!)SELECT.from
got its ref
property backChangelog
[0.1.0] - 2023-12-13
cds
facade object, so that e.g. cds.Request
and cds.User
work again