You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move ApiResponse type to global types directory #137
Currently, the ApiResponse type is hardcoded inside app/page.tsx. This makes it difficult to reuse in other components or API routes. We need to move this definition to a centralized file in the types folder.
📍 Source Location
app/page.tsx
🎯 Target Location
types/api-response.ts
🛠 Tasks
Create the file in the types/ directory.
Move the following code block to that file and add the export keyword:
Activity
TiagoAndreAlmeida commentedon Apr 30, 2026
assign me
github-actions commentedon Apr 30, 2026
🎉 Issue assigned to @TiagoAndreAlmeida! Happy coding!