Liferay.Loader.define("@liferay/search-experiences-web@3.0.30/sxp_blueprint_admin/js/utils/validation/validate_boost",["module","exports","require","../errorMessages","../types/inputTypes"],(function(e,r,s){window;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function validateBoost(e,r){if(null===e)return;if(r===i.INPUT_TYPES.FIELD_MAPPING&&e.boost<0)return t.ERROR_MESSAGES.NEGATIVE_BOOST;if(r===i.INPUT_TYPES.FIELD_MAPPING_LIST&&e.some((({boost:e})=>e<0)))return t.ERROR_MESSAGES.NEGATIVE_BOOST};var t=s("../errorMessages"),i=s("../types/inputTypes")}));
//# sourceMappingURL=validate_boost.js.map