Test UIFlex
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using { Currency, managed, sap } from '@sap/cds/common';
|
||||
using { Currency, managed, sap, extensible } from '@sap/cds/common';
|
||||
namespace sap.capire.bookshop;
|
||||
|
||||
entity Books : managed {
|
||||
entity Books : managed, extensible {
|
||||
key ID : Integer;
|
||||
title : localized String(111);
|
||||
descr : localized String(1111);
|
||||
@@ -13,7 +13,7 @@ entity Books : managed {
|
||||
image : LargeBinary @Core.MediaType : 'image/png';
|
||||
}
|
||||
|
||||
entity Authors : managed {
|
||||
entity Authors : managed, extensible {
|
||||
key ID : Integer;
|
||||
name : String(111);
|
||||
dateOfBirth : Date;
|
||||
|
||||
@@ -30,15 +30,13 @@
|
||||
"kind": "odata",
|
||||
"model": "@capire/orders"
|
||||
},
|
||||
"uiflex": {
|
||||
"model": "@sap/cds/libx/_runtime/fiori/uiflex/extensibility"
|
||||
},
|
||||
"db": {
|
||||
"kind": "sql",
|
||||
"[development]": {
|
||||
"model": "db/sqlite"
|
||||
},
|
||||
"[production]": {
|
||||
"model": "db/hana"
|
||||
}
|
||||
"kind": "sqlite",
|
||||
"model": "*"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,8 @@
|
||||
"@capire/media": "./media",
|
||||
"@capire/orders": "./orders",
|
||||
"@capire/reviews": "./reviews",
|
||||
"@sap/cds": "^5.1.5"
|
||||
"@sap/cds": "git+https://github.tools.sap/cap/cds.git#runtime/ui-flex-prod",
|
||||
"@sap/cds-dk": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cds-swagger-ui-express": "^0.2.0",
|
||||
|
||||
Reference in New Issue
Block a user