lib/jsdoc/transform-apijson-for-sdk.js
function flattenComponents(oChainObject) {
		if (oChainObject.modules && oChainObject.modules.length > 0) {
			oChainObject.customSymbolComponents = {};
			oChainObject.modules.forEach(oComponent => {
				let sCurrentComponent = oComponent.componentName;
				oComponent.modules.forEach(sModule => {
					oChainObject.customSymbolComponents[sModule] = sCurrentComponent;
				});
			});
		}

		return oChainObject;
	}
function flattenComponents(oChainObject) {
		if (oChainObject.modules && oChainObject.modules.length > 0) {
			oChainObject.customSymbolComponents = {};
			oChainObject.modules.forEach(oComponent => {
				let sCurrentComponent = oComponent.componentName;
				oComponent.modules.forEach(sModule => {
					oChainObject.customSymbolComponents[sModule] = sCurrentComponent;
				});
			});
		}

		return oChainObject;
	}
function flattenComponents ( oChainObject ) { if ( oChainObject . modules && oChainObject . modules . length > 0 ) { oChainObject . customSymbolComponents = { } ; oChainObject . modules . forEach ( oComponent => { let sCurrentComponent = oComponent . componentName ; oComponent . modules . forEach ( sModule => { oChainObject . customSymbolComponents [ sModule ] = sCurrentComponent ; } ) ; } ) ; } return oChainObject ; }
Adds to the passed object custom symbol component map generated from the extracted components list
to be easily searchable later
@param {object} oChainObject chain object
@returns {object} chain object
Adds to the passed object custom symbol component map generated from the extracted components list to be easily searchable later