Stored shape of an ApiImplementation. endpoints and webSockets are records keyed by route
path so the runtime can dispatch incoming requests by path with a single object lookup. Keys are
string and the api definition's per-path key union is intentionally not propagated into this
type — that's what keeps TypeScript instantiation work flat at large route counts.
Stored shape of an
ApiImplementation.endpointsandwebSocketsare records keyed by route path so the runtime can dispatch incoming requests by path with a single object lookup. Keys arestringand the api definition's per-path key union is intentionally not propagated into this type — that's what keeps TypeScript instantiation work flat at large route counts.Package
@rest-vir/host