Spring Cleaning → removing obsolete stuff, and moved non-app things to ./etc (#810)

* Remove obsolete stuff, and moved non-app things to ./etc
* remove test
* Update package-lock

---------

Co-authored-by: Christian Georgi <christian.georgi@sap.com>
This commit is contained in:
Daniel Hutzel
2025-03-12 10:37:47 +01:00
committed by GitHub
parent c1dbe94c64
commit bbaaefae5b
30 changed files with 33 additions and 259 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;
}
}
}