"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getSchemaProps = void 0;
const getSchemaProps = function () {
  let {
    schema = {},
    value = {}
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  return Object.fromEntries(Object.entries(value).filter(_ref => {
    let [key] = _ref;
    return schema[key];
  }));
};
exports.getSchemaProps = getSchemaProps;
//# sourceMappingURL=getSchemaProps.js.map