"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getDependentAssociations", {
    enumerable: true,
    get: function() {
        return getDependentAssociations;
    }
});
function getDependentAssociations(model) {
    return Object.values(model.associations).filter(({ associationType })=>[
            'HasMany',
            'HasOne'
        ].includes(associationType));
}

//# sourceMappingURL=getDependentAssociations.js.map