@cap-js/cds-typer
Advanced tools
Changelog
[0.24.0] - 2024-07-18
cds build
no longer looks for tsconfig.json to determine if the project has TS nature and instead checks the dependencies in the project's package.json for an occurrence of typescript
Changelog
[0.23.0] - 2024-07-04
is_singular
attached in the resulting .js filesChangelog
[0.22.0] - 2024-06-20
cds.log
and pipes output into the cds-typer
logger, which can be configured via cds.env
in addition to explicitly passing a --logLevel
parameter to CLI. Users now have to use the levels defined in cds.log.levels
. The formerly valid levels WARNING
, CRITICAL
, and NONE
are now deprecated and automatically mapped to valid levels for now.Changelog
[0.21.2] - 2024-06-06
Changelog
[0.21.1] - 2024-06-03
cds build --for typescript
Changelog
[0.21.0] - 2024-05-31
IEEE754Compatible
flag which, when set to true
, generates decimal fields as (number | string)
instead of number
. This flag will be removed in the long runcds build
TypeScript projects. Can be explicitly called using cds build --for typescript
declare
d to avoid having to make their properties optional.is_singular
property as marker for distinguished handling of singular and plural in the runtimetyper
section of cds.env
extends
-clausesName.Name
, Name.NameAttachments
) are not stripped of their name prefixChangelog
[0.20.2] - 2024-04-29
Changelog
[0.20.0] - 2024-04-23
.kind
property which holds the string 'function'
or 'action'
respectivelyCdsDate
, CdsDateTime
, CdsTime
, CdsTimestamp
types, which are each represented as a string
.$count
property.actions
properties and operations without parameters are now typed as Record<never, never>
to make it clear they contain nothing and also to satisfy overzealous linterstypeof
references in their propertiessap.common
as erroneous during type creation