"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getVersionData = getVersionData;
const merge_objects_1 = require("../../objects/merge-objects");
/**
 * Returns the version data (ie the part of the model that gets versioned) from the model
 * @param model
 * @param includeList
 * @private
 */
function getVersionData(model, includeList) {
    return (0, merge_objects_1.mergeObjects)(model, {}, includeList);
}
//# sourceMappingURL=getVersionData.js.map