dist/cjs/src/decorators/model-meta/relationship-store.js
function addRelationshipToModelMeta(modelName, property, meta) {
    if (!exports.relationshipsByModel[modelName]) {
        exports.relationshipsByModel[modelName] = {};
    }
    // TODO: investigate why we need to genericize to model (from <T>)
    exports.relationshipsByModel[modelName][property] = meta;
}
function addRelationshipToModelMeta(modelName, property, meta) {
    if (!exports.relationshipsByModel[modelName]) {
        exports.relationshipsByModel[modelName] = {};
    }
    // TODO: investigate why we need to genericize to model (from <T>)
    exports.relationshipsByModel[modelName][property] = meta;
}
function addRelationshipToModelMeta ( modelName , property , meta ) { if ( ! exports . relationshipsByModel [ modelName ] ) { exports . relationshipsByModel [ modelName ] = { } ; } // TODO: investigate why we need to genericize to model (from <T>) exports . relationshipsByModel [ modelName ] [ property ] = meta ; }
allows the addition of meta information to be added to a model's relationships
allows the addition of meta information to be added to a model s relationships