Allow to insert into loop step ids (#14425)
- Create empty node on iterator creation - Add options on step creation to insert in loop - Handle properly when a step is removed from loop - Remove loopNextStepIds from frontend action - Add a frontend skeleton for empty action https://github.com/user-attachments/assets/281a8c15-8062-4702-afb4-0d9a50902252
This commit is contained in:
+10
-1
@@ -1,8 +1,11 @@
|
||||
import { Field, InputType } from '@nestjs/graphql';
|
||||
|
||||
import graphqlTypeJson from 'graphql-type-json';
|
||||
|
||||
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
|
||||
import { WorkflowActionType } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';
|
||||
import { WorkflowStepPositionInput } from 'src/engine/core-modules/workflow/dtos/update-workflow-step-position-input.dto';
|
||||
import { WorkflowStepCreationOptions } from 'src/modules/workflow/workflow-builder/workflow-version-step/types/WorkflowStepCreationOptions';
|
||||
import { WorkflowActionType } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';
|
||||
|
||||
@InputType()
|
||||
export class CreateWorkflowVersionStepInput {
|
||||
@@ -25,6 +28,12 @@ export class CreateWorkflowVersionStepInput {
|
||||
})
|
||||
parentStepId?: string;
|
||||
|
||||
@Field(() => graphqlTypeJson, {
|
||||
description: 'Step creation options',
|
||||
nullable: true,
|
||||
})
|
||||
parentStepOptions?: WorkflowStepCreationOptions;
|
||||
|
||||
@Field(() => UUIDScalarType, {
|
||||
description: 'Next step ID',
|
||||
nullable: true,
|
||||
|
||||
Reference in New Issue
Block a user