Summary
The Custom Types API prevents deleting a type that has documents assigned to it.
page-type remove and custom-type remove need to surface this error clearly with actionable guidance (e.g. "delete or reassign documents first") so agents and users know what to do next.
Raised in RFC: Prismic CLI Modeling.
Summary
The Custom Types API prevents deleting a type that has documents assigned to it.
page-type removeandcustom-type removeneed to surface this error clearly with actionable guidance (e.g. "delete or reassign documents first") so agents and users know what to do next.Raised in RFC: Prismic CLI Modeling.