feat: Add name column to Step model
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user