nl_tokens: export interface JoinColumnsConfiguration { name : string ; referencedColumnName : string ; nullable : boolean ; } export function JoinColumns ( joinColumnConfigurations : JoinColumnsConfiguration [] ) { return function ( targetObject : any propertyKey : string ) { let entityMetadata : EntityMetadata = <EntityMetadata > targetObject ; if ( !entityMetadata . joinColumnMap ) { entityMetadata . joinColumnMap = {} ; } entityMetadata . joinColumnMap [ propertyKey ] = joinColumnConfigurations ; } } Annotates columns .
pl_tokens: function Transient ( ) { return function ( targetObject , propertyKey ) { var entityMetadata = targetObject ; if ( ! entityMetadata . transient ) { entityMetadata . transient = { } ; } entityMetadata . transient [ propertyKey ] = <mask> ; } ; }