This commit is contained in:
mario
2025-03-07 13:47:44 +07:00
commit c4efec5a14
3358 changed files with 303774 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import getWorkflowSettings from './getWorkflowSettings';
export default function initWorkflowSteps({ servicesManager }: withAppTypes): void {
const { workflowStepsService } = servicesManager.services;
const workflowSettings = getWorkflowSettings({ servicesManager });
workflowStepsService.addWorkflowSteps(workflowSettings.steps);
workflowStepsService.setActiveWorkflowStep(workflowSettings.steps[0].id);
}