Create record action (#8460)
- Add create record action - Migrate all step name => action in a common folder - Separate types
This commit is contained in:
@ -2,8 +2,8 @@ import { Field, InputType } from '@nestjs/graphql';
|
||||
|
||||
import graphqlTypeJson from 'graphql-type-json';
|
||||
|
||||
import { WorkflowAction } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';
|
||||
import { WorkflowTrigger } from 'src/modules/workflow/workflow-trigger/types/workflow-trigger.type';
|
||||
import { WorkflowStep } from 'src/modules/workflow/workflow-executor/types/workflow-action.type';
|
||||
|
||||
@InputType()
|
||||
export class ComputeStepOutputSchemaInput {
|
||||
@ -11,5 +11,5 @@ export class ComputeStepOutputSchemaInput {
|
||||
description: 'Step JSON format',
|
||||
nullable: false,
|
||||
})
|
||||
step: WorkflowTrigger | WorkflowStep;
|
||||
step: WorkflowTrigger | WorkflowAction;
|
||||
}
|
||||
|
||||
@ -10,7 +10,7 @@ import { AuthWorkspace } from 'src/engine/decorators/auth/auth-workspace.decorat
|
||||
import { UserAuthGuard } from 'src/engine/guards/user-auth.guard';
|
||||
import { WorkspaceAuthGuard } from 'src/engine/guards/workspace-auth.guard';
|
||||
import { WorkflowBuilderWorkspaceService } from 'src/modules/workflow/workflow-builder/workflow-builder.workspace-service';
|
||||
import { OutputSchema } from 'src/modules/workflow/workflow-executor/types/workflow-step-settings.type';
|
||||
import { OutputSchema } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action-settings.type';
|
||||
|
||||
@Resolver()
|
||||
@UseGuards(WorkspaceAuthGuard, UserAuthGuard)
|
||||
|
||||
Reference in New Issue
Block a user