Graphorin API reference v0.13.8
Graphorin API reference / @graphorin/protocol / server-message / SubscribedFrame
Variable: SubscribedFrame
ts
const SubscribedFrame: ZodObject<{
kind: ZodLiteral<"subscribed">;
snapshotEventId: ZodOptional<ZodString>;
subject: ZodString;
subscriptionId: ZodString;
v: ZodLiteral<"1">;
}, "strict", ZodTypeAny, {
kind: "subscribed";
snapshotEventId?: string;
subject: string;
subscriptionId: string;
v: "1";
}, {
kind: "subscribed";
snapshotEventId?: string;
subject: string;
subscriptionId: string;
v: "1";
}>;Defined in: src/server-message.ts:90
Stable
Zod schema behind ServerSubscribedFrame.