typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
20 lines (19 loc) • 436 B
TypeScript
import { TreeType } from "../metadata/types/TreeTypes";
import { ClosureTreeOptions } from "../metadata/types/ClosureTreeOptions";
/**
* Stores metadata collected for Tree entities.
*/
export interface TreeMetadataArgs {
/**
* Entity to which tree is applied.
*/
target: Function | string;
/**
* Tree type.
*/
type: TreeType;
/**
* Tree options
*/
options?: ClosureTreeOptions;
}