Add cds-types (#761)

Also add Node 22 to CI
This commit is contained in:
Christian Georgi
2024-09-16 14:52:43 +02:00
committed by GitHub
parent 2f91f7d2d4
commit eb9a5ed971
4 changed files with 3306 additions and 3134 deletions

View File

@@ -49,6 +49,7 @@ class DataService extends cds.ApplicationService { init(){
module.exports = { DataService }
/** @returns {cds.Service} */
function findDataSource(dataSourceName, entityName) {
for (let srv of Object.values(cds.services)) { // all connected services
if (!srv.name) continue // FIXME intermediate/pending in cds.services ?