Improve API + set functions in state (#17560)
Prefetch functions and set these in state --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
+4
-9
@@ -5,6 +5,7 @@ import graphqlTypeJson from 'graphql-type-json';
|
||||
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
|
||||
import { WorkflowStepPositionInput } from 'src/engine/core-modules/workflow/dtos/update-workflow-step-position-input.dto';
|
||||
import { WorkflowStepConnectionOptions } from 'src/modules/workflow/workflow-builder/workflow-version-step/types/WorkflowStepCreationOptions';
|
||||
import { WorkflowActionSettings } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action-settings.type';
|
||||
import { WorkflowActionType } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';
|
||||
|
||||
@InputType()
|
||||
@@ -52,15 +53,9 @@ export class CreateWorkflowVersionStepInput {
|
||||
})
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {
|
||||
description: 'Step name',
|
||||
@Field(() => graphqlTypeJson, {
|
||||
description: 'Default settings for the step',
|
||||
nullable: true,
|
||||
})
|
||||
name?: string;
|
||||
|
||||
@Field(() => UUIDScalarType, {
|
||||
description: 'Logic function ID',
|
||||
nullable: true,
|
||||
})
|
||||
logicFunctionId?: string;
|
||||
defaultSettings?: WorkflowActionSettings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user