feat: 接入持久化工作流执行状态
This commit is contained in:
1 parent
7d2900c705
commit
3caea26924
14 files changed
+532
-44
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { request } from '../../lib/http'
|
||||
import type { WorkflowExecution } from './execution.types'
|
||||
|
||||
/** WorkflowExecution 查询接口;数据库状态是任务进度的权威来源。 */
|
||||
export const workflowExecutionApi = {
|
||||
get: (executionId: string, signal?: AbortSignal) =>
|
||||
request<WorkflowExecution>(`/workflow-executions/${encodeURIComponent(executionId)}`, { signal })
|
||||
}
|
||||
Reference in new issue
Block a user