Repository navigation
refactor(examples/svelte/star-wars): type the API responses and share the queries with 'queryOptions' - #12116
Conversation
… the queries with 'queryOptions'
|
|
View your CI Pipeline Execution ↗ for commit 28a2493
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
🎯 Changes
Film,Character,Planet, andPaginated<T>types tosrc/lib/api.tsand annotate the fetchers' return types, soquery.datais no longerany.filmsQueryOptions,filmQueryOptions,charactersQueryOptions,characterQueryOptions, andhomeworldQueryOptionsbuilt withqueryOptions, keeping the existing query keys, and make the fetchers module-private.queryKey/queryFnobjects.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit