Workflow
Defined in: packages/schema/src/workflow.ts:118
完整 Workflow 定义
Properties
Section titled “Properties”$schema?
Section titled “$schema?”
optional$schema?:string
Defined in: packages/schema/src/workflow.ts:120
Schema URL
id:
string
Defined in: packages/schema/src/workflow.ts:122
Workflow 唯一 ID
version
Section titled “version”version:
string
Defined in: packages/schema/src/workflow.ts:124
版本号
name:
string
Defined in: packages/schema/src/workflow.ts:126
工作流名称
description
Section titled “description”description:
string
Defined in: packages/schema/src/workflow.ts:128
描述
author
Section titled “author”author:
WorkflowAuthor
Defined in: packages/schema/src/workflow.ts:130
作者
category
Section titled “category”category:
WorkflowCategory
Defined in: packages/schema/src/workflow.ts:132
分类
tags:
string[]
Defined in: packages/schema/src/workflow.ts:134
标签
nodes:
WorkflowNode[]
Defined in: packages/schema/src/workflow.ts:136
节点列表
edges:
WorkflowEdge[]
Defined in: packages/schema/src/workflow.ts:138
边列表(线性链)
inputs
Section titled “inputs”inputs:
WorkflowInput
Defined in: packages/schema/src/workflow.ts:140
输入定义
outputs
Section titled “outputs”outputs:
WorkflowOutput
Defined in: packages/schema/src/workflow.ts:142
输出定义
official?
Section titled “official?”
optionalofficial?:boolean
Defined in: packages/schema/src/workflow.ts:144
是否为官方工作流
createdAt?
Section titled “createdAt?”
optionalcreatedAt?:number
Defined in: packages/schema/src/workflow.ts:146
创建时间
updatedAt?
Section titled “updatedAt?”
optionalupdatedAt?:number
Defined in: packages/schema/src/workflow.ts:148
更新时间