chore(ts-migration): migrate seed fixtures to TypeScript
Phase 4c, completing `src/api`. Both files emit byte-identical JavaScript - 86,831 and 6,449 bytes - and neither needed a single annotation: they are data and pure helpers, and inference already describes them. Neither reaches the production bundle. No module under `src` imports either one; `base44Client` mentions `attendanceSeed` in a comment and nothing more. They exist for `skill-check.mjs`, `owliver-capture.mjs` and `seed-fixture.mjs`, which is why this was the safest phase in the whole migration and why it was left until the transport layer was done. `npm run seed:check` still answers "seed.json is stale", which it has since before this migration began - the backend fixture drifted from `src/api/seed` independently of any of this. What matters here is that it ANSWERS: the generator loaded the renamed module through the Phase 0 resolver rather than failing to find it. tsc unchanged at 40, npm test 1684/1691 with the same seven failures, lint 0 errors. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBG1wnuRfJKCstGB8Fekr8
This commit is contained in:
Reference in New Issue
Block a user