refactor(api): custom-links → src/api modules (Effort 1)#61
Conversation
Mechanical move of the custom-links feature from src/hooks/queries/custom-links to src/api/custom-links, adding queryOptions factories for the query hooks. No behavior change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K513rsQz6Lg1HbbfYiafrE
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR Summary by Qodorefactor(api): move custom-links queries to src/api with queryOptions factories Description
Diagram
High-Level Assessment
Files changed (8)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
109 rules 1. customLinksKeys.byFestival arrow function
|
The mechanical move changed customLinksKeys.byFestival(festivalId || "") to customLinksQuery(festivalId!), shifting the disabled-state cache key from ["customLinks", ""] to ["customLinks", undefined]. Restore the original normalization via ?? "" to keep the move behavior-neutral. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K513rsQz6Lg1HbbfYiafrE
|
Triage of Qodo's two findings: 1. 2. Generated by Claude Code |
Mechanical move of the
custom-linksfeature fromsrc/hooks/queries/custom-linkstosrc/api/custom-links, addingqueryOptionsfactories for the query hooks. No behavior change. Part of #52.Manual verification
pnpm run lint && pnpm test && pnpm run buildall pass.Generated by Claude Code