- Make total and perPage optional in PartyPageResult interface to match adapter return type
- Fix withInitialData to properly handle null values with NonNullable<TData>
- Fix slot indexing in job.mutations.ts by casting through unknown to keyof type
Co-Authored-By: Justin Edmund <justin@jedmund.com>
- Create +layout.ts to initialize QueryClient for SSR support
- Update +layout.svelte to receive QueryClient from load function
- Add SSR utilities (withInitialData, prefetchQuery, prefetchInfiniteQuery)
- Add documentation for SSR integration patterns
This enables two SSR patterns:
1. initialData pattern for pages using +page.server.ts
2. prefetchQuery pattern for pages using +page.ts
Phase 4 of TanStack Query integration.
Co-Authored-By: Justin Edmund <justin@jedmund.com>