- Rewrote gen-module.ts to match actual codebase patterns - Repository uses getRegisteredContainer from @bytelyst/cosmos - Routes use req.jwtPayload?.sub for auth (not req.user) - Routes register with explicit /name paths under /api prefix - Auto-patches cosmos-init.ts with container definition - Auto-patches server.ts with import + route registration - Proper parenthesis-aware field splitter for enum(a,b,c) - Test template generates per-field validation tests - Checks for existing module directory before overwriting - Pascal/camel case helpers handle hyphenated module names - Dry-run shows auto-patch previews |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| package.json | ||
| POSTAL_SMTP_SETUP.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||