## Summary In `apps/backend/src/routes/public.ts`, add a dedicated type interface for public profile responses and use it in the route. ## Tasks - [ ] create `type PublicProfileResponse = { ... }` in `public.ts` or shared type file. - [ ] return typed object from profile endpoint. - [ ] add comment and small API docs snippet. ## Acceptance Criteria - [ ] compile-time type safety for this route. - [ ] encourages consistent API contracts.
Summary
In
apps/backend/src/routes/public.ts, add a dedicated type interface for public profile responses and use it in the route.Tasks
type PublicProfileResponse = { ... }inpublic.tsor shared type file.Acceptance Criteria