You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: TypeScript DAL + admin routes + Eden wiring (#9)
* feat: DAL users — getUsers, countUsers, ensureUser
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: remove unused and import in dal/users
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: ensureUser race condition and explicit return types
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: DAL batches — getBatches, countBatches, getBatch, createBatch, stats helper
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: DAL presets — CRUD + getAllPresets, countAllPresets
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: DAL uploads — full port including getFailedUploadsGrouped + retrySelectedUploadsToNewBatch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: admin routes — all 9 endpoints + requireAdmin guard
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: wire adminRoutes into app.ts + full admin test suite
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: wire Eden in useAdmin and useFailedUploads — replace raw fetch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: non-null assertion on createBatch row (guaranteed by insert)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: update useAdmin tests for Eden migration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: useAdmin test type assertion casts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: lazy-init db pool to prevent mysql2 URL parse error in test env
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: update CLAUDE.md with Elysia/test gotchas; condense frontend CLAUDE.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: use config.xUsername in admin guard; fix DaxServer fallback in config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* ci: set TOKEN_ENCRYPTION_KEY in test job env
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: filter by errorType before pagination; restrict PUT upload_requests schema
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>