add property to denote if step can be looped
This commit is contained in:
parent
7facf0c9ea
commit
9b66b30969
|
@ -18,6 +18,7 @@ export const definition: AutomationStepSchema = {
|
|||
description: "Run a bash script",
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: true,
|
||||
canLoop: true,
|
||||
stepId: AutomationActionStepId.EXECUTE_BASH,
|
||||
inputs: {},
|
||||
schema: {
|
||||
|
|
|
@ -17,6 +17,7 @@ export const definition: AutomationStepSchema = {
|
|||
description: "Add a row to your database",
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: true,
|
||||
canLoop: true,
|
||||
stepId: AutomationActionStepId.CREATE_ROW,
|
||||
inputs: {},
|
||||
schema: {
|
||||
|
|
|
@ -14,6 +14,7 @@ export const definition: AutomationStepSchema = {
|
|||
description: "Delay the automation until an amount of time has passed",
|
||||
stepId: AutomationActionStepId.DELAY,
|
||||
internal: true,
|
||||
canLoop: false,
|
||||
inputs: {},
|
||||
schema: {
|
||||
inputs: {
|
||||
|
|
|
@ -18,6 +18,7 @@ export const definition: AutomationStepSchema = {
|
|||
type: AutomationStepType.ACTION,
|
||||
stepId: AutomationActionStepId.DELETE_ROW,
|
||||
internal: true,
|
||||
canLoop: true,
|
||||
inputs: {},
|
||||
schema: {
|
||||
inputs: {
|
||||
|
|
|
@ -19,6 +19,7 @@ export const definition: AutomationStepSchema = {
|
|||
stepId: AutomationActionStepId.discord,
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: false,
|
||||
canLoop: true,
|
||||
inputs: {},
|
||||
schema: {
|
||||
inputs: {
|
||||
|
|
|
@ -18,6 +18,7 @@ export const definition: AutomationStepSchema = {
|
|||
type: AutomationStepType.ACTION,
|
||||
stepId: AutomationActionStepId.EXECUTE_QUERY,
|
||||
internal: true,
|
||||
canLoop: true,
|
||||
inputs: {},
|
||||
schema: {
|
||||
inputs: {
|
||||
|
|
|
@ -19,6 +19,7 @@ export const definition: AutomationStepSchema = {
|
|||
internal: true,
|
||||
stepId: AutomationActionStepId.EXECUTE_SCRIPT,
|
||||
inputs: {},
|
||||
canLoop: true,
|
||||
schema: {
|
||||
inputs: {
|
||||
properties: {
|
||||
|
|
|
@ -28,6 +28,7 @@ export const definition: AutomationStepSchema = {
|
|||
"Conditionally halt automations which do not meet certain conditions",
|
||||
type: AutomationStepType.LOGIC,
|
||||
internal: true,
|
||||
canLoop: false,
|
||||
stepId: AutomationActionStepId.FILTER,
|
||||
inputs: {
|
||||
condition: FilterConditions.EQUAL,
|
||||
|
|
|
@ -17,6 +17,7 @@ export const definition: AutomationStepSchema = {
|
|||
stepId: AutomationActionStepId.integromat,
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: false,
|
||||
canLoop: true,
|
||||
inputs: {},
|
||||
schema: {
|
||||
inputs: {
|
||||
|
|
|
@ -13,6 +13,8 @@ export const definition: AutomationStepSchema = {
|
|||
description: "Loop",
|
||||
stepId: AutomationActionStepId.LOOP,
|
||||
internal: true,
|
||||
canLoop: false,
|
||||
|
||||
inputs: {},
|
||||
schema: {
|
||||
inputs: {
|
||||
|
|
|
@ -32,6 +32,7 @@ export const definition: AutomationStepSchema = {
|
|||
description: "Send a request of specified method to a URL",
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: true,
|
||||
canLoop: true,
|
||||
stepId: AutomationActionStepId.OUTGOING_WEBHOOK,
|
||||
inputs: {
|
||||
requestMethod: "POST",
|
||||
|
|
|
@ -42,6 +42,7 @@ export const definition: AutomationStepSchema = {
|
|||
type: AutomationStepType.ACTION,
|
||||
stepId: AutomationActionStepId.QUERY_ROWS,
|
||||
internal: true,
|
||||
canLoop: true,
|
||||
inputs: {},
|
||||
schema: {
|
||||
inputs: {
|
||||
|
|
|
@ -15,6 +15,7 @@ export const definition: AutomationStepSchema = {
|
|||
name: "Send Email (SMTP)",
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: true,
|
||||
canLoop: true,
|
||||
stepId: AutomationActionStepId.SEND_EMAIL_SMTP,
|
||||
inputs: {},
|
||||
schema: {
|
||||
|
|
|
@ -19,6 +19,7 @@ export const definition: AutomationStepSchema = {
|
|||
description: "Logs the given text to the server (using console.log)",
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: true,
|
||||
canLoop: true,
|
||||
stepId: AutomationActionStepId.SERVER_LOG,
|
||||
inputs: {
|
||||
text: "",
|
||||
|
|
|
@ -16,6 +16,7 @@ export const definition: AutomationStepSchema = {
|
|||
stepId: AutomationActionStepId.slack,
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: false,
|
||||
canLoop: true,
|
||||
inputs: {},
|
||||
schema: {
|
||||
inputs: {
|
||||
|
|
|
@ -17,6 +17,7 @@ export const definition: AutomationStepSchema = {
|
|||
description: "Update a row in your database",
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: true,
|
||||
canLoop: true,
|
||||
stepId: AutomationActionStepId.UPDATE_ROW,
|
||||
inputs: {},
|
||||
schema: {
|
||||
|
|
|
@ -13,6 +13,7 @@ export const definition: AutomationStepSchema = {
|
|||
stepId: AutomationActionStepId.zapier,
|
||||
type: AutomationStepType.ACTION,
|
||||
internal: false,
|
||||
canLoop: true,
|
||||
description: "Trigger a Zapier Zap via webhooks",
|
||||
tagline: "Trigger a Zapier Zap",
|
||||
icon: "ri-flashlight-line",
|
||||
|
|
Loading…
Reference in New Issue