UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

26 lines (25 loc) 644 B
import type { ColumnOptions } from "../decorator/options/ColumnOptions"; import type { ColumnMode } from "./types/ColumnMode"; /** * Arguments for ColumnMetadata class. */ export interface ColumnMetadataArgs { /** * Class to which column is applied. */ readonly target: Function | string; /** * Class's property name to which column is applied. */ readonly propertyName: string; /** * Column mode in which column will work. * * todo: find name better then "mode". */ readonly mode: ColumnMode; /** * Extra column options. */ readonly options: ColumnOptions; }