Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Object.keys(api.expressions).forEach(id => api.expression.register(id, api.expressions[id]));
registerRouteFunction(k, additionalRouteFunctions[k]),
);
}
registerAllContainers();
dataset.configure();
/**
* Register expressions in CMF expressions dictionary
*/
const additionalExpressions = additionalConfiguration.expressions;
if (additionalExpressions) {
registerExpressions(additionalExpressions);
}
registerExpressions(api.expressions);
/**
* Register components in CMF Components dictionary
*/
registerComponent('App', App);
registerComponents(components);
const additionalComponents = additionalConfiguration.components;
if (additionalComponents) {
registerComponents(additionalComponents);
}
/**
* Register action creators in CMF Actions dictionary
*/
registerActionCreator('preparation:edit:submit', actions.preparation.rename);
registerActionCreator('preparation:edit:cancel', actions.preparation.cancelRename);
registerRouteFunction(k, additionalRouteFunctions[k]),
);
}
registerAllContainers();
dataset.configure();
/**
* Register expressions in CMF expressions dictionary
*/
const additionalExpressions = additionalConfiguration.expressions;
if (additionalExpressions) {
registerExpressions(additionalExpressions);
}
registerExpressions(api.expressions);
/**
* Register components in CMF Components dictionary
*/
registerComponent('App', App);
registerComponents(components);
const additionalComponents = additionalConfiguration.components;
if (additionalComponents) {
registerComponents(additionalComponents);
}
/**
* Register action creators in CMF Actions dictionary
*/
registerActionCreator('preparation:edit:submit', actions.preparation.rename);
registerActionCreator('preparation:edit:cancel', actions.preparation.cancelRename);