Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CollectedAssaySelect is the table picker over upstream results that projects // one form field per collected column. CollectedAssaySelect = "CollectedAssaySelect" )
Form component type identifiers.
These mirror the `type` field written by the frontend form builder (go-brave-ui, COMPONENT_IMPLEMENTATIONS / COMPONENT_META) and are used server side to branch on a form item's component kind. Keeping them as constants avoids typo-prone string literals being duplicated across packages.
Variables ¶
This section is empty.
Functions ¶
func BuildNodeFormJSON ¶
func BuildNodeFormJSON(dagDefinitionRaw string, ioSchema map[string]interface{}, script *types.Script, scriptID string) ([]interface{}, error)
BuildNodeFormJSON 根据 DAG 节点定义与 io_schema 构造节点表单。 io_schema 由调用方从脚本目录的 io_schema.json 读取后传入(不再来自 script 字段)。
func BuildParseAnalysisResult ¶
func BuildParseAnalysisResult(ctx context.Context, dataService interfaces.DataService, requestParam map[string]interface{}, formJSONWrap []interface{}) (map[string]interface{}, error)
BuildParseAnalysisResult 把 request_param 依据表单定义解析成结构化配方。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.