/*
 * Copyright (c) 2018, 2026, Oracle and/or its affiliates.
 * Licensed under The Universal Permissive License (UPL), Version 1.0
 * as shown at https://oss.oracle.com/licenses/upl/
 */
function controlCallback(controlRuleName,controlRuleDef,semver,cacheManager,metadata,compareMetadata,componentVersionDiff,baselines,componentType,componentName,errorMsgContext,overrideTypeMappings){const currentType=componentType?componentType:"composite";const compareType=compareMetadata.type?compareMetadata.type:"composite";if(currentType!=compareType){return`Component type has been changed from ${compareType} to ${currentType} for${errorMsgContext}'never'`}return};module.exports=controlCallback;