cosmetics
This commit is contained in:
8
bookshop/@cds-models/UserService/index.js
Normal file
8
bookshop/@cds-models/UserService/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// This is an automatically generated file. Please do not change its contents manually!
|
||||
const cds = require('@sap/cds')
|
||||
const csn = cds.entities('UserService')
|
||||
module.exports.me = csn.me
|
||||
module.exports.me_ = csn.me
|
||||
// actions
|
||||
module.exports.login = 'login'
|
||||
// enums
|
||||
17
bookshop/@cds-models/UserService/index.ts
Normal file
17
bookshop/@cds-models/UserService/index.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
// This is an automatically generated file. Please do not change its contents manually!
|
||||
import * as __ from './../_';
|
||||
/**
|
||||
* The current user
|
||||
*/
|
||||
export function _meAspect<TBase extends new (...args: any[]) => any>(Base: TBase) {
|
||||
return class me extends Base {
|
||||
id ?: string;
|
||||
locale ?: string;
|
||||
tenant ?: string;
|
||||
};
|
||||
}
|
||||
export class me extends _meAspect(__.Entity) {}
|
||||
export class me_ extends Array<me> {}
|
||||
|
||||
// function
|
||||
export declare const login: () => me;
|
||||
Reference in New Issue
Block a user