hensei-web/src/lib/api/adapters
Justin Edmund 6dc10ce414 fix: Phase 8 - fix test fixture and adapter issues (24 -> 22 errors)
Fixed remaining test mock data to match actual type schemas.

Changes:
1. entity.adapter.test.ts:
   - Removed invalid maxLevel property from Character mock
   - Character interface doesn't have maxLevel

2. grid.adapter.test.ts:
   - Added missing required properties to Weapon mock:
     - maxSkillLevel: 15
     - maxAwakeningLevel: 5
     - ax: true
     - axType: 1
   - Removed invalid series property from Summon mock
     - Summon interface doesn't have series property

3. settings/+page.svelte:
   - Fixed users.update call (removed extra fetch parameter)

All test mocks now match their corresponding type definitions from
entities.ts, ensuring tests can compile and run correctly.

Result: 24 → 22 errors (-2)

Overall progress: 53 → 22 errors (58% reduction)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 20:07:34 -08:00
..
__tests__ fix: Phase 8 - fix test fixture and adapter issues (24 -> 22 errors) 2025-11-28 20:07:34 -08:00
resources fix: resolve string undefined assignment errors 2025-11-28 18:44:20 -08:00
base.adapter.ts fix: Phase 7d - fix null/undefined handling (28 -> 24 errors) 2025-11-28 20:04:02 -08:00
config.ts refactor api adapters to use new pattern 2025-09-23 22:06:42 -07:00
entity.adapter.ts fix: type errors in svelte-main branch (372 -> 217 errors) 2025-11-28 20:32:38 +00:00
errors.ts fix: handle optional properties with exactOptionalPropertyTypes 2025-11-28 18:17:01 -08:00
grid.adapter.ts fix: Phase 3 - fix adapter type issues (43 -> 42 errors) 2025-11-28 19:25:23 -08:00
index.ts fix: consolidate SearchResult type definition 2025-11-28 18:05:33 -08:00
job.adapter.ts fix job skill types and slot styling 2025-11-28 11:04:16 -08:00
party.adapter.ts fix: add undefined to optional interface properties for exactOptionalPropertyTypes 2025-11-28 18:52:03 -08:00
search.adapter.ts fix: type errors cleanup (161 -> 130 errors) 2025-11-28 21:58:11 +00:00
test-setup.ts fix: Phase 7b - suppress MSW optional dependency errors (34 -> 32 errors) 2025-11-28 19:56:51 -08:00
types.ts fix: Phase 3 - fix adapter type issues (43 -> 42 errors) 2025-11-28 19:25:23 -08:00
user.adapter.ts fix: handle optional properties with exactOptionalPropertyTypes 2025-11-28 18:17:01 -08:00