cosmetics

This commit is contained in:
Daniel Hutzel
2023-07-17 14:22:00 +02:00
parent 1d14e75691
commit 06c583d0cd
15 changed files with 363 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
// This is an automatically generated file. Please do not change its contents manually!
const cds = require('@sap/cds')
const csn = cds.entities('_')
// actions
// enums

View File

@@ -0,0 +1,30 @@
// This is an automatically generated file. Please do not change its contents manually!
export namespace Association {
export type to <T> = T;
export namespace to {
export type many <T extends readonly any[]> = T;
}
}
export namespace Composition {
export type of <T> = T;
export namespace of {
export type many <T extends readonly any[]> = T;
}
}
export class Entity {
static data<T extends Entity> (this:T, input:Object) : T {
return {} as T // mock
}
}
export type EntitySet<T> = T[] & {
data (input:object[]) : T[]
data (input:object) : T
};
export type DeepRequired<T> = {
[K in keyof T]: DeepRequired<T[K]>
} & Required<T>;