File size: 525 Bytes
d9e3e09 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /**
* @fileoverview Control payloads: control.ping and control.pong.
*
* Mirrors docs/issues/002-cloud-runtime/protocol.md ("Control"). Liveness and
* RTT, separate from the WebSocket ping frame. Pure + isomorphic.
*/
import { z } from "zod";
export const controlPingPayloadSchema = z.object({}).strict();
export type ControlPing = z.infer<typeof controlPingPayloadSchema>;
export const controlPongPayloadSchema = z.object({}).strict();
export type ControlPong = z.infer<typeof controlPongPayloadSchema>;
|