(id: string)
| 203 | |
| 204 | /** A stable static-server process name for an artifact. */ |
| 205 | export function previewServerName(id: string): string { |
| 206 | return `artifact-preview:${id}`; |
| 207 | } |
| 208 | |
| 209 | /** Derive a deterministic-ish port in the 4500–4999 range from the artifact id. */ |
| 210 | export function previewPort(id: string): number { |
no outgoing calls
no test coverage detected