@cap-js/cds-typer
Advanced tools
Changelog
[0.26.0] - 2024-09-11
.keys
property in all entities. That property is dictionary which holds all properties as keys that are marked as key
in CDS--useEntitiesProxy
. When set to true
, all entities are wrapped into Proxy
objects during runtime, allowing top level imports of entity types..kind
property for entities and types, which contains 'entity'
or 'type'
respectively@sap/cds
version 8.2
or higher.@cap-js/cds-types
version 0.6.4
or higher.service.action({one, two})
and service.action(one, two)
.service.action({one:1, ...})
).Changelog
[0.25.0] - 2024-08-13
declare
modifier to pass strict tsconfigs using useDefineForClassFields
or noImplicitOverride
actions
property of generated classes now includes the types from all inherited classes to also suggest actions defined in a base entity/aspect/type.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