import { request } from '../../lib/http' import type { WorkflowExecution } from './execution.types' /** WorkflowExecution 查询接口;数据库状态是任务进度的权威来源。 */ export const workflowExecutionApi = { get: (executionId: string, signal?: AbortSignal) => request(`/workflow-executions/${encodeURIComponent(executionId)}`, { signal }) }