interface RelationType {
    associatedWith?: string | string[];
    fieldName: string;
    modelName: string;
    relationType: "HAS_ONE" | "HAS_MANY" | "BELONGS_TO";
    targetName?: string;
    targetNames?: string[];
}

Properties

associatedWith?: string | string[]
fieldName: string
modelName: string
relationType: "HAS_ONE" | "HAS_MANY" | "BELONGS_TO"
targetName?: string
targetNames?: string[]