"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

function _constants() {
  const data = require("../../../constants");

  _constants = function () {
    return data;
  };

  return data;
}

/**
 * Add default binding prefix to version model
 * @param {*} versionModel - The parsed component model
 */
function addBindingPrefix(versionModel) {
  if (!versionModel.bindingPrefix) {
    versionModel.bindingPrefix = _constants().DEFAULT_BINDINGS_PREFIX;
  }

  return versionModel;
}

const addBindingPrefixDeclartaion = {
  name: 'add binding prefix',
  migrate: addBindingPrefix
};
var _default = addBindingPrefixDeclartaion;
exports.default = _default;