Post TechEd cosmetics (#619)

* Post TechEd cosmetics

* Update package-lock.json
This commit is contained in:
Daniel Hutzel
2024-07-15 14:45:03 +02:00
committed by GitHub
parent 3161758e5f
commit 82c633ce01
4 changed files with 7 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ const cds = require('@sap/cds')
// NOTE: We use cds.on('served') to delay the UPSERTs after the db init
// to run after all INSERTs from .csv files happened.
module.exports = cds.on('served', ()=> cds.run(
module.exports = cds.on('served', ()=>
UPSERT.into ('sap.common.Currencies') .columns (
[ 'code', 'symbol', 'name' ]
) .rows (
@@ -18,4 +18,4 @@ module.exports = cds.on('served', ()=> cds.run(
[ 'ILS', '₪', 'Shekel' ],
[ 'JPY', '¥', 'Yen' ],
)
))
)

View File

@@ -1,2 +0,0 @@
const { CatalogService } = require('./srv/cat-service')
module.exports = { CatalogService }

View File

@@ -1,5 +1,6 @@
const cds = require('@sap/cds')
module.exports = class CatalogService extends cds.ApplicationService { init() {
class CatalogService extends cds.ApplicationService { init() {
const { Books } = cds.entities('sap.capire.bookshop')
const { ListOfBooks } = this.entities
@@ -33,3 +34,5 @@ module.exports = class CatalogService extends cds.ApplicationService { init() {
// Delegate requests to the underlying generic service
return super.init()
}}
module.exports = CatalogService

View File

@@ -47,4 +47,4 @@
},
"license": "SEE LICENSE IN LICENSE",
"private": true
}
}