Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
sagaMiddleware.run(rootSaga);
api.registerInternals();
/**
* Register route functions
*/
const additionalRouteFunctions = additionalConfiguration.routeFunctions;
if (additionalRouteFunctions) {
Object.keys(additionalRouteFunctions).map(k =>
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);
sagaMiddleware.run(rootSaga);
api.registerInternals();
/**
* Register route functions
*/
const additionalRouteFunctions = additionalConfiguration.routeFunctions;
if (additionalRouteFunctions) {
Object.keys(additionalRouteFunctions).map(k =>
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);