Skip to content

Conversation

@mitoperni
Copy link
Owner

Description

Remove dead code: Zod-inferred type exports that were never imported anywhere in the codebase.

Type of Change

  • New feature
  • Bug fix
  • Refactoring
  • Documentation
  • Styling

Changes Made

  • Removed NetworkFromSchema, StationFromSchema, and LocationFromSchema type exports from src/lib/schemas/network.ts (lines 44-47)
  • These types were exported but never imported in any file — confirmed via codebase-wide search
  • Zod schemas are preserved (used for runtime validation in fetchNetworks() and fetchNetworkDetail())
  • Manual interfaces in src/types/index.ts are preserved (used throughout the app)

Screenshots (if applicable)

N/A

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • No TypeScript errors
  • Tests added/updated
  • All CI checks pass
  • Tested on different screen sizes
  • Loading states implemented
  • Error handling in place

Related Issues

N/A

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@vercel
Copy link

vercel bot commented Feb 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cyclemap Ready Ready Preview, Comment Feb 9, 2026 4:37pm

@mitoperni mitoperni self-assigned this Feb 9, 2026
@mitoperni mitoperni merged commit d024bb8 into main Feb 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant