| 64 | export type BoardState = "serving" | "regenerating" | "done"; |
| 65 | |
| 66 | export 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. |
| 79 | const boards = new Map<string, Board>(); |
nothing calls this directly
no outgoing calls
no test coverage detected