Commit graph

11 commits

Author SHA1 Message Date
de73c1937e fix: correct function call argument counts
- party.service.ts: Remove invalid `headers` parameter from adapter calls
  - create(), update(), remix() methods don't accept headers parameter
- party.ts schema: Add key type to z.record() calls
  - z.record() requires 2 arguments: z.record(keySchema, valueSchema)

Fixes "Expected N arguments, but got M" errors.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 18:09:05 -08:00
Devin AI
cab0a84588 fix: type errors in svelte-main branch (372 -> 217 errors)
- Fix Button variant errors (outlined -> ghost, contained -> primary)
- Fix search.queries.ts import path and property names (snake_case -> camelCase)
- Fix PartyContext export from party.service.ts
- Fix User type missing avatar property
- Fix exactOptionalPropertyTypes violations in Unit components
- Fix MenuItems Props interface
- Fix RequestOptions, SearchParams, SearchFilters types
- Fix UpdateUncapParams type
- Fix Select.ItemIndicator and maxLength errors
- Fix Summon/Weapon hp/atk properties in entity.adapter.ts

Co-Authored-By: Justin Edmund <justin@jedmund.com>
2025-11-28 20:32:38 +00:00
5dc0a75cce misc fixes for grid service and resources
- let backend compute default uncap levels
- fix InfiniteScroll resource lifecycle (don't destroy on unmount)
- improve party resource error handling with type narrowing
- use SvelteMap/SvelteDate for reactivity
2025-11-28 11:04:36 -08:00
d8e18c00e1 update ui components 2025-09-29 23:48:02 -07:00
3666b8db86 add perpetuity ring toggle and fix grid api response handling 2025-09-25 01:08:25 -07:00
0324adb0a4 update services and uncap utilities 2025-09-23 22:10:22 -07:00
2605a539b6 refactor: Remove backward compatibility in adapter migration
- Update services to use adapters directly without FetchLike
- Remove constructor fetch dependency from services
- Add favorite/unfavorite methods to PartyAdapter
- Simplify API resource files to act as facades temporarily
- Services now instantiate without fetch parameter
- Direct adapter usage improves type safety and reduces complexity
2025-09-20 00:37:26 -07:00
e4c59e14f6 feat: add grid API endpoints and drag-drop support 2025-09-17 10:46:49 -07:00
da4c3d09f9 add grid api endpoints and services 2025-09-15 21:24:37 -07:00
251c56b86d Update services for editing support 2025-09-15 04:10:22 -07:00
32c1c9016e Add new services for business logic 2025-09-11 10:46:29 -07:00