more folders cleanup

This commit is contained in:
Daniel Hutzel
2025-07-19 09:16:15 +02:00
parent dcc74fbd10
commit ef8702acf8
9 changed files with 90 additions and 1979 deletions

View File

@@ -0,0 +1,30 @@
/**
* Exposes data + entity metadata
*/
@requires:'authenticated-user'
@odata service DataService @( path:'-data' ) {
/**
* Metadata like name and columns/elements
*/
entity Entities @cds.persistence.skip {
key name : String;
columns: Composition of many {
name : String;
type : String;
isKey: Boolean;
}
}
/**
* The actual data, organized by column name
*/
entity Data @cds.persistence.skip {
key ID : String; // to be OData-compliant
record : array of {
column : String;
data : String;
}
}
}