Seed the mock entity-type registry from declared types.
The entities.registerType RPC is gone; entity types are declared in
.ispo/project.json (entityTypes[]) and registered host-side at
adopt/boot. In browser-dev there is no host, so a top-level dev tab seeds
its declared types here. This feeds the same mockEntityTypes registry that
mockCreateEntity checks — without a seed, mockCreateEntity throws
mock entity type not found.
Idempotent: re-seeding a type id overwrites the prior definition. Each seed
appends a type-registered event so watchers in dev see type appearance.
Seed the mock entity-type registry from declared types.
The
entities.registerTypeRPC is gone; entity types are declared in.ispo/project.json(entityTypes[]) and registered host-side at adopt/boot. In browser-dev there is no host, so a top-level dev tab seeds its declared types here. This feeds the samemockEntityTypesregistry thatmockCreateEntitychecks — without a seed,mockCreateEntitythrowsmock entity type not found.Idempotent: re-seeding a type id overwrites the prior definition. Each seed appends a
type-registeredevent so watchers in dev see type appearance.