Migrate no-input action routes to makeAction
## Parent PRD
#877
## What to build
Migrate all API route action handlers that do not parse a request body (no request.json() or request.formData() calls) to use the makeAction factory with the none input mode. These are the simplest routes — they receive no input beyond URL params, run an Effect for their business logic, and return a response.
Each route shrinks to a makeAction call wrapping just the business-logic Effect. Remove the manual Effect pipeline boilerplate (withDatabaseDump, tapErrorCause, catchTag, catchAll, runtimeLive.runPromise) and replace with the factory call. For routes that currently omit withDatabaseDump, pass the opt-out flag. Only migrate routes with standard error handling (ParseError and catch-all) in this slice — routes with custom error tags are handled in a later slice.
## Acceptance criteria
- [ ] All no-input action routes with standard error handling use makeAction with none input mode
- [ ] Manual Effect pipeline boilerplate is removed from each migrated route
- [ ] Routes that previously skipped withDatabaseDump use the opt-out flag
- [ ] TypeScript compiles with no new errors
- [ ] Existing tests pass without modification
0 条评论