UNPKG

zents

Version:

ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.

7 lines (6 loc) 572 B
import type { Class } from 'type-fest'; export declare function connection(target: any, propertyKey: string): void; export declare function entityManager(target: any, propertyKey: string): void; export declare function repository(entity: Class): (target: Class, propertyKey: string, parameterIndex: number) => void; export declare function treeRepository(entity: Class): (target: Class, propertyKey: string, parameterIndex: number) => void; export declare function customRepository(repository: Class): (target: Class, propertyKey: string, parameterIndex: number) => void;