Structural subset of DurableObjectState — the shape DurableObjectRunner
reads from. id.name (run-identity recovery off the DO's own idFromName
address) and storage (owner-recovery records and alarms) are always touched;
the Hibernatable-WebSocket members are OPTIONAL so node/vitest stubs that
set only id.name/storage still satisfy the type and the per-run WS stream
route can guard on their presence (absent ⇒ the non-WS 426 fallback).
Structural subset of DurableObjectState — the shape DurableObjectRunner reads from.
id.name(run-identity recovery off the DO's own idFromName address) andstorage(owner-recovery records and alarms) are always touched; the Hibernatable-WebSocket members are OPTIONAL so node/vitest stubs that set only id.name/storage still satisfy the type and the per-run WS stream route can guard on their presence (absent ⇒ the non-WS 426 fallback).