Idea for these labels is to give instructions which labels to copy on step and on workflow when function step is added to the graph. Labels are defined with "step,workflow", "workflow" or "step" for value. UI should follow these instructions when copying labels to workflow and/or step.
37 lines
738 B
YAML
37 lines
738 B
YAML
prefix: compose
|
|
|
|
imports:
|
|
- github.com/cortezaproject/corteza-server/compose/types
|
|
|
|
params:
|
|
moduleLookup: &moduleLookup
|
|
required: true
|
|
types:
|
|
- { wf: ID, }
|
|
- { wf: Handle, }
|
|
- { wf: ComposeModule, suffix: res }
|
|
|
|
namespaceLookup: &namespaceLookup
|
|
required: true
|
|
types:
|
|
- { wf: ID, }
|
|
- { wf: Handle, }
|
|
- { wf: ComposeNamespace, suffix: res }
|
|
|
|
rvModule: &rvModule
|
|
wf: ComposeModule
|
|
|
|
functions:
|
|
lookup:
|
|
meta:
|
|
short: Lookup for compose Lookup by ID
|
|
params:
|
|
module: *moduleLookup
|
|
namespace: *namespaceLookup
|
|
labels:
|
|
lookup: "step"
|
|
module: "step,workflow"
|
|
compose: "step,workflow"
|
|
results:
|
|
module: *rvModule
|