"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildDraft = buildDraft;
const merge_objects_1 = require("../../objects/merge-objects");
/**
 * Builds a draft with a subset of the model properties
 * @param {*} model - item model
 * @param {*} includeList - list of property paths to include in draft object
 */
function buildDraft(model, includeList) {
    return (0, merge_objects_1.mergeObjects)(model, {}, includeList);
}
//# sourceMappingURL=build-draft.js.map