@@ -13,6 +13,7 @@ export const executeRedirect = (
|
||||
return {
|
||||
clientSideActions: [
|
||||
{
|
||||
type: 'redirect',
|
||||
redirect: { url: formattedUrl, isNewTab: block.options.isNewTab },
|
||||
},
|
||||
],
|
||||
|
||||
@@ -21,6 +21,7 @@ export const executeScript = (
|
||||
outgoingEdgeId: block.outgoingEdgeId,
|
||||
clientSideActions: [
|
||||
{
|
||||
type: 'scriptToExecute',
|
||||
scriptToExecute: scriptToExecute,
|
||||
},
|
||||
],
|
||||
|
||||
@@ -32,6 +32,7 @@ export const executeSetVariable = (
|
||||
outgoingEdgeId: block.outgoingEdgeId,
|
||||
clientSideActions: [
|
||||
{
|
||||
type: 'setVariable',
|
||||
setVariable: {
|
||||
scriptToExecute,
|
||||
},
|
||||
|
||||
@@ -24,6 +24,7 @@ export const executeWait = (
|
||||
parsedSecondsToWaitFor || block.options?.shouldPause
|
||||
? [
|
||||
{
|
||||
type: 'wait',
|
||||
wait: { secondsToWaitFor: parsedSecondsToWaitFor ?? 0 },
|
||||
expectsDedicatedReply: block.options.shouldPause,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user