Simple Data Viewer

- Generic CDS service to fetch data
- Simple Vue.js UI
This commit is contained in:
Christian Georgi
2022-01-11 21:16:41 +01:00
committed by Christian Georgi
parent 50791bed80
commit 1a71a6d28a
12 changed files with 269 additions and 4 deletions

View File

@@ -0,0 +1,29 @@
/**
* Exposes data + entity metadata
*/
//@requires:'admin'
service DataService @( path:'-data' ) {
/**
* Metadata like name and columns/elements
*/
entity Entities {
key name : String;
columns: Composition of many {
name : String;
type : String;
isKey: Boolean;
}
}
/**
* The actual data, organized by column name
*/
entity Data {
record : array of {
column : String;
data : String;
}
}
}