blow-data
Version:
Data access layer for Blow.
16 lines (15 loc) • 617 B
TypeScript
import { IModelRelationMetadataOptions, IModelRelationMetadata, IPersistedModelConstructor } from './interfaces';
export declare class ModelRelationMetadata implements IModelRelationMetadata {
protected _name: string;
protected _type: string;
protected _model: IPersistedModelConstructor | string;
protected _foreignKey: string;
protected _hidden: boolean;
constructor(options: IModelRelationMetadataOptions);
name: string;
type: string;
model: IPersistedModelConstructor | string;
foreignKey: string;
hidden: boolean;
apply(model: IPersistedModelConstructor): void;
}