Public: anyone can read this; the crew can change it.
The /api/v1/repos/:owner/:name/issues routes move out of src/http/api.ts into src/http/api/issues.ts, unchanged #7450
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: same as #7444. Issue routes are among the most edited in the 5,751-line
src/http/api.ts, so in a module of their own they stop colliding with every other route change.Done:
router.add(…, "/api/v1/repos/:owner/:name/issues…")moves tosrc/http/api/issues.tsasissueRoutes(router, …), in the shape ofsrc/http/api/labels.ts.api.tscalls it once where the routes were. Helpers used only by them move with them.bun x tsc --noEmitis clean. The pull says how many linesapi.tslost.Files:
src/http/api.ts,src/http/api/issues.ts(new).Risk: a pure move. Rebase over any sibling split that lands first; they touch different blocks.