推进 INI 面板状态 bundle helper
This commit is contained in:
@@ -129,3 +129,14 @@ export function createMachineSessionWorkflowStatus(state = {}) {
|
||||
run: report.run,
|
||||
};
|
||||
}
|
||||
|
||||
export function createMachineSessionStateBundle(state = {}, options = {}) {
|
||||
const report = createMachineSessionStateReport(state);
|
||||
const exportPayload = createMachineSessionStateReportExport(state, options);
|
||||
const workflowStatus = createMachineSessionWorkflowStatus(state);
|
||||
return {
|
||||
report,
|
||||
export: exportPayload,
|
||||
workflowStatus,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user