新版本流程编辑器

This commit is contained in:
mlogclub
2026-07-27 19:04:15 +08:00
parent d33960961a
commit e072141953
281 changed files with 25145 additions and 3405 deletions
+4 -1
View File
@@ -374,9 +374,10 @@ export type AIWorkflowVariableSpec = {
}
export type AIWorkflowDefinition = {
schemaVersion: number
schemaVersion?: number
nodes: AIWorkflowCanvasNode[]
annotations?: AIWorkflowCanvasNode[]
globalVariable?: Record<string, unknown>
edges: {
sourceNodeID: string
targetNodeID: string
@@ -399,6 +400,8 @@ export type AIWorkflowCanvasNode = {
inputsValues?: Record<string, AIWorkflowValue>
[key: string]: unknown
}
blocks?: AIWorkflowCanvasNode[]
edges?: AIWorkflowDefinition["edges"]
}
export type AIWorkflow = {