chore: align TanStack Query versions and fix TypeScript errors
- Pin @tanstack/react-query to 'latest' in packages/api to match apps/web
- Regenerate API types from OpenAPI spec
- Add typecheck script and turbo pipeline task
- Fix multiple TypeScript type errors:
* SearchCommand: Use PaginatedSocialUsersDto.items instead of direct array
* Multiple hook files: Fix type annotations and parameter types
* Fix router Link components to use proper params prop
* Remove unused variables
* Fix property access on DTOs
Note: 29 TypeScript errors remain related to:
- Missing routes in TanStack Router (/settings, /lists/, /profile/)
- API type mismatches requiring backend updates
- Router Link type configurations
These remaining errors don't affect runtime but need addressing for full type safety.