typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
14 lines (13 loc) • 367 B
TypeScript
/**
* 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?: Function | string;
}