Fixing definition for filter workflow block

This commit is contained in:
Andrew Kingston 2020-09-16 13:54:27 +01:00
parent 9f3ca42995
commit fdca9240e9
1 changed files with 16 additions and 14 deletions

View File

@ -22,7 +22,7 @@ const ACTION = {
}, },
}, },
customType: "record", customType: "record",
title: "The record to be written", title: "Table",
default: {}, default: {},
required: ["modelId"], required: ["modelId"],
}, },
@ -206,19 +206,21 @@ const LOGIC = {
inputs: {}, inputs: {},
schema: { schema: {
inputs: { inputs: {
filter: { properties: {
type: "string", filter: {
title: "Reference Value", type: "string",
}, title: "Reference Value",
condition: { },
type: "string", condition: {
title: "Condition", type: "string",
enum: conditions, title: "Condition",
default: "equals", enum: conditions,
}, default: "equals",
value: { },
type: "string", value: {
title: "Comparison Value", type: "string",
title: "Comparison Value",
},
}, },
required: ["filter", "condition", "value"], required: ["filter", "condition", "value"],
}, },