33 lines
706 B
JavaScript
33 lines
706 B
JavaScript
|
exports.definition = {
|
||
|
name: "Row Deleted",
|
||
|
event: "row:delete",
|
||
|
icon: "ri-delete-bin-line",
|
||
|
tagline: "Row is deleted from {{inputs.enriched.table.name}}",
|
||
|
description: "Fired when a row is deleted from your database",
|
||
|
stepId: "ROW_DELETED",
|
||
|
inputs: {},
|
||
|
schema: {
|
||
|
inputs: {
|
||
|
properties: {
|
||
|
tableId: {
|
||
|
type: "string",
|
||
|
customType: "table",
|
||
|
title: "Table",
|
||
|
},
|
||
|
},
|
||
|
required: ["tableId"],
|
||
|
},
|
||
|
outputs: {
|
||
|
properties: {
|
||
|
row: {
|
||
|
type: "object",
|
||
|
customType: "row",
|
||
|
description: "The row that was deleted",
|
||
|
},
|
||
|
},
|
||
|
required: ["row"],
|
||
|
},
|
||
|
},
|
||
|
type: "TRIGGER",
|
||
|
}
|