UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

15 lines (14 loc) 422 B
import { EntityTarget } from "../common/EntityTarget"; /** * Arguments for EntityRepositoryMetadata class, helps to construct an EntityRepositoryMetadata object. */ export interface EntityRepositoryMetadataArgs { /** * Constructor of the custom entity repository. */ readonly target: Function; /** * Entity managed by this custom repository. */ readonly entity?: EntityTarget<any>; }