Skip to content

Commit

Permalink
Add cds-types
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeo committed Sep 16, 2024
1 parent 2f91f7d commit 53a9d75
Show file tree
Hide file tree
Showing 3 changed files with 3,247 additions and 3,132 deletions.
1 change: 1 addition & 0 deletions data-viewer/srv/data-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?
Expand Down
Loading

0 comments on commit 53a9d75

Please sign in to comment.