Augment `AdminService.Author` by 2 fields `age` and `lifetime` whose values are computed by SQLite and HANA-specific functions. Don't do this in bookshop directly, to keep it simple. Instead, use the fiori module, which also allows to integrate the fields in the UI. Co-authored-by: Daniel <daniel.hutzel@sap.com>
37 lines
734 B
JSON
37 lines
734 B
JSON
{
|
|
"name": "@capire/fiori",
|
|
"version": "1.0.0",
|
|
"dependencies": {
|
|
"@capire/bookshop": "*",
|
|
"@capire/reviews": "*",
|
|
"@capire/orders": "*",
|
|
"@capire/common": "*",
|
|
"@sap/cds": "^4",
|
|
"express": "^4.17.1",
|
|
"passport": "^0.4.1"
|
|
},
|
|
"scripts": {
|
|
"start": "cds run --in-memory?",
|
|
"watch": "cds watch"
|
|
},
|
|
"cds": {
|
|
"requires": {
|
|
"ReviewsService": {
|
|
"kind": "odata", "model": "@capire/reviews"
|
|
},
|
|
"OrdersService": {
|
|
"kind": "odata", "model": "@capire/orders"
|
|
},
|
|
"db": {
|
|
"kind": "sql",
|
|
"[development]": {
|
|
"model": "db/sqlite"
|
|
},
|
|
"[production]": {
|
|
"model": "db/hana"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|