Kaizen
Browse modulesFormsforms/serverTypes

Type Alias: PublishValidationError

type PublishValidationError = 
  | {
  code: "entry_step_missing";
  entryStepKey: string | null;
}
  | {
  code: "no_submit_point";
}
  | {
  code: "unreachable_step";
  stepKey: string;
}
  | {
  code: "cycle";
  cycle: string[];
}
  | {
  code: "unknown_rule";
  fromStepKey: string;
  ruleId: string;
}
  | {
  code: "rule_not_attached";
  fromStepKey: string;
  ruleId: string;
}
  | {
  code: "duplicate_priority";
  fromStepKey: string;
  priority: number;
}
  | {
  code: "field_type_conflict";
  fieldName: string;
  stepA: string;
  stepB: string;
  typeA: string;
  typeB: string;
};

Defined in: shared/forms/errors.ts:37