goban
Version:
[](https://opensource.org/licenses/Apache-2.0) [](https://deepwiki.com/online-go/goban)
15 lines (14 loc) • 552 B
TypeScript
import { ServerToClient } from "./ServerToClient";
export interface AIServerToClient {
/** Pong response from a ping */
"net/pong": ServerToClient["net/pong"];
/** AI review messages are streamed back to the AI review UUID. */
[uuid: string]: (data: any) => void;
/** AI position analysis messages streaming back to a particular channel */
[k: `ai-position-analysis-stream-review-${string}`]: (data: {
board_string: string;
analysis: any;
final: boolean;
intermediate: boolean;
}) => void;
}