sf-decomposer
Version:
Split large Salesforce metadata files into version-control-friendly pieces and rebuild deployment-ready files.
16 lines • 486 B
JavaScript
;
import uniqueElements from './uniqueIdElements.js';
export function getUniqueIdElements(metaSuffix) {
const merged = {};
// Merge all top-level objects in the array into a single dictionary
for (const obj of uniqueElements) {
Object.assign(merged, obj);
}
if (metaSuffix in merged) {
return merged[metaSuffix].uniqueIdElements.join(',');
}
else {
return undefined;
}
}
//# sourceMappingURL=getUniqueIdElements.js.map