feat: Add name column to Step model

This commit is contained in:
Faruk AYDIN
2025-01-06 16:42:00 +03:00
parent f9731824eb
commit bc87e18d3f
16 changed files with 58 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ const getExecutionStepsMock = async (executionSteps, steps) => {
id: step.id,
type: step.type,
key: step.key,
name: step.name,
appKey: step.appKey,
iconUrl: step.iconUrl,
webhookUrl: step.webhookUrl,

View File

@@ -15,6 +15,7 @@ const getExecutionMock = async (execution, flow, steps) => {
id: step.id,
type: step.type,
key: step.key,
name: step.name,
appKey: step.appKey,
iconUrl: step.iconUrl,
webhookUrl: step.webhookUrl,

View File

@@ -16,6 +16,7 @@ const getExecutionsMock = async (executions, flow, steps) => {
id: step.id,
type: step.type,
key: step.key,
name: step.name,
appKey: step.appKey,
iconUrl: step.iconUrl,
webhookUrl: step.webhookUrl,

View File

@@ -14,6 +14,7 @@ const duplicateFlowMock = async (flow, steps = []) => {
iconUrl: step.iconUrl,
id: step.id,
key: step.key,
name: step.name,
parameters: step.parameters,
position: step.position,
status: step.status,

View File

@@ -14,6 +14,7 @@ const getFlowMock = async (flow, steps = []) => {
iconUrl: step.iconUrl,
id: step.id,
key: step.key,
name: step.name,
parameters: step.parameters,
position: step.position,
status: step.status,

View File

@@ -14,6 +14,7 @@ const getFlowsMock = async (flows, steps) => {
iconUrl: step.iconUrl,
id: step.id,
key: step.key,
name: step.name,
parameters: step.parameters,
position: step.position,
status: step.status,

View File

@@ -14,6 +14,7 @@ const updateFlowStatusMock = async (flow, steps = []) => {
iconUrl: step.iconUrl,
id: step.id,
key: step.key,
name: step.name,
parameters: step.parameters,
position: step.position,
status: step.status,

View File

@@ -8,6 +8,7 @@ const getPreviousStepsMock = async (steps, executionSteps) => {
id: step.id,
type: step.type,
key: step.key,
name: step.name,
appKey: step.appKey,
iconUrl: step.iconUrl,
webhookUrl: step.webhookUrl,

View File

@@ -3,6 +3,7 @@ const updateStepMock = (step) => {
id: step.id,
type: step.type || 'action',
key: step.key || null,
name: step.name || null,
appKey: step.appKey || null,
iconUrl: step.iconUrl || null,
webhookUrl: step.webhookUrl || null,