Fix SSE for workflow show page (#17582)
- Add SSE to workflow show page. Listens at workflow versions - Add a tool for creating trigger - Ensure step id is not used in params - Make AI adding step linked to the last node by default https://github.com/user-attachments/assets/41ee1835-9716-450e-82e8-54e1b63bd1ef
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
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 { WorkflowTrigger } from 'src/modules/workflow/workflow-trigger/types/workflow-trigger.type';
|
||||
|
||||
@InputType()
|
||||
export class UpdateWorkflowVersionTriggerInput {
|
||||
@Field(() => UUIDScalarType, {
|
||||
description: 'Workflow version ID',
|
||||
nullable: false,
|
||||
})
|
||||
workflowVersionId: string;
|
||||
|
||||
@Field(() => graphqlTypeJson, {
|
||||
description: 'Trigger to update in JSON format',
|
||||
nullable: false,
|
||||
})
|
||||
trigger: WorkflowTrigger;
|
||||
}
|
||||
Reference in New Issue
Block a user