DevClientMessage
DevClientMessage = {
t:"auth";token:string; } | {id:string;t:"tables.list"; } | {id:string;t:"tables.watch"; } | {id:string;t:"tables.unwatch"; } | {id:string;t:"table.watch";table:string; } | {id:string;t:"table.unwatch";table:string; } | {from:number;id:string;t:"table.log";table:string;to?:number; } | {id:string;seq:number;t:"table.at";table:string; } | {id:string;seq?:number;t:"table.fork";table:string; } | {id:string;seq?:number;t:"table.export";table:string; } | {id:string;t:"sessions.list"; }
Defined in: devtools/protocol.ts:98
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ t: "auth"; token: string; }
Type Literal
Section titled “Type Literal”{ id: string; t: "tables.list"; }
Type Literal
Section titled “Type Literal”{ id: string; t: "tables.watch"; }
Push tables whenever the table list changes, until tables.unwatch.
Type Literal
Section titled “Type Literal”{ id: string; t: "tables.unwatch"; }
Type Literal
Section titled “Type Literal”{ id: string; t: "table.watch"; table: string; }
Result DevTableDetail; then push table.update after commits (throttled).
Type Literal
Section titled “Type Literal”{ id: string; t: "table.unwatch"; table: string; }
Type Literal
Section titled “Type Literal”{ from: number; id: string; t: "table.log"; table: string; to?: number; }
Log entries from <= seq <= to (default: to the end), from the store.
Type Literal
Section titled “Type Literal”{ id: string; seq: number; t: "table.at"; table: string; }
Time travel: a replayed copy at seq. Never touches the live table.
Type Literal
Section titled “Type Literal”{ id: string; seq?: number; t: "table.fork"; table: string; }
Fork a dev table from seq (default: the latest). Refused in production.
Type Literal
Section titled “Type Literal”{ id: string; seq?: number; t: "table.export"; table: string; }
Export a fixture up to seq (default: the latest). Player ids become p0, p1...
Type Literal
Section titled “Type Literal”{ id: string; t: "sessions.list"; }
