(relativePath: string, content: string)
| 367 | // ── File output ───────────────────────────────────────────────────────────── |
| 368 | |
| 369 | export async function writeGeneratedFile(relativePath: string, content: string): Promise<string> { |
| 370 | const fullPath = path.join(REPO_ROOT, relativePath); |
| 371 | await fs.mkdir(path.dirname(fullPath), { recursive: true }); |
| 372 | await fs.writeFile(fullPath, content, "utf-8"); |
| 373 | return fullPath; |
| 374 | } |
| 375 | |
| 376 | // ── RPC schema types ──────────────────────────────────────────────────────── |
| 377 |
no test coverage detected
searching dependent graphs…