Kaizen
Browse modulesFormsforms/sharedSchemas and constants

Variable: formStepTransitionInputSchema

const formStepTransitionInputSchema: ZodObject<{
  label: ZodOptional<ZodNullable<ZodString>>;
  priority: ZodNumber;
  ruleId: ZodOptional<ZodNullable<ZodUUID>>;
  toStepId: ZodUUID;
}, $strip>;

Defined in: shared/forms/transitions.ts:56

Author-facing input shape. label and ruleId are optional so callers can omit them; the service normalises absent values to null before persisting.