refactor(workflow): simplify edge configuration
This commit is contained in:
@@ -121,11 +121,11 @@ export type ExpressionRule = {
|
||||
|
||||
export type WorkflowEdgeData = {
|
||||
mode: EdgeMode;
|
||||
/** Internal route order, assigned automatically when an edge is created. */
|
||||
priority: number;
|
||||
condition?: string;
|
||||
expression?: { combinator: "and" | "or"; rules: ExpressionRule[] };
|
||||
label?: string;
|
||||
transitionSpeech?: string;
|
||||
};
|
||||
|
||||
export type FieldSpec = {
|
||||
|
||||
Reference in New Issue
Block a user