UNPKG

450 BTypeScriptView Raw
1import { ColumnOptions } from "../decorator/options/ColumnOptions";
2/**
3 * Arguments for InheritanceMetadata class.
4 */
5export interface InheritanceMetadataArgs {
6 /**
7 * Class to which inheritance is applied.
8 */
9 readonly target?: Function | string;
10 /**
11 * Inheritance pattern.
12 */
13 readonly pattern: "STI";
14 /**
15 * Column used as inheritance discriminator column.
16 */
17 readonly column?: ColumnOptions;
18}