feat(ui): new WorkflowRuns using antd

This commit is contained in:
Fu Diwei
2024-12-24 22:00:17 +08:00
parent 4e5373de73
commit 401fa3dcdd
21 changed files with 340 additions and 458 deletions

View File

@@ -0,0 +1,14 @@
import { type WorkflowOutput } from "./workflow";
export interface WorkflowRunModel extends BaseModel {
workflow: string;
log: WorkflowRunLog[];
error: string;
succeed: boolean;
}
export type WorkflowRunLog = {
nodeName: string;
error: string;
outputs: WorkflowOutput[];
};