From 3e654c2bf757b3b430a63e048059f9fb5cb7f2dd Mon Sep 17 00:00:00 2001 From: Aravind Date: Thu, 17 Sep 2026 23:00:29 +0530 Subject: [PATCH] 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) Claude-Session: https://claude.ai/code/session_01HBG1wnuRfJKCstGB8Fekr8 --- src/api/{attendanceSeed.js => attendanceSeed.ts} | 0 src/api/{seed.js => seed.ts} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/api/{attendanceSeed.js => attendanceSeed.ts} (100%) rename src/api/{seed.js => seed.ts} (100%) diff --git a/src/api/attendanceSeed.js b/src/api/attendanceSeed.ts similarity index 100% rename from src/api/attendanceSeed.js rename to src/api/attendanceSeed.ts diff --git a/src/api/seed.js b/src/api/seed.ts similarity index 100% rename from src/api/seed.js rename to src/api/seed.ts