Kaizen
Browse modulesFormsforms/sharedSchemas and constants

Variable: resolvedFormStepTransitionSchema

const resolvedFormStepTransitionSchema: ZodObject<{
  conditionLogic: ZodNullable<ZodType<ConditionLogicNode, unknown, $ZodTypeInternals<ConditionLogicNode, unknown>>>;
  fromStepId: ZodUUID;
  id: ZodUUID;
  label: ZodNullable<ZodString>;
  priority: ZodNumber;
  ruleId: ZodNullable<ZodUUID>;
  ruleVersionId: ZodNullable<ZodUUID>;
  toStepId: ZodUUID;
}, $strip>;

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

Render-time projection that joins in conditionLogic from the pinned rule version. The renderer and the getNextStepKey walker consume this shape; everything storage-facing (repos, services, validators, DAG reachability) uses the leaner formStepTransitionSchema.