generated from nhcarrigan/template
feat: goddess API routes, services, and tests (chunk 4)
Add six new goddess-mode API routes (boss fight, consecration, enlightenment, upgrade purchase, crafting, exploration) alongside matching service modules and full test suites at 100% coverage.
This commit is contained in:
+15
-11
@@ -33,18 +33,22 @@ Branch: `feat/goddess`
|
||||
- NOTE: All data files excluded from coverage until Chunk 4 routes import them
|
||||
- Lint ✅ · Build ✅ · Tests ✅ (100% coverage)
|
||||
|
||||
## Chunk 3 — Sync / Sanitize
|
||||
- [ ] Update `validateAndSanitize` to inject goddess state defaults for existing saves
|
||||
- [ ] Update force-sync (`syncNewContent`) to inject missing goddess fields
|
||||
- [ ] Add apotheosis unlock flag handling
|
||||
## Chunk 3 — Sync / Sanitize ✅ COMPLETE
|
||||
- [x] Update `validateAndSanitize` to inject goddess state defaults for existing saves
|
||||
- [x] Update force-sync (`syncNewContent`) to inject missing goddess fields
|
||||
- [x] Add apotheosis unlock flag handling
|
||||
- Lint ✅ · Build ✅ · Tests ✅ (100% coverage)
|
||||
|
||||
## Chunk 4 — API Routes
|
||||
- [ ] Goddess boss fight route
|
||||
- [ ] Consecration (goddess prestige) route
|
||||
- [ ] Enlightenment (goddess transcendence) route
|
||||
- [ ] Goddess upgrade purchase route
|
||||
- [ ] Goddess crafting route
|
||||
- [ ] Goddess exploration route
|
||||
## Chunk 4 — API Routes ✅ COMPLETE
|
||||
- [x] Goddess boss fight route (`goddessBoss.ts`)
|
||||
- [x] Consecration (goddess prestige) route (`consecration.ts`)
|
||||
- [x] Enlightenment (goddess transcendence) route (`enlightenment.ts`)
|
||||
- [x] Goddess upgrade purchase route (`goddessUpgrade.ts`)
|
||||
- [x] Goddess crafting route (`goddessCraft.ts`)
|
||||
- [x] Goddess exploration route (`goddessExplore.ts`)
|
||||
- [x] Services: `consecration.ts`, `enlightenment.ts`
|
||||
- [x] Tests for all 6 routes (100% coverage)
|
||||
- Lint ✅ · Build ✅ · Tests ✅ (100% coverage)
|
||||
|
||||
## Chunk 5 — UI: Resource Bar + Mode/Tab Nav
|
||||
- [ ] Add goddess currencies to resource bar dropdown (greyed pre-apotheosis)
|
||||
|
||||
Reference in New Issue
Block a user