MCPcopy Create free account
hub / github.com/garrytan/gstack / Board

Interface Board

design/src/daemon.ts:66–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64export type BoardState = "serving" | "regenerating" | "done";
65
66export interface Board {
67 id: string;
68 htmlContent: string;
69 sourceDir: string; // realpath of the dir feedback files write to
70 allowedDir: string; // realpath anchor for path-traversal guard
71 state: BoardState;
72 publishedAt: number;
73 lastTouched: number;
74 publisherPid: number;
75 title?: string;
76}
77
78// In-memory: keyed by board id.
79const boards = new Map<string, Board>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected