Merge branch 'master' into adding-suppliers

This commit is contained in:
Daniel
2021-03-27 19:25:27 +01:00
15 changed files with 215 additions and 221 deletions

View File

@@ -1,4 +1,4 @@
using { AdminService } from '../../db';
using { AdminService } from '../../db/schema';
////////////////////////////////////////////////////////////////////////////
//

View File

@@ -2,7 +2,7 @@
// Add Author.age and .lifetime with a DB-specific function
//
using { AdminService } from '..';
using { AdminService } from '../schema';
extend projection AdminService.Authors with {
YEARS_BETWEEN(dateOfBirth, dateOfDeath) as age: Integer,

View File

@@ -2,7 +2,7 @@
// Add Author.age and .lifetime with a DB-specific function
//
using { AdminService } from '..';
using { AdminService } from '../schema';
extend projection AdminService.Authors with {
strftime('%Y',dateOfDeath)-strftime('%Y',dateOfBirth) as age: Integer,

View File

@@ -7,8 +7,8 @@
"@capire/orders": "*",
"@capire/reviews": "*",
"@capire/suppliers": "*",
"@sap/cds": "^4",
"express": "^4.17.1",
"@sap/cds": ">=4",
"express": "^4",
"passport": "^0.4.1"
},
"scripts": {