Skip to content

Graphorin API reference v0.13.8


Graphorin API reference / @graphorin/protocol / server-message / ReplayMarkerFrame

Variable: ReplayMarkerFrame

ts
const ReplayMarkerFrame: ZodObject<{
  droppedCount: ZodOptional<ZodNumber>;
  eventId: ZodString;
  kind: ZodLiteral<"replay-marker">;
  note: ZodOptional<ZodString>;
  subscriptionId: ZodString;
  v: ZodLiteral<"1">;
}, "strict", ZodTypeAny, {
  droppedCount?: number;
  eventId: string;
  kind: "replay-marker";
  note?: string;
  subscriptionId: string;
  v: "1";
}, {
  droppedCount?: number;
  eventId: string;
  kind: "replay-marker";
  note?: string;
  subscriptionId: string;
  v: "1";
}>;

Defined in: src/server-message.ts:187

Stable

Zod schema behind ServerReplayMarkerFrame.