5. Where each legacy form is available
YAML — always. A realm needs no build to declare types.
TypeScript — where the realm already compiles TypeScript. Declarations live beside the
handlers they belong to. These decorator declarations need their existing build path. New source realms use the
types record in realm.ts, including realms with no handlers or build.
Requirement — do not declare the same type twice. A type declared in both forms is a
realm authoring error. Split by type, not by fact: Movie in one form, MovieRating in the
other, is fine; Movie in both is not.

