* What the server says about its projects, read strictly, and the small * decisions the projects panel makes on top of it. * * The panel (src/projects/ProjectsPanel.tsx) is the one surface of this * frontend that asks the server to WRITE: index a repository, delete an index, * store a decision
(value: unknown)
| 24 | */ |
| 25 | |
| 26 | function isRecord(value: unknown): value is Record<string, unknown> { |
| 27 | return typeof value === 'object' && value !== null && !Array.isArray(value); |
| 28 | } |
| 29 | |
| 30 | const text = (value: unknown): string => (typeof value === 'string' ? value : ''); |
| 31 |
no outgoing calls
no test coverage detected