Activating pre-built extensions in cat-service
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
namespace sap.capire.bookshop;
|
namespace sap.capire.bookshop;
|
||||||
using { Currency, managed, sap } from '@sap/cds/common';
|
using { Currency, managed, sap } from '@sap/cds/common';
|
||||||
// using { Currency, managed, sap } from '@capire/common';
|
|
||||||
|
|
||||||
entity Books : managed {
|
entity Books : managed {
|
||||||
key ID : Integer;
|
key ID : Integer;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "A simple self-contained bookshop service.",
|
"description": "A simple self-contained bookshop service.",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@capire/common": "^3.31.1",
|
||||||
"@sap/cds": "^3.31.1",
|
"@sap/cds": "^3.31.1",
|
||||||
"express": "^4.17.1"
|
"express": "^4.17.1"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,3 +10,6 @@ service CatalogService @(path:'/browse') {
|
|||||||
action order (book : Books.ID, amount: Integer);
|
action order (book : Books.ID, amount: Integer);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// activate pre-build extensions from...
|
||||||
|
using from '@capire/common';
|
||||||
|
|||||||
Reference in New Issue
Block a user