samples revisited after teched

This commit is contained in:
d049904
2019-10-24 12:03:37 +02:00
parent baaa5ef7d7
commit cc3aca29ef
92 changed files with 2424 additions and 100 deletions

View File

@@ -0,0 +1,15 @@
namespace sap.capire.media;
service MediaServer {
entity Images {
key url : URL;
type : String enum { jpeg; png; gif; };
content : Image;
}
}
type ImageURL : URL;
// type ImageURL : Association to MediaServer.Images;
//> would need Assotiations targeting off service to turn into references w/ foreign keys
type Image : LargeBinary @stream;
type URL : String(222);

View File

@@ -0,0 +1,11 @@
{
"name": "@sap/capire-media",
"version": "1.0.0",
"description": "A generic platform service to manage and serve media content on behalf of other services and apps.",
"repository": "https://github.com/SAP-samples/cloud-cap-samples.git",
"license": "SAP SAMPLE CODE LICENSE",
"dependencies": {
"@sap/cds": "latest",
"express": "*"
}
}