tercul-frontend/server/routes
google-labs-jules[bot] 1dcd8f076c
feat: Fix TypeScript errors and improve type safety (#6)
This commit addresses 275 TypeScript compilation errors and improves type safety, code quality, and maintainability across the frontend codebase.

The following issues have been resolved:
- Standardized `translationId` to `number`
- Fixed missing properties on annotation types
- Resolved `tags` type mismatch
- Corrected `country` type mismatch
- Addressed date vs. string mismatches
- Fixed variable hoisting issues
- Improved server-side type safety
- Added missing null/undefined checks
- Fixed arithmetic operations on non-numbers
- Resolved `RefObject` type issues

Note: I was unable to verify the frontend changes due to local setup issues with the development server. The server would not start, and I was unable to run the Playwright tests.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-11-27 18:48:47 +01:00
..
author.ts feat: Fix TypeScript errors and improve type safety (#6) 2025-11-27 18:48:47 +01:00
blog.ts feat: Fix TypeScript errors and improve type safety (#6) 2025-11-27 18:48:47 +01:00
bookmark.ts feat: Fix TypeScript errors and improve type safety (#6) 2025-11-27 18:48:47 +01:00
collection.ts Major frontend development updates 2025-11-27 03:44:09 +01:00
comment.ts Major frontend development updates 2025-11-27 03:44:09 +01:00
contribution.ts Major frontend development updates 2025-11-27 03:44:09 +01:00
like.ts feat: Fix TypeScript errors and improve type safety (#6) 2025-11-27 18:48:47 +01:00
stats.ts Major frontend development updates 2025-11-27 03:44:09 +01:00
tag.ts feat: Fix TypeScript errors and improve type safety (#6) 2025-11-27 18:48:47 +01:00
translation.ts feat: Fix TypeScript errors and improve type safety (#6) 2025-11-27 18:48:47 +01:00
user.ts feat: Fix TypeScript errors and improve type safety (#6) 2025-11-27 18:48:47 +01:00
userProfile.ts feat: Fix TypeScript errors and improve type safety (#6) 2025-11-27 18:48:47 +01:00
work.ts feat: Fix TypeScript errors and improve type safety (#6) 2025-11-27 18:48:47 +01:00