Update next step ids on step update (#11605)

When inserting a new step between step 1 et step 2, then step 1 should
have the new step as next step id, add stop having step 2.

When deleting a step, we link the parent and next steps together. It may
change in the future
This commit is contained in:
Thomas Trompette
2025-04-16 15:30:05 +02:00
committed by GitHub
parent bf704bd1bc
commit 78e10b2da5
10 changed files with 338 additions and 17 deletions

View File

@ -411,6 +411,10 @@ export type CreateServerlessFunctionInput = {
};
export type CreateWorkflowVersionStepInput = {
/** Next step ID */
nextStepId?: InputMaybe<Scalars['String']>;
/** Parent step ID */
parentStepId?: InputMaybe<Scalars['String']>;
/** New step type */
stepType: Scalars['String'];
/** Workflow version ID */