Add output properties
This commit is contained in:
parent
15a8907811
commit
37e237a3a4
|
@ -28,8 +28,28 @@ export const definition: AutomationTriggerSchema = {
|
||||||
},
|
},
|
||||||
required: ["tableId"],
|
required: ["tableId"],
|
||||||
},
|
},
|
||||||
outputs: { properties: {} },
|
outputs: {
|
||||||
|
properties: {
|
||||||
|
id: {
|
||||||
|
type: AutomationIOType.STRING,
|
||||||
|
description: "Row ID - can be used for updating",
|
||||||
|
},
|
||||||
|
revision: {
|
||||||
|
type: AutomationIOType.STRING,
|
||||||
|
description: "Revision of row",
|
||||||
|
},
|
||||||
|
table: {
|
||||||
|
type: AutomationIOType.OBJECT,
|
||||||
|
customType: AutomationCustomIOType.TABLE,
|
||||||
|
title: "Table",
|
||||||
|
},
|
||||||
|
row: {
|
||||||
|
type: AutomationIOType.OBJECT,
|
||||||
|
customType: AutomationCustomIOType.ROW,
|
||||||
|
description: "The new row that was created",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
event: AutomationEventType.ROW_SAVE,
|
event: AutomationEventType.ROW_SAVE,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue