lakutata
Version:
An IoC-based universal application framework.
15 lines (12 loc) • 646 B
TypeScript
import { ViewEntityOptions } from './TypeDef.internal.68.js';
/**
* This decorator is used to mark classes that will be an entity view.
* Database schema will be created for all classes decorated with it, and Repository can be retrieved and used for it.
*/
declare function ViewEntity(options?: ViewEntityOptions): ClassDecorator;
/**
* This decorator is used to mark classes that will be an entity view.
* Database schema will be created for all classes decorated with it, and Repository can be retrieved and used for it.
*/
declare function ViewEntity(name?: string, options?: ViewEntityOptions): ClassDecorator;
export { ViewEntity };