Files
cloud-cap-samples/bookshop/@cds-models/_/index.ts
Daniel Hutzel 06c583d0cd cosmetics
2023-07-17 14:22:00 +02:00

31 lines
704 B
TypeScript

// 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>;